1 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
4 window is removed from the middle of the stack, update the
5 transiency of the previous one.
7 Fixes: NB#100487 (HildonStackableWindow transiency becomes
10 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
12 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
13 block/unblock the signal handler if it's not actually being used.
14 Fixes some critical warnings.
16 2009-02-02 Alberto Garcia <agarcia@igalia.com>
18 Based on a patch by Iván Gómez (igomez@igalia.com)
24 * src/hildon-pannable-area.c
25 * src/hildon-picker-dialog.c
26 * src/hildon-wizard-dialog.h
27 * src/hildon-wizard-dialog.c: Documentation updates.
29 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
30 gtk_dialog_add_button() instead of hildon_dialog_add_button().
32 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
34 * configure.ac: post release version bump.
35 * debian/changelog: version bump.
37 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
42 * configure.ac: Bump version.
43 * debian/changelog: Updates.
45 2009-01-29 Alberto Garcia <agarcia@igalia.com>
47 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
48 a stock icon nor change the relief of the back arrow.
50 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
53 2009-01-29 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-button.c (hildon_button_set_alignment): Use
56 priv->alignment if the button has no child yet.
58 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
60 * src/hildon-button.c: (hildon_button_init): Set the
61 button style during initialization to give it the proper
64 Fixes: NB#99713 (HildonButton value label color is wrong)
66 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
68 * src/hildon-touch-selector.c: Document
69 hildon_touch_selector_center_on_selected()
71 2009-01-28 Alberto Garcia <agarcia@igalia.com>
73 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
74 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
75 all menu items, but not the menu itself.
76 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
77 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
78 items after adding them to the menu so keyboard accelerators work.
79 (hildon_app_menu_show): Don't show the menu if it contains items
80 but none of them are visible.
82 * examples/hildon-app-menu-example.c (create_menu): Use
83 gtk_widget_show_all() to show all menu items.
85 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
87 * src/hildon-picker-dialog.c:
88 (-_update_title_on_selector_changed_cb),
89 (-_dialog_update_title): Removed.
90 (_select_on_selector_changed_cb), (_on_dialog_response),
91 (on_selector_columns_changed): Do not update the dialog title.
92 (setup_interaction_mode): Do not connect to
93 HildonTouchSelector::changed signal if there's a "done" button, as
94 the dialog title doesn't need to be updated.
96 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
99 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
101 Patch by Kristian Rietveld (kris@imendio.com)
103 * src/hildon-touch-selector.c: (_create_new_column): Use new
104 GtkTreeView::hildon-row-tapped signal to react to user interactions
105 instead of ::changed.
107 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
108 with some dynamic tree model)
110 2009-01-27 Alberto Garcia <agarcia@igalia.com>
112 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
113 (+screen_size_changed, +label_size_request)
114 (hildon_note_class_init): Make the Hildon information note have a
115 minimum height, and make its text hvae a maximum width.
117 Fixes: NB#98614 (Hildon information note (background) should have
118 minimum height and maximum text width)
120 2009-01-26 Alberto Garcia <agarcia@igalia.com>
122 * src/hildon-banner.h
123 * src/hildon-banner.c (hildon_banner_show_information)
124 (hildon_banner_show_informationf)
125 (hildon_banner_show_information_with_markup): Update documentation
126 to reflect that the icon_name parameter is not used anymore.
127 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
128 Remove all code from these functions and mark them as deprecated.
129 (hildon_banner_show_progress): Mark as deprecated.
131 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
133 2009-01-26 Alejandro G. Castro <alex@igalia.com>
135 * src/hildon-pannable-area.c,
136 (hildon_pannable_area_class_init),
138 (hildon_pannable_draw_vscroll),
139 (hildon_pannable_draw_hscroll),
140 (hildon_pannable_area_expose_event): Added a new way to render the
141 scrollbars of the pannable area avoiding using cairo at all. This
142 way we improve the performance of the pannable area rendering. The
143 cairo rendering procedure is still in the code, we can control
144 which one to use changing the value of the define
145 USE_CAIRO_SCROLLBARS.
147 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: post release version bump.
150 * debian/changelog: version bump.
152 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
157 * configure.ac: Bump version.
158 * debian/changelog: Updates.
160 2009-01-23 Alberto Garcia <agarcia@igalia.com>
162 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
163 banners instead of destroying them when they receive a button
166 2009-01-23 Alejandro G. Castro <alex@igalia.com>
168 Reverted commit 34028, it was causing regressions, probably the
169 topmost condition is not correct, we have to check it in more
170 detail. We have reponed the bug: NB#97458 (Pannable area prevents
171 propagation of button press events)
173 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
175 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
176 that the selection is not empty before attempting to retrieve the
177 current ampm selection.
179 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
181 * src/hildon-picker-button.c:
182 (hildon_picker_button_on_dialog_response): Directly update the
183 button contents when required instead of calling _selection_changed.
185 2009-01-23 Alberto Garcia <agarcia@igalia.com>
187 * src/hildon-program.c (hildon_program_update_top_most): Update
188 'is-topmost' property also when wm_hints is not set.
190 Fixes: NB#98383 (is-topmost signal is not emitted when task
191 switcher is clicked.)
193 2009-01-23 Alejandro G. Castro <alex@igalia.com>
195 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
199 * src/hildon-animation-actor.c,
200 * src/hildon-animation-actor.h: Added the animation actor class,
201 this widget represents an animation actor for WM-assisted
202 animation effects in the Hildon framework.
204 2009-01-23 Alberto Garcia <agarcia@igalia.com>
206 * src/hildon-window-stack-private.h
207 * src/hildon-window-stack.c
208 * src/hildon-stackable-window.c (hildon_stackable_window_show):
209 Avoid calling gtk_widget_show() again indirectly from
210 hildon_stackable_window_show()
212 2009-01-23 Alberto Garcia <agarcia@igalia.com>
214 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
217 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
219 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
220 (hildon_time_selector_init): Move the construction of the hours and
221 ampm columns to the constructor to preserve the order the columns
224 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
226 * src/hildon-picker-dialog.c:
227 (hildon_picker_dialog_class_init): Connect a realize method.
228 (+hildon_picker_dialog_realize): Setup the interaction mode here
230 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
231 yet, do it during the realize instead.
232 (_on_dialog_response):
233 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
234 if the widget is not realized, to avoid the dialog response before it
237 Avoid premature responses in the HildonPickerDialog that can cause it
238 to be hidden before it's even shown.
240 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
243 (on_selector_columns_changed), (requires_done_button),
244 (+prepare_action_area), (setup_interaction_mode),
245 (_hildon_picker_dialog_set_selector):
247 Split the interaction mode setup into preparation of the
248 action area (prepare_action_area()) and the connection of
249 the signals in setup_interaction_mode() and update the code to
252 2009-01-22 Alejandro G. Castro <alex@igalia.com>
254 * src/hildon-pannable-area.c,
255 (hildon_pannable_area_class_init): Reduced the amount of scrolls
256 per second to 15, we will check if this is ok regarding
259 2009-01-22 Alejandro G. Castro <alex@igalia.com>
261 * src/hildon-pannable-area.c,
262 (hildon_pannable_axis_scroll): Avoid resize if we already have
263 reached overshoot_max.
265 2009-01-22 Alejandro G. Castro <alex@igalia.com>
267 * src/hildon-pannable-area.c,
268 (hildon_pannable_area_init),
269 (hildon_pannable_area_realize),
270 (hildon_pannable_area_size_allocate),
271 (hildon_pannable_area_map),
272 (hildon_pannable_area_unmap),
273 (hildon_pannable_draw_vscroll),
274 (hildon_pannable_draw_hscroll),
275 (hildon_pannable_area_expose_event),
276 (hildon_pannable_area_refresh): Added a new GdkWindow to the
277 pannable are to avoid the expose events go to the window and
278 redraw the window. We save this way that part of the stack and the
279 paint_boxes. We had to change the positions of the elements when
282 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
284 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
285 * src/hildon-color-chooser-dialog.c:
286 (hildon_color_chooser_dialog_init):
287 * src/hildon-font-selection-dialog.c:
288 (hildon_font_selection_dialog_init),
289 (hildon_font_selection_dialog_show_preview):
290 * src/hildon-get-password-dialog.c:
291 * src/hildon-login-dialog.c:
292 * src/hildon-set-password-dialog.c:
293 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
294 * src/hildon-time-picker.c: (hildon_time_picker_init):
296 Remove obsolete logical string IDs and update to the appropriate ones.
298 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
300 2009-01-21 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
303 that happens if the window hasn't been realized yet.
305 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
306 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
308 2009-01-20 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-app-menu.c (hildon_app_menu_class_init)
311 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
314 Fixes: NB#98537 (Device hangs in account settings dialog)
316 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
318 * configure.ac: post release version bump.
319 * debian/changelog: version bump
321 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
326 * configure.ac: Bump version.
327 * debian/changelog: Updates.
329 2009-01-20 Alejandro G. Castro <alex@igalia.com>
331 Added a new function to the HildonTimeButton widget that allows to
332 change the step of the minutes in the selector associated with the
333 button: hildon_time_button_new_step
335 * src/hildon-time-button.c,
336 (hildon_time_button_init),
337 (hildon_time_button_new),
338 (hildon_time_button_new_step):
339 * src/hildon-time-button.h: Added the new function and refactored
341 * examples/hildon-time-button-example.c,
342 (main): We have replaced the function without parameters with the
343 function with the steps set to 5
345 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
347 2009-01-20 Alejandro G. Castro <alex@igalia.com>
349 * src/hildon-time-selector.c,
350 (hildon_time_selector_class_init),
351 (hildon_time_selector_constructor),
352 (hildon_time_selector_get_property),
353 (hildon_time_selector_set_property),
354 (_create_minutes_model),
355 (hildon_time_selector_new_step),
356 (hildon_time_selector_set_time),
357 * src/hildon-time-selector.h: Added a new property to the
358 HildonTimeSelector (minutes-step), we use that property to control
359 the steps between the minutes in the list of the selector. We have
360 added a new function to the API to create a widget changing the
361 step: hildon_time_selector_new_step.
363 2009-01-20 Alejandro G. Castro <alex@igalia.com>
365 * src/hildon-time-selector.c,
366 (hildon_time_selector_class_init),
367 (hildon_time_selector_constructor),
368 (hildon_time_selector_init): Overrided the construct function when
369 creating the time selector object. We have moved the minutes model
370 handling code from the init to the new construction function:
371 hildon_time_selector_constructor.
373 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
375 * examples/hildon-date-button-example.c: (main): Use the new
376 hildon_date_button_new_with_year_range() method in the example.
377 * src/hildon-date-button.c:
378 (+hildon_date_button_new_with_year_range): New public method
379 to conveniently create a HildonDateButton with a custom year range
380 in its HildonDateSelector.
381 * src/hildon-date-button.h: Add the new public method definition.
383 Fixes: NB#97908 (Not possible to change the year range in
384 HildonDateSelector/HildonDateButton)
386 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
388 * src/hildon-date-selector.c:
389 (+hildon_date_selector_set_property),
390 (+hildon_date_selector_get_property),
391 (hildon_date_selector_class_init): Install new properties "min-year"
392 and "max-year" to define boundaries for the year column.
393 (_create_year_model): Use the boundary properties to populate the model.
394 (+hildon_date_selector_new_with_year_range): New public method to
395 create a HildonDateSelector with a user defined year range.
396 (hildon_date_selector_select_current_date): Use the new boundaries to
397 calculate the iterator of current year.
398 * src/hildon-date-selector.h: Add the new public method definition.
400 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
402 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
403 Install a constructor method.
404 (+hildon_date_selector_construct_ui): construct the widget.
405 (+hildon_date_selector_constructor): new constructor.
406 (+hildon_date_selector_init): move out widget construction code to
409 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
412 that there's actually a month or year selected before obtaining them.
413 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
414 of the HildonTouchSelector::changed signal, as it was emitted on every
415 single item selection.
417 Fix some warnings and possible crashers due to the selection restoring.
419 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
421 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
422 the signal handlers only after creating the dialog instead of on every
425 2009-01-19 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-button.c (hildon_button_init)
428 * src/hildon-check-button.c (hildon_check_button_init)
429 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
430 focus when clicked by default.
432 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
437 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
439 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
440 Alejandro G. Castro (alex@igalia.com)
442 * src/hildon-picker-dialog.c:
443 (hildon_picker_dialog_class_init): install new "center-on-show"
445 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
446 (hildon_picker_dialog_set_property): add setter code for the new
448 (hildon_picker_dialog_get_property): add getter code for the new
450 (hildon_picker_dialog_show): Ensure visibility of selected items in the
451 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
454 Fixes: NB#92849 (Selected item is not always visible when
455 HildonTouchSelector is shown)
457 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
459 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
460 Alejandro G. Castro (alex@igalia.com)
462 * src/hildon-touch-selector.c:
463 (_create_new_column): Do not connect to the "realize" signal of the
465 (hildon_touch_selector_append_column): center on the selected items
466 when a new column is appended.
467 (hildon_touch_selector_select_iter): Factor out the code to select a
468 column to hildon_touch_selector_scroll_to().
469 (+search_nearest_element): Method to retrieve the nearest selected
470 element to the visible area of the pannable area in a column.
471 (+on_realize_cb): scroll to the initially selected item.
472 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
473 the pannable area is realized, otherwise delay this until it is.
474 (+_hildon_touch_selector_center_on_selected_items): Centers on the
475 selected items of a given column.
476 (+hildon_touch_selector_center_on_selected): Public method to center
477 all columns on the nearest selected item.
478 * src/hildon-touch-selector.h: Add definition for
479 hildon_touch_selector_center_on_selected().
481 Implement public API to ensure visibility of all selected items in
482 a HildonTouchSelector.
484 2009-01-16 Alejandro G. Castro <alex@igalia.com>
486 Fixed a problem in the fading when calling the scroll_to API, and
487 improve scrollbar fading handling.
489 * src/hildon-pannable-area.c,
490 (hildon_pannable_area_grab_notify): avoid the timeout when the
492 (hildon_pannable_area_button_press_cb),
493 (hildon_pannable_area_motion_notify_cb): Code style changes.
494 (hildon_pannable_area_button_release_cb): Review the conditions
495 when releasing the mouse button to avoid unrequired fading
497 (hildon_pannable_area_scroll_to): Do not calculate and set the
498 velocity if the scroll is not required.
500 2009-01-15 Alberto Garcia <agarcia@igalia.com>
502 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
503 Don't check whether the new selector is NULL: it cannot be.
504 Hold a reference to the selector while doing the replacement.
506 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
508 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
509 unnecessary size_request in a removed widget.
511 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
513 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
514 an unnecessary reference tracking that was leaking.
516 2009-01-15 Alejandro G. Castro <alex@igalia.com>
518 Added delayed motion notify event handling, this way we can
519 discard redrawing if more than 25 events arrive per second.
521 * src/hildon-pannable-area.c,
522 (hildon_pannable_area_init): Initialized the new private atributes
523 controlling this timeout
524 (hildon_pannable_area_dispose): Remove the timeout that controls
525 the motion notify events.
526 (hildon_pannable_area_scroll): Added a condition to control the
527 use of the acceleration.
528 (hildon_pannable_area_motion_event_scroll_timeout),
529 (hildon_pannable_area_motion_event_scroll): Added this two
530 functions, they handle the motion notify events inside the
532 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
533 to the scroll method with the new function.
534 (hildon_pannable_area_button_release_cb): We have to remove the
535 timeout handler and move to the last position if the last motion
536 events were not handled.
538 Fixes: NB#97028 (Pannable area updates on every motion event)
540 2009-01-15 Alejandro G. Castro <alex@igalia.com>
542 * src/hildon-pannable-area.c,
543 (hildon_pannable_area_get_topmost): Added a new parameter to
544 filter the the windows that do not include those events. Added
545 also a condition when finding the window to filter windows that do
546 not ask for those events.
547 (hildon_pannable_area_button_press_cb),
548 (hildon_pannable_area_button_release_cb),
549 (hildon_pannable_get_child_widget_at): Reviewed the call the the
550 topmost function, we have added the new parameter.
552 Fixes: NB#97458 (Pannable area prevents propagation of button
555 2009-01-15 Alejandro G. Castro <alex@igalia.com>
557 * src/hildon-pannable-area.c,
558 (hildon_pannable_area_initial_effect): Added controls before
559 launching the timeout and the idle functions.
560 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
561 of the method, in some situations it can return with TRUE and 0 in
563 (hildon_pannable_area_button_press_cb): We do not need to set
564 DELAY for fading out here.
566 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
568 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
570 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
571 post-cleaning if the selection is not NULL.
573 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
576 all items before restoring the selection.
578 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
580 * src/hildon-touch-selector.c:
581 (+hildon_touch_selector_unselect_all):
582 * src/hildon-touch-selector.h: New API to unselect all items in a
583 column of the touch selector.
585 2009-01-14 Alejandro G. Castro <alex@igalia.com>
587 * src/hildon-pannable-area.c,
588 (hildon_pannable_area_redraw): Added a call to the refresh
589 function inside the redraw because apparently in some cases the
590 change in the adjustment does not imply a size allocate.
592 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
593 despite the view not being scrollable)
595 2009-01-14 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
598 leak. Check for NULL before attempting to set the window title.
600 2009-01-14 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
603 whether to show or not the 'Done' button each time the dialog is
604 shown, as it depends on the HildonTouchSelector selection mode.
606 Fixes: NB#96226 (In multiple selection mode Done button is shown
607 sometimes in listpicker)
609 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
612 for the number of columns in the HildonTouchSelector more than once.
614 2009-01-14 Alberto Garcia <agarcia@igalia.com>
616 * src/hildon-touch-selector.c: Minor documentation fixes.
618 * src/hildon-picker-dialog.c (+_dialog_update_title)
619 (_select_on_selector_changed_cb)
620 (_update_title_on_selector_changed_cb)
621 (on_selector_columns_changed): Update dialog title when there's no
622 'Done' button and also when the number of columns in the selector
626 * src/hildon-picker-button.c (hildon_picker_button_finalize)
627 (+_selection_changed, hildon_picker_button_on_dialog_response)
628 (hildon_picker_button_selector_selection_changed)
629 (+hildon_picker_button_selector_columns_changed)
630 (hildon_picker_button_set_selector): Update button value and emit
631 'value-changed' when the number of columns in the selector
635 Fixes: NB#96225 (Dialog titles are not shown according to the
636 values selected in the list picker)
638 2009-01-13 Alberto Garcia <agarcia@igalia.com>
640 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
641 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
642 New "arrow-width" and "arrow-height" style properties to set the
643 size of the arrow button.
644 Set name of arrow button ("hildon-edit-toolbar-arrow").
646 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
649 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
651 * src/hildon-picker-button.c:
652 (hildon_picker_button_selector_selection_changed): Use
653 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
654 the dialog is present.
656 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
657 the selection is accepted in the dialog)
659 2009-01-13 Alberto Garcia <agarcia@igalia.com>
661 * src/hildon-color-chooser.h
662 * src/hildon-color-chooser-dialog.h:
663 Added G_BEGIN_DECLS and G_END_DECLS
665 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
667 (_clean_current_selection): plug a leak in the list.
669 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
671 * src/hildon-picker-dialog.c:
672 (+free_path_list): Method to free a GList of GtkTreePaths.
673 (_clean_current_selection), (_save_current_selection),
674 (_restore_current_selection): Save the current selection in
675 as a list of lists, to support multiple selection properly.
677 2009-01-12 Alberto Garcia <agarcia@igalia.com>
679 patch by Claudio Saavedra (csaavedra@igalia.com)
681 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
682 Store the press position.
683 (+hildon_text_view_button_release_event): If the release position is
684 close enough to the press position, move the cursor here. Otherwise,
686 (hildon_text_view_class_init): Override GtkTextView press, release, and
687 motion event handlers, disabling this way text selection through
688 pointer interaction, and allowing the container widget to handle the
691 Fixes: NB#95828 (HildonTextView functionality)
693 2009-01-12 Alberto Garcia <agarcia@igalia.com>
695 Based on a patch by Iván Gómez (igomez@igalia.com)
697 * src/hildon-button.[ch]
698 * src/hildon-calendar.c
699 * src/hildon-check-button.c
700 * src/hildon-date-editor.c
701 * src/hildon-date-selector.c
702 * src/hildon-picker-button.c
703 * src/hildon-time-editor.c
704 * src/hildon-time-selector.c
705 * src/hildon-touch-selector.[ch]:
706 Documentation updates
708 2009-01-12 Alejandro G. Castro <alex@igalia.com>
710 * src/hildon-pannable-area.c,
711 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
712 threshold, it was required due to X events handling.
714 2009-01-12 Alejandro G. Castro <alex@igalia.com>
716 * src/hildon-pannable-area.c,
717 (hildon_pannable_area_grab_notify),
718 (hildon_pannable_area_initial_effect),
719 (hildon_pannable_area_button_press_cb),
720 (hildon_pannable_area_button_release_cb),
721 (hildon_pannable_area_scroll_cb),
722 (hildon_pannable_area_scroll_to): Review the timeout management of
723 the scrollbar, the frecuency was incorrectly set.
725 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
727 * src/hildon-picker-button.c:
728 (+hildon_picker_button_on_dialog_response),
729 (hildon_picker_button_clicked): Present the dialog instead of
730 running it with gtk_dialog_run().
732 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
735 2009-01-07 Alberto Garcia <agarcia@igalia.com>
737 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
738 (hildon_app_menu_finalize): When a window is hidden it doesn't
739 emit notify::is-topmost, so make sure than the menu also
740 disappears in that case.
741 (parent_window_topmost_notify): Renamed from parent_window_hidden
743 Fixes: NB#94460 (stackable window's menu is not closed when its
746 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-touch-selector-entry.c:
749 (+hildon_touch_selector_entry_set_input_mode),
750 (+hildon_touch_selector_entry_get_input_mode):
751 * src/hildon-touch-selector-entry.h: New methods to access the input
752 mode in the selector's entry.
754 Fixes: NB#93410 (API required for setting IM mode in
755 HildonTouchSelectorEntry)
757 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
759 * configure.ac: post release version bump.
760 * debian/changelog: version bump
762 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: Bump version.
768 * debian/changelog: Updates.
770 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
772 * src/hildon-touch-selector.c:
773 (_hildon_touch_selector_has_multiple_selection): No need
774 to initialize the variables here.
776 2008-12-17 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-note-private.h
779 * src/hildon-note.c (event_box_press_event, hildon_note_init)
780 (hildon_note_finalize, hildon_note_rebuild): Close information
781 notes when they receive a button press.
783 Fixes: NB#89890 (Information notes does not get disappeared after
786 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
788 * src/hildon-wizard-dialog.c: (create_title): Remove translation
789 mark from the wizard title, as it's not really necessary. Also,
790 do not display the page title if not set.
792 2008-12-17 Alberto Garcia <agarcia@igalia.com>
794 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
795 (parent_window_hidden): Use the window's "is-topmost" property to
796 detect when to hide the menu.
798 2008-12-16 Alberto Garcia <agarcia@igalia.com>
800 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
801 (hildon_app_menu_finalize): If the parent window of the menu is
802 hidden, hide the menu too.
804 Fixes: NB#94460 (stackable window's menu is not closed when its
807 2008-12-16 Alberto Garcia <agarcia@igalia.com>
810 * debian/libhildon1-examples.install
812 * examples/Makefile.am:
813 Use dh_install to install all examples.
814 Use DEB_SRCDIR instead of defining SOURCE_DIR
816 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
818 * configure.ac: post release version bump.
819 * debian/changelog: version bump
821 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
826 * configure.ac: bump version
827 * debian/changelog: updates
828 * debian/control: bump gtk+ dependency
830 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
832 patch by Christian Dywan (christian@imendio.com)
834 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
835 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
837 2008-12-15 Alberto Garcia <agarcia@igalia.com>
839 * src/hildon-check-button.c (hildon_check_button_init)
840 (hildon_check_button_class_init, hildon_check_button_style_set)
841 (hildon_check_button_apply_style):
842 New "checkbox-size" style property.
844 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
845 larger / configurable size)
847 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
849 * configure.ac: post release version bump.
850 * debian/changelog: version bump
852 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
857 * configure.ac: bump version
858 * debian/changelog: updates
860 2008-12-12 Alberto Garcia <agarcia@igalia.com>
862 * doc/hildon-sections.txt
863 * src/hildon-pannable-area.c
864 * src/hildon-program.c
865 * src/hildon-time-editor.c
866 * src/hildon-touch-selector-entry.c:
868 More documentation updates.
870 2008-12-12 Alberto Garcia <agarcia@igalia.com>
872 * doc/hildon-sections.txt
873 * src/hildon-caption.c
874 * src/hildon-code-dialog.c
875 * src/hildon-color-button.c
876 * src/hildon-controlbar.c
877 * src/hildon-date-editor.c
878 * src/hildon-date-selector.c
879 * src/hildon-edit-toolbar.c
880 * src/hildon-find-toolbar.c
881 * src/hildon-font-selection-dialog.c
883 * src/hildon-program.c
884 * src/hildon-range-editor.c
885 * src/hildon-seekbar.c
886 * src/hildon-time-editor.c
887 * src/hildon-time-selector.c
888 * src/hildon-volumebar-range.c
889 * src/hildon-volumebar.c
890 * src/hildon-vvolumebar.c
891 * src/hildon-weekday-picker.c
892 * src/hildon-window.c
893 * src/hildon-wizard-dialog.c:
895 Lots of documentation fixes.
897 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
899 Patch contributed by Iván Gómez (igomez@igalia.com)
901 * src/hildon-check-button.c:
902 * src/hildon-date-button.c:
903 * src/hildon-date-selector.c:
904 * src/hildon-dialog.c:
905 * src/hildon-edit-toolbar.c:
906 * src/hildon-entry.c:
907 * src/hildon-picker-button.c:
908 * src/hildon-program.c:
909 * src/hildon-text-view.c:
910 * src/hildon-time-button.c:
911 * src/hildon-touch-selector-entry.c:
912 * src/hildon-window-stack.c:
914 Add more "since" tags to the new API.
916 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
918 * doc/hildon-sections.txt: Add below method.
919 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
920 version for the hildonized scale.
921 * src/hildon-gtk.h: Add the definition.
923 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
925 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
927 * doc/hildon-sections.txt: Add missing entries for new methods.
929 2008-12-12 Alejandro G. Castro <alex@igalia.com>
931 Added API to pannable are in order to get its adjustments. We
932 added two properties to manage the values we had in the private
935 * src/hildon-pannable-area.c:
936 (hildon_pannable_area_class_init): Added hadjustment and
937 vadjustment properties in order to expose horizontal and vertical
939 (hildon_pannable_area_get_property),
940 (hildon_pannable_area_set_property): Added code to handle the new
942 (hildon_pannable_area_get_hadjustment),
943 (hildon_pannable_area_get_vadjustment): API functions to get the
945 * src/hildon-pannable-area.h:
946 (hildon_pannable_area_get_hadjustment),
947 (hildon_pannable_area_get_vadjustment): API functions to get the
950 2008-12-12 Alejandro G. Castro <alex@igalia.com>
952 Fixed some leaks, after valgrinding.
954 * src/hildon-touch-selector.c:
955 (_default_print_func): Fixed a leak.
956 (hildon_touch_selector_append_column): Fixed a leak.
957 * src/hildon-date-button.c:
958 (hildon_date_button_init): Fixed a leak.
959 * src/hildon-date-selector.c
960 (hildon_date_selector_finalize): Fixed a leak.
962 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
964 Based on a patch by Christian Dywan (christian@imendio.com)
966 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
968 * src/hildon-gtk.h: Add definition.
970 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
972 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
974 * src/hildon-picker-button.c: (hildon_picker_button_init),
975 (hildon_picker_button_new): Set the HildonButton::style property
976 in the init method, to propagate the value to the derived classes.
978 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
980 * src/hildon-button.c: (hildon_button_class_init): Do not make
981 the "style" property a construct property.
983 2008-12-11 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-wizard-dialog.h
986 * src/hildon-wizard-dialog.c
987 (hildon_wizard_dialog_set_forward_page_func)
988 * src/hildon-pannable-area.h
989 * src/hildon-pannable-area.c
990 (hildon_pannable_area_set_size_request_policy):
993 2008-12-11 Alberto Garcia <agarcia@igalia.com>
995 * doc/hildon-sections.txt: Fixed warning about unused symbols.
997 2008-12-11 Alberto Garcia <agarcia@igalia.com>
999 * doc/hildon-sections.txt: Added sections file.
1001 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1004 * src/*.[ch]: Updates.
1006 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1008 * examples/hildon-progress-indicator-example.c: new file
1009 * examples/Makefile.am: include the new example program
1011 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1015 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1017 * configure.ac: post release version bump
1018 * debian/changelog: version bump
1020 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1025 * configure.ac: bump version
1026 * debian/changelog: updates
1027 * debian/control: bump gtk+ dependency
1029 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-dialog.c: Mark as deprecated.
1032 * src/hildon-dialog.h: Mark as deprecated.
1033 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1034 from HildonDialog and still work, even if
1035 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1036 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1038 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1039 maemo changes) instead)
1041 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1043 * src/hildon-pannable_area.h:
1044 * src/hildon-pannable_area.c:
1045 (hildon_pannable_area_class_init),
1046 (hildon_pannable_area_set_property),
1047 (hildon_pannable_area_get_property),
1048 (hildon_pannable_area_size_request),
1049 (hildon_pannable_area_get_size_request_policy),
1050 (hildon_pannable_area_set_size_request_policy): Added new API
1051 allowing applications to control the request policy. Now they can
1052 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1053 children allocation (HILDON_MOVEMENT_CHILDREN).
1055 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1059 (hildon_gtk_tree_view_set_ui_mode)
1060 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1061 mode of treeviews and iconviews.
1063 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1065 * src/hildon-touch-selector-entry.c:
1066 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1067 of a GtkEntry to get proper theming.
1069 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1070 widget, not GtkEntry)
1072 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1074 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1075 no HildonWizardDialogPageFunc.
1077 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1079 Patch contributed by Iván Gómez (igomez@igalia.com)
1081 * src/hildon-app-menu.c:
1082 * src/hildon-button.c:
1083 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1084 * src/hildon-stackable-window.c:
1085 * src/hildon-time-selector.c:
1086 * src/hildon-touch-selector.c:
1087 * src/hildon-window.c:
1089 Add more "since" tags to the new API in hildon 2.2.
1091 2008-12-05 Tim Janik <timj@imendio.com>
1093 Patch contributed by Christian Dywan (christian@imendio.com)
1095 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1096 HildonSizeType, which are supplied by Gtk+ now.
1098 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1100 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1101 (with maemo changes) instead)
1103 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1105 Patch contributed by Iván Gómez (igomez@igalia.com)
1107 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1110 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1112 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1113 (some_page_func), (main): Update the example to use a
1114 HildonWizardDialogPageFunc function.
1116 * src/hildon-wizard-dialog-private.h: Add private data for
1117 the HildonWizardDialogPageFunc function usage.
1119 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1120 (destroy), (hildon_wizard_dialog_init), (response),
1121 (hildon_wizard_dialog_set_forward_page_func):
1122 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1123 that applications can use to stop a HildonWizardDialog to jump to
1126 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1129 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-program.h
1132 * src/hildon-program-private.h
1133 * src/hildon-program.c (hildon_program_init)
1134 (hildon_program_set_common_app_menu)
1135 (hildon_program_get_common_app_menu):
1136 New API for setting a common HildonAppMenu for all
1137 HildonStackableWindows registered with the HildonProgram.
1139 * src/hildon-stackable-window.c
1140 (hildon_stackable_window_toggle_menu):
1141 Use the common HildonAppMenu if a window doesn't have a specific
1144 * src/hildon-app-menu-private.h
1145 * src/hildon-app-menu.c
1146 (hildon_app_menu_get_parent_window):
1147 Function to obtain the window a HildonAppMenu is attached to.
1148 (hildon_app_menu_set_parent_window):
1149 Hide the menu if the parent window is set to NULL.
1151 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1153 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1154 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1155 search widget to popup.
1157 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1159 * configure.ac: post release version bump
1160 * debian/changelog: version bump
1162 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1167 * configure.ac: bump version
1168 * debian/changelog: updates
1170 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1172 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1174 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1175 (hildon_window_stack_window_realized)
1176 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1177 Set the leader GdkWindow when a window is stacked and realized,
1178 unset it when it's unstacked.
1179 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1181 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1183 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-stackable-window.h
1186 * src/hildon-window-stack.h:
1187 Protect definition of HildonWindowStack using the preprocessor.
1189 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1192 Fix warning if all menu items are hidden.
1194 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1196 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1198 * src/hildon-controlbar.c:
1199 * src/hildon-hvolumebar.c:
1200 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1201 Multiple scale size defines updates.
1203 Fixes: NB#94322 (Scale Updates)
1205 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1207 * examples/hildon-app-menu-example.c (create_menu)
1208 Show items after adding them to the menu, as in the future the
1209 menu will no longer call gtk_widget_show() on the added items.
1211 * src/hildon-app-menu.c:
1212 Update example as explained above.
1214 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-app-menu.c
1217 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1218 Make sure that all menu items have finger height.
1220 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1222 * src/hildon-picker-dialog.c:
1223 (_on_dialog_response), (_save_current_selection),
1224 (_restore_current_selection), (_clean_current_selection),
1225 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1226 Defined new functions in order to save the current internal selector
1227 selection previous open the dialog, in case that the use cancel the
1228 interaction, so the widget restores the previous selection.
1230 Fixes: NB#92032 (In calendar application, date values in 'new event'
1233 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1235 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-button.c: Add a reference to the button examples in
1238 hildon-button-example.c
1240 * examples/hildon-button-example.c: Added examples of the most
1241 common button layouts.
1243 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-app-menu.c (hildon_app_menu_show)
1246 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1248 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1250 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1252 * src/hildon-picker-dialog.c:
1253 (hildon_picker_dialog_init): Initialize the signal id for
1254 HildonTouchSelector::columns-changed.
1255 (+on_selector_columns_changed): Set up the interaction mode everytime a
1256 column is added or removed from the HildonTouchSelector.
1257 (_hildon_picker_dialog_set_selector): Connect to
1258 HildonTouchSelector::columns-changed and keep track of it.
1260 Make sure to update the interaction mode of the dialog everytime a
1261 column is added or removed in the HildonTouchSelector.
1263 Fixes: NB#93228 (Done button is not shown always in listpicker)
1265 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1268 a new ::columns-changed signal.
1269 (hildon_touch_selector_append_column): Emit ::columns-changed.
1270 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1272 Add a ::columns-changed signal, emitted when the number of columns in a
1273 HildonTouchSelector changes.
1275 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1278 (_hildon_picker_dialog_set_selector): Factor out the code
1279 to set up the dialog interaction mode.
1281 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1284 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1285 to signal_changed_id.
1287 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1292 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1294 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1295 Updated the logical ids related to ampm format, as now it is required to
1296 show it correctly localized even on languages with no default
1297 abbreviations for am or pm
1298 (_check_am_pm_format): check correctly the 24h format gconf property
1300 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1302 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-button.c: Documentation updates.
1306 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1309 * src/hildon-caption.c: (hildon_caption_class_init):
1310 * src/hildon-color-button.c: (hildon_color_button_class_init):
1311 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1312 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1313 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1314 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1316 Remove deprecated GTK+ marshalers and replace them with the ones
1317 provided by GLib, for those available, add a marshaler for
1318 BOOLEAN:VOID, which is not available in GLib, and use it.
1320 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1322 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1323 the text from the previous column if there is no
1324 HildonTouchSelectorColumn::text-property set.
1326 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1328 * src/hildon-button.h
1329 * src/hildon-button.c (hildon_button_set_property)
1330 (hildon_button_get_property, hildon_button_class_init)
1331 (hildon_button_set_style, hildon_button_get_style):
1332 New "style" property to change the visual appearance of the
1335 * src/hildon-picker-button.c (hildon_picker_button_new):
1336 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1338 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1339 HildonButton look like PickerButton)
1341 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1344 column while building the default string.
1346 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1348 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1349 scroll indicator by default.
1351 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1353 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1355 * src/hildon-main.c: Fix the documentation for hildon_init()
1357 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1359 * doc/hildon-docs.sgml
1363 * src/hildon-window-stack-private.h
1364 * src/hildon-window-stack.h
1365 * src/hildon-window-stack.c:
1366 New HildonWindowStack object, that adds support for multiple
1367 stacks of windows per process.
1369 * src/hildon-stackable-window-private.h
1370 * src/hildon-stackable-window.h
1371 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1372 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1373 (hildon_stackable_window_show, hildon_stackable_window_hide)
1374 (hildon_stackable_window_class_init)
1375 (hildon_stackable_window_init):
1376 Use HildonWindowStack for stack management.
1378 * src/hildon-program.c (hildon_program_pop_window_stack)
1379 (hildon_program_peek_window_stack)
1380 (hildon_program_go_to_root_window):
1381 Add a fallback implementation to the deprecated functions using
1384 * examples/hildon-stackable-window-example.c:
1385 Use the new HildonWindowStack API.
1387 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1389 * src/hildon-stackable-window-private.h
1390 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1391 (hildon_stackable_window_hide, hildon_stackable_window_init):
1392 Remove all window stack management.
1394 * src/hildon-program-private.h
1395 * src/hildon-program.h
1396 * src/hildon-program.c (hildon_program_init)
1397 (hildon_program_pop_window_stack)
1398 (hildon_program_peek_window_stack)
1399 (hildon_program_go_to_root_window):
1400 Remove all window stack management and mark functions as
1403 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-app-menu.c (hildon_app_menu_realize):
1406 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1408 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1410 * configure.ac: post release version bump
1411 * debian/changelog: version bump
1413 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1418 * configure.ac: bump version
1419 * debian/changelog: updates
1421 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1423 Based on initial code by Christian Dywan (christian@imendio.com)
1425 * doc/hildon-docs.sgml: Add section for hildon-main.
1426 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1427 * src/Makefile.am: Add new hildon-main.[ch]
1428 * src/hildon-defines.h: Update the icon sizes.
1429 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1430 new library initialization files and register icon sizes.
1431 * src/hildon-main.h: New declarations.
1432 * src/hildon.h: Include hildon-main.h
1434 Add new initialization functions to the library. These methods
1435 will register the hildon specific icon sizes and can be used in the
1436 future for other hildon specific bits.
1438 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1440 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-window.c: (hildon_window_realize),
1443 (hildon_window_notify), (-hildon_window_update_title): Do not set
1444 the application name in the window title.
1446 Fixes: NB#89754 (Applications shouldn't display their names in the
1449 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-note-private.h:
1452 * src/hildon-note.c: (hildon_note_set_property),
1453 (hildon_note_get_property), (hildon_note_class_init),
1454 (hildon_note_init), (hildon_note_finalize),
1455 (hildon_note_new_confirmation_with_icon_name),
1456 (hildon_note_new_information_with_icon_name):
1458 No need to mark as deprecated the actual code. Revert
1459 to avoid missing symbols in widgets using deprecated API.
1461 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1463 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1465 * src/hildon-volumebar.h
1466 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1467 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1469 * src/hildon-helper.h
1470 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1471 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1473 * examples/Makefile.am:
1474 Deprecate hildon-insensitive-example
1476 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1478 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1480 * examples/hildon-pannable-area-buttons-scroll-example.c:
1481 Make all buttons finger height
1483 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1485 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1487 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1488 update the day model only if it is really required, and to avoid the
1489 full-reconstruction aproach. Now it only add or remove the required days.
1491 The purpose of this is avoid superfluous HildonTouchSelector::changed
1494 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1495 with strange parameters)
1497 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1499 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1501 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1502 the WINDOW_TYPE property.
1504 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1506 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1509 Fix dependency to allow parallel compilation with make -jX
1511 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1513 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1514 color frame and some minor tweaks to make it more consistent with
1517 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1518 highlighted but not visible)
1520 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1522 * examples/Makefile.am: Fixed typo in the Makefile.am.
1524 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1526 Reviewed the use of MAEMO_GTK define, now we add the define in the
1527 compilation line, and we also add it to the pc file.
1529 * configure.ac: Added MAEMO_GTK define to the compilation command
1530 and removed it from the config.h.
1532 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1533 do not have to take care about this define if the library was
1537 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1539 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1541 * examples/Makefile.am,
1542 * examples/hildon-pannable-area-buttons-scroll-example.c,
1543 * examples/hildon-pannable-area-gesture-signals-example.c,
1544 * examples/hildon-pannable-area-scroll-jump-example.c,
1545 * examples/hildon-pannable-area-tree-view-example.c:
1546 Renamed the pannable area examples, now they have more meaningful
1549 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1551 * src/hildon-touch-selector.c:
1552 (hildon_touch_selector_set_column_selection_mode): Used of
1553 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1554 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1555 to avoid re-seting the same selection mode.
1557 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1558 breaks HildonPickerDialog)
1560 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1562 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1563 conditional in the Makefile.am
1565 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1567 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1568 Remove unused methods.
1570 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-button.c (hildon_button_init):
1573 Make button images center-aligned by default
1575 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1578 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1579 activated, we have to think about how to deal with both defines
1580 MAEMO_GTK and MAEMO_CHANGES.
1582 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1584 * examples/hildon-app-menu-example.c (create_menu): Make all
1585 buttons finger size.
1587 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1589 Fixed the compilation without maemo gtk adding ifdefs with
1590 MAEMO_GTK define to the code, we have to check this version more
1593 * examples/Makefile.am: Added control to avoid some examples that
1594 just make sense with maemo gtk.
1597 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1598 hildon modes with the define.
1600 * examples/hildon-edit-toolbar-example.c,
1601 (create_icon_view): Create the icon view without hildon-gtk
1602 helpers if we are not using maemo gtk.
1604 * src/hildon-touch-selector.c,
1605 (_create_new_column): Create the treeview without hildon-gtk
1606 helpers if we are not using maemo gtk.
1608 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1610 * src/hildon-pnnable-area.c,
1611 (hildon_pannable_area_dispose),
1612 (hildon_pannable_area_button_press_cb),
1613 (hildon_pannable_area_child_mapped),
1614 (hildon_pannable_area_add),
1615 (hildon_pannable_area_remove): Added code to control the position
1616 of the event_window when adding and removing children from the
1617 pannable. We have to raise the event window when the child is
1620 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1621 selection mode using custom widget inside pannable)
1623 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1625 * configure.ac: post release version bump
1626 * debian/changelog: version bump
1628 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1633 * configure.ac: bump version
1634 * debian/changelog: updates
1636 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1638 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1639 search mode, in order to avoid lose the focus on the treeview when
1640 a hw key (like enter) is pressed.
1642 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1643 in HildonDateSelector dialog)
1645 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1647 * debian/rules: Added --enable-maintainer-mode
1648 * Makefile.am: Added ACLOCAL_AMFLAGS
1650 This allows to properly regenerate the Makefiles if you modify the
1651 configure.ac or any Makefile.am.
1653 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1655 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1656 properties, not needed at all.
1658 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1662 * src/hildon-note.c: (hildon_note_set_property),
1663 (hildon_note_get_property), (hildon_note_class_init),
1664 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1665 (hildon_note_new_confirmation_add_buttons): Remove icons.
1666 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1667 (hildon_note_new_information_with_icon_name): Deprecate.
1668 (hildon_note_new_confirmation): Act directly, without calling
1669 the deprecated constructor.
1670 (hildon_note_new_information): Act directly, without calling
1671 the deprecated constructor.
1672 * src/hildon-note.h: Mark deprecate methods as such.
1673 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1674 not run tests on the deprecated methods if built with deprecation
1677 Fixes: NB#91688 (Never show icons in information notes/confirmation
1680 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1682 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1683 (hildon_app_menu_key_press): Remove leftover usage of the
1684 private structure in HildonAppMenu struct.
1685 * src/hildon-app-menu.h: Remove leftover private structure
1686 from the HildonAppMenu struct.
1688 Fixes a crasher when using the HildonAppMenu.
1690 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-picker-dialog.c: Use appropriate logical id
1693 for the default "Done" text.
1695 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1697 * configure.ac: post release version bump
1698 * debian/changelog: version bump
1700 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1702 Modified the way to scroll to the current selection just when the touch
1703 selector is shown on the screen, avoiding a g_idle. Added too a property
1704 to configure this behaviour. See hildon_pannable_area_jump_to_child
1705 documentation for more information.
1707 * src/hildon-touch-selector.c
1708 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1709 Added 'initial-scroll' property
1710 (hildon_touch_selector_set_property): Added
1711 (hildon_touch_selector_map): Removed as not required anymore
1712 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1713 only a concrete column, instead of iterate along all the columns
1715 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1720 * configure.ac: bump version
1721 * debian/changelog: updates
1723 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1725 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1726 compilation time warnings.
1728 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1731 the default value for HildonPannableArea::mov-mode to
1732 HILDON_PANNABLE_AREA_MODE_VERT.
1734 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1736 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1738 Reverting following commit:
1740 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-app-menu-private.h
1743 * src/hildon-app-menu.[ch]
1744 * src/hildon-button.[ch]
1745 * src/hildon-check-button.[ch]
1746 * src/hildon-entry.[ch]
1747 * src/hildon-pannable-area.[ch]
1748 * src/hildon-text-view.[ch]:
1749 Added private field to the object's structure.
1751 because it causes an ABI breakage. We will need to introduce these
1752 changes later at some point. See NB#91636 for an extensive
1753 explanation and status.
1755 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1757 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1759 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1760 remove special cases that are no longer necessary.
1762 Fixes: NB#91016 (Change toolbar sizes, simplification)
1764 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1767 is shown in the cancel note.
1769 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1772 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1773 (hildon_seekbar_init): Remove steppers, remove expose event.
1774 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1776 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1778 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1781 label font to "SmallSystemFont" for vertically arranged buttons.
1783 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1786 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1788 * src/hildon-check-button.c
1789 (hildon_check_button_set_active, hildon_check_button_clicked):
1790 Don't access private parts directly, use getters instead.
1792 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-check-button.c (hildon_check_button_new):
1795 Align the contents of the check button to the left.
1797 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1799 * src/hildon-pannable-area.c,
1800 (hildon_pannable_area_scroll_to),
1801 (hildon_pannable_area_jump_to),
1802 (hildon_pannable_area_scroll_to_child),
1803 (hildon_pannable_area_jump_to_child): Replace the mapped
1804 precondition of these functions with the realized, it is the
1805 correct state of the widget in this case. Changed the
1806 documentation according to this modification.
1808 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1810 Added a new EXTRA_CFLAGS option to add the deprecated define to
1811 the compilation command. This way we can avoid using the define in
1812 the documentation compilation.
1814 * configure.ac: Defined EXTRA_CFLAGS.
1816 * examples/Makefile.am:
1818 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1820 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1822 * src/hildon-picker-dialog.c:
1823 Defined a utility macro with the desired touch selector height
1824 Removed currently unused separator, and title_label variables from
1826 (hildon_picker_dialog_init): Removed code related to the creation
1827 of unused private variables title_label and separator.
1828 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1829 to ensure correct visualization of the touch selector inside the dialog.
1830 * src/hildon-touch-selector.c
1831 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1832 ensure a concrete height of the widget.
1834 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1837 * tests/Makefile.am:
1839 Remove spurious whitespaces.
1841 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1844 compilation warning after the cancel button removal.
1846 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1848 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1850 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1851 Makefile.am, that way we can choose not to compile some examples
1852 and tests of the deprecated widgets.
1854 * examples/Makefile.am: Divided the sources in deprecated and
1857 * src/Makefile.am: Added undef statement of the deprecated
1858 symbol to the enums file generation process.
1860 * src/hildon-color-chooser-dialog.c
1861 * src/hildon-color-chooser-dialog.h
1862 * src/hildon-color-button.c
1863 * src/hildon-color-button.h
1864 * src/hildon-color-chooser.c
1865 * src/hildon-color-chooser.h
1866 * src/hildon-controlbar.c
1867 * src/hildon-controlbar.h
1868 * src/hildon-date-editor.c
1869 * src/hildon-date-editor.h
1870 * src/hildon-hvolumebar.c
1871 * src/hildon-hvolumebar.h
1872 * src/hildon-private.c
1873 * src/hildon-private.h
1874 * src/hildon-range-editor.c
1875 * src/hildon-range-editor.h
1876 * src/hildon-seekbar.c
1877 * src/hildon-seekbar.h
1878 * src/hildon-time-editor.c
1879 * src/hildon-time-editor.h
1880 * src/hildon-time-picker.c
1881 * src/hildon-time-picker.h
1882 * src/hildon-volumebar.c
1883 * src/hildon-volumebar.h
1884 * src/hildon-vvolumebar.c
1885 * src/hildon-vvolumebar.h
1886 * src/hildon-bread-crumb-trail.h
1887 * src/hildon-bread-crumb-trail.c
1888 * src/hildon-calendar-popup.c
1889 * src/hildon-calendar-popup.h
1890 * src/hildon-weekday-picker.c:
1891 * src/hildon-weekday-picker.h:
1892 * src/hildon-bread-crumb-widget.c:
1893 * src/hildon-bread-crumb-widget.h:
1894 * src/hildon-bread-crumb.c:
1895 * src/hildon-bread-crumb.h:
1896 * src/hildon-calendar.c:
1897 * src/hildon-calendar.h:
1898 * src/hildon-caption.c:
1899 * src/hildon-code-dialog.c:
1900 * src/hildon-code-dialog.h:
1901 * src/hildon-font-selection-dialog.c:
1902 * src/hildon-font-selection-dialog.h:
1903 * src/hildon-get-password-dialog.c:
1904 * src/hildon-get-password-dialog.h:
1905 * src/hildon-login-dialog.c:
1906 * src/hildon-login-dialog.h:
1907 * src/hildon-number-editor.c:
1908 * src/hildon-number-editor.h:
1909 * src/hildon-set-password-dialog.c:
1910 * src/hildon-set-password-dialog.h:
1911 * src/hildon-sort-dialog.c:
1912 * src/hildon-sort-dialog.h: This is the list of deprecated
1915 * src/hildon-touch-selector.c:
1916 * src/hildon-window.c: Added undef statement to avoid compilation
1919 * tests/Makefile.am: Divided the sources in deprecated and
1922 * tests/check_test.c,
1923 (configure_tests): Marked the deprecated code that was adding
1924 suites with deprecated tests.
1926 Fixes: NB#91135 (Deprecate legacy hildon widgets)
1928 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-touch-selector.c: (_default_print_func): Do not
1931 duplicate a string returned by gtk_tree_model_get(), it is already
1934 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1937 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1939 * src/hildon-pannable-area.c
1940 (hildon_pannable_area_add_with_viewport): Reviewed the complete
1941 method, it had problems when adding a widget with viewport the
1942 second time. Now checks if it already has a viewport and uses it.
1944 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1947 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1949 * src/hildon-pannable-area.c,
1950 (hildon_pannable_area_scroll_to),
1951 (hildon_pannable_area_jump_to),
1952 (hildon_pannable_area_scroll_to_child),
1953 (hildon_pannable_area_jump_to_child): Added a precondition to the
1954 scroll and jump to functions: the widget must be mapped before we
1955 can safely call these functions. We have also added documentation
1956 to the functions to explain how to use them in this situation.
1959 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1961 Reviewed the threading handling of the pannable widget, we have
1962 used the gdk_threads_add_timeout function instead of the usual
1963 glib handlers. This avoids some problems with the threads.
1965 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
1966 (hildon_pannable_area_initial_effect),
1967 (hildon_pannable_area_scroll_indicator_fade),
1968 (hildon_pannable_area_button_press_cb),
1969 (hildon_pannable_area_timeout),
1970 (hildon_pannable_area_motion_notify_cb),
1971 (hildon_pannable_area_button_release_cb),
1972 (hildon_pannable_area_scroll_cb),
1973 (hildon_pannable_area_scroll_to): Removed the
1974 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
1975 gdk_threads_add_timeout.
1977 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
1979 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1984 * configure.ac: bump version
1985 * debian/changelog: updates
1987 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1990 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
1991 * src/hildon-color-chooser-dialog.c:
1992 (hildon_color_chooser_dialog_init):
1993 * src/hildon-font-selection-dialog.c:
1994 (hildon_font_selection_dialog_init):
1995 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
1997 Remove all cancel/close-like dialogs, as these are not going to be
2000 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-note.c: (hildon_note_rebuild),
2003 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2006 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2008 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2011 sure all buttons are shown, even the Cancel/Close-like ones.
2013 Fixes: NB#90861 (Custom Confirmation dialogs should be
2014 protected from cancel button removal)
2016 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2018 * debian/control: Change libhildon1-examples dependency from libhildon1
2020 * debian/libhildon1-examples.install
2022 * Makefile.am: Modified the final install directory for the examples on
2023 package libhildon1-examples
2024 * Makefile.static: Update clean target in order to remove all the binary
2027 Changes suggested by Claudio after review new libhildon1-examples package
2029 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2032 * src/hildon-touch-selector.c: Ditto.
2034 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2036 * debian/control: Added new package libhildon1-examples, in order to pack
2037 the current hildon examples as documentation
2038 * debian/rules: Not to compress .c files, modify some includes on the
2039 examples (as normally are compiled locally, but when installed it will
2040 require to include the installed libhildon1 library), and rename
2042 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2043 install all the example files on the new example package
2044 * examples/Makefile.static: Added static makefile that can be used to
2045 compile the examples, once installed the new example package
2046 * examples: Most of the examples were modified in order to grant that
2047 all use only '#include "hildon.h"', in order to be easy to prepare
2048 it on the example package
2050 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2053 * debian/libhildon1-dev.install
2054 * debian/libhildon1-doc.install:
2055 Move all gtk-doc files to a separate libhildon1-doc package.
2057 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2059 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2063 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2065 * debian/rules: Fixed a error in order to avoid unnecessary calls
2066 to autogen.sh on package building
2068 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2070 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2072 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2077 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-picker-button.c
2080 (hildon_picker_button_finalize):
2081 Free priv->done_button_text
2083 * src/hildon-time-button.c
2084 (hildon_time_button_set_time)
2085 * src/hildon-picker-button.c
2086 (hildon_picker_button_clicked)
2087 (hildon_picker_button_selector_selection_changed)
2088 (hildon_picker_button_set_selector)
2089 * src/hildon-date-button.c
2090 (hildon_date_button_set_date):
2091 Free strings returned by hildon_touch_selector_get_current_text()
2093 * src/hildon-button.c (hildon_button_construct_child):
2094 Fix leaks in priv->image and priv->label_box
2096 Fixes: NB#90535 (Memory leak in picker button)
2098 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2100 * src/hildon-button.c: (hildon_button_get_property): Do not access
2101 private elements directly, use getters instead.
2103 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-app-menu-private.h
2106 * src/hildon-app-menu.c
2107 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2108 Store the menu's parent window.
2110 * src/hildon-stackable-window.c
2111 (hildon_stackable_window_toggle_menu)
2112 (hildon_stackable_window_finalize):
2113 Set the menu's parent window when the menu is shown, unset it when
2116 * src/hildon-app-menu.c
2117 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2118 (hildon_app_menu_class_init):
2119 Send unhandled keyboard accelerators to the parent window.
2121 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-stackable-window.c
2124 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2126 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2128 * configure.ac: post release version bump
2130 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2133 * configure.ac: Bump version
2134 * debian/changelog: Updates
2135 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2138 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2140 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2143 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2144 GtkMenu with Hildon style.
2146 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2148 * src/hildon-picker-button.c:
2149 (hildon_picker_button_set_done_button_text): Set the dialog's
2150 done button text here as well.
2152 Fixes: NB#90232 (Picker button does not set the label on done button
2153 for the second time)
2155 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2157 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2160 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-app-menu.c (hildon_app_menu_insert)
2163 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2164 the HildonAppMenu to be activatable using keyboard accelerators
2165 when the menu is not being shown.
2167 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2169 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-stackable-window.c
2172 (hildon_stackable_window_show):
2173 Don't hide old windows automatically when new windows are shown:
2174 this is now a task for the window manager.
2175 (hildon_stackable_window_class_init)
2176 (hildon_stackable_window_hide):
2177 Remove windows from the stack everytime they're hidden.
2178 (hildon_stackable_window_realize):
2179 Don't change the _NET_WM_WINDOW_TYPE property. Use
2180 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2181 it as a stackable window.
2183 * src/hildon-program.c
2184 (hildon_program_pop_window_stack):
2185 Just hide the window to remove it from the stack.
2186 (hildon_program_go_to_root_window):
2187 Don't call gtk_widget_show(), this is now a task for the window
2190 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2192 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2194 * src/hildon-button.c
2195 (hildon_button_construct_child):
2196 Don't pack anything in the button until text or image are
2197 set. This allows adding a custom child after creating the button
2198 with hildon_button_new().
2199 (hildon_button_finalize, hildon_button_class_init)
2200 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2201 alignment and the label box even when they're not packed in the
2204 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2206 * src/hildon-touch-selector.h:
2207 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2208 currently the type definition was using GTK_TYPE_VBOX
2209 * src/hildon-touch-selector.c:
2210 Added some implementation notes in order to clarify that any other widget
2211 added without the column related API will not be included on the
2212 selection logic, and how the widget is freed, as some people ask about
2214 (hildon_touch_selector_remove): Reimplemented in order to free properly
2215 the column related data when you remove the private hbox.
2216 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2217 to get a proper HildonTouchSelectorColumn documentation
2219 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-touch-selector-entry.c:
2222 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2223 text in the GtkEntry and there is no item selected. Fixes a
2226 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-app-menu-private.h
2229 * src/hildon-app-menu.[ch]
2230 * src/hildon-button.[ch]
2231 * src/hildon-check-button.[ch]
2232 * src/hildon-entry.[ch]
2233 * src/hildon-pannable-area.[ch]
2234 * src/hildon-text-view.[ch]:
2235 Added private field to the object's structure.
2237 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2239 * configure.ac: post-release version bump
2241 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2245 * configure.ac: pre-release version bump
2247 * debian/changelog: updates.
2249 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2252 Disconnect the handler for HildonTouchSelector::changed.
2254 (hildon_picker_button_selector_selection_changed): Update the button
2255 value if the selection change was not triggered by the
2258 (hildon_picker_button_set_selector): connect to
2259 HildonTouchSelector::changed.
2261 Fixes: NB#89650 (Picker button is not updated, when selection in
2262 selector has changed)
2264 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2266 * src/hildon-picker-dialog.c
2267 (hildon_picker_dialog_realize): Removed as not required
2268 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2269 * src/hildon-picker-button.c
2270 (_current_selector_empty): New function, checks if the selector is empty
2271 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2272 if the current selector is empty, in order to avoid to show the dialog
2273 close the dialog in this case (and shows a g_warning).
2275 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2277 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2279 * src/hildon-pannable-area.c,
2280 (hildon_pannable_area_scroll): Added clause to stop movement when
2281 the child of pannable is smaller than one page.
2282 (hildon_pannable_area_scroll_to): Added conditions to avoid
2283 starting the scrolling movement if the child is smaller than one
2284 page, the complete child is in the screen, we do not have to move.
2286 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2288 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2291 this is managed automatically by the widget when the size of the
2294 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2296 * src/hildon-picker-button.c
2297 (hildon_picker_button_set_done_button_text): Make a copy of the
2298 text, and free the previous value.
2300 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/hildon-touch-selector-entry.c:
2303 (hildon_touch_selector_entry_print_func): Return the selected row's
2304 text if the entry is empty.
2306 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2309 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2311 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2313 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-check-button.h
2317 * src/hildon-check-button.c
2318 * examples/hildon-check-button-example.c:
2319 HildonCheckButton is now a new widget. 'toggled' signal added.
2321 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-program-private.h
2324 * src/hildon-program.c (hildon_program_init)
2325 (hildon_program_finalize): Removed unused variables group_leader
2326 and name from HildonProgramPrivate.
2328 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-check-button.c (hildon_check_button_set_active)
2331 (hildon_check_button_get_active, hildon_check_button_new): Use
2332 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2334 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2336 * src/hildon-touch-selector.h
2337 (hildon_touch_selector_set_column_attributes): added deprecation
2338 guard HILDON_DISABLE_DEPRECATED
2339 * src/hildon-time-selector.c
2340 (hildon_time_selector_set_time)
2341 (hildon_time_selector_get_time): Fixed a typo on documentation
2342 * src/hildon-touch-selector.c: update HildonTouchSelector and
2343 HildonTouchSelectorColumn documentation
2344 * src/hildon-touch-selector-entry.c: update "text-column" property
2346 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2347 to be added to the general documentation.
2349 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2351 * examples/hildon-pannable-area-example-4.c,
2353 * examples/hildon-pannable-area-example.c,
2354 (main): Modified the code in order to use the container add, with
2355 viewport treeviews could have problems if they are really big.
2357 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2359 * src/hildon-weekday-picker.c,
2360 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2361 the agreement regarding deprecation in the library.
2363 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2365 * examples/hildon-picker-button-multicolumn-example.c:
2366 (main): Use custom "done" button text.
2368 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2369 (hildon_picker_button_set_property),
2370 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2371 (hildon_picker_button_init),
2372 (+hildon_picker_button_get_done_button_text),
2373 (+hildon_picker_button_set_done_button_text): New methods to customize
2374 the "done" button label in the launched HildonPickerDialog. Also,
2377 * src/hildon-picker-button.h: add the public API.
2379 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-date-selector.h:
2382 * src/hildon-picker-dialog.h:
2383 * src/hildon-time-selector.h:
2384 * src/hildon-touch-selector-column.h:
2385 * src/hildon-touch-selector.h:
2387 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2388 declarations. Fixes gtk-doc warnings.
2390 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2392 * src/hildon-picker-dialog.h
2393 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2394 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2396 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2397 long text is set as label for done button)
2399 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-dialog.c (hildon_dialog_add_button):
2402 Set fixed width to all buttons in the HildonDialog.
2404 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2406 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2408 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2409 Set widget name using class name plus "-finger" or "-thumb".
2411 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2414 'clicked' when the state of the button is manually changed.
2416 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-app-menu.c (hildon_app_menu_realize)
2419 (hildon_app_menu_unrealize, hildon_app_menu_init)
2420 (hildon_app_menu_class_init, item_visibility_changed):
2421 Change the menu layout when the size of the screen changes.
2422 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2423 Show warning only when changing the number of colums using the
2426 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2428 * debian/compat: Set to 5
2429 * debian/control: Update dependencies.
2430 * debian/libhildon1-dbg.install: Remove.
2431 * debian/libhildon1-dev.install: Update according to cdbs paths.
2432 * debian/libhildon1.install: Update according to cdbs paths.
2433 * debian/rules: Switch to cdbs.
2435 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2437 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2438 'item' variable renamed to 'filter'
2440 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-app-menu.c (hildon_app_menu_insert)
2443 (hildon_app_menu_add_filter, remove_item_from_list)
2444 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2445 Don't leak hidden items when the menu is destroyed.
2447 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-app-menu.c (hildon_app_menu_insert)
2450 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2451 (hildon_app_menu_set_columns, item_visibility_changed)
2452 (filter_visibility_changed, hildon_app_menu_repack_filters)
2453 (hildon_app_menu_repack_items):
2454 Repack items and filters separately.
2456 Don't repack all items, change only the ones that are needed to
2459 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2461 * src/Makefile.am: added hildon-touch-selector-column.h
2463 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2465 * src/hildon-touch-selector.c: added the property "text-column" to the
2466 class HildonTouchSelectorColumn, and related get/set functions
2467 (_default_printf_func): updated to use "text-column" property
2468 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2469 "text-column" in his documentation, as this is now included on
2470 HildonTouchSelectorColumn. The get/set_property can still be used,
2471 working as a wrapper to the concrete column "text-column" property
2472 (_text_column_modified): callback added in order to handle the signal
2473 "notify::text-column" of the concrete HildonTouchSelectorColumn
2474 (hildon_touch_selector_entry_get_text_column)
2475 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2476 modified in order to use the HildonTouchSelectorColumn "text-column"
2478 * src/hildon-time-selector.c:
2479 * src/hildon-date-selector.c:
2480 * examples/hildon-touch-selector-example.c
2481 * examples/hildon-touch-selector-multi-cells-example.c
2482 * examples/hildon-picker-button-multicolumn-example.c
2483 Set the right value to "text-column" property on the creation of a new
2484 column using hildon_touch_selector_append_column()
2486 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2488 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-app-menu.c
2491 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2492 updating the layout of the menu, don't create all widgets again,
2493 just repack the items in their new places.
2495 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2497 * src/hildon-time-selector.c
2498 (hildon_time_selector_get_time)
2499 (hildon_time_selector_set_time)
2500 Added documentation of these public methods
2502 * src/hildon-date-button.h
2503 * src/hildon-touch-selector-column.h
2504 * src/hildon-time-button.h
2505 * src/hildon-picker-dialog.h
2506 * src/hildon-time-selector.h
2507 * src/hildon-picker-button.h
2508 * src/hildon-touch-selector.h
2509 * src/hildon-time-picker.h
2510 * src/hildon-date-selector.h
2511 * src/hildon-touch-selector-entry.h
2512 Modified in order to use hildon-widgets code style
2514 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2516 Added deprecated support to the compilation process using
2517 HILDON_DISABLE_DEPRECATED
2519 * configure.ac: Added the --disable-deprecated to the configure
2522 * src/hildon-weekday-picker.c:
2523 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2524 to use the deprecated support. We will update the other deprecated
2525 widgets status in a new patch.
2527 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2529 * configure.ac: Fixed typo with fatal warnings support, the
2530 variable name was not correct
2532 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-app-menu.c
2535 * src/hildon-program.c: Update documentation.
2537 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2539 * configure.ac: Post-release version bump.
2541 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2546 * configure.ac: Pre-release version bump.
2547 * debian/changelog: Updates.
2549 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2551 * NEWS: Update news for previous releases.
2553 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2555 * examples/hildon-touch-selector-multi-cells-example.c:
2556 (create_selector): Update the example to use
2557 hildon_touch_selector_append_column() with a NULL renderer and set
2558 the renderers later.
2559 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2560 passed a NULL renderer. This is documented behavior now.
2562 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2563 This must be used if the developer wants full control on the layout of
2564 the renderers to be added to the column.
2566 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2568 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-touch-selector.c: Documentation fixes.
2572 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-wizard-dialog-private.h: Remove image and box.
2575 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2576 (hildon_wizard_dialog_set_property), (response): Completely remove
2577 image/icon support, and the containers required for the layout.
2579 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2581 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-app-menu.c: Updated documentation.
2585 * src/hildon-stackable-window.c
2586 (hildon_stackable_window_set_main_menu): Unref the old menu after
2587 ref'ing the new one.
2589 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-stackable-window.c
2592 (hildon_stackable_window_set_main_menu): Unref the previous menu
2593 instead of destroying it.
2595 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2596 floating reference and set has_user_ref_count to FALSE to make
2597 HildonAppMenu act like a normal ref-counted widget and not a
2600 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2603 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2605 * src/hildon-touch-selector-column.h: new file
2606 * src/hildon-touch-selector.h
2607 * src/hildon-touch-selector.c
2608 Implemented GtkCellLayout interface, in order to allow to configure
2609 the cell layout on each individual selector column
2610 (hildon_touch_selector_set_column_attributes): marked as deprecated
2611 * examples/hildon-touch-selector-multi-cells-example.c
2612 Example of how to use the GtkCellLayout interface on the selector
2614 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2616 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-app-menu.h
2619 * src/hildon-app-menu.c
2620 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2621 (hildon_app_menu_append, hildon_app_menu_prepend):
2622 New methods to prepend, insert and move items in the menu.
2624 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2626 * src/hildon-wizard-dialog.c:
2628 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2630 (create_title): Update logical IDs and related code.
2631 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2633 * src/hildon-wizard-dialog.h: Note that
2634 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2635 point, as it is not used anymore.
2637 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2639 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-note.c:
2642 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2643 shown. Do not display an icon in confirmation notes nor information
2645 (hildon_note_set_button_text): Update logical ID for cancel button.
2647 Fixes: NB#88850 (Update HildonNote button strings + signals)
2649 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-stackable-window.c
2652 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2654 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-app-menu-private.h
2657 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2658 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2659 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2660 temporary property 'columns' to change the number of columns.
2662 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2664 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2666 * examples/hildon-note-example.c: (on_information_clicked),
2667 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2668 debugging information.
2669 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2671 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2672 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2673 in order to close: this will be handled by the WM from now on.
2675 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2677 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2679 * src/hildon-app-menu-private.h
2680 * src/hildon-app-menu.c
2681 (hildon_app_menu_append, hildon_app_menu_add_filter)
2682 (button_visibility_changed, hildon_app_menu_apply_style)
2683 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2684 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2685 layout everytime a button (item or filter) is shown or hidden.
2687 * src/hildon-stackable-window.c
2688 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2691 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2693 * src/hildon-touch-selector.c:
2694 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2695 that the treeview inside the touch selector is in fremantle hildon mode
2696 * examples/hildon-date-button-example.c
2697 * examples/hildon-picker-button-multicolumn-example.c
2698 * examples/hildon-touch-selector-entry-example.c
2699 * examples/hildon-touch-selector-example.c
2700 * examples/hildon-time-button-example.c
2701 * examples/hildon-picker-button-example.c:
2702 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2704 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2706 * examples/hildon-text-view-example.c: (main): Remove the
2707 gtkrc bits, now handled by the theme.
2709 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2714 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2716 * po/Makefile.am: Install properly the mo files.
2717 * po/en_GB.po: Update translation, to ease testing purposes.
2719 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2721 * examples/hildon-picker-button-example.c: (main): Select an item
2722 in the selector before setting it to the button.
2724 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2727 Update button's value if the selector has an item active.
2729 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2730 'value' with the selector)
2732 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2735 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2736 (hildon_picker_button_class_init): Plug the finalize method.
2737 (hildon_picker_button_set_selector): If there's a previously set
2738 selector, unref'it before setting a new one.
2740 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2741 HildonTouchSelector)
2743 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-touch-selector-entry.c:
2746 (hildon_touch_selector_entry_changed): Check if there is no text
2747 selected before setting the entry text.
2750 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-touch-selector.h
2753 * src/hildon-touch-selector.c
2754 (hildon_touch_selector_get_active)
2755 (hildon_touch_selector_set_active): New methods to set/get the
2756 index of the selected item.
2758 * src/hildon-picker-button.h
2759 * src/hildon-picker-button.c
2760 (hildon_picker_button_get_active)
2761 (hildon_picker_button_set_active): New methods to set/get the
2762 index of the selected item.
2764 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2766 * configure.ac: post-release version bump.
2768 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2772 * configure.ac: Pre-release version bump.
2773 * debian/changelog: Updates.
2774 * debian/control: Add myself as maintainer and depend on l10n
2777 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-window.c
2780 (hildon_window_set_main_menu)
2781 * src/hildon-stackable-window.c
2782 (hildon_stackable_window_set_main_menu):
2783 Updated documentation.
2785 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2788 Don't free selector->priv manually.
2791 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2794 (hildon_gtk_window_set_progress_indicator):
2795 * src/hildon-gtk.h: Added the new API
2796 hildon_gtk_window_set_progress_indicator, it changes the state of
2797 the window progress hint.
2799 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-button.c
2802 * src/hildon-stackable-window.c: Minor documentation updates.
2804 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-stackable-window.c: Updated documentation.
2808 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-defines.h: Update margins definitions
2811 to the Fremantle sizes.
2814 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2816 * src/hildon-touch-selector.c,
2817 (_hildon_touch_selector_set_model): Cleaning the code after
2818 review, removed g_print and #if 0 from the code.
2820 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-edit-toolbar.c: Update documentation.
2824 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-check-button.h
2827 * src/hildon-check-button.c
2828 (hildon_check_button_set_label, hildon_check_button_get_label)
2829 * examples/hildon-check-button-example.c
2830 (button_clicked_cb):
2831 Removed deprecated methods.
2833 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-text-view.c:
2836 Add sample code to the documentation.
2838 * src/hildon-entry.h
2839 * src/hildon-text-view.h:
2840 Minor cosmetic changes.
2842 * src/hildon-entry.c:
2843 Add sample code to the documentation.
2844 (hildon_entry_init, hildon_entry_refresh_contents):
2845 Don't allow NULL values in the placeholder.
2847 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2849 * doc/hildon-docs.sgml
2851 * examples/Makefile.am
2852 * examples/hildon-text-view-example.c
2854 * src/hildon-text-view.c
2855 * src/hildon-text-view.h
2857 New HildonTextView widget, with example.
2859 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2861 * po/POTFILES.in: Add missing files with translatable strings.
2862 Partially fixes NB#88287.
2864 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2866 * examples/hildon-pannable-area-example-2.c: (main): No need to
2867 set the cellrenderer height inside hildon touch lists, the theme does
2870 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2872 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2873 they are integrated in the theme.
2875 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2877 * examples/hildon-entry-example.c: Update the example adding
2878 widgets to modify the text and the placeholder of the HildonEntry.
2880 * src/hildon-entry.c: Show the placeholder everytime the widget
2881 is empty and loses the focus.
2883 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2885 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2887 * src/hildon-pannable-area.c,
2888 (hildon_pannable_area_size_request): Fixed bug in height
2889 requisition, avoid increasing size and add border twice.
2891 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2893 * configure.ac: postrelease version bump.
2895 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2899 * configure.ac: Prerelease version bump.
2900 * debian/changelog: update.
2901 * debian/rules: make -dbg package contain useful debugging symbols.
2903 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-dialog.h
2906 * src/hildon-dialog.c
2907 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2908 New methods to add buttons with finger size.
2909 (hildon_dialog_new_with_buttons):
2910 Create buttons with finger size.
2912 * examples/hildon-dialog-example.c (main): Use HildonDialog
2913 methods to add buttons.
2915 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-entry.c: Updated HildonButton documentation.
2919 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2921 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2922 button value label with (FALSE, FALSE) to prevent NB#88126 from
2925 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2927 * examples/hildon-pannable-area-example.c,
2928 (main): Removed examples panning a vbox inside a pannable
2929 area. Check bug NB#87965
2931 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2933 Patch contributed by Kris Rietveld (kris@imendio.com)
2935 * src/hildon-pannable-area.c,
2936 (hildon_pannable_area_get_topmost): replaced the get_geometry with
2937 get_size and get_position, this saves an X server roundtrip.
2939 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2941 * doc/hildon-docs.sgml
2943 * examples/Makefile.am
2944 * examples/hildon-entry-example.c
2946 * src/hildon-entry.c
2947 * src/hildon-entry.h
2949 New HildonEntry widget, with example.
2951 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-button.c (hildon_button_construct_child): Pack the
2954 image with expand == fill == FALSE. This is a workaround for a bug
2957 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
2959 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
2960 labels for the text column, to make it more look more dynamic.
2962 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
2964 * src/hildon-time-selector.c
2965 Define gettext auxiliar macro N_
2966 (_create_minutes_model)
2967 (_create_hours_model)
2968 (_create_ampm_model): use of strftime in order to fill the model
2969 * src/hildon-date-selector.c
2970 (hildon_date_selector_finalize):
2971 (_locales_init): remove the logic related to get the name of the months
2972 using nl_langinfo, as it is not required anymore
2974 (_create_year_model)
2975 (_create_month_model)
2976 (_update_day_model): use of strftime in order to fill the model properly
2979 2008-09-04 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-button.h
2982 * src/hildon-button.c (hildon_button_get_image): New method to
2985 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-touch-selector.c:
2988 (hildon_touch_selector_remove_column): Remove from the correct parent
2989 and also remove the list element and free it.
2992 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
2994 * src/hildon-time-selector.c
2995 (_create_hours_model): change the range on 12h ampm format in order to use
2996 a 12-11 range instead of previous 01-12 range
2997 (hildon_time_selector_set_time): change the way to select the current time
2998 on 12h ampm format, due the change on the range
2999 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3002 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3004 * src/hildon-touch-selector.c
3005 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3006 in order to allow use this function on multiple row selection mode if
3007 the column is different that the first one
3010 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3013 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3015 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3017 * src/hildon-date-selector.h: clean some comments, now on the .c
3018 * src/hildon-date-selector.c
3019 (hildon_date_selector_select_month): first implementation
3020 (hildon_date_selector_select_day): added documentation, reimplemented
3021 using hildon_date_selector_select_current_date to avoid repeat code
3024 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3026 Reviewed interaction logic based on device experiences, refactored
3029 * src/hildon-pannable-area.c,
3030 (hildon_pannable_area_class_init): Updated default vmax speed.
3031 (hildon_pannable_area_calculate_velocity): Added this function, it
3032 avoids duplicate valocity calculation. Adjusted calculation to
3033 avoid problems with zero dist events.
3035 (hildon_pannable_area_motion_notify_cb): Now we use the
3036 calculate_velocity function.
3038 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3040 * src/hildon-date-selector.c
3041 (hildon_date_selector_select_current_date): fix the day range check
3042 as it failed using the last day of the current month
3045 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3047 * src/hildon-touch-selector.c
3048 (hildon_touch_selector_get_num_columns): added a parameter validation
3051 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3053 * examples/Makefile.am
3054 * examples/hildon-edit-toolbar-example.c: Example of the
3055 HildonEditToolbar widget.
3057 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3059 * configure.ac: postrelease version bump.
3061 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3065 * configure.ac: prerelease version bump.
3066 * debian/changelog: update.
3068 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3070 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3071 renderer to display stock icons in the touch list. Also, set the sizes
3072 to the recommended in the style guide.
3074 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3075 * src/hildon-touch-selector.h
3076 (hildon_touch_selector_set_active_iter): renamed, now is
3077 hildon_touch_selector_select_iter
3078 (hildon_touch_selector_get_active_iter): renamed, now is
3079 hildon_touch_selector_get_selected
3080 (hildon_touch_selector_unselect_iter): added
3081 * src/hildon-touch-selector.c
3082 Update after API modification (methods renamed)
3083 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3084 order to avoid problems selecting multiple elements on the column
3085 (hildon_touch_selector_unselect_iter): added the implementation
3086 * src/hildon-time-selector.c
3087 * src/hildon-date-selector.c
3088 * src/hildon-touch-selector-entry.c
3089 Update methods calls after hildon-touch-selector.h API modification (methods
3092 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-stackable-window.c
3095 (hildon_stackable_window_finalize): Call the parent class's finalize.
3097 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3099 * examples/hildon-touch-selector-example.c: (create_selector): Use
3100 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3103 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3105 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3106 set a cell background color, to respect theming.
3108 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3110 * doc/hildon-docs.sgml
3113 * src/hildon-edit-toolbar.c
3114 * src/hildon-edit-toolbar.h
3115 * src/hildon.h: New HildonEditToolbar widget.
3117 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3119 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3122 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3123 * src/hildon-touch-selector.c
3124 (_create_new_column): use g_object_set instead of two g_object_set_property
3126 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3127 * src/hildon-touch-selector.c
3128 (_create_new_column): use of hildon_gtk_tree_view_new to create
3129 the treeview, instead of use directly g_object_new
3130 (_create_new_column): update the property name "vindicator-mode" for the
3131 new one "vscrollbar-policy"
3132 * examples/hildon-date-button-example.c
3133 * examples/hildon-picker-button-multicolumn-example.c
3134 * examples/hildon-touch-selector-entry-example.c
3135 * examples/hildon-touch-selector-example.c
3136 * examples/hildon-time-button-example.c
3137 * examples/hildon-picker-button-example.c
3138 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3139 to all the treeviews inside a pannable area.
3141 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3143 * src/hildon-button.h
3144 * src/hildon-button.c (hildon_button_init)
3145 (hildon_button_set_arrangement, hildon_button_set_alignment)
3146 (hildon_button_set_title_alignment)
3147 (hildon_button_set_value_alignment)
3148 (hildon_button_set_image_alignment)
3149 (hildon_button_construct_child): New methods to set the alignment
3150 of the individual components of the button (title, value,
3151 image). Also, new method to alter the xscale and yscale properties
3152 of the GtkAlignment inside the button, so more complex layouts can
3155 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-button.c (hildon_button_style_set)
3158 (hildon_button_class_init, hildon_button_set_arrangement)
3159 (hildon_button_construct_child): Apply style properties
3160 correctly. Use the 'image-spacing' style property too.
3162 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3165 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3168 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3170 * src/hildon-pannable-area.c,
3171 (hildon_pannable_area_size_request): Fixed problem with
3172 pannable-area size_request.
3174 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3176 Added management for the grab-focus to a child widget, like a
3177 range, we need to fade out the scrollbar when releasing.
3179 * src/hildon-pannable-area.c,
3180 (hildon_pannable_area_init): Connected the grab-focus signal to
3182 (hildon_pannable_area_grab_notify): Added this function in order
3183 to manage the situation when the grab-focus ends. We have to
3184 fade-out the scrollbar.
3186 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-app-menu.c: Minor documentation update.
3190 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3192 * src/hildon-app-menu.c
3193 * examples/hildon-app-menu-example.c (create_menu): Update
3194 examples and documentation to explain how to connect callbacks.
3196 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3198 * examples/hildon-button-example.c
3199 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3200 hildon_stackable_window_new instead of gtk_window_new
3202 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3204 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3205 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3206 (hildon_pannable_area_set_property),
3207 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3208 (hildon_pannable_area_unrealize),
3209 (hildon_pannable_area_size_request),
3210 (hildon_pannable_area_size_allocate),
3211 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3212 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3213 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3214 (hildon_pannable_area_initial_effect),
3215 (hildon_pannable_area_redraw),
3216 (hildon_pannable_area_scroll_indicator_fade),
3217 (hildon_pannable_area_expose_event),
3218 (hildon_pannable_area_get_topmost), (synth_crossing),
3219 (hildon_pannable_area_button_press_cb),
3220 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3221 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3222 (hildon_pannable_area_motion_notify_cb),
3223 (hildon_pannable_area_button_release_cb),
3224 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3225 (hildon_pannable_area_remove),
3226 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3227 chage the code layout to a more GtkWidget like. Review the use of
3230 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3232 * examples/hildon-pannable-area-example-4.c,
3233 (main): Modified the name of the hindicator_mode to
3236 * src/hildon-pannable-area.c,
3237 (hildon_pannable_area_class_init),
3238 (hildon_pannable_area_motion_notify_cb),
3239 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3240 we have reduced the amount of signals and managed reviewed its
3241 rationale. Changed the default decelerate value.
3243 (hildon_pannable_area_add),
3244 (hildon_pannable_area_redraw): Refactored functions.
3246 (hildon_pannable_area_init),
3247 (hildon_pannable_area_get_property),
3248 (hildon_pannable_area_set_property):
3249 (hildon_pannable_draw_vscroll),
3250 (hildon_pannable_draw_hscroll),
3251 (hildon_pannable_area_initial_effect),
3252 (hildon_pannable_area_expose_event),
3253 (hildon_pannable_area_scroll),
3254 (hildon_pannable_area_button_press_cb),
3255 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3256 and vindicator_mode with hscrollbar_policy and
3257 vscrollbar_policy. Replaced hscroll and vscroll with
3258 hscroll_visible and vscroll_visible.
3260 (hildon_pannable_area_refresh): Refactor the function, remove
3261 variables and check the calls to this function, added resize
3262 conditions in case the children change their layout.
3264 (hildon_pannable_area_size_request): Added more detailed
3265 size_request calculation.
3268 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3270 * src/hildon-color-chooser.c
3271 (init_borders): use the correct gtk_border_free instead of g_free, to
3272 avoid a crash when this widget is used (ie: the three color selection
3275 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3277 * src/hildon-check-button.c,
3278 (hildon_check_button_set_active): Fixed problem when setting the
3279 active value, the widget was not redrawn.
3281 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3283 * src/hildon-pannable-area.c,
3284 (hildon_pannable_area_refresh),
3285 (hildon_pannable_area_scroll),
3286 (hildon_pannable_area_motion_notify_cb): Small code style change.
3288 (hildon_pannable_area_class_init): Default initial_hint set to
3289 FALSE, it is not in the specs.
3291 (hildon_pannable_area_initial_effect),
3292 (hildon_pannable_area_expose_event),
3293 (hildon_pannable_area_map),
3294 (hildon_pannable_area_init): Moved the launching point of the
3295 initial effect, it was in map but the sizes where not correct in
3296 that method so we do not know if we have the reproduce it. Now it
3297 is placed in the expose_event method and uses a variable to
3298 reproduce it just once.
3300 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_draw_vscroll),
3304 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3305 position allowed for the scrollbars.
3307 (hildon_pannable_area_size_allocate): Small style change.
3309 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3311 * src/hildon-pannable-area.c,
3312 (hildon_pannable_area_scroll_indicator_fade),
3313 (hildon_pannable_area_button_press_cb),
3314 (hildon_pannable_area_button_release_cb),
3315 (hildon_pannable_area_scroll_cb),
3316 (hildon_pannable_area_expose_event),
3317 (hildon_pannable_area_init): Added the define parameter
3318 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3319 and refactor the fade variable.
3321 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3323 * src/hildon-pannable-area.c,
3324 (hildon_pannable_area_redraw),
3325 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3326 lines, we were reimplemeting the redraw code.
3328 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3330 * src/hildon-pannable-area.c,
3331 (hildon_pannable_area_scroll_cb),
3332 (hildon_pannable_area_realize),
3333 (hildon_pannable_area_class_init): Added scroll_event management
3334 for pannable area, now we can scroll the usual desktop method.
3336 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3337 initialization of the parameters should depend on idle_id.
3339 (hildon_pannable_area_init),
3340 (hildon_pannable_area_map): Small code style modifications
3342 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3344 * src/hildon-pannable-area.c
3345 (hildon_pannable_area_button_press_cb),
3346 (hildon_pannable_area_motion_notify_cb),
3347 (hildon_pannable_area_button_release_cb),
3348 (hildon_pannable_area_size_allocate),
3349 (hildon_pannable_area_scroll_to): Improved the timeouts
3350 management, we avoid creating them each time.
3352 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3354 * src/hildon-pannable-area.c:
3355 (hildon_pannable_area_refresh),
3356 (hildon_pannable_area_motion_notify_cb),
3357 (hildon_pannable_area_class_init):
3358 * src/hildon-pannable-area.h:
3359 * src/hildon-touch-selector.c
3360 (_create_new_column):
3361 * examples/hildon-pannable-area-example-4.c:
3362 (horizontal_movement),
3363 (vertical_movement),
3365 Replaced the names of enums in the HildonPannableArea:
3366 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3367 HILDON_MOVEMENT_MODE_*
3368 - HILDON_PANNABLE_AREA_MOV_* ->
3370 - Removed HildonPannableAreaIndicatorMode, now we
3373 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3375 * examples/hildon-pannable-area-touch-grid-example.c
3376 * examples/hildon-pannable-area-touch-list-example.c: Fix
3377 compilation warnings.
3379 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-gtk.c (hildon_gtk_button_new)
3382 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3383 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3384 images overriding the value of the "gtk-button-images" setting.
3386 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-check-button.c (hildon_check_button_new):
3389 Instead of using a custom container, display the label and the
3390 checkbox using the standard GtkButton API.
3392 * examples/hildon-check-button-example.c (main): Don't use
3393 hildon_check_button_set_label() anymore
3395 * src/hildon-check-button.h
3396 * src/hildon-check-button.c
3397 (hildon_check_button_set_label, hildon_check_button_get_label):
3398 Set as deprecated, now we're using gtk_button_{get,set}_label()
3400 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3402 * src/hildon-pannable-area.c,
3403 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3404 GtkTreeview first line we detected it after the inclusion of the
3405 GtkWindowImpl in gtk+. We now check if the window is visible, not
3406 just if the pointer is over the window.
3407 (hildon_pannable_axis_scroll),
3408 (hildon_pannable_area_expose_event): Small style changes.
3410 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-button.c: Update documentation.
3414 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3416 * examples/hildon-button-example.c: Add a switch to show images in
3419 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3421 * doc/hildon-docs.sgml: Some docs reorganization.
3423 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3425 * examples/hildon-pannable-area-touch-list-example.c
3427 * examples/hildon-pannable-area-touch-grid-example.c
3428 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3429 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3430 Fix memory leak when setting the tree model.
3432 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3436 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3438 * doc/hildon.types: Remove duplicated hildon_window_get_type
3439 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3440 documentation comment.
3442 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3444 * doc/Makefile.am: Complete list of private headers.
3446 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3448 * doc/hildon-docs.sgml
3449 * src/hildon-app-menu.c
3450 * src/hildon-bread-crumb.c
3451 * src/hildon-button.c
3453 * src/hildon-program.c
3454 * src/hildon-stackable-window.c
3455 * src/hildon-window.c: Lots of documentation updates.
3457 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3459 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3461 * configure.ac: Require Gtk+ 2.12.9 at least
3463 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3465 * src/hildon-pannable-area.c
3466 (hildon_pannable_area_scroll_indicator_fade),
3467 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3468 to protect the return of this timeout callbacks, avoiding deadlocks.
3470 2008-08-12 Christian Dywan <christian@imendio.com>
3473 * src/hildon-*.h: Ensure a consistent include order,
3474 include <gtk/gtk.h> instead of particular files and
3475 only include the topmost header in the gtk stack. See NB #39857
3477 2008-08-12 Christian Dywan <christian@imendio.com>
3479 * src/hildon-picker-dialog.c
3480 * src/hildon-touch-selector.c: Fix warnings about unused and
3481 uninitialized variables.
3483 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3485 * examples/Makefile.am
3486 * examples/hildon-check-button-example.c: Example of the hildon
3489 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-window.h
3492 * src/hildon-window.c (hildon_window_class_init)
3493 (hildon_window_unset_program): Don't make
3494 hildon_window_unset_program a virtual function anymore.
3496 * src/hildon-stackable-window.c: Update documentation
3498 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3501 * doc/hildon-docs.sgml
3502 * doc/visual_index.xml
3503 * src/hildon-defines.c
3505 * src/hildon-helper.c
3506 * src/hildon-range-editor.c: Lots of documentation fixes.
3508 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3510 * examples/hildon-picker-button-multicolumn-example.c
3511 (create_touch_selector): Fix compilation warning.
3513 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3516 (hildon_pannable_area_button_release_cb)
3517 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3519 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3524 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-bread-crumb-trail.h
3527 * src/hildon-date-editor.c
3528 * src/hildon-date-selector.c
3529 * src/hildon-pannable-area.c
3530 * src/hildon-picker-dialog.c
3531 * src/hildon-time-selector.c
3532 * src/hildon-touch-selector-entry.c
3533 * src/hildon-touch-selector.c
3534 * src/hildon-touch-selector.h: Misc documentation fixes
3536 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3538 * examples/hildon-date-editor-example.c (main): Updated date
3541 * examples/hildon-note-example.c (on_confirmation_clicked):
3542 Updated confirmation note example.
3544 * src/hildon-date-editor.c
3545 * src/hildon-note.c: Updated sample programs in documentation.
3548 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-date-button.h:
3551 * src/hildon-picker-button.h:
3552 * src/hildon-time-button.c:
3553 * src/hildon-time-button.h:
3555 Some declarations changes to allow gtk-doc to document the widgets
3558 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3560 * src/hildon-date-button.c: Document the widget.
3561 * src/hildon-time-button.c: Document the widget.
3563 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-picker-button.c: Document the widget.
3566 * src/hildon-touch-selector-entry.c: Document the widget.
3568 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3570 * doc/hildon-docs.sgml
3573 * src/hildon-check-button.h
3574 * src/hildon-check-button.c: New functions to create the Hildon
3578 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3580 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-button.h
3583 * src/hildon-button.c
3584 (hildon_button_add_title_size_group)
3585 (hildon_button_add_value_size_group)
3586 (hildon_button_add_image_size_group)
3587 (hildon_button_add_size_groups): New functions to set size groups
3588 for the button labels and image.
3589 (hildon_button_new_full): Removed
3591 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3593 * src/hildon-time-selector.c
3594 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3595 in order to avoid a crash if gconf is not available
3597 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-button.c (hildon_button_set_arrangement)
3600 (hildon_button_construct_child): Don't construct the button child
3601 before setting the arrangement.
3603 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-program-private.h
3606 * src/hildon-program.c
3607 * src/hildon-program.h
3608 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3609 (hildon_program_peek_window_stack)
3610 (hildon_program_pop_window_stack)
3611 (hildon_program_go_to_root_window): HildonProgram now has a
3612 separate list for stackable windows. Functions are provided to
3613 manage that list with a stack-like API.
3615 * src/hildon-stackable-window.c: Stackable window management is
3616 now much simpler with the new HildonProgram API. Windows no
3617 longer need to be manually added to the program, they're
3618 automatically pushed to the top of the stack when shown.
3620 * examples/hildon-stackable-window-example.c: Updated example to
3621 reflect the API changes.
3623 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-touch-selector.c: Comment out unimplemented
3626 hildon_touch_selector_insert_column() to avoid a compile warning.
3628 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3630 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3631 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3632 (hildon_touch_selector_set_column_selection_mode),
3633 (_hildon_touch_selector_set_model),
3634 (hildon_touch_selector_set_model):
3636 Complete review of HildonTouchSelector documentation.
3638 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3640 * doc/hildon-docs.sgml
3644 * src/hildon-gtk.c: Convenience functions for standard Gtk
3645 widgets, used to easily perform frequent operations.
3647 * src/hildon-button-helpers.h
3648 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3650 * src/hildon-helper.h
3651 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3652 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3654 * src/hildon-button.h
3655 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3657 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-button.c (hildon_button_init)
3660 (hildon_button_set_arrangement, hildon_button_construct_child):
3661 Pack the image and the labels inside the same GtkAlignment so
3662 gtk_button_set_alignment() can be used
3664 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-button.h
3667 * src/hildon-button.c
3668 (hildon_button_init, hildon_button_set_image)
3669 (hildon_button_set_image_position)
3670 (hildon_button_construct_child): New functions to add an image to
3673 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3675 * src/hildon-date-button.c
3676 * src/hildon-picker-button.c
3677 * src/hildon-time-button.c
3678 * src/hildon-button.c:
3679 (hildon_button_class_init): "size-flags" renamed to "size"
3680 (hildon_button_set_title): Hide the title label if set to NULL.
3682 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3684 HildonButtonFlags split into HildonButtonArrangement (to set the
3685 button layout) and HildonSizeType (which can be used for any
3688 * src/hildon-button.h
3689 * src/hildon-button.c
3690 (hildon_button_class_init)
3691 (hildon_button_set_arrangement)
3692 (hildon_button_set_property): New "size-flags"
3693 property. "arrangement-flags" renamed to "arrangement".
3694 (hildon_button_new, hildon_button_new_with_text)
3695 (hildon_button_new_full): Constructors updated to reflect type changes.
3697 * src/hildon-helper.h
3698 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3699 to set the size of a widget.
3703 * src/hildon-button-helpers.c
3704 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3706 * src/hildon-date-button.c
3707 * src/hildon-date-button.h
3708 * src/hildon-picker-button.c
3709 * src/hildon-picker-button.h
3710 * src/hildon-time-button.c
3711 * src/hildon-time-button.h: Updated widgets to reflect
3712 HildonButton API changes.
3714 * examples/hildon-button-example.c
3715 * examples/hildon-date-button-example.c
3716 * examples/hildon-picker-button-example.c
3717 * examples/hildon-picker-button-multicolumn-example.c
3718 * examples/hildon-time-button-example.c
3719 * examples/hildon-touch-selector-entry-example.c
3720 * examples/hildon-touch-selector-example.c: Updated examples to
3721 reflect HildonButton API changes.
3723 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3725 * doc/hildon-docs.sgml:
3727 * examples/Makefile.am:
3728 * examples/hildon-touch-selector-entry-example.c:
3730 * src/hildon-touch-selector-entry.c:
3731 * src/hildon-touch-selector-entry.h:
3734 Moved HildonTouchSelectorEntry from sandbox. Added its
3735 documentation and examples.
3737 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-touch-selector.h:
3740 * examples/hildon-picker-button-multicolumn-example.c:
3741 (hildon_touch_selector_append_text_column): Add a gboolean
3742 parameter to determine if text must be centered in the column.
3744 * src/hildon-date-selector.c: (hildon_date_selector_init):
3745 * src/hildon-time-selector.c: (hildon_time_selector_init):
3746 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3747 (create_touch_selector): Update widgets and example to reflect
3750 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-touch-selector.c:
3753 (hildon_touch_selector_set_active_iter): Set also the cursor in
3756 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3758 * doc/hildon-docs.sgml
3761 * src/hildon-toggle-button.c
3762 * src/hildon-toggle-button.h
3763 * src/hildon.h: Removed HildonToggleButton widget, a derived
3764 class is not necessary for this.
3766 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3768 * src/hildon-pannable-area.c,
3769 (hildon_pannable_area_realize),
3770 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3773 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3776 "done" button the default widget for the dialog.
3778 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-touch-selector.c:
3781 (hildon_touch_selector_class_init),
3782 (hildon_touch_selector_get_property),
3783 (_hildon_touch_selector_set_model),
3784 (_hildon_touch_selector_has_multiple_selection),
3785 (hildon_touch_selector_has_multiple_selection):
3786 Add a "has-multiple-selection" property with a virtual
3787 has_multiple_selection() method to allow derived classes to
3788 override the default value for it. See the method and property
3789 documentation for details.
3791 * src/hildon-touch-selector.h: Add the new API.
3793 * src/hildon-picker-dialog.c: (requires_done_button): Call
3794 hildon_touch_selector_has_multiple_selection() instead of
3795 determining the need for a button itself.
3797 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3799 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3800 (_hildon_touch_selector_set_model),
3801 (hildon_touch_selector_set_model): Move working code to
3802 _hildon_touch_selector_set_mode(). Call the class method instead.
3804 * src/hildon-touch-selector.h: Add (*set_model) to
3805 HildonTouchSelectorClass.
3807 Make hildon_touch_selector_set_model() a virtual method, so that
3808 derived classes can extend it and do fancy stuff with the model.
3810 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3812 * configure.ac: Set back the tarname in AC_INIT to hildon.
3814 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3818 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3819 instead of libesd (NB#86876). Volume handling is still an open issue.
3821 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3824 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3827 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3828 derived class to ease placement of an entry widget in
3829 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3830 end, where the selector columns are packed now.
3832 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3834 * src/hildon-picker-button.c: Removed the simple _text() API.
3835 * src/hildon-picker-button.h: Likewise.
3837 * src/hildon-touch-selector.h:
3838 * src/hildon-touch-selector.c:
3839 (hildon_touch_selector_new_text),
3840 (hildon_touch_selector_append_text),
3841 (hildon_touch_selector_prepend_text),
3842 (hildon_touch_selector_insert_text):
3844 Moved the simple _text() API from HildonPickerButton to
3845 HildonTouchPicker, to provide better escalability and not to tie
3846 that API to HildonPickerButton.
3848 * examples/hildon-picker-button-example.c: (main): Example updated.
3850 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-button.c: Updated documentation.
3854 * examples/hildon-button-example.c: Add the posibility to create
3855 the buttons using horizontal layout for title and value.
3857 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-app-menu-private.h
3860 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3861 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3862 GtkSizeGroup for the filters, use the 'homogeneous' property of
3865 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3867 * examples/hildon-button-example.c: Updated example.
3869 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3871 * doc/hildon-docs.sgml:
3874 Update documentation.
3876 * examples/Makefile.am: Update renamed examples.
3878 * examples/hildon-picker-button-multicolumn-example.c:
3879 (create_touch_selector), (main): Update after the rename.
3881 * examples/hildon-touch-picker-example.c: Removed.
3882 * examples/hildon-touch-selector-example.c: (value_changed),
3883 (create_selector), (get_visible_content), (main): Renamed from
3884 hildon-touch-picker-example.c
3886 * src/Makefile.am: Updated renamed files.
3888 * src/hildon-date-button.c: (hildon_date_button_init),
3889 (hildon_date_button_get_date), (hildon_date_button_set_date):
3890 * src/hildon-date-selector.c: (hildon_date_selector_init),
3891 (_custom_print_func), (_update_day_model),
3892 (_manage_selector_change_cb),
3893 (hildon_date_selector_select_current_date),
3894 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3895 * src/hildon-date-selector.h:
3896 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3897 (hildon_picker_button_set_property),
3898 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3899 (hildon_picker_button_init), (hildon_picker_button_new_text),
3900 (hildon_picker_button_append_text),
3901 (hildon_picker_button_prepend_text),
3902 (hildon_picker_button_insert_text),
3903 (hildon_picker_button_set_selector),
3904 (hildon_picker_button_get_selector):
3905 * src/hildon-picker-button.h:
3906 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3907 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3908 (_update_title_on_selector_changed_cb), (requires_done_button),
3909 (_hildon_picker_dialog_set_selector),
3910 (hildon_picker_dialog_set_selector),
3911 (hildon_picker_dialog_get_selector):
3912 * src/hildon-picker-dialog.h:
3913 * src/hildon-time-button.c: (hildon_time_button_init),
3914 (hildon_time_button_get_time), (hildon_time_button_set_time):
3915 * src/hildon-time-selector.c: (hildon_time_selector_init),
3916 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3917 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3918 * src/hildon-time-selector.h:
3921 Massive code updates after the rename.
3923 * src/hildon-touch-picker.c: Removed.
3924 * src/hildon-touch-picker.h: Removed.
3926 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3927 (hildon_touch_selector_init), (hildon_touch_selector_map),
3928 (hildon_touch_selector_remove), (_default_print_func),
3929 (_selection_changed_cb), (_create_new_column),
3930 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3931 (hildon_touch_selector_append_text_column),
3932 (hildon_touch_selector_remove_column),
3933 (hildon_touch_selector_set_column_attributes),
3934 (hildon_touch_selector_insert_column),
3935 (hildon_touch_selector_get_num_columns),
3936 (hildon_touch_selector_get_column_selection_mode),
3937 (hildon_touch_selector_set_column_selection_mode),
3938 (hildon_touch_selector_set_print_func),
3939 (hildon_touch_selector_get_print_func),
3940 (hildon_touch_selector_get_active_iter),
3941 (hildon_touch_selector_set_active_iter),
3942 (hildon_touch_selector_get_selected_rows),
3943 (hildon_touch_selector_get_model),
3944 (hildon_touch_selector_set_model),
3945 (hildon_touch_selector_get_current_text),
3946 (_hildon_touch_selector_center_on_selected_items):
3947 * src/hildon-touch-selector.h: Renamed from
3948 hildon-touch-picker.[ch]
3950 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
3951 references, code examples, and related documentation.
3953 2008-07-30 Alberto Garcia <agarcia@igalia.com>
3955 * doc/hildon-docs.sgml
3958 * src/hildon-toggle-button.c
3959 * src/hildon-toggle-button.h
3960 * src/hildon.h: New HildonToggleButton widget.
3962 2008-07-30 Alberto Garcia <agarcia@igalia.com>
3964 * src/hildon-button.c: Add API documentation.
3965 (hildon_button_set_size_groups): Check input parameters
3967 2008-07-30 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c
3970 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
3971 effect after reaching the movement thredshold. This way we start
3972 using the distance after passing the thredshold.
3974 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-button.c: (hildon_button_set_property): Use the
3977 appropriate g_value_get_flags() method.
3979 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3981 * doc/hildon-docs.sgml:
3984 Add the touch pickers, picker dialogs, and picker button widgets
3985 to the documentation.
3987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3989 * src/hildon-button.c: (hildon_button_set_property),
3990 (hildon_button_class_init): Make "arrangement-flags" a proper
3991 G_TYPE_FLAGS derived property.
3993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3995 * examples/Makefile.am: Add below examples.
3996 * examples/hildon-date-button-example.c:
3997 * examples/hildon-picker-button-example.c:
3998 * examples/hildon-picker-button-multicolumn-example.c:
3999 * examples/hildon-time-button-example.c:
4000 * examples/hildon-touch-picker-example.c:
4002 Add examples for the recently added touch pickers,
4003 picker dialogs, and picker button widgets.
4005 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-button.c: Add some API documentation
4009 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-button.h
4012 * src/hildon-button.c
4014 (hildon_button_new_with_text): New constructor to create a button
4015 with no text at all.
4016 (hildon_button_init, hildon_button_set_arrangement)
4017 (hildon_button_set_title, hildon_button_set_value)
4018 (hildon_button_set_text)
4019 (hildon_button_construct_child): Hide the value when it's not used
4020 so the rest of the text is properly aligned.
4021 Allow creating buttons with arbitrary widgets inside (not just
4022 title/value labels).
4024 * examples/hildon-button-example.c (vertical_buttons_window)
4025 (horizontal_buttons_window): Update example to use new API.
4027 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4029 * src/Makefile.am: Added HildonTimeButton.
4030 * src/hildon-time-button.c: Added missing LGPL header.
4031 * src/hildon-time-button.h: Added missing LGPL header.
4032 * src/hildon.h: Add hildon-time-button.h
4034 Copied HildonTimeButton from sandbox to trunk. Future work on this
4035 widget must take place in trunk.
4037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/Makefile.am: Added HildonDateButton.
4040 * src/hildon-date-button.c: Update includes.
4041 * src/hildon.h: Add hildon-date-button.h
4043 Copied HildonDateButton from sandbox to trunk. Future work on this
4044 widget must take place in trunk.
4046 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/Makefile.am: Added HildonPickerButton.
4049 * src/hildon-picker-button.h: Update includes.
4050 * src/hildon.h: Add hildon-picker-button.h
4052 Copied HildonPickerButton from sandbox to trunk. Future work on
4053 this widget must take place in trunk.
4055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/Makefile.am: Added HildonPickerDialog.
4058 * src/hildon-picker-dialog.c: Update includes.
4059 * src/hildon.h: Add hildon-picker-dialog.h
4061 Copied HildonPickerDialog from sandbox to trunk. Future work
4062 on this widget must take place in trunk.
4064 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/Makefile.am: Added HildonTimeSelector.
4067 * src/hildon.h: Add hildon-time-selector.h
4069 Copied HildonTimeSelector widget from sandbox to trunk. Future
4070 work on this widget must happen in trunk.
4072 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4074 * src/Makefile.am: Added HildonDateSelector.
4075 * src/hildon.h: Add hildon-date-selector.h
4077 Copied HildonDateSelector widget from sandbox to trunk. Future
4078 work on this widget must happen in trunk.
4080 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4082 * src/Makefile.am: Added HildonTouchPicker.
4083 * src/hildon-touch-picker.c: Update includes.
4084 * src/hildon.h: Add hildon-touch-picker.h
4086 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4087 on this widget must happen in trunk.
4089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4091 * src/hildon-pannable-area.c:
4092 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4094 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4096 * examples/hildon-app-menu-example.c (main): Let the window
4099 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4101 * src/hildon-pannable-area.c
4102 (hildon_pannable_area_class_init): Set the min value of the
4103 overshoot properties to zero, which points out that not
4104 overshooting allowed.
4106 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4108 Modified the procedure to get the widget at a point inside the
4109 pannable area when using the movement type signals. Now the user
4110 has to call a function to get the child, that way we just
4111 calculate the child in case the user really want to use it and not
4114 * src/hildon-marshalers.list: Modified the marshallers, now we do
4115 not have the widget as a parameter.
4117 * src/hildon-pannable-area.c
4118 (hildon_pannable_area_motion_notify_cb),
4119 (hildon_pannable_area_class_init),
4120 (hildon_pannable_get_child_widget_at): Removed the widget
4121 parameter from the signal callback. We have also refactored the
4122 emission of the signals.
4124 * src/hildon-pannable-area.h: Added a new method to the API to
4125 calculate a widget at a point inside the pannable area,
4126 hildon_pannable_get_child_widget_at.
4128 * examples/hildon-pannable-area-example-4.c
4129 (horizontal_movement): Modified the example to use the new API,
4130 added condition to control which widget is under the event. This
4131 way we can avoid scrolling laterally over other widgets.
4133 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4135 * src/hildon-pannable-area.c
4136 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4137 modes, we stop getting the pointer events due to returning the
4138 callback without properly calling the get pointer again. Fixed
4139 also an error using the hscroll and vscroll.
4141 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-app-menu-private.h
4144 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4145 (hildon_app_menu_button_release, hildon_app_menu_init)
4146 (hildon_app_menu_class_init): Don't hide the menu on button
4147 release if the user didn't press outside first.
4149 * src/hildon-window.h
4150 * src/hildon-window.c (hildon_window_toggle_menu)
4151 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4152 hildon_window_toggle_menu a virtual function for the stackable
4153 window to override it.
4155 * src/hildon-stackable-window.h
4156 * src/hildon-stackable-window-private.h
4157 * src/hildon-stackable-window.c
4158 (hildon_stackable_window_realize)
4159 (hildon_stackable_window_finalize)
4160 (hildon_stackable_window_class_init)
4161 (hildon_stackable_window_init)
4162 (hildon_stackable_window_set_main_menu): New function to set the
4163 app menu of a HildonStackableWindow.
4165 * examples/hildon-app-menu-example.c: Remove the button to show
4166 the app menu, now it'll be shown when clicking on the title bar
4169 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4172 set the widget name if the arrangement flags do not specify
4175 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-button.c: (hildon_button_set_property),
4178 (hildon_button_class_init), (hildon_button_new_full),
4179 (hildon_button_set_arrangement): Added "arrangement-flags"
4182 Make the HildonButtonFlags a construction-only property, to allow
4183 subclasses to set them properly.
4185 2008-07-21 Tim Janik <timj@imendio.com>
4187 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4188 insertion position after backspace, so additional digits are appended,
4191 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4193 * src/hildon-pannable-area.c,
4194 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4195 TODO list, it was complete and removed the g_debug and g_print
4198 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4200 Added the movement modes to the hildon-pannable-area, with this
4201 modes the developers can control in which directions the widget
4202 can scroll. They can also connect to signals in order to do
4203 something when that happens, allowing applications scroll. There
4204 is an example uploaded showing how to use it.
4206 * examples/Makefile.am:
4207 * examples/hildon-pannable-area-example-4.c: Added this example of
4208 an application using the modes.
4210 * src/hildon-marshalers.list: Added a new marshaller for the new
4213 * src/hildon-pannable-area.h: Added new enumerations and flags in
4214 order to control the movement modes and the new signals to warn
4215 about the movements in the area.
4217 * src/hildon-pannable-area.c:
4218 (hildon_pannable_axis_scroll),
4219 (hildon_pannable_area_scroll),
4220 (hildon_pannable_area_motion_notify_cb),
4221 (hildon_pannable_area_get_property),
4222 (hildon_pannable_area_set_property),
4223 (hildon_pannable_area_map),
4224 (hildon_pannable_area_class_init),
4225 (hildon_pannable_area_init),
4226 (hildon_pannable_area_jump_to): Added the modes to control the
4227 movement in the widget. We have added properties to control it,
4228 signals to warn about the movements and refactored some code.
4230 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4232 Changes required in order to allow vfast_factor set to zero to
4235 * src/hildon-pannable-area.c:
4236 (hildon_pannable_area_button_press_cb): Changed the condition, it
4237 is required for not allowing click when vfast_factor is zero.
4238 (hildon_pannable_area_timeout): Initialized velocity variables
4239 when we stop moving, it was less than 1 but not zero and we need
4240 to check zero in some situations.
4241 (hildon_pannable_area_class_init): Changed the default value of
4242 the speed factor, now the button_press is just sent in case the
4243 speed is 2 per cent of the max speed.
4244 (hildon_pannable_area_init): Initialization with 0.
4246 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4248 * src/hildon-pannable-area.c,
4249 (hildon_pannable_area_get_topmost): replaced
4250 gdk_window_get_children with gdk_window_peek_children, this way we
4251 do not have to free the list because it is not a copy.
4253 (hildon_pannable_axis_scroll),
4254 (hildon_pannable_area_scroll),
4255 (hildon_pannable_area_timeout),
4256 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4257 two parameters that were only used inside the
4258 hildon_pannable_area_scroll function.
4260 * examples/hildon-pannable-area-example.c,
4261 (get_sawtooth_label): Fixed small memory leak.
4263 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4265 More checks for the case where the overshoot is bigger than the
4268 * src/hildon-pannable-area.c:
4269 (hildon_pannable_draw_vscroll),
4270 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4271 to draw the slider of the scrollbar under the other scrollbar.
4272 (hildon_pannable_area_expose_event): added new checks to control
4273 the drawing of the overshooting area rectangle, in case it is too
4274 big for the area of the widget.
4275 (hildon_pannable_area_size_allocate): add more checks to avoid
4276 setting a position to the child widget outside the area.
4278 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4280 * src/hildon-pannable-area.c
4281 (hildon_pannable_area_size_allocate): Added conditions to control
4282 when overshooting is bigger than the allocated space for the
4283 children, this avoids negative allocations.
4285 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4287 * doc/hildon-docs.sgml
4289 * examples/Makefile.am
4290 * examples/hildon-button-example.c
4292 * src/hildon-button.c
4293 * src/hildon-button.h
4294 * src/hildon.h: Initial version of the new HildonButton widget,
4297 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4299 * src/hildon-pannable-area.c:
4300 (hildon_pannable_area_button_press_cb),
4301 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4302 (hildon_pannable_area_motion_notify_cb),
4303 (hildon_pannable_area_button_release_cb),
4304 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4305 (hildon_pannable_area_jump_to_child):
4307 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4309 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4311 * examples/Makefile.am
4312 * examples/hildon-pannable-area-touch-grid-example.c
4313 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4314 the Hildon Touch List and Hildon Touch Grid using the
4315 HildonPannableArea widget.
4317 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4319 * src/hildon-pannable-area.c,
4320 (hildon_pannable_area_button_press_cb),
4321 (hildon_pannable_area_refresh),
4322 (hildon_pannable_area_scroll),
4323 (hildon_pannable_area_motion_notify_cb),
4324 (hildon_pannable_area_button_release_cb),
4325 (hildon_pannable_area_expose_event),
4326 (hildon_pannable_area_add),
4327 (hildon_pannable_area_remove),
4328 (hildon_pannable_area_realize),
4329 (hildon_pannable_area_size_allocate),
4330 (hildon_pannable_area_class_init),
4331 (hildon_pannable_area_init),
4332 (hildon_pannable_area_scroll_to_child),
4333 (hildon_pannable_area_jump_to_child): Fixed the problem of
4334 removing the child from the GtkBin, we have rearranged the widget
4335 hierarchy, now there is no GtkAlignment which was not doing
4336 anything interesting but breaking some of the assumptions of
4337 GtkContainer. Now developers if they want to add a GtkAlignment
4338 they could, but it is not inside the area.
4340 We had to review the whole allocation/expose process, now it is
4341 improved and we save at least three signals which would be saving
4342 some time when rendering the widget. The allocation of the
4343 scrollbars is now made in the allocate method as usual.
4345 We have also added some conditions in order to control when there
4346 is no child of the pannable area. Maybe we will need more work
4349 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4351 * src/hildon-pannable-area.c,
4352 (hildon_pannable_area_dispose): Released the fade-out timeout when
4353 disposing the widget.
4355 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4357 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4358 zero, we are going to use that property in order to deactivate the
4360 (hildon_pannable_axis_scroll),
4361 (hildon_pannable_area_size_allocate): Added conditions to control
4362 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4363 call, now it is called in all situations and we can remove calls
4364 in the allocate method.
4365 (hildon_pannable_area_map): Control the situation when
4366 overshoot_max is zero, we do not need the timeout.
4367 (hildon_pannable_area_class_init): Added documentation in order to
4368 point out that setting zero to overshoot_max means deactivate
4371 NOTE: removed trailing whitespaces from my previous comments of
4374 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-pannable-area.c
4377 (hildon_pannable_area_get_property),
4378 (hildon_pannable_area_set_property),
4379 (hildon_pannable_area_map),
4380 (hildon_pannable_area_class_init),
4381 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4382 to cause the widget give a hint about its panning abilities upon
4385 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4387 * src/hildon-pannable-area.c: Several documentation improvements.
4389 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4391 * src/hildon-program.c
4392 * src/hildon-stackable-window.c: Update documentation.
4394 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-stackable-window.c (get_previous_window_if_last):
4397 Renamed get_last_window()
4398 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4399 (hildon_stackable_window_unset_program):
4401 (get_previous_window_if_last):
4402 Detect if the window hasn't been added to a HildonProgram.
4404 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4406 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-pannable-area.c
4409 (hildon_pannable_area_button_press_cb),
4410 (hildon_pannable_axis_scroll),
4411 (hildon_pannable_area_scroll),
4412 (hildon_pannable_area_timeout),
4413 (hildon_pannable_calculate_vel_factor),
4414 (hildon_pannable_area_get_property),
4415 (hildon_pannable_area_set_property),
4416 (hildon_pannable_area_class_init),
4417 (hildon_pannable_area_init),
4418 (hildon_pannable_area_scroll_to),
4419 (hildon_pannable_area_jump_to),
4420 (hildon_pannable_area_scroll_to_child),
4421 (hildon_pannable_area_jump_to_child):
4422 * src/hildon-pannable-area.h: Added the new API functions:
4423 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4424 hildon_pannable_area_scroll_to_child,
4425 hildon_pannable_area_jump_to_child
4428 * examples/Makefile.am
4429 * examples/hildon-pannable-area-example-2.c
4430 * examples/hildon-pannable-area-example-3.c: Added these two new
4431 examples in order to test and show how the new APIs work.
4433 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4435 * examples/hildon-stackable-window-example.c (new_window):
4436 * src/Makefile.am (noinst_HEADERS):
4437 * src/hildon-program.c (hildon_program_go_to_root_window):
4438 * src/hildon-program.h:
4439 * src/hildon-stackable-window-private.h:
4440 * src/hildon-stackable-window.c:
4441 * src/hildon-stackable-window.h:
4442 Create hildon-stackable-window-private.h
4443 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4445 * examples/hildon-app-menu-example.c (create_menu):
4446 * examples/hildon-hvolumebar-insensitive-example.c (main):
4447 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4448 * examples/hildon-toolbar-seekbar-example.c (main):
4449 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4450 * src/hildon-banner.c (hildon_banner_set_property):
4451 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4452 Fix compilation warnings
4454 * src/hildon-window.c:
4457 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-stackable-window.c
4460 (hildon_stackable_window_unset_program):
4461 Calculate correctly whether to show the previous window if the
4462 last one is removed from the stack.
4463 (hildon_stackable_window_go_to_root_window):
4464 Send delete events starting from the topmost window.
4465 Stop if one of the windows is not destroyed.
4467 (hildon_stackable_window_delete_event)
4468 (hildon_stackable_window_class_init):
4469 Ignore the delete event if the window is not the topmost one.
4471 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4473 * src/hildon-pannable-area.c
4474 (hildon_pannable_area_expose_event): Fixed a problem when
4475 selecting the background color of the scrollbars.
4477 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4479 * examples/hildon-stackable-window-example.c
4480 * src/hildon-stackable-window.c
4481 * src/hildon-stackable-window.h
4482 hildon_stackable_window_go_home() renamed to
4483 hildon_stackable_window_go_to_root_window()
4484 Send delete events to windows rather than closing them with
4485 gtk_widget_destroy()
4487 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-pannable-area.c
4490 (hildon_pannable_area_button_release_cb): Fix overshooting in
4493 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-pannable-area.c
4496 (hildon_pannable_area_init): Initially show the scroll indicators.
4497 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4499 Add initial effect showing the widget is pannable.
4501 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-pannable-area.c
4504 (hildon_pannable_area_class_init)
4505 (hildon_pannable_area_set_property)
4506 (hildon_pannable_area_get_property)
4507 (hildon_pannable_area_button_press_cb):
4508 New 'velocity_fast_factor' property to decide which velocity is
4511 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-pannable-area.c
4514 (hildon_pannable_draw_hscroll)
4515 (hildon_pannable_draw_vscroll):
4516 Use float variables to calculate the size of the scrollbars to
4517 avoid error propagation and resizing during scrolling.
4519 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4521 * src/hildon-pannable-area.c
4522 (hildon_pannable_draw_vscroll)
4523 (hildon_pannable_draw_hscroll):
4524 Define a minimum size for the scroll bars
4526 * src/hildon-stackable-window.c
4527 (hildon_stackable_window_go_home): Fix compilation warning
4528 (get_last_window): Minor optimizations
4529 (hildon_stackable_window_class_init): Fix initialization of
4532 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4534 * src/hildon-stackable-window.c: Fixed typos in doc
4536 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/hildon-pannable-area.c
4539 (hildon_pannable_area_scroll):
4540 Calculate here whether we need to scroll instead of using the booleans
4541 that tell us whether to /draw/ the scrolling bars.
4543 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-app-menu.h
4547 * src/hildon-app-menu.c
4548 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4549 multiple filter groups related code and API. Now we support only
4551 * examples/hildon-app-menu-example.c:
4553 Update to reflect API changes.
4555 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-stackable-window.c
4558 (hildon_stackable_window_class_init):
4559 Add hildon_stackable_window_realize.
4560 (hildon_stackable_window_realize):
4561 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4562 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4563 to apply theming and behavior specific to HildonStackableWindow
4566 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4568 * src/hildon-note.c (hildon_note_button_release):
4569 Close information notes also when tapping on them
4571 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4573 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4574 ELASTICITY, refactor and review, fix some issues with drawing
4577 * src/hildon-pannable-area.c:
4578 (hildon_pannable_area_button_press_cb): removed the conditions to
4579 avoid clicks when overshooting. It is not required
4581 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4582 define. Refatored and reviewed the code, now we do not need to
4583 manage velocity in motion_notify.
4585 (hildon_pannable_area_motion_notify_cb): We have moved the code
4586 that controls the area_scroll to the axis_scroll function and get
4587 rid of duplicated code.
4589 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4591 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4593 (hildon_pannable_draw_vscroll),
4594 (hildon_pannable_draw_hscroll): Fixed the problems with the
4595 scrollbar drawing, now we do not use two surfaces, it is easier
4596 and saves resources.
4598 (hildon_pannable_area_get_property): Style modification.
4600 (hildon_pannable_area_class_init): Changed some default values.
4602 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4604 * src/hildon-stackable-window.c: Fix some typos in the
4607 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-dialog.c:
4610 Change indentation style
4613 (hildon_note_button_release):
4614 Use root coordinates to check if the release event happened
4617 * src/hildon-app-menu.c
4618 (hildon_app_menu_button_release):
4619 Remove unnecessary check
4621 * examples/hildon-app-menu-example.c
4623 Add cast to fix warning
4625 * src/hildon-app-menu.c
4626 (hildon_app_menu_class_init):
4627 New inner-border style property.
4628 Set all default spacings to 16
4629 (hildon_app_menu_init):
4630 Use vertical-spacing to set the space between filter buttons and
4631 regular menu buttons.
4632 Set the default container border using the inner-border value.
4634 * examples/hildon-app-menu-example.c
4636 Don't set the menu border explicitly, now we have the inner-border
4637 style property for that.
4639 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-app-menu.c (hildon_app_menu_init):
4642 Make the window modal
4644 * src/hildon-note.c (hildon_note_map)
4645 * src/hildon-app-menu.c (hildon_app_menu_map):
4646 Destroy the grab window if we're unable to grab the pointer
4648 * src/hildon-app-menu-private.h
4649 * src/hildon-app-menu.c
4650 (hildon_app_menu_init, hildon_app_menu_finalize)
4651 (hildon_app_menu_map, hildon_app_menu_unmap)
4652 (hildon_app_menu_button_release)
4653 (grab_transfer_window_get):
4654 Bring back the grab window
4655 (hildon_app_menu_realize):
4656 Decorate the window, set WM hint for Matchbox
4658 * src/hildon-note.c (hildon_note_realize):
4659 * src/hildon-banner.c (hildon_banner_realize):
4660 Add WM hints for Matchbox
4662 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4664 * src/hildon-app-menu-private.h
4665 * src/hildon-app-menu.c
4666 (hildon_app_menu_init, hildon_app_menu_finalize)
4667 (hildon_app_menu_map, hildon_app_menu_unmap)
4668 (hildon_app_menu_button_release):
4669 Remove the grab window, it's not needed anymore
4671 * src/hildon-program.c
4672 Fixed typo in documentation
4674 * src/hildon-app-menu.h
4675 * src/hildon-app-menu.c
4676 * examples/hildon-app-menu-example.c
4677 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4679 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4682 Added new transfer_window and close_if_pressed_outside private
4684 (hildon_note_rebuild):
4685 Don't add a cancel button to the information note. It will be
4686 closed when tapping outside
4687 Remove the comment about the OK button in the documentation
4688 (hildon_note_realize):
4689 Set the notification type hint
4690 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4691 Grab/ungrab pointer and keyboard if the note has to be closed when
4693 (hildon_note_button_release):
4694 Close the note when tapping outside (if applicable)
4696 * src/hildon-app-menu.c
4697 Grab/ungrab pointer and keyboard on map/unmap
4698 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4699 Close the menu on button release, not button press
4701 * src/hildon-banner.c
4702 (hildon_banner_set_property)
4703 (hildon_banner_check_position):
4704 Make the banner use the full width of the screen
4705 (hildon_banner_show_information)
4706 (hildon_banner_show_information_with_markup):
4707 Don't display an icon by default
4709 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4711 Added fading scrollbars and adapted all the overshooting code to
4712 horizontal scrolling. We have also fixed bugs with overshooting
4713 and current fading implementation.
4715 * src/hildon-pannable-area.c
4716 (hildon_pannable_area_scroll_indicator_fade): Time out function
4717 used to change the transparency of the scrollbars.
4719 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4720 control and fixed a problem with fading, we now remove the fade
4721 timeout before adding a new one.
4723 (hildon_pannable_axis_scroll):
4724 (hildon_pannable_area_scroll):
4725 (hildon_pannable_area_timeout): Added this functions so we can use
4726 the scroll code both for vertical and horizontal.
4728 (hildon_pannable_area_motion_notify_cb):
4729 (hildon_pannable_area_button_release_cb): Added the horizontal
4730 scrolling control, fixed a problem with the overshooting timeout.
4732 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4733 painting of the scrolls.
4735 (hildon_pannable_draw_vscroll):
4736 (hildon_pannable_draw_hscroll):
4737 (hildon_pannable_area_expose_event):
4738 Draw both scrollbars and rectangles in the overshooting area.
4740 (hildon_pannable_area_get_property):
4741 (hildon_pannable_area_set_property):
4742 Modified the overshoot property to overshoot_max
4744 (hildon_pannable_area_map):
4745 Replaced the comments symbols.
4747 (hildon_pannable_area_size_allocate):
4748 (hildon_pannable_area_class_init):
4749 (hildon_pannable_area_init): Added horizontal scroll, fading
4750 effect properties, fixed a problem when overshooting in the bottom
4753 * examples/hildon-pannable-area-example.c:
4754 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4755 looks better in the example.
4757 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4759 * src/hildon-window.c
4760 * src/hildon-window.h
4761 (hildon_window_class_init)
4762 (hildon_window_unset_program)
4763 (hildon_window_unset_program_real):
4764 Make unset_program a virtual function
4766 * src/hildon-stackable-window.c
4767 * src/hildon-stackable-window.h
4768 Added hildon_stackable_window_go_home()
4770 * examples/Makefile.am
4771 * examples/hildon-stackable-window-example.c
4772 HildonStackableWindow example
4774 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4776 * hildon-pannable-area.c: Added the overshoot property and removed
4777 the OVERSHOOT define. Fixed an indent style error.
4778 (hildon_pannable_area_motion_notify_cb):
4779 (hildon_pannable_area_get_property):
4780 (hildon_pannable_area_set_property): Add overshoot property.
4782 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4785 (hildon_pannable_area_class_init): Installed the new property.
4787 * hildon-pannable-area-example.c: Added a sawtooth function, this
4788 way it is easier to check the movement in the pannable.
4789 (get_sawtooth_label): Added this function.
4790 (main): Now we get the labels from the new get_sawtooth_label
4793 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-app-menu.h
4796 * src/hildon-app-menu.c
4797 Renamed API variables for consistency
4799 (hildon_app_menu_popup): Use also the default window size to
4800 decide where to place the menu
4802 (hildon_app_menu_init, hildon_app_menu_class_init): New
4803 external-border style property
4805 2008-05-26 Michael Natterer <mitch@imendio.com>
4807 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4808 widget_class->tap_and_hold_setup signal slot doesn't exist any
4809 longer, stop overriding it.
4811 (hildon_time_editor_init): g_signal_connect() to the
4812 tap-and-hold-setup signal instead.
4814 (hildon_time_editor_entry_keypress): add cast to fix warning.
4816 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4818 * doc/hildon-docs.sgml
4820 * examples/Makefile.am
4821 * examples/hildon-app-menu-example.c
4823 * src/hildon-app-menu-private.h
4824 * src/hildon-app-menu.c
4825 * src/hildon-app-menu.h
4827 New HildonAppMenu widget
4829 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4831 Rearranged the inheritance of the pannable area, now it inherits
4832 from GtkBin. This will allow us to control the event_window and
4833 the allocation process of the widget, required for some effects.
4835 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4836 GtkBin structures. * src/hildon-pannable-area.c: Added the
4837 event_window variable.
4838 (hildon_pannable_area_button_press_cb):
4839 (hildon_pannable_area_button_release_cb):
4840 (hildon_pannable_area_motion_notify_cb):
4841 Changed the signature of the method, now we override the event
4842 callback instead of connecting to the signal.
4844 (hildon_pannable_area_realize):
4845 (hildon_pannable_area_unrealize):
4846 (hildon_pannable_area_map):
4847 (hildon_pannable_area_unmap):
4848 (hildon_pannable_area_size_allocate):
4849 Added functions to control the widget construction. We add a
4850 INPUT_ONLY window and we put it over the widgets inside the
4851 container, this event_window handles the events.
4853 (hildon_pannable_area_class_init):
4854 Replaced the signal connections with overrides of the event
4857 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4859 Bouncing effect added when touching the borders, you can change
4860 the elasticity of the border changing the ELASTICITY define.
4862 * src/hildon-pannable-area.c: Added ELASTICITY define.
4863 (hildon_pannable_area_timeout): Added inverse velocity when
4864 touching the border of the child widget, that causes a bounce.
4866 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4868 Improved performance, we now do not go to the X server in order to
4869 get the list of window children. Apparently the effect is the
4870 same, we have to be careful and check if this breaks something in
4873 * src/hildon-pannable-area.c:
4874 (get_ordered_children): Removed this function.
4875 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4876 the children windows function with gdk_window_get_children.
4878 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4880 * src/hildon-pannable-area.c:
4881 (hildon_pannable_area_dispose): Fixed a crash when closing the
4882 window and kinetics is activated.
4884 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-pannable-area.h
4887 * src/hildon-pannable-area.c
4888 Changed indentation style to meet the one used in Hildon
4890 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4892 Reviewed the interaction of the AUTO mode, now we use the time
4893 attribute of the events and calculate the velocity in the motion,
4894 doing a gimp like calculation. The velocity is calculated in each
4895 motion event using the last velocity and the current one, the
4896 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4898 * src/hildon-pannable-area.c: Replaced the time based algorithm
4900 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4901 timeout for the AUTO mode when we are still moving the cursor. We
4902 added also the velocity calculation in this function.
4903 (hildon_pannable_area_button_release_cb): launch the timeout in
4904 case we are in AUTO mode. There are still some constants here that
4905 come from the old implementation that should be reviewed and
4908 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4910 * doc/hildon-docs.sgml
4913 * src/hildon-stackable-window.c
4914 * src/hildon-stackable-window.h
4916 New HildonStackableWindow widget
4918 * examples/hildon-dialog-example.c
4919 * examples/hildon-pannable-area-example.c
4922 2008-05-14 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-dialog.c
4925 (hildon_dialog_new_with_buttons): New constructor.
4927 * examples/hildon-dialog-example.c
4928 (main): Update the example to use the new
4929 hildon_dialog_new_with_buttons().
4931 * examples/hildon-pannable-area-example.c
4932 (main): Update example.
4934 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4936 * doc/hildon-docs.sgml
4938 Added HildonPannableArea to the documentation.
4940 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4942 * doc/visual_index.xml
4943 Fix reference to HildonLoginDialog in documentation
4945 * doc/hildon-docs.sgml
4947 * examples/Makefile.am
4948 * examples/hildon-dialog-example.c
4950 * src/hildon-dialog.c
4951 * src/hildon-dialog.h
4953 New HildonDialog widget.
4955 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-pannable-area.c
4958 Merge latest changes (r4318, r4342) from libmokoui trunk
4960 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4962 * examples/Makefile.am
4963 * examples/hildon-pannable-area-example.c
4965 * src/hildon-pannable-area.c
4966 * src/hildon-pannable-area.h
4968 New HildonPannableArea widget.
4970 2008-04-15 18:05:19 <timj@imendio.com>
4972 * src/hildon-banner.c: revert the recent change, that introduced
4973 gtk_window_present() calls. this reopens:
4974 Bug 78481 - [freetest] information banners are hidden under browser menu
4975 But resolves another variant of:
4976 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4978 2008-04-15 13:21:13 <timj@imendio.com>
4980 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
4981 recreated its layout, spotted by Kris. this fixes all remaining
4982 artefacts and stability issues with the banner code. in particular:
4983 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4985 2008-04-14 16:52:59 <timj@imendio.com>
4987 * src/hildon-banner.c: guard force_to_wrap_truncated() against
4988 operating on unrealized widgets, fixes:
4989 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4991 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
4993 2008-04-09 Kristian Rietveld <kris@imendio.com>
4995 Fixes: NB#77775: Media Player, Save Now playing list, too long name
4996 makes banner disappear.
4997 Fixes: NB#79182: info banner flickering with certain message lengts.
4999 * src/hildon-banner.c (hildon_banner_constructor),
5000 (hildon_banner_init), (hildon_banner_set_text),
5001 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5002 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5003 FALSE, reset size requests of label and banner,
5004 (force_to_wrap_truncated): when the text is too wide, always enforce
5005 the maximum possible width instead of recalculating it from the
5006 layout; enforce the maximum banner height of 3 lines,
5007 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5008 nicer wrapping and no truncated chars if space gets tight.
5010 * src/hildon-banner-private.h: add has_been_wrapped and
5011 has_been_truncated fields.
5013 2008-04-07 Sven Herzberg <sven@imendio.com>
5015 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5016 local values in hildon_date_editor_size_allocate
5018 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
5028 2008-04-07 Sven Herzberg <sven@imendio.com>
5030 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5031 local values in hildon_date_editor_size_allocate
5033 * src/hildon-date-editor.c: changed the arguments of the if()
5036 2008-04-07 Sven Herzberg <sven@imendio.com>
5038 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5039 local values in hildon_date_editor_size_allocate
5041 * src/hildon-date-editor.c: split the calculation of the allocation
5042 from the real allocation
5044 2008-03-27 Michael Natterer <mitch@imendio.com>
5046 Fixes: NB#81696: The passcode is not overwritten even after
5049 * src/hildon-code-dialog.c
5050 (hildon_code_dialog_button_clicked)
5051 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5052 because that doesn't overwrite selected text. Instead, emit the
5053 "commit" signal on the entry's im_context so the entry's normal
5054 insert logic is triggered. Set the cursor to the end of the entry
5055 after each insert operation so that we *only* insert in the middle
5056 of the text if something was selected.
5058 2008-03-27 Michael Natterer <mitch@imendio.com>
5060 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5061 selector cannot be opened
5063 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5064 when the popup color selector is created. Please connect to this
5065 signal in order to set the dialog's help ID.
5067 2008-03-25 Sven Herzberg <sven@imendio.com>
5069 Fixes: MB#1212: Hide info banners (infoprints) on click
5071 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5072 extracted the close event simulation into an extra function
5073 (hildon_banner_button_press_event): simulate a close event and destroy
5074 the widget if the event wasn't handled
5075 (hildon_banner_class_init): added the button_press_event handler
5076 (hildon_banner_init): added button-press events to the widget
5078 2008-03-25 Sven Herzberg <sven@imendio.com>
5080 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5081 Patch from: Mohammad Anwari <mdamt@maemo.org>
5083 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5084 instead of the right in RTL mode
5085 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5086 breadcrumb button list in RTL mode
5087 * src/hildon-caption.c: mirror the appearance of the caption widget in
5089 * src/hildon-date-editor.c: mirror appearance of the date editor in
5091 * src/hildon-time-editor.c: mirror appearance of the time editor in
5093 * src/hildon-window.c: fix the position of the popup in RTL mode
5095 2008-03-25 Sven Herzberg <sven@imendio.com>
5097 Amendment to the fix of NB#22072. Fix compilation.
5099 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5101 2008-03-19 Sven Herzberg <sven@imendio.com>
5103 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5106 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5107 timeout id properly when the timeout will disappear this leaves no
5108 artifacts around in the destroy(); there will only be the timeout
5109 created by hildon_banner_ensure_timeout() and adding a new timeout
5110 will also work if the timeout gets removed because the timeout_handler
5113 2008-03-19 Michael Natterer <mitch@imendio.com>
5115 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5117 * src/hildon-volumebar.c
5118 * src/hildon-vvolumebar.c
5119 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5120 the widget becomes focussable at all.
5122 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5123 set the focus to wither the mute button or the volumebar.
5125 Remove own "can-focus" property and instead listen to
5126 notify::can-focus in order to update the widget's state.
5128 Implement GtkWidget::focus() and make sure we can also *leave* the
5129 widget, not only enter it, depending on volumebar orientation and
5130 requested focus direction.
5132 Clean up set_mute() to cooperate nicely with all the above.
5134 2008-03-04 Michael Natterer <mitch@imendio.com>
5136 Fixes: NB#78481: information banners are hidden under browser menu
5138 * src/hildon-banner.c: call gtk_window_present() on the banners so
5139 they are risen if they are already visible.
5141 2008-03-03 Sven Herzberg <sven@imendio.com>
5143 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5145 * examples/hildon-window-menu-example.c: (main): extended the window
5146 menu example to serve as a testcase for automatically added
5147 accelerator groups, too
5148 * src/hildon-window.c: (hildon_window_add_accel_group),
5149 (hildon_window_set_menu): added patch by Tommi Komulainen
5151 2008-03-03 Sven Herzberg <sven@imendio.com>
5153 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5155 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5156 knowledge about the border allocators used within GTK+
5158 2008-02-26 Sven Herzberg <sven@imendio.com>
5160 Fixes: MB#2981: Build with asserts broken
5162 * src/hildon-date-editor.c,
5163 * src/hildon-number-editor.c,
5164 * src/hildon-time-editor.c,
5165 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5166 the proper GType instance check
5168 2008-02-25 Sven Herzberg <sven@imendio.com>
5170 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5172 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5173 * examples/hildon-window-menu-example.c: (main): explicitly show
5175 * src/hildon-window.c:
5176 (hildon_window_set_main_menu): moved most of the code from set_menu()
5177 to this place; skipped the call to gtk_widget_show_all(); also didn't
5178 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5179 (hildon_window_set_menu): removed most of the code, just keep the
5180 questionable gtk_widget_show_all()
5181 * src/hildon-window.h: added the new function and deprecate the old
5184 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5190 * debian/changelog: Updating.
5192 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5195 * pkgconfig/Makefile.am:
5196 * pkgconfig/hildon.pc.in:
5199 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5200 use newly created API_MAJOR_VERSION.
5202 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5208 * debian/changelog: Updating.
5210 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5212 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5214 Add outer_border style property, we use it but don't define it (!).
5218 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5220 * examples/hildon-bread-crumb-trail-example.c (main):
5224 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5226 Fix logic for the bread crumb trail node removal.
5230 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5236 * debian/changelog: Updating.
5238 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5240 Patch by Alejandro to get/set passwords dialogs accesibility.
5242 * hildon-1/src/hildon-get-password-dialog.c:
5243 * hildon-1/src/hildon-set-password-dialog.c:
5244 Set atk_set_name to the passwd entries in order to allow
5245 accessibility by name on this entries.
5247 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5252 * debian/control: Updating gtk dep.
5254 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5256 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5257 USE_MAEMO_GTK is enabled.
5259 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5261 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5262 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5264 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5270 * debian/changelog: Updating.
5272 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5274 * examples/Makefile.am:
5275 * examples/hildon-logical-color-example.c:
5276 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5277 applied + adding a test case. Fixes: NB#71660.
5279 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5281 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5282 to be visible, fixes warning on map for windows without toolbars.
5284 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5286 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5287 2.11.0, add a check for that besides the MAEMO_GTK check.
5289 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5295 * debian/changelog: Updating.
5297 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5299 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5300 visibility. Fixes: NB#70842 and MB#615.
5302 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5304 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5305 set the separator as no-show-all so it doesn't unintentionally appear when
5306 someone does a show_all.
5308 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5310 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5311 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5312 toplevel item. Fixes: NB#62031
5314 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5316 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5317 fix the name of the function in the docs.
5319 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5325 * debian/changelog: Updating.
5327 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5329 * examples/hildon-banner-long-example.c: Adding a test-case for long
5332 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5334 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5336 * src/hildon-color-chooser-dialog.c:
5337 * src/hildon-color-chooser.c:
5338 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5339 memory leaks in font selector and color selector. Fixes: NB#70499 and
5342 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5344 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5346 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5348 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5349 little bit bigger. Fixes: #NB63694.
5351 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5357 * debian/changelog: Updating.
5359 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5362 * doc/hildon-docs.sgml:
5363 * doc/images/bread-crumb-trail.png:
5364 * doc/images/calendar-popup.png:
5365 * doc/images/caption.png:
5366 * doc/images/code-dialog.png:
5367 * doc/images/color-button.png:
5368 * doc/images/color-chooser-dialog.png:
5369 * doc/images/color-chooser.png:
5370 * doc/images/controlbar.png:
5371 * doc/images/date-editor.png:
5372 * doc/images/font-selection-dialog.png:
5373 * doc/images/get-password-dialog.png:
5374 * doc/images/hvolumebar.png:
5375 * doc/images/login-dialog.png:
5376 * doc/images/note.png:
5377 * doc/images/number-editor.png:
5378 * doc/images/range-editor.png:
5379 * doc/images/seekbar.png:
5380 * doc/images/set-password-dialog.png:
5381 * doc/images/sort-dialog.png:
5382 * doc/images/time-editor.png:
5383 * doc/images/time-picker.png:
5384 * doc/images/vvolumebar.png:
5385 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5386 Adding the bread-crumb-trial and helpers to the documentation.
5388 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5390 * examples/hildon-find-toolbar-example.c:
5391 * src/hildon-find-toolbar.c:
5392 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5393 actually continue firing the other handlers if connected. Adding a new
5395 hildon_find_toolbar_get_last_index that gets the index of the most
5396 recently added (last) item. Fixes: NB#52301.
5398 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5400 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5401 behaviour. Fixes: NB#68610.
5403 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5405 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5408 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5410 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5411 when realizing the banner. Should make the infonbanner effect a bit more
5414 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5416 * src/hildon-volumebar.c:
5417 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5418 hildon_volumebar_set_range_insensitive_message and
5419 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5421 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5423 * src/hildon-window.c: Fixing the border freeing on destroy.
5425 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5427 * src/hildon-code-dialog-private.h:
5428 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5429 kw keyboard support in HildonCodeDialog.
5431 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5437 * debian/changelog: Updating.
5439 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5441 * src/hildon-date-editor.c:
5442 * src/hildon-number-editor.c:
5443 * src/hildon-private.c:
5444 * src/hildon-private.h:
5445 * src/hildon-time-editor.c:
5446 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5447 handling in subclassed composite widgets. Fixes: NB#66628.
5449 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5451 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5452 from destroy_ callback as it introduces problems in async dbus signal
5453 handlers. Fixes NB#66673.
5455 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5457 * examples/hildon-hvolumebar-example.c:
5458 * src/hildon-volumebar.c: Improving the focus handling in the
5459 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5460 set_property accessor so that "mute" property can be actually set. I'm
5461 scared that nobody noticed it's totally broken.
5463 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5465 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5468 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5470 * src/hildon-calendar.c:
5471 * src/hildon-number-editor.c:
5472 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5473 matches the spec of 6 chars per second. Fixes: NB#60489.
5475 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5477 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5478 gtk_style_lookup_color sometime returns FALSE even though color was
5479 found and values were filled properly. Weird. Removing the warning for the
5482 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5484 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5485 expand vertically. Adding some extra space to the find toolbar buttons to
5486 make them thumbable. Fixes NB#66060.
5488 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5490 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5491 popup with "Ok" and "Cancel". Fixes NB#59299.
5493 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5495 * src/hildon-calendar.c: Process all window updates before executing next
5496 timeout. Fixes: NB#54146.
5498 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5504 * debian/changelog: Updating.
5506 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5508 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5509 the client event and ignore it, since we use the delete event to close
5512 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5514 * src/hildon-helper.c: Remove the bogus warning about color not being
5515 found. Fixes NB#58352.
5517 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5519 * examples/Makefile.am:
5520 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5521 HildonSeekbar widget inside a toolbar.
5523 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5525 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5526 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5527 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5528 don't want to be closed by non-temporary windows on map.
5530 Also use G_DEFINE_TYPE instead of manually typed code.
5532 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5539 * debian/rules: Updating.
5541 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5543 * examples/Makefile.am:
5544 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5545 bug NB#61128. Strangely it works.
5547 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5549 * src/hildon-date-editor.c: When the date editor entry has been changed
5550 but the numbers of characters < max, turn off the skip validation flag.
5551 Prevents a situation when we enter first a valid year and later re-write
5552 it with an invalid one. Fixes NB#60154.
5554 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5556 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5557 code dialog. Fixes NB#64355.
5559 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5561 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5562 switching the page. Fixes NB#49374.
5564 * examples/Makefile.am:
5565 * examples/hildon-wizard-dialog-example.c: Adding an example for
5566 HildonWizardDialog that shows how to handle manual sensitivity setting on
5569 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5573 * src/hildon-version.h.in:
5574 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5576 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5578 * src/hildon-volumebar.c: Updating the docs.
5580 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5586 * debian/changelog: Updating.
5588 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5590 * src/hildon-find-toolbar.c:
5591 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5592 selected item: hildon_find_toolbar_set_active,
5593 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5594 hildon_find_toolbar_get_active_iter . They correspond to respective
5595 GtkComboBox functions.
5597 * examples/Makefile.am:
5598 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5601 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5603 * examples/Makefile.am:
5604 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5607 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5608 when font size > 32 and we pack a focusable widget inside. Actually using
5609 the default response would work too, but since we don't show default
5610 response state in any way (no theming) it would not be visible to the
5611 user. Fixes NB#63430.
5613 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5615 * src/hildon-date-editor.c: Adding the missing variable setter in the
5616 set_property handler. Fixes NB#54182.
5618 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5620 * src/hildon-window.h: Changing the long key press time from 1500ms to
5621 800ms as requested in NB#63700. I have a bad feeling about this, let's
5622 see... Fixes NB#63700.
5624 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5626 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5627 hildon_time_picker_map, hildon_time_picker_realize,
5628 hildon_time_picker_style_set): Split the contents of map to more
5629 appropriate functions; set window decorations on realize and update
5630 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5632 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5637 * debian/changelog: Updating.
5639 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5641 * src/Makefile.am: fixed installation of the header files
5643 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5649 * debian/changelog: Updating.
5651 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5653 * configure.ac: Removing some remaining of --enable-xan.
5655 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5657 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5658 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5660 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5661 2.10.12-osso6 because the move-focus signal needs to be available in
5664 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5666 * examples/Makefile.am:
5667 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5668 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5669 fine. Prolly NB#61128 is fixed now.
5671 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5673 * src/hildon-volumebar.c:
5674 * src/hildon-volumebar.h: Adding the
5675 hildon_volumebar_set_range_insensitive_message and
5676 hildon_volumebar_set_range_insensitive_messagef functions to set
5677 insensitive message on the slider of the volumebar. Fixes NB#61129.
5679 * examples/Makefile.am:
5680 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5681 test the new insensitive messsage functionality on HildonVolumebar.
5683 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5685 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5688 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5690 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5691 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5692 button on after clearing the trail.
5694 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5698 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5700 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5701 by splitting the installed headers in generated and non-generated groups. Use
5702 only the non-generated headers to create the hildon-enum-types.h file.
5704 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5706 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5708 * src/hildon-window.c: Hide the window before performing the destroy.
5709 Should make the app closing a little tiny bit more snappy.
5711 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5713 * src/hildon-seekbar.c: add gtkrange.h header
5714 * src/hildon-caption.c: remove unused variable
5716 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5718 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5721 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5727 * debian/changelog: Updating.
5729 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5731 * src/hildon-window.c (hildon_window_window_state_event,
5732 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5733 escape timeout on focus-out-event rather than notify::is-topmost; the
5734 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5736 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5738 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5739 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5741 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5743 * src/hildon-window: actually, you need to use the macro always, there's
5744 no private pointer in the instance structure. We should have cleaned this up
5745 when we had the chance...
5747 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5749 * src/hildon-window.c: do not get the private date from HildonWindow before
5750 it passes the g_return_if_fail check. Once it's passed the test, there's no
5751 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5752 if you are only going to access the data once. Whitespace cleanups.
5754 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5756 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5757 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5759 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5765 * debian/changelog: Updating.
5767 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5769 * src/hildon-window.c: When destroying the window, remove (if exists) the
5770 escape timeout handler. Fixes #NB59276.
5772 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5774 * src/hildon-banner.c: When realizing the widget, set the window
5775 transiency. Setting the transiency in the gobject constructor is not
5776 good, as the widget is not realized at that point. Fixes: #NB56624.
5778 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5780 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5781 Add padding for future expansions.
5783 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5785 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5786 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5787 will fake an activation on the previous to the last item of the trail, so
5788 the effect can be overrided by the developer as usual.
5789 Also change the callback for the back button to do the same thing, so its
5790 effect can be overrided too. Fixes: NB#58982
5792 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5794 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5795 HildonCaption. Fixes NB#52379.
5797 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5799 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5800 the internal state of the trail after the user has had the chance of executing
5801 his handler for the signal. Specifically, it may happen that the activated button
5802 is removed and the user still lets the default handler run. This would segfault
5805 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5807 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5808 scrollbar to the preview dialog. Fixes NB#54147.
5810 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5812 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5813 max/min year properties can be altered, so the client can modify it
5814 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5816 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5819 hildonlike by default. Fixing a problem with disappearing arrows when
5820 scrolling through months and years. Fixes NB#54127.
5822 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * examples/hildon-date-editor-example.c: Adding error callback to the date
5827 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5833 * configure.ac: Updating.
5835 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5837 * configure.ac: Adding a special '--enable-xan' configure option that
5838 turns off the -Werror compilation setting. Usefull for development.
5840 * src/hildon-calendar.c:
5841 * src/hildon-number-editor.c:
5842 * src/hildon-time-picker.c: Adding the 5* multiplier to
5845 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5847 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5848 instead of g_object_ref + gtk_object_sink.
5850 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5856 * debian/changelog: Updating.
5858 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5860 * src/hildon-color-chooser-dialog.c:
5861 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5862 straight from Tommi labs.
5864 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5866 * examples/hildon-finger-example.c: Correcting the header file path.
5868 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5869 the changed signal. Fixes a small memory leak.
5871 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5875 * src/hildon-banner.c: Importing several usefull fixes from the
5876 ubuntu-mobile branch.
5878 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5880 * examples/Makefile.am:
5881 * examples/hildon-finger-example.c: Adding a finger-checking code
5884 * src/hildon-font-selection-dialog.c: Do not allocate the color
5885 structure using the g_new. Fixes NB#54061.
5887 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * src/hildon-helper.c: Correcting tabs in file.
5891 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5893 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5894 control the visibility of the children.
5896 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5898 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5904 * debian/changelog: Updating.
5906 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5908 * src/hildon-bread-crumb-trail.c:
5909 (hildon_bread_crumb_trail_size_allocate):
5911 Make the back button always a square.
5913 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5915 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5916 from the .c file as it's a private file.
5918 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5920 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5921 uses slightly bigger height.
5923 * src/hildon-font-selection-dialog.c: Adding some checks before
5924 freeing memory in the font selection dialog.
5926 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5928 * src/hildon-font-selection-dialog.c: Adding a small check when
5931 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5932 buttons sensitivity on page switching.
5934 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
5936 * src/hildon-bread-crumb-trail.c: make the add method handle all the
5937 internal details of adding a bread crumb to the trail.
5939 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5945 * debian/changelog: Updating.
5947 * src/hildon-bread-crumb-trail.h:
5948 * src/hildon-bread-crumb.h: Changing the API guard to
5949 HILDON_ENABLE_UNSTABLE_API.
5951 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5959 * src/hildon-helper.h: Updating.
5961 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5973 * src/hildon-helper.h: Small fix to make the package actually compile.
5975 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
5977 * src/hildon-bread-crumb-trail.h:
5978 * src/hildon-bread-crumb.h:
5980 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
5981 to define ENABLE_UNSTABLE_API in the code that includes these headers.
5983 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
5985 * examples/hildon-bread-crumb-trail-example.c:
5987 * src/hildon-bread-crumb-trail.c:
5988 * src/hildon-bread-crumb-trail.h:
5989 * src/hildon-bread-crumb.c:
5990 * src/hildon-bread-crumb.h:
5991 * src/hildon-marshalers.list:
5992 * src/hildon-bread-crumb-widget.c:
5993 * src/hildon-bread-crumb-widget.h:
5995 Slight change in the widget design. The bread crumb trail API is
5996 unchanged, but HildonBreadCrumb is now an interface. A *private*
5997 implementation, hildon-bread-crumb-widget, is provided and used
5998 internally by the trail for the push_text/push_icon functions.
6000 The generic push API is still available, so anyone can implement
6001 and use its own bread crumb widget.
6003 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6005 * debian/rules: Fixing the shlibs.
6007 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6009 * src/hildon-banner.c: Fixing a problem with timed banners having
6010 their parrent destroyed before they are.
6012 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6014 * src/hildon-bread-crumb.c:
6015 * src/hildon-bread-crumb.h:
6017 Make the get_natural_size function a vfunc.
6019 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6021 * src/hildon-bread-crumb.c:
6022 * src/hildon-bread-crumb-trail.c:
6026 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6033 * debian/changelog: Updating for release.
6035 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6037 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6038 don't leak the pango layout.
6040 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6043 * examples/hildon-bread-crumb-trail-example.c:
6047 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6049 * debian/changelog: Removing the bug-fixed entries that were actually
6050 resolved as WONTFIX.
6052 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6055 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6057 * src/hildon-bread-crumb-trail.c:
6058 * src/hildon-bread-crumb-trail.h:
6059 * src/hildon-bread-crumb.c:
6060 * src/hildon-bread-crumb.h:
6064 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6066 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6067 until it's passed the type check.
6069 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6071 * examples/hildon-bread-crumb-trail-example.c
6075 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6077 * examples/Makefile.am
6078 * examples/hildon-bread-crumb-trail-example.c
6080 * src/hildon-bread-crumb-trail.c
6081 * src/hildon-bread-crumb-trail.h
6082 * src/hildon-bread-crumb.c
6083 * src/hildon-bread-crumb.h
6085 New HildonBreadCrumbTrail widget.
6087 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6089 * src/hildon-range-editor.c (hildon_range_editor_init),
6090 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6091 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6092 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6093 hildon_time_editor_class_init, hildon_time_editor_init),
6094 src/hildon-get-password-dialog.c (invalid_input,
6095 hildon_get_password_set_property, hildon_get_password_get_property,
6096 create_contents, hildon_get_password_dialog_set_max_characters),
6097 src/hildon-set-password-dialog.c (create_contents),
6098 src/hildon-date-editor.c (hildon_date_editor_init),
6099 src/hildon-login-dialog.c (hildon_login_dialog_init),
6100 src/hildon-number-editor.c (hildon_number_editor_init),
6101 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6102 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6103 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6104 configure option and adding the respective checks in the code.
6105 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6106 hildon_calendar_drag_data_received): fixed some build warnings.
6108 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6110 * debian/changelog: A 1.0.0 release notes.