1 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_init): Added the changed signal handlers of
7 Fixes: NB#100320 (HildonPannableArea does not listen to
8 GtkAdjustment "change" signals)
10 2009-02-04 Alberto Garcia <agarcia@igalia.com>
12 * doc/hildon-sections.txt
13 * src/hildon-window-private.h
15 * src/hildon-window.c (hildon_window_init)
16 (hildon_window_realize, hildon_window_unrealize)
17 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
18 (hildon_window_size_request, hildon_window_size_allocate)
19 (hildon_window_forall, hildon_window_show_all)
20 (hildon_window_destroy, +paint_edit_toolbar)
21 (+hildon_window_set_edit_toolbar):
22 New hildon_window_set_edit_toolbar() method, to add a
23 HildonEditToolbar to a window without having to pack it manually.
25 Reorganize hildon_window_size_allocate()
27 * src/hildon-edit-toolbar.c: Update documentation.
29 * examples/hildon-edit-toolbar-example.c (edit_window): Update
30 example to use the new API.
32 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
34 2009-02-04 Alberto Garcia <agarcia@igalia.com>
36 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
37 Remove from stack before calling parent's hide.
39 2009-02-04 Alberto Garcia <agarcia@igalia.com>
41 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
42 window is removed from the middle of the stack, update the
43 transiency of the previous one.
45 Fixes: NB#100487 (HildonStackableWindow transiency becomes
48 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
50 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
51 block/unblock the signal handler if it's not actually being used.
52 Fixes some critical warnings.
54 2009-02-02 Alberto Garcia <agarcia@igalia.com>
56 Based on a patch by Iván Gómez (igomez@igalia.com)
62 * src/hildon-pannable-area.c
63 * src/hildon-picker-dialog.c
64 * src/hildon-wizard-dialog.h
65 * src/hildon-wizard-dialog.c: Documentation updates.
67 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
68 gtk_dialog_add_button() instead of hildon_dialog_add_button().
70 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
72 * configure.ac: post release version bump.
73 * debian/changelog: version bump.
75 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
80 * configure.ac: Bump version.
81 * debian/changelog: Updates.
83 2009-01-29 Alberto Garcia <agarcia@igalia.com>
85 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
86 a stock icon nor change the relief of the back arrow.
88 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
91 2009-01-29 Alberto Garcia <agarcia@igalia.com>
93 * src/hildon-button.c (hildon_button_set_alignment): Use
94 priv->alignment if the button has no child yet.
96 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
98 * src/hildon-button.c: (hildon_button_init): Set the
99 button style during initialization to give it the proper
102 Fixes: NB#99713 (HildonButton value label color is wrong)
104 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-touch-selector.c: Document
107 hildon_touch_selector_center_on_selected()
109 2009-01-28 Alberto Garcia <agarcia@igalia.com>
111 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
112 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
113 all menu items, but not the menu itself.
114 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
115 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
116 items after adding them to the menu so keyboard accelerators work.
117 (hildon_app_menu_show): Don't show the menu if it contains items
118 but none of them are visible.
120 * examples/hildon-app-menu-example.c (create_menu): Use
121 gtk_widget_show_all() to show all menu items.
123 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
125 * src/hildon-picker-dialog.c:
126 (-_update_title_on_selector_changed_cb),
127 (-_dialog_update_title): Removed.
128 (_select_on_selector_changed_cb), (_on_dialog_response),
129 (on_selector_columns_changed): Do not update the dialog title.
130 (setup_interaction_mode): Do not connect to
131 HildonTouchSelector::changed signal if there's a "done" button, as
132 the dialog title doesn't need to be updated.
134 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
137 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
139 Patch by Kristian Rietveld (kris@imendio.com)
141 * src/hildon-touch-selector.c: (_create_new_column): Use new
142 GtkTreeView::hildon-row-tapped signal to react to user interactions
143 instead of ::changed.
145 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
146 with some dynamic tree model)
148 2009-01-27 Alberto Garcia <agarcia@igalia.com>
150 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
151 (+screen_size_changed, +label_size_request)
152 (hildon_note_class_init): Make the Hildon information note have a
153 minimum height, and make its text hvae a maximum width.
155 Fixes: NB#98614 (Hildon information note (background) should have
156 minimum height and maximum text width)
158 2009-01-26 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-banner.h
161 * src/hildon-banner.c (hildon_banner_show_information)
162 (hildon_banner_show_informationf)
163 (hildon_banner_show_information_with_markup): Update documentation
164 to reflect that the icon_name parameter is not used anymore.
165 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
166 Remove all code from these functions and mark them as deprecated.
167 (hildon_banner_show_progress): Mark as deprecated.
169 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
171 2009-01-26 Alejandro G. Castro <alex@igalia.com>
173 * src/hildon-pannable-area.c,
174 (hildon_pannable_area_class_init),
176 (hildon_pannable_draw_vscroll),
177 (hildon_pannable_draw_hscroll),
178 (hildon_pannable_area_expose_event): Added a new way to render the
179 scrollbars of the pannable area avoiding using cairo at all. This
180 way we improve the performance of the pannable area rendering. The
181 cairo rendering procedure is still in the code, we can control
182 which one to use changing the value of the define
183 USE_CAIRO_SCROLLBARS.
185 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
187 * configure.ac: post release version bump.
188 * debian/changelog: version bump.
190 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: Bump version.
196 * debian/changelog: Updates.
198 2009-01-23 Alberto Garcia <agarcia@igalia.com>
200 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
201 banners instead of destroying them when they receive a button
204 2009-01-23 Alejandro G. Castro <alex@igalia.com>
206 Reverted commit 34028, it was causing regressions, probably the
207 topmost condition is not correct, we have to check it in more
208 detail. We have reponed the bug: NB#97458 (Pannable area prevents
209 propagation of button press events)
211 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
213 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
214 that the selection is not empty before attempting to retrieve the
215 current ampm selection.
217 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
219 * src/hildon-picker-button.c:
220 (hildon_picker_button_on_dialog_response): Directly update the
221 button contents when required instead of calling _selection_changed.
223 2009-01-23 Alberto Garcia <agarcia@igalia.com>
225 * src/hildon-program.c (hildon_program_update_top_most): Update
226 'is-topmost' property also when wm_hints is not set.
228 Fixes: NB#98383 (is-topmost signal is not emitted when task
229 switcher is clicked.)
231 2009-01-23 Alejandro G. Castro <alex@igalia.com>
233 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
237 * src/hildon-animation-actor.c,
238 * src/hildon-animation-actor.h: Added the animation actor class,
239 this widget represents an animation actor for WM-assisted
240 animation effects in the Hildon framework.
242 2009-01-23 Alberto Garcia <agarcia@igalia.com>
244 * src/hildon-window-stack-private.h
245 * src/hildon-window-stack.c
246 * src/hildon-stackable-window.c (hildon_stackable_window_show):
247 Avoid calling gtk_widget_show() again indirectly from
248 hildon_stackable_window_show()
250 2009-01-23 Alberto Garcia <agarcia@igalia.com>
252 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
255 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
257 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
258 (hildon_time_selector_init): Move the construction of the hours and
259 ampm columns to the constructor to preserve the order the columns
262 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
264 * src/hildon-picker-dialog.c:
265 (hildon_picker_dialog_class_init): Connect a realize method.
266 (+hildon_picker_dialog_realize): Setup the interaction mode here
268 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
269 yet, do it during the realize instead.
270 (_on_dialog_response):
271 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
272 if the widget is not realized, to avoid the dialog response before it
275 Avoid premature responses in the HildonPickerDialog that can cause it
276 to be hidden before it's even shown.
278 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
280 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
281 (on_selector_columns_changed), (requires_done_button),
282 (+prepare_action_area), (setup_interaction_mode),
283 (_hildon_picker_dialog_set_selector):
285 Split the interaction mode setup into preparation of the
286 action area (prepare_action_area()) and the connection of
287 the signals in setup_interaction_mode() and update the code to
290 2009-01-22 Alejandro G. Castro <alex@igalia.com>
292 * src/hildon-pannable-area.c,
293 (hildon_pannable_area_class_init): Reduced the amount of scrolls
294 per second to 15, we will check if this is ok regarding
297 2009-01-22 Alejandro G. Castro <alex@igalia.com>
299 * src/hildon-pannable-area.c,
300 (hildon_pannable_axis_scroll): Avoid resize if we already have
301 reached overshoot_max.
303 2009-01-22 Alejandro G. Castro <alex@igalia.com>
305 * src/hildon-pannable-area.c,
306 (hildon_pannable_area_init),
307 (hildon_pannable_area_realize),
308 (hildon_pannable_area_size_allocate),
309 (hildon_pannable_area_map),
310 (hildon_pannable_area_unmap),
311 (hildon_pannable_draw_vscroll),
312 (hildon_pannable_draw_hscroll),
313 (hildon_pannable_area_expose_event),
314 (hildon_pannable_area_refresh): Added a new GdkWindow to the
315 pannable are to avoid the expose events go to the window and
316 redraw the window. We save this way that part of the stack and the
317 paint_boxes. We had to change the positions of the elements when
320 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
322 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
323 * src/hildon-color-chooser-dialog.c:
324 (hildon_color_chooser_dialog_init):
325 * src/hildon-font-selection-dialog.c:
326 (hildon_font_selection_dialog_init),
327 (hildon_font_selection_dialog_show_preview):
328 * src/hildon-get-password-dialog.c:
329 * src/hildon-login-dialog.c:
330 * src/hildon-set-password-dialog.c:
331 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
332 * src/hildon-time-picker.c: (hildon_time_picker_init):
334 Remove obsolete logical string IDs and update to the appropriate ones.
336 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
338 2009-01-21 Alberto Garcia <agarcia@igalia.com>
340 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
341 that happens if the window hasn't been realized yet.
343 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
344 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
346 2009-01-20 Alberto Garcia <agarcia@igalia.com>
348 * src/hildon-app-menu.c (hildon_app_menu_class_init)
349 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
352 Fixes: NB#98537 (Device hangs in account settings dialog)
354 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
356 * configure.ac: post release version bump.
357 * debian/changelog: version bump
359 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
364 * configure.ac: Bump version.
365 * debian/changelog: Updates.
367 2009-01-20 Alejandro G. Castro <alex@igalia.com>
369 Added a new function to the HildonTimeButton widget that allows to
370 change the step of the minutes in the selector associated with the
371 button: hildon_time_button_new_step
373 * src/hildon-time-button.c,
374 (hildon_time_button_init),
375 (hildon_time_button_new),
376 (hildon_time_button_new_step):
377 * src/hildon-time-button.h: Added the new function and refactored
379 * examples/hildon-time-button-example.c,
380 (main): We have replaced the function without parameters with the
381 function with the steps set to 5
383 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
385 2009-01-20 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-time-selector.c,
388 (hildon_time_selector_class_init),
389 (hildon_time_selector_constructor),
390 (hildon_time_selector_get_property),
391 (hildon_time_selector_set_property),
392 (_create_minutes_model),
393 (hildon_time_selector_new_step),
394 (hildon_time_selector_set_time),
395 * src/hildon-time-selector.h: Added a new property to the
396 HildonTimeSelector (minutes-step), we use that property to control
397 the steps between the minutes in the list of the selector. We have
398 added a new function to the API to create a widget changing the
399 step: hildon_time_selector_new_step.
401 2009-01-20 Alejandro G. Castro <alex@igalia.com>
403 * src/hildon-time-selector.c,
404 (hildon_time_selector_class_init),
405 (hildon_time_selector_constructor),
406 (hildon_time_selector_init): Overrided the construct function when
407 creating the time selector object. We have moved the minutes model
408 handling code from the init to the new construction function:
409 hildon_time_selector_constructor.
411 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
413 * examples/hildon-date-button-example.c: (main): Use the new
414 hildon_date_button_new_with_year_range() method in the example.
415 * src/hildon-date-button.c:
416 (+hildon_date_button_new_with_year_range): New public method
417 to conveniently create a HildonDateButton with a custom year range
418 in its HildonDateSelector.
419 * src/hildon-date-button.h: Add the new public method definition.
421 Fixes: NB#97908 (Not possible to change the year range in
422 HildonDateSelector/HildonDateButton)
424 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-date-selector.c:
427 (+hildon_date_selector_set_property),
428 (+hildon_date_selector_get_property),
429 (hildon_date_selector_class_init): Install new properties "min-year"
430 and "max-year" to define boundaries for the year column.
431 (_create_year_model): Use the boundary properties to populate the model.
432 (+hildon_date_selector_new_with_year_range): New public method to
433 create a HildonDateSelector with a user defined year range.
434 (hildon_date_selector_select_current_date): Use the new boundaries to
435 calculate the iterator of current year.
436 * src/hildon-date-selector.h: Add the new public method definition.
438 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
441 Install a constructor method.
442 (+hildon_date_selector_construct_ui): construct the widget.
443 (+hildon_date_selector_constructor): new constructor.
444 (+hildon_date_selector_init): move out widget construction code to
447 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
449 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
450 that there's actually a month or year selected before obtaining them.
451 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
452 of the HildonTouchSelector::changed signal, as it was emitted on every
453 single item selection.
455 Fix some warnings and possible crashers due to the selection restoring.
457 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
459 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
460 the signal handlers only after creating the dialog instead of on every
463 2009-01-19 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-button.c (hildon_button_init)
466 * src/hildon-check-button.c (hildon_check_button_init)
467 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
468 focus when clicked by default.
470 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
475 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
477 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
478 Alejandro G. Castro (alex@igalia.com)
480 * src/hildon-picker-dialog.c:
481 (hildon_picker_dialog_class_init): install new "center-on-show"
483 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
484 (hildon_picker_dialog_set_property): add setter code for the new
486 (hildon_picker_dialog_get_property): add getter code for the new
488 (hildon_picker_dialog_show): Ensure visibility of selected items in the
489 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
492 Fixes: NB#92849 (Selected item is not always visible when
493 HildonTouchSelector is shown)
495 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
497 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
498 Alejandro G. Castro (alex@igalia.com)
500 * src/hildon-touch-selector.c:
501 (_create_new_column): Do not connect to the "realize" signal of the
503 (hildon_touch_selector_append_column): center on the selected items
504 when a new column is appended.
505 (hildon_touch_selector_select_iter): Factor out the code to select a
506 column to hildon_touch_selector_scroll_to().
507 (+search_nearest_element): Method to retrieve the nearest selected
508 element to the visible area of the pannable area in a column.
509 (+on_realize_cb): scroll to the initially selected item.
510 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
511 the pannable area is realized, otherwise delay this until it is.
512 (+_hildon_touch_selector_center_on_selected_items): Centers on the
513 selected items of a given column.
514 (+hildon_touch_selector_center_on_selected): Public method to center
515 all columns on the nearest selected item.
516 * src/hildon-touch-selector.h: Add definition for
517 hildon_touch_selector_center_on_selected().
519 Implement public API to ensure visibility of all selected items in
520 a HildonTouchSelector.
522 2009-01-16 Alejandro G. Castro <alex@igalia.com>
524 Fixed a problem in the fading when calling the scroll_to API, and
525 improve scrollbar fading handling.
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_area_grab_notify): avoid the timeout when the
530 (hildon_pannable_area_button_press_cb),
531 (hildon_pannable_area_motion_notify_cb): Code style changes.
532 (hildon_pannable_area_button_release_cb): Review the conditions
533 when releasing the mouse button to avoid unrequired fading
535 (hildon_pannable_area_scroll_to): Do not calculate and set the
536 velocity if the scroll is not required.
538 2009-01-15 Alberto Garcia <agarcia@igalia.com>
540 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
541 Don't check whether the new selector is NULL: it cannot be.
542 Hold a reference to the selector while doing the replacement.
544 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
547 unnecessary size_request in a removed widget.
549 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
551 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
552 an unnecessary reference tracking that was leaking.
554 2009-01-15 Alejandro G. Castro <alex@igalia.com>
556 Added delayed motion notify event handling, this way we can
557 discard redrawing if more than 25 events arrive per second.
559 * src/hildon-pannable-area.c,
560 (hildon_pannable_area_init): Initialized the new private atributes
561 controlling this timeout
562 (hildon_pannable_area_dispose): Remove the timeout that controls
563 the motion notify events.
564 (hildon_pannable_area_scroll): Added a condition to control the
565 use of the acceleration.
566 (hildon_pannable_area_motion_event_scroll_timeout),
567 (hildon_pannable_area_motion_event_scroll): Added this two
568 functions, they handle the motion notify events inside the
570 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
571 to the scroll method with the new function.
572 (hildon_pannable_area_button_release_cb): We have to remove the
573 timeout handler and move to the last position if the last motion
574 events were not handled.
576 Fixes: NB#97028 (Pannable area updates on every motion event)
578 2009-01-15 Alejandro G. Castro <alex@igalia.com>
580 * src/hildon-pannable-area.c,
581 (hildon_pannable_area_get_topmost): Added a new parameter to
582 filter the the windows that do not include those events. Added
583 also a condition when finding the window to filter windows that do
584 not ask for those events.
585 (hildon_pannable_area_button_press_cb),
586 (hildon_pannable_area_button_release_cb),
587 (hildon_pannable_get_child_widget_at): Reviewed the call the the
588 topmost function, we have added the new parameter.
590 Fixes: NB#97458 (Pannable area prevents propagation of button
593 2009-01-15 Alejandro G. Castro <alex@igalia.com>
595 * src/hildon-pannable-area.c,
596 (hildon_pannable_area_initial_effect): Added controls before
597 launching the timeout and the idle functions.
598 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
599 of the method, in some situations it can return with TRUE and 0 in
601 (hildon_pannable_area_button_press_cb): We do not need to set
602 DELAY for fading out here.
604 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
606 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
608 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
609 post-cleaning if the selection is not NULL.
611 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
613 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
614 all items before restoring the selection.
616 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
618 * src/hildon-touch-selector.c:
619 (+hildon_touch_selector_unselect_all):
620 * src/hildon-touch-selector.h: New API to unselect all items in a
621 column of the touch selector.
623 2009-01-14 Alejandro G. Castro <alex@igalia.com>
625 * src/hildon-pannable-area.c,
626 (hildon_pannable_area_redraw): Added a call to the refresh
627 function inside the redraw because apparently in some cases the
628 change in the adjustment does not imply a size allocate.
630 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
631 despite the view not being scrollable)
633 2009-01-14 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
636 leak. Check for NULL before attempting to set the window title.
638 2009-01-14 Alberto Garcia <agarcia@igalia.com>
640 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
641 whether to show or not the 'Done' button each time the dialog is
642 shown, as it depends on the HildonTouchSelector selection mode.
644 Fixes: NB#96226 (In multiple selection mode Done button is shown
645 sometimes in listpicker)
647 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
650 for the number of columns in the HildonTouchSelector more than once.
652 2009-01-14 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-touch-selector.c: Minor documentation fixes.
656 * src/hildon-picker-dialog.c (+_dialog_update_title)
657 (_select_on_selector_changed_cb)
658 (_update_title_on_selector_changed_cb)
659 (on_selector_columns_changed): Update dialog title when there's no
660 'Done' button and also when the number of columns in the selector
664 * src/hildon-picker-button.c (hildon_picker_button_finalize)
665 (+_selection_changed, hildon_picker_button_on_dialog_response)
666 (hildon_picker_button_selector_selection_changed)
667 (+hildon_picker_button_selector_columns_changed)
668 (hildon_picker_button_set_selector): Update button value and emit
669 'value-changed' when the number of columns in the selector
673 Fixes: NB#96225 (Dialog titles are not shown according to the
674 values selected in the list picker)
676 2009-01-13 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
679 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
680 New "arrow-width" and "arrow-height" style properties to set the
681 size of the arrow button.
682 Set name of arrow button ("hildon-edit-toolbar-arrow").
684 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
687 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
689 * src/hildon-picker-button.c:
690 (hildon_picker_button_selector_selection_changed): Use
691 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
692 the dialog is present.
694 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
695 the selection is accepted in the dialog)
697 2009-01-13 Alberto Garcia <agarcia@igalia.com>
699 * src/hildon-color-chooser.h
700 * src/hildon-color-chooser-dialog.h:
701 Added G_BEGIN_DECLS and G_END_DECLS
703 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
705 (_clean_current_selection): plug a leak in the list.
707 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-picker-dialog.c:
710 (+free_path_list): Method to free a GList of GtkTreePaths.
711 (_clean_current_selection), (_save_current_selection),
712 (_restore_current_selection): Save the current selection in
713 as a list of lists, to support multiple selection properly.
715 2009-01-12 Alberto Garcia <agarcia@igalia.com>
717 patch by Claudio Saavedra (csaavedra@igalia.com)
719 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
720 Store the press position.
721 (+hildon_text_view_button_release_event): If the release position is
722 close enough to the press position, move the cursor here. Otherwise,
724 (hildon_text_view_class_init): Override GtkTextView press, release, and
725 motion event handlers, disabling this way text selection through
726 pointer interaction, and allowing the container widget to handle the
729 Fixes: NB#95828 (HildonTextView functionality)
731 2009-01-12 Alberto Garcia <agarcia@igalia.com>
733 Based on a patch by Iván Gómez (igomez@igalia.com)
735 * src/hildon-button.[ch]
736 * src/hildon-calendar.c
737 * src/hildon-check-button.c
738 * src/hildon-date-editor.c
739 * src/hildon-date-selector.c
740 * src/hildon-picker-button.c
741 * src/hildon-time-editor.c
742 * src/hildon-time-selector.c
743 * src/hildon-touch-selector.[ch]:
744 Documentation updates
746 2009-01-12 Alejandro G. Castro <alex@igalia.com>
748 * src/hildon-pannable-area.c,
749 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
750 threshold, it was required due to X events handling.
752 2009-01-12 Alejandro G. Castro <alex@igalia.com>
754 * src/hildon-pannable-area.c,
755 (hildon_pannable_area_grab_notify),
756 (hildon_pannable_area_initial_effect),
757 (hildon_pannable_area_button_press_cb),
758 (hildon_pannable_area_button_release_cb),
759 (hildon_pannable_area_scroll_cb),
760 (hildon_pannable_area_scroll_to): Review the timeout management of
761 the scrollbar, the frecuency was incorrectly set.
763 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
765 * src/hildon-picker-button.c:
766 (+hildon_picker_button_on_dialog_response),
767 (hildon_picker_button_clicked): Present the dialog instead of
768 running it with gtk_dialog_run().
770 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
773 2009-01-07 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
776 (hildon_app_menu_finalize): When a window is hidden it doesn't
777 emit notify::is-topmost, so make sure than the menu also
778 disappears in that case.
779 (parent_window_topmost_notify): Renamed from parent_window_hidden
781 Fixes: NB#94460 (stackable window's menu is not closed when its
784 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
786 * src/hildon-touch-selector-entry.c:
787 (+hildon_touch_selector_entry_set_input_mode),
788 (+hildon_touch_selector_entry_get_input_mode):
789 * src/hildon-touch-selector-entry.h: New methods to access the input
790 mode in the selector's entry.
792 Fixes: NB#93410 (API required for setting IM mode in
793 HildonTouchSelectorEntry)
795 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: post release version bump.
798 * debian/changelog: version bump
800 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
805 * configure.ac: Bump version.
806 * debian/changelog: Updates.
808 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
810 * src/hildon-touch-selector.c:
811 (_hildon_touch_selector_has_multiple_selection): No need
812 to initialize the variables here.
814 2008-12-17 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-note-private.h
817 * src/hildon-note.c (event_box_press_event, hildon_note_init)
818 (hildon_note_finalize, hildon_note_rebuild): Close information
819 notes when they receive a button press.
821 Fixes: NB#89890 (Information notes does not get disappeared after
824 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
826 * src/hildon-wizard-dialog.c: (create_title): Remove translation
827 mark from the wizard title, as it's not really necessary. Also,
828 do not display the page title if not set.
830 2008-12-17 Alberto Garcia <agarcia@igalia.com>
832 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
833 (parent_window_hidden): Use the window's "is-topmost" property to
834 detect when to hide the menu.
836 2008-12-16 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
839 (hildon_app_menu_finalize): If the parent window of the menu is
840 hidden, hide the menu too.
842 Fixes: NB#94460 (stackable window's menu is not closed when its
845 2008-12-16 Alberto Garcia <agarcia@igalia.com>
848 * debian/libhildon1-examples.install
850 * examples/Makefile.am:
851 Use dh_install to install all examples.
852 Use DEB_SRCDIR instead of defining SOURCE_DIR
854 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
856 * configure.ac: post release version bump.
857 * debian/changelog: version bump
859 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
864 * configure.ac: bump version
865 * debian/changelog: updates
866 * debian/control: bump gtk+ dependency
868 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
870 patch by Christian Dywan (christian@imendio.com)
872 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
873 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
875 2008-12-15 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-check-button.c (hildon_check_button_init)
878 (hildon_check_button_class_init, hildon_check_button_style_set)
879 (hildon_check_button_apply_style):
880 New "checkbox-size" style property.
882 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
883 larger / configurable size)
885 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: post release version bump.
888 * debian/changelog: version bump
890 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: bump version
896 * debian/changelog: updates
898 2008-12-12 Alberto Garcia <agarcia@igalia.com>
900 * doc/hildon-sections.txt
901 * src/hildon-pannable-area.c
902 * src/hildon-program.c
903 * src/hildon-time-editor.c
904 * src/hildon-touch-selector-entry.c:
906 More documentation updates.
908 2008-12-12 Alberto Garcia <agarcia@igalia.com>
910 * doc/hildon-sections.txt
911 * src/hildon-caption.c
912 * src/hildon-code-dialog.c
913 * src/hildon-color-button.c
914 * src/hildon-controlbar.c
915 * src/hildon-date-editor.c
916 * src/hildon-date-selector.c
917 * src/hildon-edit-toolbar.c
918 * src/hildon-find-toolbar.c
919 * src/hildon-font-selection-dialog.c
921 * src/hildon-program.c
922 * src/hildon-range-editor.c
923 * src/hildon-seekbar.c
924 * src/hildon-time-editor.c
925 * src/hildon-time-selector.c
926 * src/hildon-volumebar-range.c
927 * src/hildon-volumebar.c
928 * src/hildon-vvolumebar.c
929 * src/hildon-weekday-picker.c
930 * src/hildon-window.c
931 * src/hildon-wizard-dialog.c:
933 Lots of documentation fixes.
935 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
937 Patch contributed by Iván Gómez (igomez@igalia.com)
939 * src/hildon-check-button.c:
940 * src/hildon-date-button.c:
941 * src/hildon-date-selector.c:
942 * src/hildon-dialog.c:
943 * src/hildon-edit-toolbar.c:
944 * src/hildon-entry.c:
945 * src/hildon-picker-button.c:
946 * src/hildon-program.c:
947 * src/hildon-text-view.c:
948 * src/hildon-time-button.c:
949 * src/hildon-touch-selector-entry.c:
950 * src/hildon-window-stack.c:
952 Add more "since" tags to the new API.
954 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
956 * doc/hildon-sections.txt: Add below method.
957 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
958 version for the hildonized scale.
959 * src/hildon-gtk.h: Add the definition.
961 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
963 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
965 * doc/hildon-sections.txt: Add missing entries for new methods.
967 2008-12-12 Alejandro G. Castro <alex@igalia.com>
969 Added API to pannable are in order to get its adjustments. We
970 added two properties to manage the values we had in the private
973 * src/hildon-pannable-area.c:
974 (hildon_pannable_area_class_init): Added hadjustment and
975 vadjustment properties in order to expose horizontal and vertical
977 (hildon_pannable_area_get_property),
978 (hildon_pannable_area_set_property): Added code to handle the new
980 (hildon_pannable_area_get_hadjustment),
981 (hildon_pannable_area_get_vadjustment): API functions to get the
983 * src/hildon-pannable-area.h:
984 (hildon_pannable_area_get_hadjustment),
985 (hildon_pannable_area_get_vadjustment): API functions to get the
988 2008-12-12 Alejandro G. Castro <alex@igalia.com>
990 Fixed some leaks, after valgrinding.
992 * src/hildon-touch-selector.c:
993 (_default_print_func): Fixed a leak.
994 (hildon_touch_selector_append_column): Fixed a leak.
995 * src/hildon-date-button.c:
996 (hildon_date_button_init): Fixed a leak.
997 * src/hildon-date-selector.c
998 (hildon_date_selector_finalize): Fixed a leak.
1000 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1002 Based on a patch by Christian Dywan (christian@imendio.com)
1004 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1006 * src/hildon-gtk.h: Add definition.
1008 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1010 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1012 * src/hildon-picker-button.c: (hildon_picker_button_init),
1013 (hildon_picker_button_new): Set the HildonButton::style property
1014 in the init method, to propagate the value to the derived classes.
1016 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-button.c: (hildon_button_class_init): Do not make
1019 the "style" property a construct property.
1021 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-wizard-dialog.h
1024 * src/hildon-wizard-dialog.c
1025 (hildon_wizard_dialog_set_forward_page_func)
1026 * src/hildon-pannable-area.h
1027 * src/hildon-pannable-area.c
1028 (hildon_pannable_area_set_size_request_policy):
1029 Documentation fixes.
1031 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1033 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1035 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1037 * doc/hildon-sections.txt: Added sections file.
1039 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1042 * src/*.[ch]: Updates.
1044 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1046 * examples/hildon-progress-indicator-example.c: new file
1047 * examples/Makefile.am: include the new example program
1049 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1051 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1053 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1055 * configure.ac: post release version bump
1056 * debian/changelog: version bump
1058 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1063 * configure.ac: bump version
1064 * debian/changelog: updates
1065 * debian/control: bump gtk+ dependency
1067 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-dialog.c: Mark as deprecated.
1070 * src/hildon-dialog.h: Mark as deprecated.
1071 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1072 from HildonDialog and still work, even if
1073 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1074 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1076 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1077 maemo changes) instead)
1079 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1081 * src/hildon-pannable_area.h:
1082 * src/hildon-pannable_area.c:
1083 (hildon_pannable_area_class_init),
1084 (hildon_pannable_area_set_property),
1085 (hildon_pannable_area_get_property),
1086 (hildon_pannable_area_size_request),
1087 (hildon_pannable_area_get_size_request_policy),
1088 (hildon_pannable_area_set_size_request_policy): Added new API
1089 allowing applications to control the request policy. Now they can
1090 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1091 children allocation (HILDON_MOVEMENT_CHILDREN).
1093 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1097 (hildon_gtk_tree_view_set_ui_mode)
1098 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1099 mode of treeviews and iconviews.
1101 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-touch-selector-entry.c:
1104 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1105 of a GtkEntry to get proper theming.
1107 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1108 widget, not GtkEntry)
1110 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1112 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1113 no HildonWizardDialogPageFunc.
1115 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1117 Patch contributed by Iván Gómez (igomez@igalia.com)
1119 * src/hildon-app-menu.c:
1120 * src/hildon-button.c:
1121 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1122 * src/hildon-stackable-window.c:
1123 * src/hildon-time-selector.c:
1124 * src/hildon-touch-selector.c:
1125 * src/hildon-window.c:
1127 Add more "since" tags to the new API in hildon 2.2.
1129 2008-12-05 Tim Janik <timj@imendio.com>
1131 Patch contributed by Christian Dywan (christian@imendio.com)
1133 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1134 HildonSizeType, which are supplied by Gtk+ now.
1136 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1138 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1139 (with maemo changes) instead)
1141 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1143 Patch contributed by Iván Gómez (igomez@igalia.com)
1145 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1148 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1150 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1151 (some_page_func), (main): Update the example to use a
1152 HildonWizardDialogPageFunc function.
1154 * src/hildon-wizard-dialog-private.h: Add private data for
1155 the HildonWizardDialogPageFunc function usage.
1157 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1158 (destroy), (hildon_wizard_dialog_init), (response),
1159 (hildon_wizard_dialog_set_forward_page_func):
1160 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1161 that applications can use to stop a HildonWizardDialog to jump to
1164 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1167 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-program.h
1170 * src/hildon-program-private.h
1171 * src/hildon-program.c (hildon_program_init)
1172 (hildon_program_set_common_app_menu)
1173 (hildon_program_get_common_app_menu):
1174 New API for setting a common HildonAppMenu for all
1175 HildonStackableWindows registered with the HildonProgram.
1177 * src/hildon-stackable-window.c
1178 (hildon_stackable_window_toggle_menu):
1179 Use the common HildonAppMenu if a window doesn't have a specific
1182 * src/hildon-app-menu-private.h
1183 * src/hildon-app-menu.c
1184 (hildon_app_menu_get_parent_window):
1185 Function to obtain the window a HildonAppMenu is attached to.
1186 (hildon_app_menu_set_parent_window):
1187 Hide the menu if the parent window is set to NULL.
1189 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1191 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1192 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1193 search widget to popup.
1195 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1197 * configure.ac: post release version bump
1198 * debian/changelog: version bump
1200 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: bump version
1206 * debian/changelog: updates
1208 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1210 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1212 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1213 (hildon_window_stack_window_realized)
1214 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1215 Set the leader GdkWindow when a window is stacked and realized,
1216 unset it when it's unstacked.
1217 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1219 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1221 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1223 * src/hildon-stackable-window.h
1224 * src/hildon-window-stack.h:
1225 Protect definition of HildonWindowStack using the preprocessor.
1227 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1230 Fix warning if all menu items are hidden.
1232 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1234 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1236 * src/hildon-controlbar.c:
1237 * src/hildon-hvolumebar.c:
1238 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1239 Multiple scale size defines updates.
1241 Fixes: NB#94322 (Scale Updates)
1243 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1245 * examples/hildon-app-menu-example.c (create_menu)
1246 Show items after adding them to the menu, as in the future the
1247 menu will no longer call gtk_widget_show() on the added items.
1249 * src/hildon-app-menu.c:
1250 Update example as explained above.
1252 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-app-menu.c
1255 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1256 Make sure that all menu items have finger height.
1258 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1260 * src/hildon-picker-dialog.c:
1261 (_on_dialog_response), (_save_current_selection),
1262 (_restore_current_selection), (_clean_current_selection),
1263 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1264 Defined new functions in order to save the current internal selector
1265 selection previous open the dialog, in case that the use cancel the
1266 interaction, so the widget restores the previous selection.
1268 Fixes: NB#92032 (In calendar application, date values in 'new event'
1271 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1273 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-button.c: Add a reference to the button examples in
1276 hildon-button-example.c
1278 * examples/hildon-button-example.c: Added examples of the most
1279 common button layouts.
1281 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-app-menu.c (hildon_app_menu_show)
1284 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1286 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1288 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1290 * src/hildon-picker-dialog.c:
1291 (hildon_picker_dialog_init): Initialize the signal id for
1292 HildonTouchSelector::columns-changed.
1293 (+on_selector_columns_changed): Set up the interaction mode everytime a
1294 column is added or removed from the HildonTouchSelector.
1295 (_hildon_picker_dialog_set_selector): Connect to
1296 HildonTouchSelector::columns-changed and keep track of it.
1298 Make sure to update the interaction mode of the dialog everytime a
1299 column is added or removed in the HildonTouchSelector.
1301 Fixes: NB#93228 (Done button is not shown always in listpicker)
1303 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1305 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1306 a new ::columns-changed signal.
1307 (hildon_touch_selector_append_column): Emit ::columns-changed.
1308 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1310 Add a ::columns-changed signal, emitted when the number of columns in a
1311 HildonTouchSelector changes.
1313 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1316 (_hildon_picker_dialog_set_selector): Factor out the code
1317 to set up the dialog interaction mode.
1319 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1321 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1322 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1323 to signal_changed_id.
1325 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1330 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1332 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1333 Updated the logical ids related to ampm format, as now it is required to
1334 show it correctly localized even on languages with no default
1335 abbreviations for am or pm
1336 (_check_am_pm_format): check correctly the 24h format gconf property
1338 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1340 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-button.c: Documentation updates.
1344 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1347 * src/hildon-caption.c: (hildon_caption_class_init):
1348 * src/hildon-color-button.c: (hildon_color_button_class_init):
1349 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1350 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1351 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1352 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1354 Remove deprecated GTK+ marshalers and replace them with the ones
1355 provided by GLib, for those available, add a marshaler for
1356 BOOLEAN:VOID, which is not available in GLib, and use it.
1358 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1360 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1361 the text from the previous column if there is no
1362 HildonTouchSelectorColumn::text-property set.
1364 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-button.h
1367 * src/hildon-button.c (hildon_button_set_property)
1368 (hildon_button_get_property, hildon_button_class_init)
1369 (hildon_button_set_style, hildon_button_get_style):
1370 New "style" property to change the visual appearance of the
1373 * src/hildon-picker-button.c (hildon_picker_button_new):
1374 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1376 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1377 HildonButton look like PickerButton)
1379 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1382 column while building the default string.
1384 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1387 scroll indicator by default.
1389 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1391 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-main.c: Fix the documentation for hildon_init()
1395 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1397 * doc/hildon-docs.sgml
1401 * src/hildon-window-stack-private.h
1402 * src/hildon-window-stack.h
1403 * src/hildon-window-stack.c:
1404 New HildonWindowStack object, that adds support for multiple
1405 stacks of windows per process.
1407 * src/hildon-stackable-window-private.h
1408 * src/hildon-stackable-window.h
1409 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1410 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1411 (hildon_stackable_window_show, hildon_stackable_window_hide)
1412 (hildon_stackable_window_class_init)
1413 (hildon_stackable_window_init):
1414 Use HildonWindowStack for stack management.
1416 * src/hildon-program.c (hildon_program_pop_window_stack)
1417 (hildon_program_peek_window_stack)
1418 (hildon_program_go_to_root_window):
1419 Add a fallback implementation to the deprecated functions using
1422 * examples/hildon-stackable-window-example.c:
1423 Use the new HildonWindowStack API.
1425 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-stackable-window-private.h
1428 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1429 (hildon_stackable_window_hide, hildon_stackable_window_init):
1430 Remove all window stack management.
1432 * src/hildon-program-private.h
1433 * src/hildon-program.h
1434 * src/hildon-program.c (hildon_program_init)
1435 (hildon_program_pop_window_stack)
1436 (hildon_program_peek_window_stack)
1437 (hildon_program_go_to_root_window):
1438 Remove all window stack management and mark functions as
1441 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1443 * src/hildon-app-menu.c (hildon_app_menu_realize):
1444 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1446 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1448 * configure.ac: post release version bump
1449 * debian/changelog: version bump
1451 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1456 * configure.ac: bump version
1457 * debian/changelog: updates
1459 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1461 Based on initial code by Christian Dywan (christian@imendio.com)
1463 * doc/hildon-docs.sgml: Add section for hildon-main.
1464 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1465 * src/Makefile.am: Add new hildon-main.[ch]
1466 * src/hildon-defines.h: Update the icon sizes.
1467 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1468 new library initialization files and register icon sizes.
1469 * src/hildon-main.h: New declarations.
1470 * src/hildon.h: Include hildon-main.h
1472 Add new initialization functions to the library. These methods
1473 will register the hildon specific icon sizes and can be used in the
1474 future for other hildon specific bits.
1476 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1478 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1480 * src/hildon-window.c: (hildon_window_realize),
1481 (hildon_window_notify), (-hildon_window_update_title): Do not set
1482 the application name in the window title.
1484 Fixes: NB#89754 (Applications shouldn't display their names in the
1487 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1489 * src/hildon-note-private.h:
1490 * src/hildon-note.c: (hildon_note_set_property),
1491 (hildon_note_get_property), (hildon_note_class_init),
1492 (hildon_note_init), (hildon_note_finalize),
1493 (hildon_note_new_confirmation_with_icon_name),
1494 (hildon_note_new_information_with_icon_name):
1496 No need to mark as deprecated the actual code. Revert
1497 to avoid missing symbols in widgets using deprecated API.
1499 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1501 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1503 * src/hildon-volumebar.h
1504 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1505 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1507 * src/hildon-helper.h
1508 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1509 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1511 * examples/Makefile.am:
1512 Deprecate hildon-insensitive-example
1514 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1516 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1518 * examples/hildon-pannable-area-buttons-scroll-example.c:
1519 Make all buttons finger height
1521 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1523 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1525 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1526 update the day model only if it is really required, and to avoid the
1527 full-reconstruction aproach. Now it only add or remove the required days.
1529 The purpose of this is avoid superfluous HildonTouchSelector::changed
1532 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1533 with strange parameters)
1535 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1537 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1539 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1540 the WINDOW_TYPE property.
1542 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1544 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1547 Fix dependency to allow parallel compilation with make -jX
1549 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1551 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1552 color frame and some minor tweaks to make it more consistent with
1555 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1556 highlighted but not visible)
1558 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1560 * examples/Makefile.am: Fixed typo in the Makefile.am.
1562 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1564 Reviewed the use of MAEMO_GTK define, now we add the define in the
1565 compilation line, and we also add it to the pc file.
1567 * configure.ac: Added MAEMO_GTK define to the compilation command
1568 and removed it from the config.h.
1570 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1571 do not have to take care about this define if the library was
1575 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1577 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1579 * examples/Makefile.am,
1580 * examples/hildon-pannable-area-buttons-scroll-example.c,
1581 * examples/hildon-pannable-area-gesture-signals-example.c,
1582 * examples/hildon-pannable-area-scroll-jump-example.c,
1583 * examples/hildon-pannable-area-tree-view-example.c:
1584 Renamed the pannable area examples, now they have more meaningful
1587 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1589 * src/hildon-touch-selector.c:
1590 (hildon_touch_selector_set_column_selection_mode): Used of
1591 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1592 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1593 to avoid re-seting the same selection mode.
1595 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1596 breaks HildonPickerDialog)
1598 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1600 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1601 conditional in the Makefile.am
1603 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1606 Remove unused methods.
1608 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-button.c (hildon_button_init):
1611 Make button images center-aligned by default
1613 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1616 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1617 activated, we have to think about how to deal with both defines
1618 MAEMO_GTK and MAEMO_CHANGES.
1620 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1622 * examples/hildon-app-menu-example.c (create_menu): Make all
1623 buttons finger size.
1625 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1627 Fixed the compilation without maemo gtk adding ifdefs with
1628 MAEMO_GTK define to the code, we have to check this version more
1631 * examples/Makefile.am: Added control to avoid some examples that
1632 just make sense with maemo gtk.
1635 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1636 hildon modes with the define.
1638 * examples/hildon-edit-toolbar-example.c,
1639 (create_icon_view): Create the icon view without hildon-gtk
1640 helpers if we are not using maemo gtk.
1642 * src/hildon-touch-selector.c,
1643 (_create_new_column): Create the treeview without hildon-gtk
1644 helpers if we are not using maemo gtk.
1646 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1648 * src/hildon-pnnable-area.c,
1649 (hildon_pannable_area_dispose),
1650 (hildon_pannable_area_button_press_cb),
1651 (hildon_pannable_area_child_mapped),
1652 (hildon_pannable_area_add),
1653 (hildon_pannable_area_remove): Added code to control the position
1654 of the event_window when adding and removing children from the
1655 pannable. We have to raise the event window when the child is
1658 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1659 selection mode using custom widget inside pannable)
1661 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1663 * configure.ac: post release version bump
1664 * debian/changelog: version bump
1666 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1671 * configure.ac: bump version
1672 * debian/changelog: updates
1674 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1676 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1677 search mode, in order to avoid lose the focus on the treeview when
1678 a hw key (like enter) is pressed.
1680 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1681 in HildonDateSelector dialog)
1683 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1685 * debian/rules: Added --enable-maintainer-mode
1686 * Makefile.am: Added ACLOCAL_AMFLAGS
1688 This allows to properly regenerate the Makefiles if you modify the
1689 configure.ac or any Makefile.am.
1691 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1693 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1694 properties, not needed at all.
1696 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1698 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1700 * src/hildon-note.c: (hildon_note_set_property),
1701 (hildon_note_get_property), (hildon_note_class_init),
1702 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1703 (hildon_note_new_confirmation_add_buttons): Remove icons.
1704 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1705 (hildon_note_new_information_with_icon_name): Deprecate.
1706 (hildon_note_new_confirmation): Act directly, without calling
1707 the deprecated constructor.
1708 (hildon_note_new_information): Act directly, without calling
1709 the deprecated constructor.
1710 * src/hildon-note.h: Mark deprecate methods as such.
1711 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1712 not run tests on the deprecated methods if built with deprecation
1715 Fixes: NB#91688 (Never show icons in information notes/confirmation
1718 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1721 (hildon_app_menu_key_press): Remove leftover usage of the
1722 private structure in HildonAppMenu struct.
1723 * src/hildon-app-menu.h: Remove leftover private structure
1724 from the HildonAppMenu struct.
1726 Fixes a crasher when using the HildonAppMenu.
1728 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-picker-dialog.c: Use appropriate logical id
1731 for the default "Done" text.
1733 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1735 * configure.ac: post release version bump
1736 * debian/changelog: version bump
1738 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1740 Modified the way to scroll to the current selection just when the touch
1741 selector is shown on the screen, avoiding a g_idle. Added too a property
1742 to configure this behaviour. See hildon_pannable_area_jump_to_child
1743 documentation for more information.
1745 * src/hildon-touch-selector.c
1746 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1747 Added 'initial-scroll' property
1748 (hildon_touch_selector_set_property): Added
1749 (hildon_touch_selector_map): Removed as not required anymore
1750 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1751 only a concrete column, instead of iterate along all the columns
1753 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1758 * configure.ac: bump version
1759 * debian/changelog: updates
1761 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1763 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1764 compilation time warnings.
1766 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1769 the default value for HildonPannableArea::mov-mode to
1770 HILDON_PANNABLE_AREA_MODE_VERT.
1772 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1774 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1776 Reverting following commit:
1778 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-app-menu-private.h
1781 * src/hildon-app-menu.[ch]
1782 * src/hildon-button.[ch]
1783 * src/hildon-check-button.[ch]
1784 * src/hildon-entry.[ch]
1785 * src/hildon-pannable-area.[ch]
1786 * src/hildon-text-view.[ch]:
1787 Added private field to the object's structure.
1789 because it causes an ABI breakage. We will need to introduce these
1790 changes later at some point. See NB#91636 for an extensive
1791 explanation and status.
1793 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1795 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1797 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1798 remove special cases that are no longer necessary.
1800 Fixes: NB#91016 (Change toolbar sizes, simplification)
1802 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1804 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1805 is shown in the cancel note.
1807 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1810 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1811 (hildon_seekbar_init): Remove steppers, remove expose event.
1812 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1814 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1816 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1819 label font to "SmallSystemFont" for vertically arranged buttons.
1821 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1824 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-check-button.c
1827 (hildon_check_button_set_active, hildon_check_button_clicked):
1828 Don't access private parts directly, use getters instead.
1830 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-check-button.c (hildon_check_button_new):
1833 Align the contents of the check button to the left.
1835 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1837 * src/hildon-pannable-area.c,
1838 (hildon_pannable_area_scroll_to),
1839 (hildon_pannable_area_jump_to),
1840 (hildon_pannable_area_scroll_to_child),
1841 (hildon_pannable_area_jump_to_child): Replace the mapped
1842 precondition of these functions with the realized, it is the
1843 correct state of the widget in this case. Changed the
1844 documentation according to this modification.
1846 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1848 Added a new EXTRA_CFLAGS option to add the deprecated define to
1849 the compilation command. This way we can avoid using the define in
1850 the documentation compilation.
1852 * configure.ac: Defined EXTRA_CFLAGS.
1854 * examples/Makefile.am:
1856 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1858 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1860 * src/hildon-picker-dialog.c:
1861 Defined a utility macro with the desired touch selector height
1862 Removed currently unused separator, and title_label variables from
1864 (hildon_picker_dialog_init): Removed code related to the creation
1865 of unused private variables title_label and separator.
1866 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1867 to ensure correct visualization of the touch selector inside the dialog.
1868 * src/hildon-touch-selector.c
1869 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1870 ensure a concrete height of the widget.
1872 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1875 * tests/Makefile.am:
1877 Remove spurious whitespaces.
1879 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1882 compilation warning after the cancel button removal.
1884 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1886 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1888 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1889 Makefile.am, that way we can choose not to compile some examples
1890 and tests of the deprecated widgets.
1892 * examples/Makefile.am: Divided the sources in deprecated and
1895 * src/Makefile.am: Added undef statement of the deprecated
1896 symbol to the enums file generation process.
1898 * src/hildon-color-chooser-dialog.c
1899 * src/hildon-color-chooser-dialog.h
1900 * src/hildon-color-button.c
1901 * src/hildon-color-button.h
1902 * src/hildon-color-chooser.c
1903 * src/hildon-color-chooser.h
1904 * src/hildon-controlbar.c
1905 * src/hildon-controlbar.h
1906 * src/hildon-date-editor.c
1907 * src/hildon-date-editor.h
1908 * src/hildon-hvolumebar.c
1909 * src/hildon-hvolumebar.h
1910 * src/hildon-private.c
1911 * src/hildon-private.h
1912 * src/hildon-range-editor.c
1913 * src/hildon-range-editor.h
1914 * src/hildon-seekbar.c
1915 * src/hildon-seekbar.h
1916 * src/hildon-time-editor.c
1917 * src/hildon-time-editor.h
1918 * src/hildon-time-picker.c
1919 * src/hildon-time-picker.h
1920 * src/hildon-volumebar.c
1921 * src/hildon-volumebar.h
1922 * src/hildon-vvolumebar.c
1923 * src/hildon-vvolumebar.h
1924 * src/hildon-bread-crumb-trail.h
1925 * src/hildon-bread-crumb-trail.c
1926 * src/hildon-calendar-popup.c
1927 * src/hildon-calendar-popup.h
1928 * src/hildon-weekday-picker.c:
1929 * src/hildon-weekday-picker.h:
1930 * src/hildon-bread-crumb-widget.c:
1931 * src/hildon-bread-crumb-widget.h:
1932 * src/hildon-bread-crumb.c:
1933 * src/hildon-bread-crumb.h:
1934 * src/hildon-calendar.c:
1935 * src/hildon-calendar.h:
1936 * src/hildon-caption.c:
1937 * src/hildon-code-dialog.c:
1938 * src/hildon-code-dialog.h:
1939 * src/hildon-font-selection-dialog.c:
1940 * src/hildon-font-selection-dialog.h:
1941 * src/hildon-get-password-dialog.c:
1942 * src/hildon-get-password-dialog.h:
1943 * src/hildon-login-dialog.c:
1944 * src/hildon-login-dialog.h:
1945 * src/hildon-number-editor.c:
1946 * src/hildon-number-editor.h:
1947 * src/hildon-set-password-dialog.c:
1948 * src/hildon-set-password-dialog.h:
1949 * src/hildon-sort-dialog.c:
1950 * src/hildon-sort-dialog.h: This is the list of deprecated
1953 * src/hildon-touch-selector.c:
1954 * src/hildon-window.c: Added undef statement to avoid compilation
1957 * tests/Makefile.am: Divided the sources in deprecated and
1960 * tests/check_test.c,
1961 (configure_tests): Marked the deprecated code that was adding
1962 suites with deprecated tests.
1964 Fixes: NB#91135 (Deprecate legacy hildon widgets)
1966 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-touch-selector.c: (_default_print_func): Do not
1969 duplicate a string returned by gtk_tree_model_get(), it is already
1972 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1975 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pannable-area.c
1978 (hildon_pannable_area_add_with_viewport): Reviewed the complete
1979 method, it had problems when adding a widget with viewport the
1980 second time. Now checks if it already has a viewport and uses it.
1982 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1985 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_scroll_to),
1989 (hildon_pannable_area_jump_to),
1990 (hildon_pannable_area_scroll_to_child),
1991 (hildon_pannable_area_jump_to_child): Added a precondition to the
1992 scroll and jump to functions: the widget must be mapped before we
1993 can safely call these functions. We have also added documentation
1994 to the functions to explain how to use them in this situation.
1997 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1999 Reviewed the threading handling of the pannable widget, we have
2000 used the gdk_threads_add_timeout function instead of the usual
2001 glib handlers. This avoids some problems with the threads.
2003 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2004 (hildon_pannable_area_initial_effect),
2005 (hildon_pannable_area_scroll_indicator_fade),
2006 (hildon_pannable_area_button_press_cb),
2007 (hildon_pannable_area_timeout),
2008 (hildon_pannable_area_motion_notify_cb),
2009 (hildon_pannable_area_button_release_cb),
2010 (hildon_pannable_area_scroll_cb),
2011 (hildon_pannable_area_scroll_to): Removed the
2012 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2013 gdk_threads_add_timeout.
2015 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2017 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2022 * configure.ac: bump version
2023 * debian/changelog: updates
2025 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2028 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2029 * src/hildon-color-chooser-dialog.c:
2030 (hildon_color_chooser_dialog_init):
2031 * src/hildon-font-selection-dialog.c:
2032 (hildon_font_selection_dialog_init):
2033 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2035 Remove all cancel/close-like dialogs, as these are not going to be
2038 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-note.c: (hildon_note_rebuild),
2041 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2044 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2046 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2049 sure all buttons are shown, even the Cancel/Close-like ones.
2051 Fixes: NB#90861 (Custom Confirmation dialogs should be
2052 protected from cancel button removal)
2054 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2056 * debian/control: Change libhildon1-examples dependency from libhildon1
2058 * debian/libhildon1-examples.install
2060 * Makefile.am: Modified the final install directory for the examples on
2061 package libhildon1-examples
2062 * Makefile.static: Update clean target in order to remove all the binary
2065 Changes suggested by Claudio after review new libhildon1-examples package
2067 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2070 * src/hildon-touch-selector.c: Ditto.
2072 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2074 * debian/control: Added new package libhildon1-examples, in order to pack
2075 the current hildon examples as documentation
2076 * debian/rules: Not to compress .c files, modify some includes on the
2077 examples (as normally are compiled locally, but when installed it will
2078 require to include the installed libhildon1 library), and rename
2080 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2081 install all the example files on the new example package
2082 * examples/Makefile.static: Added static makefile that can be used to
2083 compile the examples, once installed the new example package
2084 * examples: Most of the examples were modified in order to grant that
2085 all use only '#include "hildon.h"', in order to be easy to prepare
2086 it on the example package
2088 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2091 * debian/libhildon1-dev.install
2092 * debian/libhildon1-doc.install:
2093 Move all gtk-doc files to a separate libhildon1-doc package.
2095 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2097 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2101 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2103 * debian/rules: Fixed a error in order to avoid unnecessary calls
2104 to autogen.sh on package building
2106 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2108 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2110 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2115 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-picker-button.c
2118 (hildon_picker_button_finalize):
2119 Free priv->done_button_text
2121 * src/hildon-time-button.c
2122 (hildon_time_button_set_time)
2123 * src/hildon-picker-button.c
2124 (hildon_picker_button_clicked)
2125 (hildon_picker_button_selector_selection_changed)
2126 (hildon_picker_button_set_selector)
2127 * src/hildon-date-button.c
2128 (hildon_date_button_set_date):
2129 Free strings returned by hildon_touch_selector_get_current_text()
2131 * src/hildon-button.c (hildon_button_construct_child):
2132 Fix leaks in priv->image and priv->label_box
2134 Fixes: NB#90535 (Memory leak in picker button)
2136 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-button.c: (hildon_button_get_property): Do not access
2139 private elements directly, use getters instead.
2141 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-app-menu-private.h
2144 * src/hildon-app-menu.c
2145 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2146 Store the menu's parent window.
2148 * src/hildon-stackable-window.c
2149 (hildon_stackable_window_toggle_menu)
2150 (hildon_stackable_window_finalize):
2151 Set the menu's parent window when the menu is shown, unset it when
2154 * src/hildon-app-menu.c
2155 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2156 (hildon_app_menu_class_init):
2157 Send unhandled keyboard accelerators to the parent window.
2159 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-stackable-window.c
2162 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2164 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2166 * configure.ac: post release version bump
2168 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2171 * configure.ac: Bump version
2172 * debian/changelog: Updates
2173 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2176 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2178 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2181 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2182 GtkMenu with Hildon style.
2184 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-picker-button.c:
2187 (hildon_picker_button_set_done_button_text): Set the dialog's
2188 done button text here as well.
2190 Fixes: NB#90232 (Picker button does not set the label on done button
2191 for the second time)
2193 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2198 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-app-menu.c (hildon_app_menu_insert)
2201 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2202 the HildonAppMenu to be activatable using keyboard accelerators
2203 when the menu is not being shown.
2205 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2207 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-stackable-window.c
2210 (hildon_stackable_window_show):
2211 Don't hide old windows automatically when new windows are shown:
2212 this is now a task for the window manager.
2213 (hildon_stackable_window_class_init)
2214 (hildon_stackable_window_hide):
2215 Remove windows from the stack everytime they're hidden.
2216 (hildon_stackable_window_realize):
2217 Don't change the _NET_WM_WINDOW_TYPE property. Use
2218 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2219 it as a stackable window.
2221 * src/hildon-program.c
2222 (hildon_program_pop_window_stack):
2223 Just hide the window to remove it from the stack.
2224 (hildon_program_go_to_root_window):
2225 Don't call gtk_widget_show(), this is now a task for the window
2228 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2230 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-button.c
2233 (hildon_button_construct_child):
2234 Don't pack anything in the button until text or image are
2235 set. This allows adding a custom child after creating the button
2236 with hildon_button_new().
2237 (hildon_button_finalize, hildon_button_class_init)
2238 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2239 alignment and the label box even when they're not packed in the
2242 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2244 * src/hildon-touch-selector.h:
2245 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2246 currently the type definition was using GTK_TYPE_VBOX
2247 * src/hildon-touch-selector.c:
2248 Added some implementation notes in order to clarify that any other widget
2249 added without the column related API will not be included on the
2250 selection logic, and how the widget is freed, as some people ask about
2252 (hildon_touch_selector_remove): Reimplemented in order to free properly
2253 the column related data when you remove the private hbox.
2254 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2255 to get a proper HildonTouchSelectorColumn documentation
2257 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-touch-selector-entry.c:
2260 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2261 text in the GtkEntry and there is no item selected. Fixes a
2264 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu-private.h
2267 * src/hildon-app-menu.[ch]
2268 * src/hildon-button.[ch]
2269 * src/hildon-check-button.[ch]
2270 * src/hildon-entry.[ch]
2271 * src/hildon-pannable-area.[ch]
2272 * src/hildon-text-view.[ch]:
2273 Added private field to the object's structure.
2275 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2277 * configure.ac: post-release version bump
2279 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2283 * configure.ac: pre-release version bump
2285 * debian/changelog: updates.
2287 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2290 Disconnect the handler for HildonTouchSelector::changed.
2292 (hildon_picker_button_selector_selection_changed): Update the button
2293 value if the selection change was not triggered by the
2296 (hildon_picker_button_set_selector): connect to
2297 HildonTouchSelector::changed.
2299 Fixes: NB#89650 (Picker button is not updated, when selection in
2300 selector has changed)
2302 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2304 * src/hildon-picker-dialog.c
2305 (hildon_picker_dialog_realize): Removed as not required
2306 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2307 * src/hildon-picker-button.c
2308 (_current_selector_empty): New function, checks if the selector is empty
2309 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2310 if the current selector is empty, in order to avoid to show the dialog
2311 close the dialog in this case (and shows a g_warning).
2313 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2315 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2317 * src/hildon-pannable-area.c,
2318 (hildon_pannable_area_scroll): Added clause to stop movement when
2319 the child of pannable is smaller than one page.
2320 (hildon_pannable_area_scroll_to): Added conditions to avoid
2321 starting the scrolling movement if the child is smaller than one
2322 page, the complete child is in the screen, we do not have to move.
2324 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2326 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2329 this is managed automatically by the widget when the size of the
2332 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-picker-button.c
2335 (hildon_picker_button_set_done_button_text): Make a copy of the
2336 text, and free the previous value.
2338 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-touch-selector-entry.c:
2341 (hildon_touch_selector_entry_print_func): Return the selected row's
2342 text if the entry is empty.
2344 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2347 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2351 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-check-button.h
2355 * src/hildon-check-button.c
2356 * examples/hildon-check-button-example.c:
2357 HildonCheckButton is now a new widget. 'toggled' signal added.
2359 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-program-private.h
2362 * src/hildon-program.c (hildon_program_init)
2363 (hildon_program_finalize): Removed unused variables group_leader
2364 and name from HildonProgramPrivate.
2366 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-check-button.c (hildon_check_button_set_active)
2369 (hildon_check_button_get_active, hildon_check_button_new): Use
2370 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2372 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2374 * src/hildon-touch-selector.h
2375 (hildon_touch_selector_set_column_attributes): added deprecation
2376 guard HILDON_DISABLE_DEPRECATED
2377 * src/hildon-time-selector.c
2378 (hildon_time_selector_set_time)
2379 (hildon_time_selector_get_time): Fixed a typo on documentation
2380 * src/hildon-touch-selector.c: update HildonTouchSelector and
2381 HildonTouchSelectorColumn documentation
2382 * src/hildon-touch-selector-entry.c: update "text-column" property
2384 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2385 to be added to the general documentation.
2387 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2389 * examples/hildon-pannable-area-example-4.c,
2391 * examples/hildon-pannable-area-example.c,
2392 (main): Modified the code in order to use the container add, with
2393 viewport treeviews could have problems if they are really big.
2395 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2397 * src/hildon-weekday-picker.c,
2398 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2399 the agreement regarding deprecation in the library.
2401 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2403 * examples/hildon-picker-button-multicolumn-example.c:
2404 (main): Use custom "done" button text.
2406 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2407 (hildon_picker_button_set_property),
2408 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2409 (hildon_picker_button_init),
2410 (+hildon_picker_button_get_done_button_text),
2411 (+hildon_picker_button_set_done_button_text): New methods to customize
2412 the "done" button label in the launched HildonPickerDialog. Also,
2415 * src/hildon-picker-button.h: add the public API.
2417 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2419 * src/hildon-date-selector.h:
2420 * src/hildon-picker-dialog.h:
2421 * src/hildon-time-selector.h:
2422 * src/hildon-touch-selector-column.h:
2423 * src/hildon-touch-selector.h:
2425 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2426 declarations. Fixes gtk-doc warnings.
2428 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-picker-dialog.h
2431 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2432 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2434 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2435 long text is set as label for done button)
2437 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-dialog.c (hildon_dialog_add_button):
2440 Set fixed width to all buttons in the HildonDialog.
2442 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2444 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2446 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2447 Set widget name using class name plus "-finger" or "-thumb".
2449 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2452 'clicked' when the state of the button is manually changed.
2454 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-app-menu.c (hildon_app_menu_realize)
2457 (hildon_app_menu_unrealize, hildon_app_menu_init)
2458 (hildon_app_menu_class_init, item_visibility_changed):
2459 Change the menu layout when the size of the screen changes.
2460 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2461 Show warning only when changing the number of colums using the
2464 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2466 * debian/compat: Set to 5
2467 * debian/control: Update dependencies.
2468 * debian/libhildon1-dbg.install: Remove.
2469 * debian/libhildon1-dev.install: Update according to cdbs paths.
2470 * debian/libhildon1.install: Update according to cdbs paths.
2471 * debian/rules: Switch to cdbs.
2473 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2476 'item' variable renamed to 'filter'
2478 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-app-menu.c (hildon_app_menu_insert)
2481 (hildon_app_menu_add_filter, remove_item_from_list)
2482 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2483 Don't leak hidden items when the menu is destroyed.
2485 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-app-menu.c (hildon_app_menu_insert)
2488 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2489 (hildon_app_menu_set_columns, item_visibility_changed)
2490 (filter_visibility_changed, hildon_app_menu_repack_filters)
2491 (hildon_app_menu_repack_items):
2492 Repack items and filters separately.
2494 Don't repack all items, change only the ones that are needed to
2497 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2499 * src/Makefile.am: added hildon-touch-selector-column.h
2501 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2503 * src/hildon-touch-selector.c: added the property "text-column" to the
2504 class HildonTouchSelectorColumn, and related get/set functions
2505 (_default_printf_func): updated to use "text-column" property
2506 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2507 "text-column" in his documentation, as this is now included on
2508 HildonTouchSelectorColumn. The get/set_property can still be used,
2509 working as a wrapper to the concrete column "text-column" property
2510 (_text_column_modified): callback added in order to handle the signal
2511 "notify::text-column" of the concrete HildonTouchSelectorColumn
2512 (hildon_touch_selector_entry_get_text_column)
2513 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2514 modified in order to use the HildonTouchSelectorColumn "text-column"
2516 * src/hildon-time-selector.c:
2517 * src/hildon-date-selector.c:
2518 * examples/hildon-touch-selector-example.c
2519 * examples/hildon-touch-selector-multi-cells-example.c
2520 * examples/hildon-picker-button-multicolumn-example.c
2521 Set the right value to "text-column" property on the creation of a new
2522 column using hildon_touch_selector_append_column()
2524 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2526 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-app-menu.c
2529 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2530 updating the layout of the menu, don't create all widgets again,
2531 just repack the items in their new places.
2533 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2535 * src/hildon-time-selector.c
2536 (hildon_time_selector_get_time)
2537 (hildon_time_selector_set_time)
2538 Added documentation of these public methods
2540 * src/hildon-date-button.h
2541 * src/hildon-touch-selector-column.h
2542 * src/hildon-time-button.h
2543 * src/hildon-picker-dialog.h
2544 * src/hildon-time-selector.h
2545 * src/hildon-picker-button.h
2546 * src/hildon-touch-selector.h
2547 * src/hildon-time-picker.h
2548 * src/hildon-date-selector.h
2549 * src/hildon-touch-selector-entry.h
2550 Modified in order to use hildon-widgets code style
2552 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2554 Added deprecated support to the compilation process using
2555 HILDON_DISABLE_DEPRECATED
2557 * configure.ac: Added the --disable-deprecated to the configure
2560 * src/hildon-weekday-picker.c:
2561 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2562 to use the deprecated support. We will update the other deprecated
2563 widgets status in a new patch.
2565 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2567 * configure.ac: Fixed typo with fatal warnings support, the
2568 variable name was not correct
2570 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-app-menu.c
2573 * src/hildon-program.c: Update documentation.
2575 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2577 * configure.ac: Post-release version bump.
2579 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2584 * configure.ac: Pre-release version bump.
2585 * debian/changelog: Updates.
2587 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2589 * NEWS: Update news for previous releases.
2591 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2593 * examples/hildon-touch-selector-multi-cells-example.c:
2594 (create_selector): Update the example to use
2595 hildon_touch_selector_append_column() with a NULL renderer and set
2596 the renderers later.
2597 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2598 passed a NULL renderer. This is documented behavior now.
2600 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2601 This must be used if the developer wants full control on the layout of
2602 the renderers to be added to the column.
2604 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2606 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-touch-selector.c: Documentation fixes.
2610 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-wizard-dialog-private.h: Remove image and box.
2613 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2614 (hildon_wizard_dialog_set_property), (response): Completely remove
2615 image/icon support, and the containers required for the layout.
2617 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2619 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-app-menu.c: Updated documentation.
2623 * src/hildon-stackable-window.c
2624 (hildon_stackable_window_set_main_menu): Unref the old menu after
2625 ref'ing the new one.
2627 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2629 * src/hildon-stackable-window.c
2630 (hildon_stackable_window_set_main_menu): Unref the previous menu
2631 instead of destroying it.
2633 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2634 floating reference and set has_user_ref_count to FALSE to make
2635 HildonAppMenu act like a normal ref-counted widget and not a
2638 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2641 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2643 * src/hildon-touch-selector-column.h: new file
2644 * src/hildon-touch-selector.h
2645 * src/hildon-touch-selector.c
2646 Implemented GtkCellLayout interface, in order to allow to configure
2647 the cell layout on each individual selector column
2648 (hildon_touch_selector_set_column_attributes): marked as deprecated
2649 * examples/hildon-touch-selector-multi-cells-example.c
2650 Example of how to use the GtkCellLayout interface on the selector
2652 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2654 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-app-menu.h
2657 * src/hildon-app-menu.c
2658 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2659 (hildon_app_menu_append, hildon_app_menu_prepend):
2660 New methods to prepend, insert and move items in the menu.
2662 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-wizard-dialog.c:
2666 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2668 (create_title): Update logical IDs and related code.
2669 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2671 * src/hildon-wizard-dialog.h: Note that
2672 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2673 point, as it is not used anymore.
2675 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2677 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-note.c:
2680 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2681 shown. Do not display an icon in confirmation notes nor information
2683 (hildon_note_set_button_text): Update logical ID for cancel button.
2685 Fixes: NB#88850 (Update HildonNote button strings + signals)
2687 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-stackable-window.c
2690 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2692 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-app-menu-private.h
2695 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2696 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2697 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2698 temporary property 'columns' to change the number of columns.
2700 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2702 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2704 * examples/hildon-note-example.c: (on_information_clicked),
2705 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2706 debugging information.
2707 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2709 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2710 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2711 in order to close: this will be handled by the WM from now on.
2713 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2715 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-app-menu-private.h
2718 * src/hildon-app-menu.c
2719 (hildon_app_menu_append, hildon_app_menu_add_filter)
2720 (button_visibility_changed, hildon_app_menu_apply_style)
2721 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2722 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2723 layout everytime a button (item or filter) is shown or hidden.
2725 * src/hildon-stackable-window.c
2726 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2729 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2731 * src/hildon-touch-selector.c:
2732 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2733 that the treeview inside the touch selector is in fremantle hildon mode
2734 * examples/hildon-date-button-example.c
2735 * examples/hildon-picker-button-multicolumn-example.c
2736 * examples/hildon-touch-selector-entry-example.c
2737 * examples/hildon-touch-selector-example.c
2738 * examples/hildon-time-button-example.c
2739 * examples/hildon-picker-button-example.c:
2740 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2742 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2744 * examples/hildon-text-view-example.c: (main): Remove the
2745 gtkrc bits, now handled by the theme.
2747 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2752 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2754 * po/Makefile.am: Install properly the mo files.
2755 * po/en_GB.po: Update translation, to ease testing purposes.
2757 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2759 * examples/hildon-picker-button-example.c: (main): Select an item
2760 in the selector before setting it to the button.
2762 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2765 Update button's value if the selector has an item active.
2767 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2768 'value' with the selector)
2770 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2773 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2774 (hildon_picker_button_class_init): Plug the finalize method.
2775 (hildon_picker_button_set_selector): If there's a previously set
2776 selector, unref'it before setting a new one.
2778 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2779 HildonTouchSelector)
2781 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-touch-selector-entry.c:
2784 (hildon_touch_selector_entry_changed): Check if there is no text
2785 selected before setting the entry text.
2788 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-touch-selector.h
2791 * src/hildon-touch-selector.c
2792 (hildon_touch_selector_get_active)
2793 (hildon_touch_selector_set_active): New methods to set/get the
2794 index of the selected item.
2796 * src/hildon-picker-button.h
2797 * src/hildon-picker-button.c
2798 (hildon_picker_button_get_active)
2799 (hildon_picker_button_set_active): New methods to set/get the
2800 index of the selected item.
2802 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2804 * configure.ac: post-release version bump.
2806 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2810 * configure.ac: Pre-release version bump.
2811 * debian/changelog: Updates.
2812 * debian/control: Add myself as maintainer and depend on l10n
2815 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-window.c
2818 (hildon_window_set_main_menu)
2819 * src/hildon-stackable-window.c
2820 (hildon_stackable_window_set_main_menu):
2821 Updated documentation.
2823 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2826 Don't free selector->priv manually.
2829 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2832 (hildon_gtk_window_set_progress_indicator):
2833 * src/hildon-gtk.h: Added the new API
2834 hildon_gtk_window_set_progress_indicator, it changes the state of
2835 the window progress hint.
2837 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-button.c
2840 * src/hildon-stackable-window.c: Minor documentation updates.
2842 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2844 * src/hildon-stackable-window.c: Updated documentation.
2846 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-defines.h: Update margins definitions
2849 to the Fremantle sizes.
2852 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2854 * src/hildon-touch-selector.c,
2855 (_hildon_touch_selector_set_model): Cleaning the code after
2856 review, removed g_print and #if 0 from the code.
2858 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-edit-toolbar.c: Update documentation.
2862 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-check-button.h
2865 * src/hildon-check-button.c
2866 (hildon_check_button_set_label, hildon_check_button_get_label)
2867 * examples/hildon-check-button-example.c
2868 (button_clicked_cb):
2869 Removed deprecated methods.
2871 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-text-view.c:
2874 Add sample code to the documentation.
2876 * src/hildon-entry.h
2877 * src/hildon-text-view.h:
2878 Minor cosmetic changes.
2880 * src/hildon-entry.c:
2881 Add sample code to the documentation.
2882 (hildon_entry_init, hildon_entry_refresh_contents):
2883 Don't allow NULL values in the placeholder.
2885 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2887 * doc/hildon-docs.sgml
2889 * examples/Makefile.am
2890 * examples/hildon-text-view-example.c
2892 * src/hildon-text-view.c
2893 * src/hildon-text-view.h
2895 New HildonTextView widget, with example.
2897 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2899 * po/POTFILES.in: Add missing files with translatable strings.
2900 Partially fixes NB#88287.
2902 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2904 * examples/hildon-pannable-area-example-2.c: (main): No need to
2905 set the cellrenderer height inside hildon touch lists, the theme does
2908 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2910 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2911 they are integrated in the theme.
2913 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2915 * examples/hildon-entry-example.c: Update the example adding
2916 widgets to modify the text and the placeholder of the HildonEntry.
2918 * src/hildon-entry.c: Show the placeholder everytime the widget
2919 is empty and loses the focus.
2921 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2923 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2925 * src/hildon-pannable-area.c,
2926 (hildon_pannable_area_size_request): Fixed bug in height
2927 requisition, avoid increasing size and add border twice.
2929 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2931 * configure.ac: postrelease version bump.
2933 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2937 * configure.ac: Prerelease version bump.
2938 * debian/changelog: update.
2939 * debian/rules: make -dbg package contain useful debugging symbols.
2941 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-dialog.h
2944 * src/hildon-dialog.c
2945 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2946 New methods to add buttons with finger size.
2947 (hildon_dialog_new_with_buttons):
2948 Create buttons with finger size.
2950 * examples/hildon-dialog-example.c (main): Use HildonDialog
2951 methods to add buttons.
2953 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-entry.c: Updated HildonButton documentation.
2957 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2960 button value label with (FALSE, FALSE) to prevent NB#88126 from
2963 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2965 * examples/hildon-pannable-area-example.c,
2966 (main): Removed examples panning a vbox inside a pannable
2967 area. Check bug NB#87965
2969 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2971 Patch contributed by Kris Rietveld (kris@imendio.com)
2973 * src/hildon-pannable-area.c,
2974 (hildon_pannable_area_get_topmost): replaced the get_geometry with
2975 get_size and get_position, this saves an X server roundtrip.
2977 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2979 * doc/hildon-docs.sgml
2981 * examples/Makefile.am
2982 * examples/hildon-entry-example.c
2984 * src/hildon-entry.c
2985 * src/hildon-entry.h
2987 New HildonEntry widget, with example.
2989 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-button.c (hildon_button_construct_child): Pack the
2992 image with expand == fill == FALSE. This is a workaround for a bug
2995 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
2997 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
2998 labels for the text column, to make it more look more dynamic.
3000 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3002 * src/hildon-time-selector.c
3003 Define gettext auxiliar macro N_
3004 (_create_minutes_model)
3005 (_create_hours_model)
3006 (_create_ampm_model): use of strftime in order to fill the model
3007 * src/hildon-date-selector.c
3008 (hildon_date_selector_finalize):
3009 (_locales_init): remove the logic related to get the name of the months
3010 using nl_langinfo, as it is not required anymore
3012 (_create_year_model)
3013 (_create_month_model)
3014 (_update_day_model): use of strftime in order to fill the model properly
3017 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3019 * src/hildon-button.h
3020 * src/hildon-button.c (hildon_button_get_image): New method to
3023 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-touch-selector.c:
3026 (hildon_touch_selector_remove_column): Remove from the correct parent
3027 and also remove the list element and free it.
3030 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3032 * src/hildon-time-selector.c
3033 (_create_hours_model): change the range on 12h ampm format in order to use
3034 a 12-11 range instead of previous 01-12 range
3035 (hildon_time_selector_set_time): change the way to select the current time
3036 on 12h ampm format, due the change on the range
3037 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3040 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3042 * src/hildon-touch-selector.c
3043 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3044 in order to allow use this function on multiple row selection mode if
3045 the column is different that the first one
3048 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3051 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3053 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3055 * src/hildon-date-selector.h: clean some comments, now on the .c
3056 * src/hildon-date-selector.c
3057 (hildon_date_selector_select_month): first implementation
3058 (hildon_date_selector_select_day): added documentation, reimplemented
3059 using hildon_date_selector_select_current_date to avoid repeat code
3062 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3064 Reviewed interaction logic based on device experiences, refactored
3067 * src/hildon-pannable-area.c,
3068 (hildon_pannable_area_class_init): Updated default vmax speed.
3069 (hildon_pannable_area_calculate_velocity): Added this function, it
3070 avoids duplicate valocity calculation. Adjusted calculation to
3071 avoid problems with zero dist events.
3073 (hildon_pannable_area_motion_notify_cb): Now we use the
3074 calculate_velocity function.
3076 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3078 * src/hildon-date-selector.c
3079 (hildon_date_selector_select_current_date): fix the day range check
3080 as it failed using the last day of the current month
3083 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3085 * src/hildon-touch-selector.c
3086 (hildon_touch_selector_get_num_columns): added a parameter validation
3089 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3091 * examples/Makefile.am
3092 * examples/hildon-edit-toolbar-example.c: Example of the
3093 HildonEditToolbar widget.
3095 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3097 * configure.ac: postrelease version bump.
3099 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3103 * configure.ac: prerelease version bump.
3104 * debian/changelog: update.
3106 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3108 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3109 renderer to display stock icons in the touch list. Also, set the sizes
3110 to the recommended in the style guide.
3112 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3113 * src/hildon-touch-selector.h
3114 (hildon_touch_selector_set_active_iter): renamed, now is
3115 hildon_touch_selector_select_iter
3116 (hildon_touch_selector_get_active_iter): renamed, now is
3117 hildon_touch_selector_get_selected
3118 (hildon_touch_selector_unselect_iter): added
3119 * src/hildon-touch-selector.c
3120 Update after API modification (methods renamed)
3121 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3122 order to avoid problems selecting multiple elements on the column
3123 (hildon_touch_selector_unselect_iter): added the implementation
3124 * src/hildon-time-selector.c
3125 * src/hildon-date-selector.c
3126 * src/hildon-touch-selector-entry.c
3127 Update methods calls after hildon-touch-selector.h API modification (methods
3130 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-stackable-window.c
3133 (hildon_stackable_window_finalize): Call the parent class's finalize.
3135 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3137 * examples/hildon-touch-selector-example.c: (create_selector): Use
3138 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3141 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3143 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3144 set a cell background color, to respect theming.
3146 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3148 * doc/hildon-docs.sgml
3151 * src/hildon-edit-toolbar.c
3152 * src/hildon-edit-toolbar.h
3153 * src/hildon.h: New HildonEditToolbar widget.
3155 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3157 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3160 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3161 * src/hildon-touch-selector.c
3162 (_create_new_column): use g_object_set instead of two g_object_set_property
3164 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3165 * src/hildon-touch-selector.c
3166 (_create_new_column): use of hildon_gtk_tree_view_new to create
3167 the treeview, instead of use directly g_object_new
3168 (_create_new_column): update the property name "vindicator-mode" for the
3169 new one "vscrollbar-policy"
3170 * examples/hildon-date-button-example.c
3171 * examples/hildon-picker-button-multicolumn-example.c
3172 * examples/hildon-touch-selector-entry-example.c
3173 * examples/hildon-touch-selector-example.c
3174 * examples/hildon-time-button-example.c
3175 * examples/hildon-picker-button-example.c
3176 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3177 to all the treeviews inside a pannable area.
3179 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3181 * src/hildon-button.h
3182 * src/hildon-button.c (hildon_button_init)
3183 (hildon_button_set_arrangement, hildon_button_set_alignment)
3184 (hildon_button_set_title_alignment)
3185 (hildon_button_set_value_alignment)
3186 (hildon_button_set_image_alignment)
3187 (hildon_button_construct_child): New methods to set the alignment
3188 of the individual components of the button (title, value,
3189 image). Also, new method to alter the xscale and yscale properties
3190 of the GtkAlignment inside the button, so more complex layouts can
3193 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-button.c (hildon_button_style_set)
3196 (hildon_button_class_init, hildon_button_set_arrangement)
3197 (hildon_button_construct_child): Apply style properties
3198 correctly. Use the 'image-spacing' style property too.
3200 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3203 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3206 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3208 * src/hildon-pannable-area.c,
3209 (hildon_pannable_area_size_request): Fixed problem with
3210 pannable-area size_request.
3212 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3214 Added management for the grab-focus to a child widget, like a
3215 range, we need to fade out the scrollbar when releasing.
3217 * src/hildon-pannable-area.c,
3218 (hildon_pannable_area_init): Connected the grab-focus signal to
3220 (hildon_pannable_area_grab_notify): Added this function in order
3221 to manage the situation when the grab-focus ends. We have to
3222 fade-out the scrollbar.
3224 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3226 * src/hildon-app-menu.c: Minor documentation update.
3228 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-app-menu.c
3231 * examples/hildon-app-menu-example.c (create_menu): Update
3232 examples and documentation to explain how to connect callbacks.
3234 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3236 * examples/hildon-button-example.c
3237 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3238 hildon_stackable_window_new instead of gtk_window_new
3240 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3242 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3243 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3244 (hildon_pannable_area_set_property),
3245 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3246 (hildon_pannable_area_unrealize),
3247 (hildon_pannable_area_size_request),
3248 (hildon_pannable_area_size_allocate),
3249 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3250 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3251 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3252 (hildon_pannable_area_initial_effect),
3253 (hildon_pannable_area_redraw),
3254 (hildon_pannable_area_scroll_indicator_fade),
3255 (hildon_pannable_area_expose_event),
3256 (hildon_pannable_area_get_topmost), (synth_crossing),
3257 (hildon_pannable_area_button_press_cb),
3258 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3259 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3260 (hildon_pannable_area_motion_notify_cb),
3261 (hildon_pannable_area_button_release_cb),
3262 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3263 (hildon_pannable_area_remove),
3264 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3265 chage the code layout to a more GtkWidget like. Review the use of
3268 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3270 * examples/hildon-pannable-area-example-4.c,
3271 (main): Modified the name of the hindicator_mode to
3274 * src/hildon-pannable-area.c,
3275 (hildon_pannable_area_class_init),
3276 (hildon_pannable_area_motion_notify_cb),
3277 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3278 we have reduced the amount of signals and managed reviewed its
3279 rationale. Changed the default decelerate value.
3281 (hildon_pannable_area_add),
3282 (hildon_pannable_area_redraw): Refactored functions.
3284 (hildon_pannable_area_init),
3285 (hildon_pannable_area_get_property),
3286 (hildon_pannable_area_set_property):
3287 (hildon_pannable_draw_vscroll),
3288 (hildon_pannable_draw_hscroll),
3289 (hildon_pannable_area_initial_effect),
3290 (hildon_pannable_area_expose_event),
3291 (hildon_pannable_area_scroll),
3292 (hildon_pannable_area_button_press_cb),
3293 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3294 and vindicator_mode with hscrollbar_policy and
3295 vscrollbar_policy. Replaced hscroll and vscroll with
3296 hscroll_visible and vscroll_visible.
3298 (hildon_pannable_area_refresh): Refactor the function, remove
3299 variables and check the calls to this function, added resize
3300 conditions in case the children change their layout.
3302 (hildon_pannable_area_size_request): Added more detailed
3303 size_request calculation.
3306 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3308 * src/hildon-color-chooser.c
3309 (init_borders): use the correct gtk_border_free instead of g_free, to
3310 avoid a crash when this widget is used (ie: the three color selection
3313 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3315 * src/hildon-check-button.c,
3316 (hildon_check_button_set_active): Fixed problem when setting the
3317 active value, the widget was not redrawn.
3319 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3321 * src/hildon-pannable-area.c,
3322 (hildon_pannable_area_refresh),
3323 (hildon_pannable_area_scroll),
3324 (hildon_pannable_area_motion_notify_cb): Small code style change.
3326 (hildon_pannable_area_class_init): Default initial_hint set to
3327 FALSE, it is not in the specs.
3329 (hildon_pannable_area_initial_effect),
3330 (hildon_pannable_area_expose_event),
3331 (hildon_pannable_area_map),
3332 (hildon_pannable_area_init): Moved the launching point of the
3333 initial effect, it was in map but the sizes where not correct in
3334 that method so we do not know if we have the reproduce it. Now it
3335 is placed in the expose_event method and uses a variable to
3336 reproduce it just once.
3338 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3340 * src/hildon-pannable-area.c,
3341 (hildon_pannable_draw_vscroll),
3342 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3343 position allowed for the scrollbars.
3345 (hildon_pannable_area_size_allocate): Small style change.
3347 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3349 * src/hildon-pannable-area.c,
3350 (hildon_pannable_area_scroll_indicator_fade),
3351 (hildon_pannable_area_button_press_cb),
3352 (hildon_pannable_area_button_release_cb),
3353 (hildon_pannable_area_scroll_cb),
3354 (hildon_pannable_area_expose_event),
3355 (hildon_pannable_area_init): Added the define parameter
3356 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3357 and refactor the fade variable.
3359 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3361 * src/hildon-pannable-area.c,
3362 (hildon_pannable_area_redraw),
3363 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3364 lines, we were reimplemeting the redraw code.
3366 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3368 * src/hildon-pannable-area.c,
3369 (hildon_pannable_area_scroll_cb),
3370 (hildon_pannable_area_realize),
3371 (hildon_pannable_area_class_init): Added scroll_event management
3372 for pannable area, now we can scroll the usual desktop method.
3374 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3375 initialization of the parameters should depend on idle_id.
3377 (hildon_pannable_area_init),
3378 (hildon_pannable_area_map): Small code style modifications
3380 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3382 * src/hildon-pannable-area.c
3383 (hildon_pannable_area_button_press_cb),
3384 (hildon_pannable_area_motion_notify_cb),
3385 (hildon_pannable_area_button_release_cb),
3386 (hildon_pannable_area_size_allocate),
3387 (hildon_pannable_area_scroll_to): Improved the timeouts
3388 management, we avoid creating them each time.
3390 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3392 * src/hildon-pannable-area.c:
3393 (hildon_pannable_area_refresh),
3394 (hildon_pannable_area_motion_notify_cb),
3395 (hildon_pannable_area_class_init):
3396 * src/hildon-pannable-area.h:
3397 * src/hildon-touch-selector.c
3398 (_create_new_column):
3399 * examples/hildon-pannable-area-example-4.c:
3400 (horizontal_movement),
3401 (vertical_movement),
3403 Replaced the names of enums in the HildonPannableArea:
3404 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3405 HILDON_MOVEMENT_MODE_*
3406 - HILDON_PANNABLE_AREA_MOV_* ->
3408 - Removed HildonPannableAreaIndicatorMode, now we
3411 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3413 * examples/hildon-pannable-area-touch-grid-example.c
3414 * examples/hildon-pannable-area-touch-list-example.c: Fix
3415 compilation warnings.
3417 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-gtk.c (hildon_gtk_button_new)
3420 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3421 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3422 images overriding the value of the "gtk-button-images" setting.
3424 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-check-button.c (hildon_check_button_new):
3427 Instead of using a custom container, display the label and the
3428 checkbox using the standard GtkButton API.
3430 * examples/hildon-check-button-example.c (main): Don't use
3431 hildon_check_button_set_label() anymore
3433 * src/hildon-check-button.h
3434 * src/hildon-check-button.c
3435 (hildon_check_button_set_label, hildon_check_button_get_label):
3436 Set as deprecated, now we're using gtk_button_{get,set}_label()
3438 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3440 * src/hildon-pannable-area.c,
3441 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3442 GtkTreeview first line we detected it after the inclusion of the
3443 GtkWindowImpl in gtk+. We now check if the window is visible, not
3444 just if the pointer is over the window.
3445 (hildon_pannable_axis_scroll),
3446 (hildon_pannable_area_expose_event): Small style changes.
3448 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-button.c: Update documentation.
3452 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3454 * examples/hildon-button-example.c: Add a switch to show images in
3457 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3459 * doc/hildon-docs.sgml: Some docs reorganization.
3461 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3463 * examples/hildon-pannable-area-touch-list-example.c
3465 * examples/hildon-pannable-area-touch-grid-example.c
3466 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3467 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3468 Fix memory leak when setting the tree model.
3470 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3474 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3476 * doc/hildon.types: Remove duplicated hildon_window_get_type
3477 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3478 documentation comment.
3480 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3482 * doc/Makefile.am: Complete list of private headers.
3484 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3486 * doc/hildon-docs.sgml
3487 * src/hildon-app-menu.c
3488 * src/hildon-bread-crumb.c
3489 * src/hildon-button.c
3491 * src/hildon-program.c
3492 * src/hildon-stackable-window.c
3493 * src/hildon-window.c: Lots of documentation updates.
3495 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3497 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3499 * configure.ac: Require Gtk+ 2.12.9 at least
3501 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c
3504 (hildon_pannable_area_scroll_indicator_fade),
3505 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3506 to protect the return of this timeout callbacks, avoiding deadlocks.
3508 2008-08-12 Christian Dywan <christian@imendio.com>
3511 * src/hildon-*.h: Ensure a consistent include order,
3512 include <gtk/gtk.h> instead of particular files and
3513 only include the topmost header in the gtk stack. See NB #39857
3515 2008-08-12 Christian Dywan <christian@imendio.com>
3517 * src/hildon-picker-dialog.c
3518 * src/hildon-touch-selector.c: Fix warnings about unused and
3519 uninitialized variables.
3521 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3523 * examples/Makefile.am
3524 * examples/hildon-check-button-example.c: Example of the hildon
3527 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3529 * src/hildon-window.h
3530 * src/hildon-window.c (hildon_window_class_init)
3531 (hildon_window_unset_program): Don't make
3532 hildon_window_unset_program a virtual function anymore.
3534 * src/hildon-stackable-window.c: Update documentation
3536 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3539 * doc/hildon-docs.sgml
3540 * doc/visual_index.xml
3541 * src/hildon-defines.c
3543 * src/hildon-helper.c
3544 * src/hildon-range-editor.c: Lots of documentation fixes.
3546 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3548 * examples/hildon-picker-button-multicolumn-example.c
3549 (create_touch_selector): Fix compilation warning.
3551 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3553 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3554 (hildon_pannable_area_button_release_cb)
3555 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3557 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3562 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3564 * src/hildon-bread-crumb-trail.h
3565 * src/hildon-date-editor.c
3566 * src/hildon-date-selector.c
3567 * src/hildon-pannable-area.c
3568 * src/hildon-picker-dialog.c
3569 * src/hildon-time-selector.c
3570 * src/hildon-touch-selector-entry.c
3571 * src/hildon-touch-selector.c
3572 * src/hildon-touch-selector.h: Misc documentation fixes
3574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3576 * examples/hildon-date-editor-example.c (main): Updated date
3579 * examples/hildon-note-example.c (on_confirmation_clicked):
3580 Updated confirmation note example.
3582 * src/hildon-date-editor.c
3583 * src/hildon-note.c: Updated sample programs in documentation.
3586 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3588 * src/hildon-date-button.h:
3589 * src/hildon-picker-button.h:
3590 * src/hildon-time-button.c:
3591 * src/hildon-time-button.h:
3593 Some declarations changes to allow gtk-doc to document the widgets
3596 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-date-button.c: Document the widget.
3599 * src/hildon-time-button.c: Document the widget.
3601 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-picker-button.c: Document the widget.
3604 * src/hildon-touch-selector-entry.c: Document the widget.
3606 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3608 * doc/hildon-docs.sgml
3611 * src/hildon-check-button.h
3612 * src/hildon-check-button.c: New functions to create the Hildon
3616 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3618 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3620 * src/hildon-button.h
3621 * src/hildon-button.c
3622 (hildon_button_add_title_size_group)
3623 (hildon_button_add_value_size_group)
3624 (hildon_button_add_image_size_group)
3625 (hildon_button_add_size_groups): New functions to set size groups
3626 for the button labels and image.
3627 (hildon_button_new_full): Removed
3629 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3631 * src/hildon-time-selector.c
3632 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3633 in order to avoid a crash if gconf is not available
3635 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3637 * src/hildon-button.c (hildon_button_set_arrangement)
3638 (hildon_button_construct_child): Don't construct the button child
3639 before setting the arrangement.
3641 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-program-private.h
3644 * src/hildon-program.c
3645 * src/hildon-program.h
3646 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3647 (hildon_program_peek_window_stack)
3648 (hildon_program_pop_window_stack)
3649 (hildon_program_go_to_root_window): HildonProgram now has a
3650 separate list for stackable windows. Functions are provided to
3651 manage that list with a stack-like API.
3653 * src/hildon-stackable-window.c: Stackable window management is
3654 now much simpler with the new HildonProgram API. Windows no
3655 longer need to be manually added to the program, they're
3656 automatically pushed to the top of the stack when shown.
3658 * examples/hildon-stackable-window-example.c: Updated example to
3659 reflect the API changes.
3661 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-touch-selector.c: Comment out unimplemented
3664 hildon_touch_selector_insert_column() to avoid a compile warning.
3666 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3668 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3669 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3670 (hildon_touch_selector_set_column_selection_mode),
3671 (_hildon_touch_selector_set_model),
3672 (hildon_touch_selector_set_model):
3674 Complete review of HildonTouchSelector documentation.
3676 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3678 * doc/hildon-docs.sgml
3682 * src/hildon-gtk.c: Convenience functions for standard Gtk
3683 widgets, used to easily perform frequent operations.
3685 * src/hildon-button-helpers.h
3686 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3688 * src/hildon-helper.h
3689 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3690 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3692 * src/hildon-button.h
3693 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3695 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-button.c (hildon_button_init)
3698 (hildon_button_set_arrangement, hildon_button_construct_child):
3699 Pack the image and the labels inside the same GtkAlignment so
3700 gtk_button_set_alignment() can be used
3702 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-button.h
3705 * src/hildon-button.c
3706 (hildon_button_init, hildon_button_set_image)
3707 (hildon_button_set_image_position)
3708 (hildon_button_construct_child): New functions to add an image to
3711 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-date-button.c
3714 * src/hildon-picker-button.c
3715 * src/hildon-time-button.c
3716 * src/hildon-button.c:
3717 (hildon_button_class_init): "size-flags" renamed to "size"
3718 (hildon_button_set_title): Hide the title label if set to NULL.
3720 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3722 HildonButtonFlags split into HildonButtonArrangement (to set the
3723 button layout) and HildonSizeType (which can be used for any
3726 * src/hildon-button.h
3727 * src/hildon-button.c
3728 (hildon_button_class_init)
3729 (hildon_button_set_arrangement)
3730 (hildon_button_set_property): New "size-flags"
3731 property. "arrangement-flags" renamed to "arrangement".
3732 (hildon_button_new, hildon_button_new_with_text)
3733 (hildon_button_new_full): Constructors updated to reflect type changes.
3735 * src/hildon-helper.h
3736 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3737 to set the size of a widget.
3741 * src/hildon-button-helpers.c
3742 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3744 * src/hildon-date-button.c
3745 * src/hildon-date-button.h
3746 * src/hildon-picker-button.c
3747 * src/hildon-picker-button.h
3748 * src/hildon-time-button.c
3749 * src/hildon-time-button.h: Updated widgets to reflect
3750 HildonButton API changes.
3752 * examples/hildon-button-example.c
3753 * examples/hildon-date-button-example.c
3754 * examples/hildon-picker-button-example.c
3755 * examples/hildon-picker-button-multicolumn-example.c
3756 * examples/hildon-time-button-example.c
3757 * examples/hildon-touch-selector-entry-example.c
3758 * examples/hildon-touch-selector-example.c: Updated examples to
3759 reflect HildonButton API changes.
3761 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3763 * doc/hildon-docs.sgml:
3765 * examples/Makefile.am:
3766 * examples/hildon-touch-selector-entry-example.c:
3768 * src/hildon-touch-selector-entry.c:
3769 * src/hildon-touch-selector-entry.h:
3772 Moved HildonTouchSelectorEntry from sandbox. Added its
3773 documentation and examples.
3775 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-touch-selector.h:
3778 * examples/hildon-picker-button-multicolumn-example.c:
3779 (hildon_touch_selector_append_text_column): Add a gboolean
3780 parameter to determine if text must be centered in the column.
3782 * src/hildon-date-selector.c: (hildon_date_selector_init):
3783 * src/hildon-time-selector.c: (hildon_time_selector_init):
3784 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3785 (create_touch_selector): Update widgets and example to reflect
3788 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-touch-selector.c:
3791 (hildon_touch_selector_set_active_iter): Set also the cursor in
3794 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3796 * doc/hildon-docs.sgml
3799 * src/hildon-toggle-button.c
3800 * src/hildon-toggle-button.h
3801 * src/hildon.h: Removed HildonToggleButton widget, a derived
3802 class is not necessary for this.
3804 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3806 * src/hildon-pannable-area.c,
3807 (hildon_pannable_area_realize),
3808 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3811 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3814 "done" button the default widget for the dialog.
3816 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3818 * src/hildon-touch-selector.c:
3819 (hildon_touch_selector_class_init),
3820 (hildon_touch_selector_get_property),
3821 (_hildon_touch_selector_set_model),
3822 (_hildon_touch_selector_has_multiple_selection),
3823 (hildon_touch_selector_has_multiple_selection):
3824 Add a "has-multiple-selection" property with a virtual
3825 has_multiple_selection() method to allow derived classes to
3826 override the default value for it. See the method and property
3827 documentation for details.
3829 * src/hildon-touch-selector.h: Add the new API.
3831 * src/hildon-picker-dialog.c: (requires_done_button): Call
3832 hildon_touch_selector_has_multiple_selection() instead of
3833 determining the need for a button itself.
3835 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3838 (_hildon_touch_selector_set_model),
3839 (hildon_touch_selector_set_model): Move working code to
3840 _hildon_touch_selector_set_mode(). Call the class method instead.
3842 * src/hildon-touch-selector.h: Add (*set_model) to
3843 HildonTouchSelectorClass.
3845 Make hildon_touch_selector_set_model() a virtual method, so that
3846 derived classes can extend it and do fancy stuff with the model.
3848 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3850 * configure.ac: Set back the tarname in AC_INIT to hildon.
3852 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3856 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3857 instead of libesd (NB#86876). Volume handling is still an open issue.
3859 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3862 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3865 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3866 derived class to ease placement of an entry widget in
3867 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3868 end, where the selector columns are packed now.
3870 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-picker-button.c: Removed the simple _text() API.
3873 * src/hildon-picker-button.h: Likewise.
3875 * src/hildon-touch-selector.h:
3876 * src/hildon-touch-selector.c:
3877 (hildon_touch_selector_new_text),
3878 (hildon_touch_selector_append_text),
3879 (hildon_touch_selector_prepend_text),
3880 (hildon_touch_selector_insert_text):
3882 Moved the simple _text() API from HildonPickerButton to
3883 HildonTouchPicker, to provide better escalability and not to tie
3884 that API to HildonPickerButton.
3886 * examples/hildon-picker-button-example.c: (main): Example updated.
3888 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3890 * src/hildon-button.c: Updated documentation.
3892 * examples/hildon-button-example.c: Add the posibility to create
3893 the buttons using horizontal layout for title and value.
3895 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-app-menu-private.h
3898 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3899 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3900 GtkSizeGroup for the filters, use the 'homogeneous' property of
3903 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3905 * examples/hildon-button-example.c: Updated example.
3907 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3909 * doc/hildon-docs.sgml:
3912 Update documentation.
3914 * examples/Makefile.am: Update renamed examples.
3916 * examples/hildon-picker-button-multicolumn-example.c:
3917 (create_touch_selector), (main): Update after the rename.
3919 * examples/hildon-touch-picker-example.c: Removed.
3920 * examples/hildon-touch-selector-example.c: (value_changed),
3921 (create_selector), (get_visible_content), (main): Renamed from
3922 hildon-touch-picker-example.c
3924 * src/Makefile.am: Updated renamed files.
3926 * src/hildon-date-button.c: (hildon_date_button_init),
3927 (hildon_date_button_get_date), (hildon_date_button_set_date):
3928 * src/hildon-date-selector.c: (hildon_date_selector_init),
3929 (_custom_print_func), (_update_day_model),
3930 (_manage_selector_change_cb),
3931 (hildon_date_selector_select_current_date),
3932 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3933 * src/hildon-date-selector.h:
3934 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3935 (hildon_picker_button_set_property),
3936 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3937 (hildon_picker_button_init), (hildon_picker_button_new_text),
3938 (hildon_picker_button_append_text),
3939 (hildon_picker_button_prepend_text),
3940 (hildon_picker_button_insert_text),
3941 (hildon_picker_button_set_selector),
3942 (hildon_picker_button_get_selector):
3943 * src/hildon-picker-button.h:
3944 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3945 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3946 (_update_title_on_selector_changed_cb), (requires_done_button),
3947 (_hildon_picker_dialog_set_selector),
3948 (hildon_picker_dialog_set_selector),
3949 (hildon_picker_dialog_get_selector):
3950 * src/hildon-picker-dialog.h:
3951 * src/hildon-time-button.c: (hildon_time_button_init),
3952 (hildon_time_button_get_time), (hildon_time_button_set_time):
3953 * src/hildon-time-selector.c: (hildon_time_selector_init),
3954 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3955 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3956 * src/hildon-time-selector.h:
3959 Massive code updates after the rename.
3961 * src/hildon-touch-picker.c: Removed.
3962 * src/hildon-touch-picker.h: Removed.
3964 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3965 (hildon_touch_selector_init), (hildon_touch_selector_map),
3966 (hildon_touch_selector_remove), (_default_print_func),
3967 (_selection_changed_cb), (_create_new_column),
3968 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3969 (hildon_touch_selector_append_text_column),
3970 (hildon_touch_selector_remove_column),
3971 (hildon_touch_selector_set_column_attributes),
3972 (hildon_touch_selector_insert_column),
3973 (hildon_touch_selector_get_num_columns),
3974 (hildon_touch_selector_get_column_selection_mode),
3975 (hildon_touch_selector_set_column_selection_mode),
3976 (hildon_touch_selector_set_print_func),
3977 (hildon_touch_selector_get_print_func),
3978 (hildon_touch_selector_get_active_iter),
3979 (hildon_touch_selector_set_active_iter),
3980 (hildon_touch_selector_get_selected_rows),
3981 (hildon_touch_selector_get_model),
3982 (hildon_touch_selector_set_model),
3983 (hildon_touch_selector_get_current_text),
3984 (_hildon_touch_selector_center_on_selected_items):
3985 * src/hildon-touch-selector.h: Renamed from
3986 hildon-touch-picker.[ch]
3988 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
3989 references, code examples, and related documentation.
3991 2008-07-30 Alberto Garcia <agarcia@igalia.com>
3993 * doc/hildon-docs.sgml
3996 * src/hildon-toggle-button.c
3997 * src/hildon-toggle-button.h
3998 * src/hildon.h: New HildonToggleButton widget.
4000 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-button.c: Add API documentation.
4003 (hildon_button_set_size_groups): Check input parameters
4005 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4007 * src/hildon-pannable-area.c
4008 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4009 effect after reaching the movement thredshold. This way we start
4010 using the distance after passing the thredshold.
4012 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-button.c: (hildon_button_set_property): Use the
4015 appropriate g_value_get_flags() method.
4017 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4019 * doc/hildon-docs.sgml:
4022 Add the touch pickers, picker dialogs, and picker button widgets
4023 to the documentation.
4025 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-button.c: (hildon_button_set_property),
4028 (hildon_button_class_init): Make "arrangement-flags" a proper
4029 G_TYPE_FLAGS derived property.
4031 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4033 * examples/Makefile.am: Add below examples.
4034 * examples/hildon-date-button-example.c:
4035 * examples/hildon-picker-button-example.c:
4036 * examples/hildon-picker-button-multicolumn-example.c:
4037 * examples/hildon-time-button-example.c:
4038 * examples/hildon-touch-picker-example.c:
4040 Add examples for the recently added touch pickers,
4041 picker dialogs, and picker button widgets.
4043 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4045 * src/hildon-button.c: Add some API documentation
4047 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4049 * src/hildon-button.h
4050 * src/hildon-button.c
4052 (hildon_button_new_with_text): New constructor to create a button
4053 with no text at all.
4054 (hildon_button_init, hildon_button_set_arrangement)
4055 (hildon_button_set_title, hildon_button_set_value)
4056 (hildon_button_set_text)
4057 (hildon_button_construct_child): Hide the value when it's not used
4058 so the rest of the text is properly aligned.
4059 Allow creating buttons with arbitrary widgets inside (not just
4060 title/value labels).
4062 * examples/hildon-button-example.c (vertical_buttons_window)
4063 (horizontal_buttons_window): Update example to use new API.
4065 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/Makefile.am: Added HildonTimeButton.
4068 * src/hildon-time-button.c: Added missing LGPL header.
4069 * src/hildon-time-button.h: Added missing LGPL header.
4070 * src/hildon.h: Add hildon-time-button.h
4072 Copied HildonTimeButton from sandbox to trunk. Future work on this
4073 widget must take place in trunk.
4075 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4077 * src/Makefile.am: Added HildonDateButton.
4078 * src/hildon-date-button.c: Update includes.
4079 * src/hildon.h: Add hildon-date-button.h
4081 Copied HildonDateButton from sandbox to trunk. Future work on this
4082 widget must take place in trunk.
4084 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/Makefile.am: Added HildonPickerButton.
4087 * src/hildon-picker-button.h: Update includes.
4088 * src/hildon.h: Add hildon-picker-button.h
4090 Copied HildonPickerButton from sandbox to trunk. Future work on
4091 this widget must take place in trunk.
4093 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4095 * src/Makefile.am: Added HildonPickerDialog.
4096 * src/hildon-picker-dialog.c: Update includes.
4097 * src/hildon.h: Add hildon-picker-dialog.h
4099 Copied HildonPickerDialog from sandbox to trunk. Future work
4100 on this widget must take place in trunk.
4102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/Makefile.am: Added HildonTimeSelector.
4105 * src/hildon.h: Add hildon-time-selector.h
4107 Copied HildonTimeSelector widget from sandbox to trunk. Future
4108 work on this widget must happen in trunk.
4110 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/Makefile.am: Added HildonDateSelector.
4113 * src/hildon.h: Add hildon-date-selector.h
4115 Copied HildonDateSelector widget from sandbox to trunk. Future
4116 work on this widget must happen in trunk.
4118 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/Makefile.am: Added HildonTouchPicker.
4121 * src/hildon-touch-picker.c: Update includes.
4122 * src/hildon.h: Add hildon-touch-picker.h
4124 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4125 on this widget must happen in trunk.
4127 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4129 * src/hildon-pannable-area.c:
4130 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4132 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4134 * examples/hildon-app-menu-example.c (main): Let the window
4137 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4139 * src/hildon-pannable-area.c
4140 (hildon_pannable_area_class_init): Set the min value of the
4141 overshoot properties to zero, which points out that not
4142 overshooting allowed.
4144 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4146 Modified the procedure to get the widget at a point inside the
4147 pannable area when using the movement type signals. Now the user
4148 has to call a function to get the child, that way we just
4149 calculate the child in case the user really want to use it and not
4152 * src/hildon-marshalers.list: Modified the marshallers, now we do
4153 not have the widget as a parameter.
4155 * src/hildon-pannable-area.c
4156 (hildon_pannable_area_motion_notify_cb),
4157 (hildon_pannable_area_class_init),
4158 (hildon_pannable_get_child_widget_at): Removed the widget
4159 parameter from the signal callback. We have also refactored the
4160 emission of the signals.
4162 * src/hildon-pannable-area.h: Added a new method to the API to
4163 calculate a widget at a point inside the pannable area,
4164 hildon_pannable_get_child_widget_at.
4166 * examples/hildon-pannable-area-example-4.c
4167 (horizontal_movement): Modified the example to use the new API,
4168 added condition to control which widget is under the event. This
4169 way we can avoid scrolling laterally over other widgets.
4171 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4173 * src/hildon-pannable-area.c
4174 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4175 modes, we stop getting the pointer events due to returning the
4176 callback without properly calling the get pointer again. Fixed
4177 also an error using the hscroll and vscroll.
4179 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-app-menu-private.h
4182 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4183 (hildon_app_menu_button_release, hildon_app_menu_init)
4184 (hildon_app_menu_class_init): Don't hide the menu on button
4185 release if the user didn't press outside first.
4187 * src/hildon-window.h
4188 * src/hildon-window.c (hildon_window_toggle_menu)
4189 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4190 hildon_window_toggle_menu a virtual function for the stackable
4191 window to override it.
4193 * src/hildon-stackable-window.h
4194 * src/hildon-stackable-window-private.h
4195 * src/hildon-stackable-window.c
4196 (hildon_stackable_window_realize)
4197 (hildon_stackable_window_finalize)
4198 (hildon_stackable_window_class_init)
4199 (hildon_stackable_window_init)
4200 (hildon_stackable_window_set_main_menu): New function to set the
4201 app menu of a HildonStackableWindow.
4203 * examples/hildon-app-menu-example.c: Remove the button to show
4204 the app menu, now it'll be shown when clicking on the title bar
4207 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4210 set the widget name if the arrangement flags do not specify
4213 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-button.c: (hildon_button_set_property),
4216 (hildon_button_class_init), (hildon_button_new_full),
4217 (hildon_button_set_arrangement): Added "arrangement-flags"
4220 Make the HildonButtonFlags a construction-only property, to allow
4221 subclasses to set them properly.
4223 2008-07-21 Tim Janik <timj@imendio.com>
4225 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4226 insertion position after backspace, so additional digits are appended,
4229 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4231 * src/hildon-pannable-area.c,
4232 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4233 TODO list, it was complete and removed the g_debug and g_print
4236 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4238 Added the movement modes to the hildon-pannable-area, with this
4239 modes the developers can control in which directions the widget
4240 can scroll. They can also connect to signals in order to do
4241 something when that happens, allowing applications scroll. There
4242 is an example uploaded showing how to use it.
4244 * examples/Makefile.am:
4245 * examples/hildon-pannable-area-example-4.c: Added this example of
4246 an application using the modes.
4248 * src/hildon-marshalers.list: Added a new marshaller for the new
4251 * src/hildon-pannable-area.h: Added new enumerations and flags in
4252 order to control the movement modes and the new signals to warn
4253 about the movements in the area.
4255 * src/hildon-pannable-area.c:
4256 (hildon_pannable_axis_scroll),
4257 (hildon_pannable_area_scroll),
4258 (hildon_pannable_area_motion_notify_cb),
4259 (hildon_pannable_area_get_property),
4260 (hildon_pannable_area_set_property),
4261 (hildon_pannable_area_map),
4262 (hildon_pannable_area_class_init),
4263 (hildon_pannable_area_init),
4264 (hildon_pannable_area_jump_to): Added the modes to control the
4265 movement in the widget. We have added properties to control it,
4266 signals to warn about the movements and refactored some code.
4268 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4270 Changes required in order to allow vfast_factor set to zero to
4273 * src/hildon-pannable-area.c:
4274 (hildon_pannable_area_button_press_cb): Changed the condition, it
4275 is required for not allowing click when vfast_factor is zero.
4276 (hildon_pannable_area_timeout): Initialized velocity variables
4277 when we stop moving, it was less than 1 but not zero and we need
4278 to check zero in some situations.
4279 (hildon_pannable_area_class_init): Changed the default value of
4280 the speed factor, now the button_press is just sent in case the
4281 speed is 2 per cent of the max speed.
4282 (hildon_pannable_area_init): Initialization with 0.
4284 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4286 * src/hildon-pannable-area.c,
4287 (hildon_pannable_area_get_topmost): replaced
4288 gdk_window_get_children with gdk_window_peek_children, this way we
4289 do not have to free the list because it is not a copy.
4291 (hildon_pannable_axis_scroll),
4292 (hildon_pannable_area_scroll),
4293 (hildon_pannable_area_timeout),
4294 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4295 two parameters that were only used inside the
4296 hildon_pannable_area_scroll function.
4298 * examples/hildon-pannable-area-example.c,
4299 (get_sawtooth_label): Fixed small memory leak.
4301 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4303 More checks for the case where the overshoot is bigger than the
4306 * src/hildon-pannable-area.c:
4307 (hildon_pannable_draw_vscroll),
4308 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4309 to draw the slider of the scrollbar under the other scrollbar.
4310 (hildon_pannable_area_expose_event): added new checks to control
4311 the drawing of the overshooting area rectangle, in case it is too
4312 big for the area of the widget.
4313 (hildon_pannable_area_size_allocate): add more checks to avoid
4314 setting a position to the child widget outside the area.
4316 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4318 * src/hildon-pannable-area.c
4319 (hildon_pannable_area_size_allocate): Added conditions to control
4320 when overshooting is bigger than the allocated space for the
4321 children, this avoids negative allocations.
4323 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4325 * doc/hildon-docs.sgml
4327 * examples/Makefile.am
4328 * examples/hildon-button-example.c
4330 * src/hildon-button.c
4331 * src/hildon-button.h
4332 * src/hildon.h: Initial version of the new HildonButton widget,
4335 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-pannable-area.c:
4338 (hildon_pannable_area_button_press_cb),
4339 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4340 (hildon_pannable_area_motion_notify_cb),
4341 (hildon_pannable_area_button_release_cb),
4342 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4343 (hildon_pannable_area_jump_to_child):
4345 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4347 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4349 * examples/Makefile.am
4350 * examples/hildon-pannable-area-touch-grid-example.c
4351 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4352 the Hildon Touch List and Hildon Touch Grid using the
4353 HildonPannableArea widget.
4355 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4357 * src/hildon-pannable-area.c,
4358 (hildon_pannable_area_button_press_cb),
4359 (hildon_pannable_area_refresh),
4360 (hildon_pannable_area_scroll),
4361 (hildon_pannable_area_motion_notify_cb),
4362 (hildon_pannable_area_button_release_cb),
4363 (hildon_pannable_area_expose_event),
4364 (hildon_pannable_area_add),
4365 (hildon_pannable_area_remove),
4366 (hildon_pannable_area_realize),
4367 (hildon_pannable_area_size_allocate),
4368 (hildon_pannable_area_class_init),
4369 (hildon_pannable_area_init),
4370 (hildon_pannable_area_scroll_to_child),
4371 (hildon_pannable_area_jump_to_child): Fixed the problem of
4372 removing the child from the GtkBin, we have rearranged the widget
4373 hierarchy, now there is no GtkAlignment which was not doing
4374 anything interesting but breaking some of the assumptions of
4375 GtkContainer. Now developers if they want to add a GtkAlignment
4376 they could, but it is not inside the area.
4378 We had to review the whole allocation/expose process, now it is
4379 improved and we save at least three signals which would be saving
4380 some time when rendering the widget. The allocation of the
4381 scrollbars is now made in the allocate method as usual.
4383 We have also added some conditions in order to control when there
4384 is no child of the pannable area. Maybe we will need more work
4387 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4389 * src/hildon-pannable-area.c,
4390 (hildon_pannable_area_dispose): Released the fade-out timeout when
4391 disposing the widget.
4393 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4395 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4396 zero, we are going to use that property in order to deactivate the
4398 (hildon_pannable_axis_scroll),
4399 (hildon_pannable_area_size_allocate): Added conditions to control
4400 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4401 call, now it is called in all situations and we can remove calls
4402 in the allocate method.
4403 (hildon_pannable_area_map): Control the situation when
4404 overshoot_max is zero, we do not need the timeout.
4405 (hildon_pannable_area_class_init): Added documentation in order to
4406 point out that setting zero to overshoot_max means deactivate
4409 NOTE: removed trailing whitespaces from my previous comments of
4412 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-pannable-area.c
4415 (hildon_pannable_area_get_property),
4416 (hildon_pannable_area_set_property),
4417 (hildon_pannable_area_map),
4418 (hildon_pannable_area_class_init),
4419 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4420 to cause the widget give a hint about its panning abilities upon
4423 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4425 * src/hildon-pannable-area.c: Several documentation improvements.
4427 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-program.c
4430 * src/hildon-stackable-window.c: Update documentation.
4432 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4434 * src/hildon-stackable-window.c (get_previous_window_if_last):
4435 Renamed get_last_window()
4436 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4437 (hildon_stackable_window_unset_program):
4439 (get_previous_window_if_last):
4440 Detect if the window hasn't been added to a HildonProgram.
4442 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4444 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4446 * src/hildon-pannable-area.c
4447 (hildon_pannable_area_button_press_cb),
4448 (hildon_pannable_axis_scroll),
4449 (hildon_pannable_area_scroll),
4450 (hildon_pannable_area_timeout),
4451 (hildon_pannable_calculate_vel_factor),
4452 (hildon_pannable_area_get_property),
4453 (hildon_pannable_area_set_property),
4454 (hildon_pannable_area_class_init),
4455 (hildon_pannable_area_init),
4456 (hildon_pannable_area_scroll_to),
4457 (hildon_pannable_area_jump_to),
4458 (hildon_pannable_area_scroll_to_child),
4459 (hildon_pannable_area_jump_to_child):
4460 * src/hildon-pannable-area.h: Added the new API functions:
4461 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4462 hildon_pannable_area_scroll_to_child,
4463 hildon_pannable_area_jump_to_child
4466 * examples/Makefile.am
4467 * examples/hildon-pannable-area-example-2.c
4468 * examples/hildon-pannable-area-example-3.c: Added these two new
4469 examples in order to test and show how the new APIs work.
4471 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4473 * examples/hildon-stackable-window-example.c (new_window):
4474 * src/Makefile.am (noinst_HEADERS):
4475 * src/hildon-program.c (hildon_program_go_to_root_window):
4476 * src/hildon-program.h:
4477 * src/hildon-stackable-window-private.h:
4478 * src/hildon-stackable-window.c:
4479 * src/hildon-stackable-window.h:
4480 Create hildon-stackable-window-private.h
4481 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4483 * examples/hildon-app-menu-example.c (create_menu):
4484 * examples/hildon-hvolumebar-insensitive-example.c (main):
4485 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4486 * examples/hildon-toolbar-seekbar-example.c (main):
4487 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4488 * src/hildon-banner.c (hildon_banner_set_property):
4489 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4490 Fix compilation warnings
4492 * src/hildon-window.c:
4495 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4497 * src/hildon-stackable-window.c
4498 (hildon_stackable_window_unset_program):
4499 Calculate correctly whether to show the previous window if the
4500 last one is removed from the stack.
4501 (hildon_stackable_window_go_to_root_window):
4502 Send delete events starting from the topmost window.
4503 Stop if one of the windows is not destroyed.
4505 (hildon_stackable_window_delete_event)
4506 (hildon_stackable_window_class_init):
4507 Ignore the delete event if the window is not the topmost one.
4509 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4511 * src/hildon-pannable-area.c
4512 (hildon_pannable_area_expose_event): Fixed a problem when
4513 selecting the background color of the scrollbars.
4515 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4517 * examples/hildon-stackable-window-example.c
4518 * src/hildon-stackable-window.c
4519 * src/hildon-stackable-window.h
4520 hildon_stackable_window_go_home() renamed to
4521 hildon_stackable_window_go_to_root_window()
4522 Send delete events to windows rather than closing them with
4523 gtk_widget_destroy()
4525 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4527 * src/hildon-pannable-area.c
4528 (hildon_pannable_area_button_release_cb): Fix overshooting in
4531 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/hildon-pannable-area.c
4534 (hildon_pannable_area_init): Initially show the scroll indicators.
4535 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4537 Add initial effect showing the widget is pannable.
4539 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4541 * src/hildon-pannable-area.c
4542 (hildon_pannable_area_class_init)
4543 (hildon_pannable_area_set_property)
4544 (hildon_pannable_area_get_property)
4545 (hildon_pannable_area_button_press_cb):
4546 New 'velocity_fast_factor' property to decide which velocity is
4549 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-pannable-area.c
4552 (hildon_pannable_draw_hscroll)
4553 (hildon_pannable_draw_vscroll):
4554 Use float variables to calculate the size of the scrollbars to
4555 avoid error propagation and resizing during scrolling.
4557 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-pannable-area.c
4560 (hildon_pannable_draw_vscroll)
4561 (hildon_pannable_draw_hscroll):
4562 Define a minimum size for the scroll bars
4564 * src/hildon-stackable-window.c
4565 (hildon_stackable_window_go_home): Fix compilation warning
4566 (get_last_window): Minor optimizations
4567 (hildon_stackable_window_class_init): Fix initialization of
4570 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4572 * src/hildon-stackable-window.c: Fixed typos in doc
4574 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4576 * src/hildon-pannable-area.c
4577 (hildon_pannable_area_scroll):
4578 Calculate here whether we need to scroll instead of using the booleans
4579 that tell us whether to /draw/ the scrolling bars.
4581 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/hildon-app-menu.h
4585 * src/hildon-app-menu.c
4586 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4587 multiple filter groups related code and API. Now we support only
4589 * examples/hildon-app-menu-example.c:
4591 Update to reflect API changes.
4593 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-stackable-window.c
4596 (hildon_stackable_window_class_init):
4597 Add hildon_stackable_window_realize.
4598 (hildon_stackable_window_realize):
4599 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4600 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4601 to apply theming and behavior specific to HildonStackableWindow
4604 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-note.c (hildon_note_button_release):
4607 Close information notes also when tapping on them
4609 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4611 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4612 ELASTICITY, refactor and review, fix some issues with drawing
4615 * src/hildon-pannable-area.c:
4616 (hildon_pannable_area_button_press_cb): removed the conditions to
4617 avoid clicks when overshooting. It is not required
4619 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4620 define. Refatored and reviewed the code, now we do not need to
4621 manage velocity in motion_notify.
4623 (hildon_pannable_area_motion_notify_cb): We have moved the code
4624 that controls the area_scroll to the axis_scroll function and get
4625 rid of duplicated code.
4627 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4629 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4631 (hildon_pannable_draw_vscroll),
4632 (hildon_pannable_draw_hscroll): Fixed the problems with the
4633 scrollbar drawing, now we do not use two surfaces, it is easier
4634 and saves resources.
4636 (hildon_pannable_area_get_property): Style modification.
4638 (hildon_pannable_area_class_init): Changed some default values.
4640 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-stackable-window.c: Fix some typos in the
4645 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4647 * src/hildon-dialog.c:
4648 Change indentation style
4651 (hildon_note_button_release):
4652 Use root coordinates to check if the release event happened
4655 * src/hildon-app-menu.c
4656 (hildon_app_menu_button_release):
4657 Remove unnecessary check
4659 * examples/hildon-app-menu-example.c
4661 Add cast to fix warning
4663 * src/hildon-app-menu.c
4664 (hildon_app_menu_class_init):
4665 New inner-border style property.
4666 Set all default spacings to 16
4667 (hildon_app_menu_init):
4668 Use vertical-spacing to set the space between filter buttons and
4669 regular menu buttons.
4670 Set the default container border using the inner-border value.
4672 * examples/hildon-app-menu-example.c
4674 Don't set the menu border explicitly, now we have the inner-border
4675 style property for that.
4677 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4679 * src/hildon-app-menu.c (hildon_app_menu_init):
4680 Make the window modal
4682 * src/hildon-note.c (hildon_note_map)
4683 * src/hildon-app-menu.c (hildon_app_menu_map):
4684 Destroy the grab window if we're unable to grab the pointer
4686 * src/hildon-app-menu-private.h
4687 * src/hildon-app-menu.c
4688 (hildon_app_menu_init, hildon_app_menu_finalize)
4689 (hildon_app_menu_map, hildon_app_menu_unmap)
4690 (hildon_app_menu_button_release)
4691 (grab_transfer_window_get):
4692 Bring back the grab window
4693 (hildon_app_menu_realize):
4694 Decorate the window, set WM hint for Matchbox
4696 * src/hildon-note.c (hildon_note_realize):
4697 * src/hildon-banner.c (hildon_banner_realize):
4698 Add WM hints for Matchbox
4700 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu-private.h
4703 * src/hildon-app-menu.c
4704 (hildon_app_menu_init, hildon_app_menu_finalize)
4705 (hildon_app_menu_map, hildon_app_menu_unmap)
4706 (hildon_app_menu_button_release):
4707 Remove the grab window, it's not needed anymore
4709 * src/hildon-program.c
4710 Fixed typo in documentation
4712 * src/hildon-app-menu.h
4713 * src/hildon-app-menu.c
4714 * examples/hildon-app-menu-example.c
4715 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4717 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4720 Added new transfer_window and close_if_pressed_outside private
4722 (hildon_note_rebuild):
4723 Don't add a cancel button to the information note. It will be
4724 closed when tapping outside
4725 Remove the comment about the OK button in the documentation
4726 (hildon_note_realize):
4727 Set the notification type hint
4728 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4729 Grab/ungrab pointer and keyboard if the note has to be closed when
4731 (hildon_note_button_release):
4732 Close the note when tapping outside (if applicable)
4734 * src/hildon-app-menu.c
4735 Grab/ungrab pointer and keyboard on map/unmap
4736 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4737 Close the menu on button release, not button press
4739 * src/hildon-banner.c
4740 (hildon_banner_set_property)
4741 (hildon_banner_check_position):
4742 Make the banner use the full width of the screen
4743 (hildon_banner_show_information)
4744 (hildon_banner_show_information_with_markup):
4745 Don't display an icon by default
4747 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4749 Added fading scrollbars and adapted all the overshooting code to
4750 horizontal scrolling. We have also fixed bugs with overshooting
4751 and current fading implementation.
4753 * src/hildon-pannable-area.c
4754 (hildon_pannable_area_scroll_indicator_fade): Time out function
4755 used to change the transparency of the scrollbars.
4757 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4758 control and fixed a problem with fading, we now remove the fade
4759 timeout before adding a new one.
4761 (hildon_pannable_axis_scroll):
4762 (hildon_pannable_area_scroll):
4763 (hildon_pannable_area_timeout): Added this functions so we can use
4764 the scroll code both for vertical and horizontal.
4766 (hildon_pannable_area_motion_notify_cb):
4767 (hildon_pannable_area_button_release_cb): Added the horizontal
4768 scrolling control, fixed a problem with the overshooting timeout.
4770 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4771 painting of the scrolls.
4773 (hildon_pannable_draw_vscroll):
4774 (hildon_pannable_draw_hscroll):
4775 (hildon_pannable_area_expose_event):
4776 Draw both scrollbars and rectangles in the overshooting area.
4778 (hildon_pannable_area_get_property):
4779 (hildon_pannable_area_set_property):
4780 Modified the overshoot property to overshoot_max
4782 (hildon_pannable_area_map):
4783 Replaced the comments symbols.
4785 (hildon_pannable_area_size_allocate):
4786 (hildon_pannable_area_class_init):
4787 (hildon_pannable_area_init): Added horizontal scroll, fading
4788 effect properties, fixed a problem when overshooting in the bottom
4791 * examples/hildon-pannable-area-example.c:
4792 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4793 looks better in the example.
4795 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-window.c
4798 * src/hildon-window.h
4799 (hildon_window_class_init)
4800 (hildon_window_unset_program)
4801 (hildon_window_unset_program_real):
4802 Make unset_program a virtual function
4804 * src/hildon-stackable-window.c
4805 * src/hildon-stackable-window.h
4806 Added hildon_stackable_window_go_home()
4808 * examples/Makefile.am
4809 * examples/hildon-stackable-window-example.c
4810 HildonStackableWindow example
4812 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4814 * hildon-pannable-area.c: Added the overshoot property and removed
4815 the OVERSHOOT define. Fixed an indent style error.
4816 (hildon_pannable_area_motion_notify_cb):
4817 (hildon_pannable_area_get_property):
4818 (hildon_pannable_area_set_property): Add overshoot property.
4820 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4823 (hildon_pannable_area_class_init): Installed the new property.
4825 * hildon-pannable-area-example.c: Added a sawtooth function, this
4826 way it is easier to check the movement in the pannable.
4827 (get_sawtooth_label): Added this function.
4828 (main): Now we get the labels from the new get_sawtooth_label
4831 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-app-menu.h
4834 * src/hildon-app-menu.c
4835 Renamed API variables for consistency
4837 (hildon_app_menu_popup): Use also the default window size to
4838 decide where to place the menu
4840 (hildon_app_menu_init, hildon_app_menu_class_init): New
4841 external-border style property
4843 2008-05-26 Michael Natterer <mitch@imendio.com>
4845 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4846 widget_class->tap_and_hold_setup signal slot doesn't exist any
4847 longer, stop overriding it.
4849 (hildon_time_editor_init): g_signal_connect() to the
4850 tap-and-hold-setup signal instead.
4852 (hildon_time_editor_entry_keypress): add cast to fix warning.
4854 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4856 * doc/hildon-docs.sgml
4858 * examples/Makefile.am
4859 * examples/hildon-app-menu-example.c
4861 * src/hildon-app-menu-private.h
4862 * src/hildon-app-menu.c
4863 * src/hildon-app-menu.h
4865 New HildonAppMenu widget
4867 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4869 Rearranged the inheritance of the pannable area, now it inherits
4870 from GtkBin. This will allow us to control the event_window and
4871 the allocation process of the widget, required for some effects.
4873 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4874 GtkBin structures. * src/hildon-pannable-area.c: Added the
4875 event_window variable.
4876 (hildon_pannable_area_button_press_cb):
4877 (hildon_pannable_area_button_release_cb):
4878 (hildon_pannable_area_motion_notify_cb):
4879 Changed the signature of the method, now we override the event
4880 callback instead of connecting to the signal.
4882 (hildon_pannable_area_realize):
4883 (hildon_pannable_area_unrealize):
4884 (hildon_pannable_area_map):
4885 (hildon_pannable_area_unmap):
4886 (hildon_pannable_area_size_allocate):
4887 Added functions to control the widget construction. We add a
4888 INPUT_ONLY window and we put it over the widgets inside the
4889 container, this event_window handles the events.
4891 (hildon_pannable_area_class_init):
4892 Replaced the signal connections with overrides of the event
4895 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4897 Bouncing effect added when touching the borders, you can change
4898 the elasticity of the border changing the ELASTICITY define.
4900 * src/hildon-pannable-area.c: Added ELASTICITY define.
4901 (hildon_pannable_area_timeout): Added inverse velocity when
4902 touching the border of the child widget, that causes a bounce.
4904 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4906 Improved performance, we now do not go to the X server in order to
4907 get the list of window children. Apparently the effect is the
4908 same, we have to be careful and check if this breaks something in
4911 * src/hildon-pannable-area.c:
4912 (get_ordered_children): Removed this function.
4913 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4914 the children windows function with gdk_window_get_children.
4916 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4918 * src/hildon-pannable-area.c:
4919 (hildon_pannable_area_dispose): Fixed a crash when closing the
4920 window and kinetics is activated.
4922 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-pannable-area.h
4925 * src/hildon-pannable-area.c
4926 Changed indentation style to meet the one used in Hildon
4928 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4930 Reviewed the interaction of the AUTO mode, now we use the time
4931 attribute of the events and calculate the velocity in the motion,
4932 doing a gimp like calculation. The velocity is calculated in each
4933 motion event using the last velocity and the current one, the
4934 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4936 * src/hildon-pannable-area.c: Replaced the time based algorithm
4938 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4939 timeout for the AUTO mode when we are still moving the cursor. We
4940 added also the velocity calculation in this function.
4941 (hildon_pannable_area_button_release_cb): launch the timeout in
4942 case we are in AUTO mode. There are still some constants here that
4943 come from the old implementation that should be reviewed and
4946 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4948 * doc/hildon-docs.sgml
4951 * src/hildon-stackable-window.c
4952 * src/hildon-stackable-window.h
4954 New HildonStackableWindow widget
4956 * examples/hildon-dialog-example.c
4957 * examples/hildon-pannable-area-example.c
4960 2008-05-14 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-dialog.c
4963 (hildon_dialog_new_with_buttons): New constructor.
4965 * examples/hildon-dialog-example.c
4966 (main): Update the example to use the new
4967 hildon_dialog_new_with_buttons().
4969 * examples/hildon-pannable-area-example.c
4970 (main): Update example.
4972 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4974 * doc/hildon-docs.sgml
4976 Added HildonPannableArea to the documentation.
4978 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4980 * doc/visual_index.xml
4981 Fix reference to HildonLoginDialog in documentation
4983 * doc/hildon-docs.sgml
4985 * examples/Makefile.am
4986 * examples/hildon-dialog-example.c
4988 * src/hildon-dialog.c
4989 * src/hildon-dialog.h
4991 New HildonDialog widget.
4993 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-pannable-area.c
4996 Merge latest changes (r4318, r4342) from libmokoui trunk
4998 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5000 * examples/Makefile.am
5001 * examples/hildon-pannable-area-example.c
5003 * src/hildon-pannable-area.c
5004 * src/hildon-pannable-area.h
5006 New HildonPannableArea widget.
5008 2008-04-15 18:05:19 <timj@imendio.com>
5010 * src/hildon-banner.c: revert the recent change, that introduced
5011 gtk_window_present() calls. this reopens:
5012 Bug 78481 - [freetest] information banners are hidden under browser menu
5013 But resolves another variant of:
5014 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5016 2008-04-15 13:21:13 <timj@imendio.com>
5018 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5019 recreated its layout, spotted by Kris. this fixes all remaining
5020 artefacts and stability issues with the banner code. in particular:
5021 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5023 2008-04-14 16:52:59 <timj@imendio.com>
5025 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5026 operating on unrealized widgets, fixes:
5027 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5029 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5031 2008-04-09 Kristian Rietveld <kris@imendio.com>
5033 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5034 makes banner disappear.
5035 Fixes: NB#79182: info banner flickering with certain message lengts.
5037 * src/hildon-banner.c (hildon_banner_constructor),
5038 (hildon_banner_init), (hildon_banner_set_text),
5039 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5040 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5041 FALSE, reset size requests of label and banner,
5042 (force_to_wrap_truncated): when the text is too wide, always enforce
5043 the maximum possible width instead of recalculating it from the
5044 layout; enforce the maximum banner height of 3 lines,
5045 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5046 nicer wrapping and no truncated chars if space gets tight.
5048 * src/hildon-banner-private.h: add has_been_wrapped and
5049 has_been_truncated fields.
5051 2008-04-07 Sven Herzberg <sven@imendio.com>
5053 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5054 local values in hildon_date_editor_size_allocate
5056 * src/hildon-date-editor.c: moved the real allocation code into the
5059 2008-04-07 Sven Herzberg <sven@imendio.com>
5061 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5062 local values in hildon_date_editor_size_allocate
5064 * src/hildon-date-editor.c: merged the two if() branches together
5066 2008-04-07 Sven Herzberg <sven@imendio.com>
5068 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5069 local values in hildon_date_editor_size_allocate
5071 * src/hildon-date-editor.c: changed the arguments of the if()
5074 2008-04-07 Sven Herzberg <sven@imendio.com>
5076 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5077 local values in hildon_date_editor_size_allocate
5079 * src/hildon-date-editor.c: split the calculation of the allocation
5080 from the real allocation
5082 2008-03-27 Michael Natterer <mitch@imendio.com>
5084 Fixes: NB#81696: The passcode is not overwritten even after
5087 * src/hildon-code-dialog.c
5088 (hildon_code_dialog_button_clicked)
5089 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5090 because that doesn't overwrite selected text. Instead, emit the
5091 "commit" signal on the entry's im_context so the entry's normal
5092 insert logic is triggered. Set the cursor to the end of the entry
5093 after each insert operation so that we *only* insert in the middle
5094 of the text if something was selected.
5096 2008-03-27 Michael Natterer <mitch@imendio.com>
5098 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5099 selector cannot be opened
5101 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5102 when the popup color selector is created. Please connect to this
5103 signal in order to set the dialog's help ID.
5105 2008-03-25 Sven Herzberg <sven@imendio.com>
5107 Fixes: MB#1212: Hide info banners (infoprints) on click
5109 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5110 extracted the close event simulation into an extra function
5111 (hildon_banner_button_press_event): simulate a close event and destroy
5112 the widget if the event wasn't handled
5113 (hildon_banner_class_init): added the button_press_event handler
5114 (hildon_banner_init): added button-press events to the widget
5116 2008-03-25 Sven Herzberg <sven@imendio.com>
5118 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5119 Patch from: Mohammad Anwari <mdamt@maemo.org>
5121 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5122 instead of the right in RTL mode
5123 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5124 breadcrumb button list in RTL mode
5125 * src/hildon-caption.c: mirror the appearance of the caption widget in
5127 * src/hildon-date-editor.c: mirror appearance of the date editor in
5129 * src/hildon-time-editor.c: mirror appearance of the time editor in
5131 * src/hildon-window.c: fix the position of the popup in RTL mode
5133 2008-03-25 Sven Herzberg <sven@imendio.com>
5135 Amendment to the fix of NB#22072. Fix compilation.
5137 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5139 2008-03-19 Sven Herzberg <sven@imendio.com>
5141 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5144 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5145 timeout id properly when the timeout will disappear this leaves no
5146 artifacts around in the destroy(); there will only be the timeout
5147 created by hildon_banner_ensure_timeout() and adding a new timeout
5148 will also work if the timeout gets removed because the timeout_handler
5151 2008-03-19 Michael Natterer <mitch@imendio.com>
5153 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5155 * src/hildon-volumebar.c
5156 * src/hildon-vvolumebar.c
5157 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5158 the widget becomes focussable at all.
5160 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5161 set the focus to wither the mute button or the volumebar.
5163 Remove own "can-focus" property and instead listen to
5164 notify::can-focus in order to update the widget's state.
5166 Implement GtkWidget::focus() and make sure we can also *leave* the
5167 widget, not only enter it, depending on volumebar orientation and
5168 requested focus direction.
5170 Clean up set_mute() to cooperate nicely with all the above.
5172 2008-03-04 Michael Natterer <mitch@imendio.com>
5174 Fixes: NB#78481: information banners are hidden under browser menu
5176 * src/hildon-banner.c: call gtk_window_present() on the banners so
5177 they are risen if they are already visible.
5179 2008-03-03 Sven Herzberg <sven@imendio.com>
5181 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5183 * examples/hildon-window-menu-example.c: (main): extended the window
5184 menu example to serve as a testcase for automatically added
5185 accelerator groups, too
5186 * src/hildon-window.c: (hildon_window_add_accel_group),
5187 (hildon_window_set_menu): added patch by Tommi Komulainen
5189 2008-03-03 Sven Herzberg <sven@imendio.com>
5191 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5193 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5194 knowledge about the border allocators used within GTK+
5196 2008-02-26 Sven Herzberg <sven@imendio.com>
5198 Fixes: MB#2981: Build with asserts broken
5200 * src/hildon-date-editor.c,
5201 * src/hildon-number-editor.c,
5202 * src/hildon-time-editor.c,
5203 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5204 the proper GType instance check
5206 2008-02-25 Sven Herzberg <sven@imendio.com>
5208 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5210 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5211 * examples/hildon-window-menu-example.c: (main): explicitly show
5213 * src/hildon-window.c:
5214 (hildon_window_set_main_menu): moved most of the code from set_menu()
5215 to this place; skipped the call to gtk_widget_show_all(); also didn't
5216 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5217 (hildon_window_set_menu): removed most of the code, just keep the
5218 questionable gtk_widget_show_all()
5219 * src/hildon-window.h: added the new function and deprecate the old
5222 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5228 * debian/changelog: Updating.
5230 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5233 * pkgconfig/Makefile.am:
5234 * pkgconfig/hildon.pc.in:
5237 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5238 use newly created API_MAJOR_VERSION.
5240 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5246 * debian/changelog: Updating.
5248 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5250 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5252 Add outer_border style property, we use it but don't define it (!).
5256 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5258 * examples/hildon-bread-crumb-trail-example.c (main):
5262 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5264 Fix logic for the bread crumb trail node removal.
5268 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5274 * debian/changelog: Updating.
5276 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5278 Patch by Alejandro to get/set passwords dialogs accesibility.
5280 * hildon-1/src/hildon-get-password-dialog.c:
5281 * hildon-1/src/hildon-set-password-dialog.c:
5282 Set atk_set_name to the passwd entries in order to allow
5283 accessibility by name on this entries.
5285 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5290 * debian/control: Updating gtk dep.
5292 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5294 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5295 USE_MAEMO_GTK is enabled.
5297 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5299 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5300 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5302 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5308 * debian/changelog: Updating.
5310 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5312 * examples/Makefile.am:
5313 * examples/hildon-logical-color-example.c:
5314 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5315 applied + adding a test case. Fixes: NB#71660.
5317 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5319 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5320 to be visible, fixes warning on map for windows without toolbars.
5322 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5324 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5325 2.11.0, add a check for that besides the MAEMO_GTK check.
5327 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5333 * debian/changelog: Updating.
5335 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5337 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5338 visibility. Fixes: NB#70842 and MB#615.
5340 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5342 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5343 set the separator as no-show-all so it doesn't unintentionally appear when
5344 someone does a show_all.
5346 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5348 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5349 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5350 toplevel item. Fixes: NB#62031
5352 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5354 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5355 fix the name of the function in the docs.
5357 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5363 * debian/changelog: Updating.
5365 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5367 * examples/hildon-banner-long-example.c: Adding a test-case for long
5370 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5372 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5374 * src/hildon-color-chooser-dialog.c:
5375 * src/hildon-color-chooser.c:
5376 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5377 memory leaks in font selector and color selector. Fixes: NB#70499 and
5380 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5382 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5384 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5386 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5387 little bit bigger. Fixes: #NB63694.
5389 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5395 * debian/changelog: Updating.
5397 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5400 * doc/hildon-docs.sgml:
5401 * doc/images/bread-crumb-trail.png:
5402 * doc/images/calendar-popup.png:
5403 * doc/images/caption.png:
5404 * doc/images/code-dialog.png:
5405 * doc/images/color-button.png:
5406 * doc/images/color-chooser-dialog.png:
5407 * doc/images/color-chooser.png:
5408 * doc/images/controlbar.png:
5409 * doc/images/date-editor.png:
5410 * doc/images/font-selection-dialog.png:
5411 * doc/images/get-password-dialog.png:
5412 * doc/images/hvolumebar.png:
5413 * doc/images/login-dialog.png:
5414 * doc/images/note.png:
5415 * doc/images/number-editor.png:
5416 * doc/images/range-editor.png:
5417 * doc/images/seekbar.png:
5418 * doc/images/set-password-dialog.png:
5419 * doc/images/sort-dialog.png:
5420 * doc/images/time-editor.png:
5421 * doc/images/time-picker.png:
5422 * doc/images/vvolumebar.png:
5423 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5424 Adding the bread-crumb-trial and helpers to the documentation.
5426 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5428 * examples/hildon-find-toolbar-example.c:
5429 * src/hildon-find-toolbar.c:
5430 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5431 actually continue firing the other handlers if connected. Adding a new
5433 hildon_find_toolbar_get_last_index that gets the index of the most
5434 recently added (last) item. Fixes: NB#52301.
5436 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5438 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5439 behaviour. Fixes: NB#68610.
5441 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5443 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5446 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5448 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5449 when realizing the banner. Should make the infonbanner effect a bit more
5452 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5454 * src/hildon-volumebar.c:
5455 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5456 hildon_volumebar_set_range_insensitive_message and
5457 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5459 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5461 * src/hildon-window.c: Fixing the border freeing on destroy.
5463 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5465 * src/hildon-code-dialog-private.h:
5466 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5467 kw keyboard support in HildonCodeDialog.
5469 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5475 * debian/changelog: Updating.
5477 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5479 * src/hildon-date-editor.c:
5480 * src/hildon-number-editor.c:
5481 * src/hildon-private.c:
5482 * src/hildon-private.h:
5483 * src/hildon-time-editor.c:
5484 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5485 handling in subclassed composite widgets. Fixes: NB#66628.
5487 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5489 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5490 from destroy_ callback as it introduces problems in async dbus signal
5491 handlers. Fixes NB#66673.
5493 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5495 * examples/hildon-hvolumebar-example.c:
5496 * src/hildon-volumebar.c: Improving the focus handling in the
5497 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5498 set_property accessor so that "mute" property can be actually set. I'm
5499 scared that nobody noticed it's totally broken.
5501 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5503 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5506 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5508 * src/hildon-calendar.c:
5509 * src/hildon-number-editor.c:
5510 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5511 matches the spec of 6 chars per second. Fixes: NB#60489.
5513 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5515 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5516 gtk_style_lookup_color sometime returns FALSE even though color was
5517 found and values were filled properly. Weird. Removing the warning for the
5520 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5522 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5523 expand vertically. Adding some extra space to the find toolbar buttons to
5524 make them thumbable. Fixes NB#66060.
5526 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5528 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5529 popup with "Ok" and "Cancel". Fixes NB#59299.
5531 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5533 * src/hildon-calendar.c: Process all window updates before executing next
5534 timeout. Fixes: NB#54146.
5536 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5542 * debian/changelog: Updating.
5544 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5546 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5547 the client event and ignore it, since we use the delete event to close
5550 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5552 * src/hildon-helper.c: Remove the bogus warning about color not being
5553 found. Fixes NB#58352.
5555 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5557 * examples/Makefile.am:
5558 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5559 HildonSeekbar widget inside a toolbar.
5561 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5563 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5564 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5565 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5566 don't want to be closed by non-temporary windows on map.
5568 Also use G_DEFINE_TYPE instead of manually typed code.
5570 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5577 * debian/rules: Updating.
5579 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5581 * examples/Makefile.am:
5582 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5583 bug NB#61128. Strangely it works.
5585 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5587 * src/hildon-date-editor.c: When the date editor entry has been changed
5588 but the numbers of characters < max, turn off the skip validation flag.
5589 Prevents a situation when we enter first a valid year and later re-write
5590 it with an invalid one. Fixes NB#60154.
5592 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5594 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5595 code dialog. Fixes NB#64355.
5597 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5599 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5600 switching the page. Fixes NB#49374.
5602 * examples/Makefile.am:
5603 * examples/hildon-wizard-dialog-example.c: Adding an example for
5604 HildonWizardDialog that shows how to handle manual sensitivity setting on
5607 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5611 * src/hildon-version.h.in:
5612 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5614 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5616 * src/hildon-volumebar.c: Updating the docs.
5618 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5624 * debian/changelog: Updating.
5626 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5628 * src/hildon-find-toolbar.c:
5629 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5630 selected item: hildon_find_toolbar_set_active,
5631 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5632 hildon_find_toolbar_get_active_iter . They correspond to respective
5633 GtkComboBox functions.
5635 * examples/Makefile.am:
5636 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5639 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5641 * examples/Makefile.am:
5642 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5645 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5646 when font size > 32 and we pack a focusable widget inside. Actually using
5647 the default response would work too, but since we don't show default
5648 response state in any way (no theming) it would not be visible to the
5649 user. Fixes NB#63430.
5651 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5653 * src/hildon-date-editor.c: Adding the missing variable setter in the
5654 set_property handler. Fixes NB#54182.
5656 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5658 * src/hildon-window.h: Changing the long key press time from 1500ms to
5659 800ms as requested in NB#63700. I have a bad feeling about this, let's
5660 see... Fixes NB#63700.
5662 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5664 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5665 hildon_time_picker_map, hildon_time_picker_realize,
5666 hildon_time_picker_style_set): Split the contents of map to more
5667 appropriate functions; set window decorations on realize and update
5668 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5670 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5675 * debian/changelog: Updating.
5677 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5679 * src/Makefile.am: fixed installation of the header files
5681 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5687 * debian/changelog: Updating.
5689 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5691 * configure.ac: Removing some remaining of --enable-xan.
5693 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5695 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5696 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5698 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5699 2.10.12-osso6 because the move-focus signal needs to be available in
5702 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5704 * examples/Makefile.am:
5705 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5706 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5707 fine. Prolly NB#61128 is fixed now.
5709 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5711 * src/hildon-volumebar.c:
5712 * src/hildon-volumebar.h: Adding the
5713 hildon_volumebar_set_range_insensitive_message and
5714 hildon_volumebar_set_range_insensitive_messagef functions to set
5715 insensitive message on the slider of the volumebar. Fixes NB#61129.
5717 * examples/Makefile.am:
5718 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5719 test the new insensitive messsage functionality on HildonVolumebar.
5721 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5723 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5726 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5728 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5729 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5730 button on after clearing the trail.
5732 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5734 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5736 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5738 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5739 by splitting the installed headers in generated and non-generated groups. Use
5740 only the non-generated headers to create the hildon-enum-types.h file.
5742 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5744 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5746 * src/hildon-window.c: Hide the window before performing the destroy.
5747 Should make the app closing a little tiny bit more snappy.
5749 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5751 * src/hildon-seekbar.c: add gtkrange.h header
5752 * src/hildon-caption.c: remove unused variable
5754 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5756 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5759 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5765 * debian/changelog: Updating.
5767 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5769 * src/hildon-window.c (hildon_window_window_state_event,
5770 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5771 escape timeout on focus-out-event rather than notify::is-topmost; the
5772 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5774 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5776 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5777 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5779 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5781 * src/hildon-window: actually, you need to use the macro always, there's
5782 no private pointer in the instance structure. We should have cleaned this up
5783 when we had the chance...
5785 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5787 * src/hildon-window.c: do not get the private date from HildonWindow before
5788 it passes the g_return_if_fail check. Once it's passed the test, there's no
5789 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5790 if you are only going to access the data once. Whitespace cleanups.
5792 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5794 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5795 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5797 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5803 * debian/changelog: Updating.
5805 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5807 * src/hildon-window.c: When destroying the window, remove (if exists) the
5808 escape timeout handler. Fixes #NB59276.
5810 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5812 * src/hildon-banner.c: When realizing the widget, set the window
5813 transiency. Setting the transiency in the gobject constructor is not
5814 good, as the widget is not realized at that point. Fixes: #NB56624.
5816 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5818 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5819 Add padding for future expansions.
5821 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5823 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5824 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5825 will fake an activation on the previous to the last item of the trail, so
5826 the effect can be overrided by the developer as usual.
5827 Also change the callback for the back button to do the same thing, so its
5828 effect can be overrided too. Fixes: NB#58982
5830 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5832 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5833 HildonCaption. Fixes NB#52379.
5835 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5837 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5838 the internal state of the trail after the user has had the chance of executing
5839 his handler for the signal. Specifically, it may happen that the activated button
5840 is removed and the user still lets the default handler run. This would segfault
5843 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5845 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5846 scrollbar to the preview dialog. Fixes NB#54147.
5848 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5850 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5851 max/min year properties can be altered, so the client can modify it
5852 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5854 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5856 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5857 hildonlike by default. Fixing a problem with disappearing arrows when
5858 scrolling through months and years. Fixes NB#54127.
5860 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5862 * examples/hildon-date-editor-example.c: Adding error callback to the date
5865 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5871 * configure.ac: Updating.
5873 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5875 * configure.ac: Adding a special '--enable-xan' configure option that
5876 turns off the -Werror compilation setting. Usefull for development.
5878 * src/hildon-calendar.c:
5879 * src/hildon-number-editor.c:
5880 * src/hildon-time-picker.c: Adding the 5* multiplier to
5883 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5885 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5886 instead of g_object_ref + gtk_object_sink.
5888 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5894 * debian/changelog: Updating.
5896 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5898 * src/hildon-color-chooser-dialog.c:
5899 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5900 straight from Tommi labs.
5902 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5904 * examples/hildon-finger-example.c: Correcting the header file path.
5906 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5907 the changed signal. Fixes a small memory leak.
5909 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5913 * src/hildon-banner.c: Importing several usefull fixes from the
5914 ubuntu-mobile branch.
5916 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5918 * examples/Makefile.am:
5919 * examples/hildon-finger-example.c: Adding a finger-checking code
5922 * src/hildon-font-selection-dialog.c: Do not allocate the color
5923 structure using the g_new. Fixes NB#54061.
5925 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5927 * src/hildon-helper.c: Correcting tabs in file.
5929 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5931 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5932 control the visibility of the children.
5934 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5936 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5942 * debian/changelog: Updating.
5944 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5946 * src/hildon-bread-crumb-trail.c:
5947 (hildon_bread_crumb_trail_size_allocate):
5949 Make the back button always a square.
5951 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5953 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5954 from the .c file as it's a private file.
5956 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5958 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5959 uses slightly bigger height.
5961 * src/hildon-font-selection-dialog.c: Adding some checks before
5962 freeing memory in the font selection dialog.
5964 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * src/hildon-font-selection-dialog.c: Adding a small check when
5969 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5970 buttons sensitivity on page switching.
5972 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
5974 * src/hildon-bread-crumb-trail.c: make the add method handle all the
5975 internal details of adding a bread crumb to the trail.
5977 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5983 * debian/changelog: Updating.
5985 * src/hildon-bread-crumb-trail.h:
5986 * src/hildon-bread-crumb.h: Changing the API guard to
5987 HILDON_ENABLE_UNSTABLE_API.
5989 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5997 * src/hildon-helper.h: Updating.
5999 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6007 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6011 * src/hildon-helper.h: Small fix to make the package actually compile.
6013 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6015 * src/hildon-bread-crumb-trail.h:
6016 * src/hildon-bread-crumb.h:
6018 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6019 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6021 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6023 * examples/hildon-bread-crumb-trail-example.c:
6025 * src/hildon-bread-crumb-trail.c:
6026 * src/hildon-bread-crumb-trail.h:
6027 * src/hildon-bread-crumb.c:
6028 * src/hildon-bread-crumb.h:
6029 * src/hildon-marshalers.list:
6030 * src/hildon-bread-crumb-widget.c:
6031 * src/hildon-bread-crumb-widget.h:
6033 Slight change in the widget design. The bread crumb trail API is
6034 unchanged, but HildonBreadCrumb is now an interface. A *private*
6035 implementation, hildon-bread-crumb-widget, is provided and used
6036 internally by the trail for the push_text/push_icon functions.
6038 The generic push API is still available, so anyone can implement
6039 and use its own bread crumb widget.
6041 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6043 * debian/rules: Fixing the shlibs.
6045 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6047 * src/hildon-banner.c: Fixing a problem with timed banners having
6048 their parrent destroyed before they are.
6050 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6052 * src/hildon-bread-crumb.c:
6053 * src/hildon-bread-crumb.h:
6055 Make the get_natural_size function a vfunc.
6057 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6059 * src/hildon-bread-crumb.c:
6060 * src/hildon-bread-crumb-trail.c:
6064 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6071 * debian/changelog: Updating for release.
6073 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6075 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6076 don't leak the pango layout.
6078 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6081 * examples/hildon-bread-crumb-trail-example.c:
6085 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6087 * debian/changelog: Removing the bug-fixed entries that were actually
6088 resolved as WONTFIX.
6090 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6093 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6095 * src/hildon-bread-crumb-trail.c:
6096 * src/hildon-bread-crumb-trail.h:
6097 * src/hildon-bread-crumb.c:
6098 * src/hildon-bread-crumb.h:
6102 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6104 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6105 until it's passed the type check.
6107 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6109 * examples/hildon-bread-crumb-trail-example.c
6113 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6115 * examples/Makefile.am
6116 * examples/hildon-bread-crumb-trail-example.c
6118 * src/hildon-bread-crumb-trail.c
6119 * src/hildon-bread-crumb-trail.h
6120 * src/hildon-bread-crumb.c
6121 * src/hildon-bread-crumb.h
6123 New HildonBreadCrumbTrail widget.
6125 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6127 * src/hildon-range-editor.c (hildon_range_editor_init),
6128 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6129 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6130 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6131 hildon_time_editor_class_init, hildon_time_editor_init),
6132 src/hildon-get-password-dialog.c (invalid_input,
6133 hildon_get_password_set_property, hildon_get_password_get_property,
6134 create_contents, hildon_get_password_dialog_set_max_characters),
6135 src/hildon-set-password-dialog.c (create_contents),
6136 src/hildon-date-editor.c (hildon_date_editor_init),
6137 src/hildon-login-dialog.c (hildon_login_dialog_init),
6138 src/hildon-number-editor.c (hildon_number_editor_init),
6139 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6140 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6141 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6142 configure option and adding the respective checks in the code.
6143 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6144 hildon_calendar_drag_data_received): fixed some build warnings.
6146 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6148 * debian/changelog: A 1.0.0 release notes.