1 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-stackable-window-example.c (add_window): Remove
6 2009-02-05 Alberto Garcia <agarcia@igalia.com>
8 * src/hildon-app-menu.c
9 (hildon_app_menu_show): Check whether the parent window of a menu
10 is topmost before popping it up.
12 Fixes: NB#100468 (Application menu window is launched even when a
13 new secondary-window/dialog is pending to be shown/realized.)
15 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
17 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
20 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
22 Patch by Mox Soini (ext-mox.soini@nokia.com)
24 * src/hildon-banner.c: (hildon_banner_show_animation):
25 use stylus size instead of obsolete note size.
26 * src/hildon-defines.h: Update icon sizes.
28 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-touch-selector-entry.c:
31 (hildon_touch_selector_entry_init): Disable unsupported
33 (hildon_touch_selector_entry_get_text_column): Emit a warning
34 if an unsupported input modes is used and explicitile state
35 these modes in the documentation.
37 Fixes: NB#99802 (Hildon touch selector entry not working properly
38 for some of the input modes)
40 2009-02-05 Alejandro G. Castro <alex@igalia.com>
42 * src/hildon-pannable-area.c,
43 (hildon_pannable_area_init): Added the changed signal handlers of
46 Fixes: NB#100320 (HildonPannableArea does not listen to
47 GtkAdjustment "change" signals)
49 2009-02-04 Alberto Garcia <agarcia@igalia.com>
51 * doc/hildon-sections.txt
52 * src/hildon-window-private.h
54 * src/hildon-window.c (hildon_window_init)
55 (hildon_window_realize, hildon_window_unrealize)
56 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
57 (hildon_window_size_request, hildon_window_size_allocate)
58 (hildon_window_forall, hildon_window_show_all)
59 (hildon_window_destroy, +paint_edit_toolbar)
60 (+hildon_window_set_edit_toolbar):
61 New hildon_window_set_edit_toolbar() method, to add a
62 HildonEditToolbar to a window without having to pack it manually.
64 Reorganize hildon_window_size_allocate()
66 * src/hildon-edit-toolbar.c: Update documentation.
68 * examples/hildon-edit-toolbar-example.c (edit_window): Update
69 example to use the new API.
71 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
73 2009-02-04 Alberto Garcia <agarcia@igalia.com>
75 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
76 Remove from stack before calling parent's hide.
78 2009-02-04 Alberto Garcia <agarcia@igalia.com>
80 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
81 window is removed from the middle of the stack, update the
82 transiency of the previous one.
84 Fixes: NB#100487 (HildonStackableWindow transiency becomes
87 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
89 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
90 block/unblock the signal handler if it's not actually being used.
91 Fixes some critical warnings.
93 2009-02-02 Alberto Garcia <agarcia@igalia.com>
95 Based on a patch by Iván Gómez (igomez@igalia.com)
101 * src/hildon-pannable-area.c
102 * src/hildon-picker-dialog.c
103 * src/hildon-wizard-dialog.h
104 * src/hildon-wizard-dialog.c: Documentation updates.
106 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
107 gtk_dialog_add_button() instead of hildon_dialog_add_button().
109 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: post release version bump.
112 * debian/changelog: version bump.
114 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
119 * configure.ac: Bump version.
120 * debian/changelog: Updates.
122 2009-01-29 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
125 a stock icon nor change the relief of the back arrow.
127 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
130 2009-01-29 Alberto Garcia <agarcia@igalia.com>
132 * src/hildon-button.c (hildon_button_set_alignment): Use
133 priv->alignment if the button has no child yet.
135 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-button.c: (hildon_button_init): Set the
138 button style during initialization to give it the proper
141 Fixes: NB#99713 (HildonButton value label color is wrong)
143 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
145 * src/hildon-touch-selector.c: Document
146 hildon_touch_selector_center_on_selected()
148 2009-01-28 Alberto Garcia <agarcia@igalia.com>
150 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
151 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
152 all menu items, but not the menu itself.
153 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
154 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
155 items after adding them to the menu so keyboard accelerators work.
156 (hildon_app_menu_show): Don't show the menu if it contains items
157 but none of them are visible.
159 * examples/hildon-app-menu-example.c (create_menu): Use
160 gtk_widget_show_all() to show all menu items.
162 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
164 * src/hildon-picker-dialog.c:
165 (-_update_title_on_selector_changed_cb),
166 (-_dialog_update_title): Removed.
167 (_select_on_selector_changed_cb), (_on_dialog_response),
168 (on_selector_columns_changed): Do not update the dialog title.
169 (setup_interaction_mode): Do not connect to
170 HildonTouchSelector::changed signal if there's a "done" button, as
171 the dialog title doesn't need to be updated.
173 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
176 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
178 Patch by Kristian Rietveld (kris@imendio.com)
180 * src/hildon-touch-selector.c: (_create_new_column): Use new
181 GtkTreeView::hildon-row-tapped signal to react to user interactions
182 instead of ::changed.
184 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
185 with some dynamic tree model)
187 2009-01-27 Alberto Garcia <agarcia@igalia.com>
189 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
190 (+screen_size_changed, +label_size_request)
191 (hildon_note_class_init): Make the Hildon information note have a
192 minimum height, and make its text hvae a maximum width.
194 Fixes: NB#98614 (Hildon information note (background) should have
195 minimum height and maximum text width)
197 2009-01-26 Alberto Garcia <agarcia@igalia.com>
199 * src/hildon-banner.h
200 * src/hildon-banner.c (hildon_banner_show_information)
201 (hildon_banner_show_informationf)
202 (hildon_banner_show_information_with_markup): Update documentation
203 to reflect that the icon_name parameter is not used anymore.
204 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
205 Remove all code from these functions and mark them as deprecated.
206 (hildon_banner_show_progress): Mark as deprecated.
208 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
210 2009-01-26 Alejandro G. Castro <alex@igalia.com>
212 * src/hildon-pannable-area.c,
213 (hildon_pannable_area_class_init),
215 (hildon_pannable_draw_vscroll),
216 (hildon_pannable_draw_hscroll),
217 (hildon_pannable_area_expose_event): Added a new way to render the
218 scrollbars of the pannable area avoiding using cairo at all. This
219 way we improve the performance of the pannable area rendering. The
220 cairo rendering procedure is still in the code, we can control
221 which one to use changing the value of the define
222 USE_CAIRO_SCROLLBARS.
224 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
226 * configure.ac: post release version bump.
227 * debian/changelog: version bump.
229 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
234 * configure.ac: Bump version.
235 * debian/changelog: Updates.
237 2009-01-23 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
240 banners instead of destroying them when they receive a button
243 2009-01-23 Alejandro G. Castro <alex@igalia.com>
245 Reverted commit 34028, it was causing regressions, probably the
246 topmost condition is not correct, we have to check it in more
247 detail. We have reponed the bug: NB#97458 (Pannable area prevents
248 propagation of button press events)
250 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
252 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
253 that the selection is not empty before attempting to retrieve the
254 current ampm selection.
256 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
258 * src/hildon-picker-button.c:
259 (hildon_picker_button_on_dialog_response): Directly update the
260 button contents when required instead of calling _selection_changed.
262 2009-01-23 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-program.c (hildon_program_update_top_most): Update
265 'is-topmost' property also when wm_hints is not set.
267 Fixes: NB#98383 (is-topmost signal is not emitted when task
268 switcher is clicked.)
270 2009-01-23 Alejandro G. Castro <alex@igalia.com>
272 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
276 * src/hildon-animation-actor.c,
277 * src/hildon-animation-actor.h: Added the animation actor class,
278 this widget represents an animation actor for WM-assisted
279 animation effects in the Hildon framework.
281 2009-01-23 Alberto Garcia <agarcia@igalia.com>
283 * src/hildon-window-stack-private.h
284 * src/hildon-window-stack.c
285 * src/hildon-stackable-window.c (hildon_stackable_window_show):
286 Avoid calling gtk_widget_show() again indirectly from
287 hildon_stackable_window_show()
289 2009-01-23 Alberto Garcia <agarcia@igalia.com>
291 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
294 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
296 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
297 (hildon_time_selector_init): Move the construction of the hours and
298 ampm columns to the constructor to preserve the order the columns
301 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-picker-dialog.c:
304 (hildon_picker_dialog_class_init): Connect a realize method.
305 (+hildon_picker_dialog_realize): Setup the interaction mode here
307 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
308 yet, do it during the realize instead.
309 (_on_dialog_response):
310 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
311 if the widget is not realized, to avoid the dialog response before it
314 Avoid premature responses in the HildonPickerDialog that can cause it
315 to be hidden before it's even shown.
317 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
319 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
320 (on_selector_columns_changed), (requires_done_button),
321 (+prepare_action_area), (setup_interaction_mode),
322 (_hildon_picker_dialog_set_selector):
324 Split the interaction mode setup into preparation of the
325 action area (prepare_action_area()) and the connection of
326 the signals in setup_interaction_mode() and update the code to
329 2009-01-22 Alejandro G. Castro <alex@igalia.com>
331 * src/hildon-pannable-area.c,
332 (hildon_pannable_area_class_init): Reduced the amount of scrolls
333 per second to 15, we will check if this is ok regarding
336 2009-01-22 Alejandro G. Castro <alex@igalia.com>
338 * src/hildon-pannable-area.c,
339 (hildon_pannable_axis_scroll): Avoid resize if we already have
340 reached overshoot_max.
342 2009-01-22 Alejandro G. Castro <alex@igalia.com>
344 * src/hildon-pannable-area.c,
345 (hildon_pannable_area_init),
346 (hildon_pannable_area_realize),
347 (hildon_pannable_area_size_allocate),
348 (hildon_pannable_area_map),
349 (hildon_pannable_area_unmap),
350 (hildon_pannable_draw_vscroll),
351 (hildon_pannable_draw_hscroll),
352 (hildon_pannable_area_expose_event),
353 (hildon_pannable_area_refresh): Added a new GdkWindow to the
354 pannable are to avoid the expose events go to the window and
355 redraw the window. We save this way that part of the stack and the
356 paint_boxes. We had to change the positions of the elements when
359 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
361 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
362 * src/hildon-color-chooser-dialog.c:
363 (hildon_color_chooser_dialog_init):
364 * src/hildon-font-selection-dialog.c:
365 (hildon_font_selection_dialog_init),
366 (hildon_font_selection_dialog_show_preview):
367 * src/hildon-get-password-dialog.c:
368 * src/hildon-login-dialog.c:
369 * src/hildon-set-password-dialog.c:
370 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
371 * src/hildon-time-picker.c: (hildon_time_picker_init):
373 Remove obsolete logical string IDs and update to the appropriate ones.
375 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
377 2009-01-21 Alberto Garcia <agarcia@igalia.com>
379 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
380 that happens if the window hasn't been realized yet.
382 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
383 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
385 2009-01-20 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-app-menu.c (hildon_app_menu_class_init)
388 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
391 Fixes: NB#98537 (Device hangs in account settings dialog)
393 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
395 * configure.ac: post release version bump.
396 * debian/changelog: version bump
398 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
403 * configure.ac: Bump version.
404 * debian/changelog: Updates.
406 2009-01-20 Alejandro G. Castro <alex@igalia.com>
408 Added a new function to the HildonTimeButton widget that allows to
409 change the step of the minutes in the selector associated with the
410 button: hildon_time_button_new_step
412 * src/hildon-time-button.c,
413 (hildon_time_button_init),
414 (hildon_time_button_new),
415 (hildon_time_button_new_step):
416 * src/hildon-time-button.h: Added the new function and refactored
418 * examples/hildon-time-button-example.c,
419 (main): We have replaced the function without parameters with the
420 function with the steps set to 5
422 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
424 2009-01-20 Alejandro G. Castro <alex@igalia.com>
426 * src/hildon-time-selector.c,
427 (hildon_time_selector_class_init),
428 (hildon_time_selector_constructor),
429 (hildon_time_selector_get_property),
430 (hildon_time_selector_set_property),
431 (_create_minutes_model),
432 (hildon_time_selector_new_step),
433 (hildon_time_selector_set_time),
434 * src/hildon-time-selector.h: Added a new property to the
435 HildonTimeSelector (minutes-step), we use that property to control
436 the steps between the minutes in the list of the selector. We have
437 added a new function to the API to create a widget changing the
438 step: hildon_time_selector_new_step.
440 2009-01-20 Alejandro G. Castro <alex@igalia.com>
442 * src/hildon-time-selector.c,
443 (hildon_time_selector_class_init),
444 (hildon_time_selector_constructor),
445 (hildon_time_selector_init): Overrided the construct function when
446 creating the time selector object. We have moved the minutes model
447 handling code from the init to the new construction function:
448 hildon_time_selector_constructor.
450 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
452 * examples/hildon-date-button-example.c: (main): Use the new
453 hildon_date_button_new_with_year_range() method in the example.
454 * src/hildon-date-button.c:
455 (+hildon_date_button_new_with_year_range): New public method
456 to conveniently create a HildonDateButton with a custom year range
457 in its HildonDateSelector.
458 * src/hildon-date-button.h: Add the new public method definition.
460 Fixes: NB#97908 (Not possible to change the year range in
461 HildonDateSelector/HildonDateButton)
463 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-date-selector.c:
466 (+hildon_date_selector_set_property),
467 (+hildon_date_selector_get_property),
468 (hildon_date_selector_class_init): Install new properties "min-year"
469 and "max-year" to define boundaries for the year column.
470 (_create_year_model): Use the boundary properties to populate the model.
471 (+hildon_date_selector_new_with_year_range): New public method to
472 create a HildonDateSelector with a user defined year range.
473 (hildon_date_selector_select_current_date): Use the new boundaries to
474 calculate the iterator of current year.
475 * src/hildon-date-selector.h: Add the new public method definition.
477 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
479 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
480 Install a constructor method.
481 (+hildon_date_selector_construct_ui): construct the widget.
482 (+hildon_date_selector_constructor): new constructor.
483 (+hildon_date_selector_init): move out widget construction code to
486 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
489 that there's actually a month or year selected before obtaining them.
490 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
491 of the HildonTouchSelector::changed signal, as it was emitted on every
492 single item selection.
494 Fix some warnings and possible crashers due to the selection restoring.
496 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
499 the signal handlers only after creating the dialog instead of on every
502 2009-01-19 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-button.c (hildon_button_init)
505 * src/hildon-check-button.c (hildon_check_button_init)
506 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
507 focus when clicked by default.
509 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
514 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
516 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
517 Alejandro G. Castro (alex@igalia.com)
519 * src/hildon-picker-dialog.c:
520 (hildon_picker_dialog_class_init): install new "center-on-show"
522 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
523 (hildon_picker_dialog_set_property): add setter code for the new
525 (hildon_picker_dialog_get_property): add getter code for the new
527 (hildon_picker_dialog_show): Ensure visibility of selected items in the
528 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
531 Fixes: NB#92849 (Selected item is not always visible when
532 HildonTouchSelector is shown)
534 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
536 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
537 Alejandro G. Castro (alex@igalia.com)
539 * src/hildon-touch-selector.c:
540 (_create_new_column): Do not connect to the "realize" signal of the
542 (hildon_touch_selector_append_column): center on the selected items
543 when a new column is appended.
544 (hildon_touch_selector_select_iter): Factor out the code to select a
545 column to hildon_touch_selector_scroll_to().
546 (+search_nearest_element): Method to retrieve the nearest selected
547 element to the visible area of the pannable area in a column.
548 (+on_realize_cb): scroll to the initially selected item.
549 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
550 the pannable area is realized, otherwise delay this until it is.
551 (+_hildon_touch_selector_center_on_selected_items): Centers on the
552 selected items of a given column.
553 (+hildon_touch_selector_center_on_selected): Public method to center
554 all columns on the nearest selected item.
555 * src/hildon-touch-selector.h: Add definition for
556 hildon_touch_selector_center_on_selected().
558 Implement public API to ensure visibility of all selected items in
559 a HildonTouchSelector.
561 2009-01-16 Alejandro G. Castro <alex@igalia.com>
563 Fixed a problem in the fading when calling the scroll_to API, and
564 improve scrollbar fading handling.
566 * src/hildon-pannable-area.c,
567 (hildon_pannable_area_grab_notify): avoid the timeout when the
569 (hildon_pannable_area_button_press_cb),
570 (hildon_pannable_area_motion_notify_cb): Code style changes.
571 (hildon_pannable_area_button_release_cb): Review the conditions
572 when releasing the mouse button to avoid unrequired fading
574 (hildon_pannable_area_scroll_to): Do not calculate and set the
575 velocity if the scroll is not required.
577 2009-01-15 Alberto Garcia <agarcia@igalia.com>
579 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
580 Don't check whether the new selector is NULL: it cannot be.
581 Hold a reference to the selector while doing the replacement.
583 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
586 unnecessary size_request in a removed widget.
588 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
590 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
591 an unnecessary reference tracking that was leaking.
593 2009-01-15 Alejandro G. Castro <alex@igalia.com>
595 Added delayed motion notify event handling, this way we can
596 discard redrawing if more than 25 events arrive per second.
598 * src/hildon-pannable-area.c,
599 (hildon_pannable_area_init): Initialized the new private atributes
600 controlling this timeout
601 (hildon_pannable_area_dispose): Remove the timeout that controls
602 the motion notify events.
603 (hildon_pannable_area_scroll): Added a condition to control the
604 use of the acceleration.
605 (hildon_pannable_area_motion_event_scroll_timeout),
606 (hildon_pannable_area_motion_event_scroll): Added this two
607 functions, they handle the motion notify events inside the
609 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
610 to the scroll method with the new function.
611 (hildon_pannable_area_button_release_cb): We have to remove the
612 timeout handler and move to the last position if the last motion
613 events were not handled.
615 Fixes: NB#97028 (Pannable area updates on every motion event)
617 2009-01-15 Alejandro G. Castro <alex@igalia.com>
619 * src/hildon-pannable-area.c,
620 (hildon_pannable_area_get_topmost): Added a new parameter to
621 filter the the windows that do not include those events. Added
622 also a condition when finding the window to filter windows that do
623 not ask for those events.
624 (hildon_pannable_area_button_press_cb),
625 (hildon_pannable_area_button_release_cb),
626 (hildon_pannable_get_child_widget_at): Reviewed the call the the
627 topmost function, we have added the new parameter.
629 Fixes: NB#97458 (Pannable area prevents propagation of button
632 2009-01-15 Alejandro G. Castro <alex@igalia.com>
634 * src/hildon-pannable-area.c,
635 (hildon_pannable_area_initial_effect): Added controls before
636 launching the timeout and the idle functions.
637 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
638 of the method, in some situations it can return with TRUE and 0 in
640 (hildon_pannable_area_button_press_cb): We do not need to set
641 DELAY for fading out here.
643 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
645 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
647 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
648 post-cleaning if the selection is not NULL.
650 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
652 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
653 all items before restoring the selection.
655 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
657 * src/hildon-touch-selector.c:
658 (+hildon_touch_selector_unselect_all):
659 * src/hildon-touch-selector.h: New API to unselect all items in a
660 column of the touch selector.
662 2009-01-14 Alejandro G. Castro <alex@igalia.com>
664 * src/hildon-pannable-area.c,
665 (hildon_pannable_area_redraw): Added a call to the refresh
666 function inside the redraw because apparently in some cases the
667 change in the adjustment does not imply a size allocate.
669 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
670 despite the view not being scrollable)
672 2009-01-14 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
675 leak. Check for NULL before attempting to set the window title.
677 2009-01-14 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
680 whether to show or not the 'Done' button each time the dialog is
681 shown, as it depends on the HildonTouchSelector selection mode.
683 Fixes: NB#96226 (In multiple selection mode Done button is shown
684 sometimes in listpicker)
686 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
688 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
689 for the number of columns in the HildonTouchSelector more than once.
691 2009-01-14 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-touch-selector.c: Minor documentation fixes.
695 * src/hildon-picker-dialog.c (+_dialog_update_title)
696 (_select_on_selector_changed_cb)
697 (_update_title_on_selector_changed_cb)
698 (on_selector_columns_changed): Update dialog title when there's no
699 'Done' button and also when the number of columns in the selector
703 * src/hildon-picker-button.c (hildon_picker_button_finalize)
704 (+_selection_changed, hildon_picker_button_on_dialog_response)
705 (hildon_picker_button_selector_selection_changed)
706 (+hildon_picker_button_selector_columns_changed)
707 (hildon_picker_button_set_selector): Update button value and emit
708 'value-changed' when the number of columns in the selector
712 Fixes: NB#96225 (Dialog titles are not shown according to the
713 values selected in the list picker)
715 2009-01-13 Alberto Garcia <agarcia@igalia.com>
717 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
718 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
719 New "arrow-width" and "arrow-height" style properties to set the
720 size of the arrow button.
721 Set name of arrow button ("hildon-edit-toolbar-arrow").
723 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
726 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
728 * src/hildon-picker-button.c:
729 (hildon_picker_button_selector_selection_changed): Use
730 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
731 the dialog is present.
733 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
734 the selection is accepted in the dialog)
736 2009-01-13 Alberto Garcia <agarcia@igalia.com>
738 * src/hildon-color-chooser.h
739 * src/hildon-color-chooser-dialog.h:
740 Added G_BEGIN_DECLS and G_END_DECLS
742 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
744 (_clean_current_selection): plug a leak in the list.
746 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-picker-dialog.c:
749 (+free_path_list): Method to free a GList of GtkTreePaths.
750 (_clean_current_selection), (_save_current_selection),
751 (_restore_current_selection): Save the current selection in
752 as a list of lists, to support multiple selection properly.
754 2009-01-12 Alberto Garcia <agarcia@igalia.com>
756 patch by Claudio Saavedra (csaavedra@igalia.com)
758 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
759 Store the press position.
760 (+hildon_text_view_button_release_event): If the release position is
761 close enough to the press position, move the cursor here. Otherwise,
763 (hildon_text_view_class_init): Override GtkTextView press, release, and
764 motion event handlers, disabling this way text selection through
765 pointer interaction, and allowing the container widget to handle the
768 Fixes: NB#95828 (HildonTextView functionality)
770 2009-01-12 Alberto Garcia <agarcia@igalia.com>
772 Based on a patch by Iván Gómez (igomez@igalia.com)
774 * src/hildon-button.[ch]
775 * src/hildon-calendar.c
776 * src/hildon-check-button.c
777 * src/hildon-date-editor.c
778 * src/hildon-date-selector.c
779 * src/hildon-picker-button.c
780 * src/hildon-time-editor.c
781 * src/hildon-time-selector.c
782 * src/hildon-touch-selector.[ch]:
783 Documentation updates
785 2009-01-12 Alejandro G. Castro <alex@igalia.com>
787 * src/hildon-pannable-area.c,
788 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
789 threshold, it was required due to X events handling.
791 2009-01-12 Alejandro G. Castro <alex@igalia.com>
793 * src/hildon-pannable-area.c,
794 (hildon_pannable_area_grab_notify),
795 (hildon_pannable_area_initial_effect),
796 (hildon_pannable_area_button_press_cb),
797 (hildon_pannable_area_button_release_cb),
798 (hildon_pannable_area_scroll_cb),
799 (hildon_pannable_area_scroll_to): Review the timeout management of
800 the scrollbar, the frecuency was incorrectly set.
802 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-picker-button.c:
805 (+hildon_picker_button_on_dialog_response),
806 (hildon_picker_button_clicked): Present the dialog instead of
807 running it with gtk_dialog_run().
809 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
812 2009-01-07 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
815 (hildon_app_menu_finalize): When a window is hidden it doesn't
816 emit notify::is-topmost, so make sure than the menu also
817 disappears in that case.
818 (parent_window_topmost_notify): Renamed from parent_window_hidden
820 Fixes: NB#94460 (stackable window's menu is not closed when its
823 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
825 * src/hildon-touch-selector-entry.c:
826 (+hildon_touch_selector_entry_set_input_mode),
827 (+hildon_touch_selector_entry_get_input_mode):
828 * src/hildon-touch-selector-entry.h: New methods to access the input
829 mode in the selector's entry.
831 Fixes: NB#93410 (API required for setting IM mode in
832 HildonTouchSelectorEntry)
834 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
836 * configure.ac: post release version bump.
837 * debian/changelog: version bump
839 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
844 * configure.ac: Bump version.
845 * debian/changelog: Updates.
847 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-touch-selector.c:
850 (_hildon_touch_selector_has_multiple_selection): No need
851 to initialize the variables here.
853 2008-12-17 Alberto Garcia <agarcia@igalia.com>
855 * src/hildon-note-private.h
856 * src/hildon-note.c (event_box_press_event, hildon_note_init)
857 (hildon_note_finalize, hildon_note_rebuild): Close information
858 notes when they receive a button press.
860 Fixes: NB#89890 (Information notes does not get disappeared after
863 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-wizard-dialog.c: (create_title): Remove translation
866 mark from the wizard title, as it's not really necessary. Also,
867 do not display the page title if not set.
869 2008-12-17 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
872 (parent_window_hidden): Use the window's "is-topmost" property to
873 detect when to hide the menu.
875 2008-12-16 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
878 (hildon_app_menu_finalize): If the parent window of the menu is
879 hidden, hide the menu too.
881 Fixes: NB#94460 (stackable window's menu is not closed when its
884 2008-12-16 Alberto Garcia <agarcia@igalia.com>
887 * debian/libhildon1-examples.install
889 * examples/Makefile.am:
890 Use dh_install to install all examples.
891 Use DEB_SRCDIR instead of defining SOURCE_DIR
893 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: post release version bump.
896 * debian/changelog: version bump
898 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
903 * configure.ac: bump version
904 * debian/changelog: updates
905 * debian/control: bump gtk+ dependency
907 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
909 patch by Christian Dywan (christian@imendio.com)
911 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
912 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
914 2008-12-15 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-check-button.c (hildon_check_button_init)
917 (hildon_check_button_class_init, hildon_check_button_style_set)
918 (hildon_check_button_apply_style):
919 New "checkbox-size" style property.
921 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
922 larger / configurable size)
924 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
926 * configure.ac: post release version bump.
927 * debian/changelog: version bump
929 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
934 * configure.ac: bump version
935 * debian/changelog: updates
937 2008-12-12 Alberto Garcia <agarcia@igalia.com>
939 * doc/hildon-sections.txt
940 * src/hildon-pannable-area.c
941 * src/hildon-program.c
942 * src/hildon-time-editor.c
943 * src/hildon-touch-selector-entry.c:
945 More documentation updates.
947 2008-12-12 Alberto Garcia <agarcia@igalia.com>
949 * doc/hildon-sections.txt
950 * src/hildon-caption.c
951 * src/hildon-code-dialog.c
952 * src/hildon-color-button.c
953 * src/hildon-controlbar.c
954 * src/hildon-date-editor.c
955 * src/hildon-date-selector.c
956 * src/hildon-edit-toolbar.c
957 * src/hildon-find-toolbar.c
958 * src/hildon-font-selection-dialog.c
960 * src/hildon-program.c
961 * src/hildon-range-editor.c
962 * src/hildon-seekbar.c
963 * src/hildon-time-editor.c
964 * src/hildon-time-selector.c
965 * src/hildon-volumebar-range.c
966 * src/hildon-volumebar.c
967 * src/hildon-vvolumebar.c
968 * src/hildon-weekday-picker.c
969 * src/hildon-window.c
970 * src/hildon-wizard-dialog.c:
972 Lots of documentation fixes.
974 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
976 Patch contributed by Iván Gómez (igomez@igalia.com)
978 * src/hildon-check-button.c:
979 * src/hildon-date-button.c:
980 * src/hildon-date-selector.c:
981 * src/hildon-dialog.c:
982 * src/hildon-edit-toolbar.c:
983 * src/hildon-entry.c:
984 * src/hildon-picker-button.c:
985 * src/hildon-program.c:
986 * src/hildon-text-view.c:
987 * src/hildon-time-button.c:
988 * src/hildon-touch-selector-entry.c:
989 * src/hildon-window-stack.c:
991 Add more "since" tags to the new API.
993 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
995 * doc/hildon-sections.txt: Add below method.
996 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
997 version for the hildonized scale.
998 * src/hildon-gtk.h: Add the definition.
1000 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1002 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1004 * doc/hildon-sections.txt: Add missing entries for new methods.
1006 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1008 Added API to pannable are in order to get its adjustments. We
1009 added two properties to manage the values we had in the private
1012 * src/hildon-pannable-area.c:
1013 (hildon_pannable_area_class_init): Added hadjustment and
1014 vadjustment properties in order to expose horizontal and vertical
1016 (hildon_pannable_area_get_property),
1017 (hildon_pannable_area_set_property): Added code to handle the new
1019 (hildon_pannable_area_get_hadjustment),
1020 (hildon_pannable_area_get_vadjustment): API functions to get the
1022 * src/hildon-pannable-area.h:
1023 (hildon_pannable_area_get_hadjustment),
1024 (hildon_pannable_area_get_vadjustment): API functions to get the
1027 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1029 Fixed some leaks, after valgrinding.
1031 * src/hildon-touch-selector.c:
1032 (_default_print_func): Fixed a leak.
1033 (hildon_touch_selector_append_column): Fixed a leak.
1034 * src/hildon-date-button.c:
1035 (hildon_date_button_init): Fixed a leak.
1036 * src/hildon-date-selector.c
1037 (hildon_date_selector_finalize): Fixed a leak.
1039 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1041 Based on a patch by Christian Dywan (christian@imendio.com)
1043 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1045 * src/hildon-gtk.h: Add definition.
1047 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1049 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-picker-button.c: (hildon_picker_button_init),
1052 (hildon_picker_button_new): Set the HildonButton::style property
1053 in the init method, to propagate the value to the derived classes.
1055 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1057 * src/hildon-button.c: (hildon_button_class_init): Do not make
1058 the "style" property a construct property.
1060 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-wizard-dialog.h
1063 * src/hildon-wizard-dialog.c
1064 (hildon_wizard_dialog_set_forward_page_func)
1065 * src/hildon-pannable-area.h
1066 * src/hildon-pannable-area.c
1067 (hildon_pannable_area_set_size_request_policy):
1068 Documentation fixes.
1070 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1072 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1074 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1076 * doc/hildon-sections.txt: Added sections file.
1078 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/*.[ch]: Updates.
1083 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1085 * examples/hildon-progress-indicator-example.c: new file
1086 * examples/Makefile.am: include the new example program
1088 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1090 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1092 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1094 * configure.ac: post release version bump
1095 * debian/changelog: version bump
1097 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1102 * configure.ac: bump version
1103 * debian/changelog: updates
1104 * debian/control: bump gtk+ dependency
1106 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-dialog.c: Mark as deprecated.
1109 * src/hildon-dialog.h: Mark as deprecated.
1110 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1111 from HildonDialog and still work, even if
1112 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1113 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1115 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1116 maemo changes) instead)
1118 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1120 * src/hildon-pannable_area.h:
1121 * src/hildon-pannable_area.c:
1122 (hildon_pannable_area_class_init),
1123 (hildon_pannable_area_set_property),
1124 (hildon_pannable_area_get_property),
1125 (hildon_pannable_area_size_request),
1126 (hildon_pannable_area_get_size_request_policy),
1127 (hildon_pannable_area_set_size_request_policy): Added new API
1128 allowing applications to control the request policy. Now they can
1129 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1130 children allocation (HILDON_MOVEMENT_CHILDREN).
1132 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1136 (hildon_gtk_tree_view_set_ui_mode)
1137 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1138 mode of treeviews and iconviews.
1140 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/hildon-touch-selector-entry.c:
1143 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1144 of a GtkEntry to get proper theming.
1146 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1147 widget, not GtkEntry)
1149 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1151 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1152 no HildonWizardDialogPageFunc.
1154 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1156 Patch contributed by Iván Gómez (igomez@igalia.com)
1158 * src/hildon-app-menu.c:
1159 * src/hildon-button.c:
1160 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1161 * src/hildon-stackable-window.c:
1162 * src/hildon-time-selector.c:
1163 * src/hildon-touch-selector.c:
1164 * src/hildon-window.c:
1166 Add more "since" tags to the new API in hildon 2.2.
1168 2008-12-05 Tim Janik <timj@imendio.com>
1170 Patch contributed by Christian Dywan (christian@imendio.com)
1172 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1173 HildonSizeType, which are supplied by Gtk+ now.
1175 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1177 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1178 (with maemo changes) instead)
1180 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1182 Patch contributed by Iván Gómez (igomez@igalia.com)
1184 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1187 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1189 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1190 (some_page_func), (main): Update the example to use a
1191 HildonWizardDialogPageFunc function.
1193 * src/hildon-wizard-dialog-private.h: Add private data for
1194 the HildonWizardDialogPageFunc function usage.
1196 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1197 (destroy), (hildon_wizard_dialog_init), (response),
1198 (hildon_wizard_dialog_set_forward_page_func):
1199 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1200 that applications can use to stop a HildonWizardDialog to jump to
1203 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1206 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-program.h
1209 * src/hildon-program-private.h
1210 * src/hildon-program.c (hildon_program_init)
1211 (hildon_program_set_common_app_menu)
1212 (hildon_program_get_common_app_menu):
1213 New API for setting a common HildonAppMenu for all
1214 HildonStackableWindows registered with the HildonProgram.
1216 * src/hildon-stackable-window.c
1217 (hildon_stackable_window_toggle_menu):
1218 Use the common HildonAppMenu if a window doesn't have a specific
1221 * src/hildon-app-menu-private.h
1222 * src/hildon-app-menu.c
1223 (hildon_app_menu_get_parent_window):
1224 Function to obtain the window a HildonAppMenu is attached to.
1225 (hildon_app_menu_set_parent_window):
1226 Hide the menu if the parent window is set to NULL.
1228 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1231 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1232 search widget to popup.
1234 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1236 * configure.ac: post release version bump
1237 * debian/changelog: version bump
1239 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1244 * configure.ac: bump version
1245 * debian/changelog: updates
1247 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1249 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1251 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1252 (hildon_window_stack_window_realized)
1253 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1254 Set the leader GdkWindow when a window is stacked and realized,
1255 unset it when it's unstacked.
1256 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1258 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1260 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-stackable-window.h
1263 * src/hildon-window-stack.h:
1264 Protect definition of HildonWindowStack using the preprocessor.
1266 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1269 Fix warning if all menu items are hidden.
1271 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1273 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1275 * src/hildon-controlbar.c:
1276 * src/hildon-hvolumebar.c:
1277 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1278 Multiple scale size defines updates.
1280 Fixes: NB#94322 (Scale Updates)
1282 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1284 * examples/hildon-app-menu-example.c (create_menu)
1285 Show items after adding them to the menu, as in the future the
1286 menu will no longer call gtk_widget_show() on the added items.
1288 * src/hildon-app-menu.c:
1289 Update example as explained above.
1291 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1293 * src/hildon-app-menu.c
1294 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1295 Make sure that all menu items have finger height.
1297 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1299 * src/hildon-picker-dialog.c:
1300 (_on_dialog_response), (_save_current_selection),
1301 (_restore_current_selection), (_clean_current_selection),
1302 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1303 Defined new functions in order to save the current internal selector
1304 selection previous open the dialog, in case that the use cancel the
1305 interaction, so the widget restores the previous selection.
1307 Fixes: NB#92032 (In calendar application, date values in 'new event'
1310 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1312 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-button.c: Add a reference to the button examples in
1315 hildon-button-example.c
1317 * examples/hildon-button-example.c: Added examples of the most
1318 common button layouts.
1320 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-app-menu.c (hildon_app_menu_show)
1323 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1325 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1327 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1329 * src/hildon-picker-dialog.c:
1330 (hildon_picker_dialog_init): Initialize the signal id for
1331 HildonTouchSelector::columns-changed.
1332 (+on_selector_columns_changed): Set up the interaction mode everytime a
1333 column is added or removed from the HildonTouchSelector.
1334 (_hildon_picker_dialog_set_selector): Connect to
1335 HildonTouchSelector::columns-changed and keep track of it.
1337 Make sure to update the interaction mode of the dialog everytime a
1338 column is added or removed in the HildonTouchSelector.
1340 Fixes: NB#93228 (Done button is not shown always in listpicker)
1342 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1344 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1345 a new ::columns-changed signal.
1346 (hildon_touch_selector_append_column): Emit ::columns-changed.
1347 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1349 Add a ::columns-changed signal, emitted when the number of columns in a
1350 HildonTouchSelector changes.
1352 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1355 (_hildon_picker_dialog_set_selector): Factor out the code
1356 to set up the dialog interaction mode.
1358 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1360 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1361 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1362 to signal_changed_id.
1364 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1369 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1371 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1372 Updated the logical ids related to ampm format, as now it is required to
1373 show it correctly localized even on languages with no default
1374 abbreviations for am or pm
1375 (_check_am_pm_format): check correctly the 24h format gconf property
1377 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1379 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-button.c: Documentation updates.
1383 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1385 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1386 * src/hildon-caption.c: (hildon_caption_class_init):
1387 * src/hildon-color-button.c: (hildon_color_button_class_init):
1388 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1389 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1390 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1391 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1393 Remove deprecated GTK+ marshalers and replace them with the ones
1394 provided by GLib, for those available, add a marshaler for
1395 BOOLEAN:VOID, which is not available in GLib, and use it.
1397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1400 the text from the previous column if there is no
1401 HildonTouchSelectorColumn::text-property set.
1403 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-button.h
1406 * src/hildon-button.c (hildon_button_set_property)
1407 (hildon_button_get_property, hildon_button_class_init)
1408 (hildon_button_set_style, hildon_button_get_style):
1409 New "style" property to change the visual appearance of the
1412 * src/hildon-picker-button.c (hildon_picker_button_new):
1413 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1415 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1416 HildonButton look like PickerButton)
1418 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1421 column while building the default string.
1423 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1425 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1426 scroll indicator by default.
1428 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1430 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-main.c: Fix the documentation for hildon_init()
1434 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1436 * doc/hildon-docs.sgml
1440 * src/hildon-window-stack-private.h
1441 * src/hildon-window-stack.h
1442 * src/hildon-window-stack.c:
1443 New HildonWindowStack object, that adds support for multiple
1444 stacks of windows per process.
1446 * src/hildon-stackable-window-private.h
1447 * src/hildon-stackable-window.h
1448 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1449 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1450 (hildon_stackable_window_show, hildon_stackable_window_hide)
1451 (hildon_stackable_window_class_init)
1452 (hildon_stackable_window_init):
1453 Use HildonWindowStack for stack management.
1455 * src/hildon-program.c (hildon_program_pop_window_stack)
1456 (hildon_program_peek_window_stack)
1457 (hildon_program_go_to_root_window):
1458 Add a fallback implementation to the deprecated functions using
1461 * examples/hildon-stackable-window-example.c:
1462 Use the new HildonWindowStack API.
1464 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-stackable-window-private.h
1467 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1468 (hildon_stackable_window_hide, hildon_stackable_window_init):
1469 Remove all window stack management.
1471 * src/hildon-program-private.h
1472 * src/hildon-program.h
1473 * src/hildon-program.c (hildon_program_init)
1474 (hildon_program_pop_window_stack)
1475 (hildon_program_peek_window_stack)
1476 (hildon_program_go_to_root_window):
1477 Remove all window stack management and mark functions as
1480 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-app-menu.c (hildon_app_menu_realize):
1483 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1485 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: post release version bump
1488 * debian/changelog: version bump
1490 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1495 * configure.ac: bump version
1496 * debian/changelog: updates
1498 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1500 Based on initial code by Christian Dywan (christian@imendio.com)
1502 * doc/hildon-docs.sgml: Add section for hildon-main.
1503 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1504 * src/Makefile.am: Add new hildon-main.[ch]
1505 * src/hildon-defines.h: Update the icon sizes.
1506 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1507 new library initialization files and register icon sizes.
1508 * src/hildon-main.h: New declarations.
1509 * src/hildon.h: Include hildon-main.h
1511 Add new initialization functions to the library. These methods
1512 will register the hildon specific icon sizes and can be used in the
1513 future for other hildon specific bits.
1515 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1517 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-window.c: (hildon_window_realize),
1520 (hildon_window_notify), (-hildon_window_update_title): Do not set
1521 the application name in the window title.
1523 Fixes: NB#89754 (Applications shouldn't display their names in the
1526 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1528 * src/hildon-note-private.h:
1529 * src/hildon-note.c: (hildon_note_set_property),
1530 (hildon_note_get_property), (hildon_note_class_init),
1531 (hildon_note_init), (hildon_note_finalize),
1532 (hildon_note_new_confirmation_with_icon_name),
1533 (hildon_note_new_information_with_icon_name):
1535 No need to mark as deprecated the actual code. Revert
1536 to avoid missing symbols in widgets using deprecated API.
1538 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1540 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1542 * src/hildon-volumebar.h
1543 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1544 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1546 * src/hildon-helper.h
1547 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1548 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1550 * examples/Makefile.am:
1551 Deprecate hildon-insensitive-example
1553 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1555 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1557 * examples/hildon-pannable-area-buttons-scroll-example.c:
1558 Make all buttons finger height
1560 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1562 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1564 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1565 update the day model only if it is really required, and to avoid the
1566 full-reconstruction aproach. Now it only add or remove the required days.
1568 The purpose of this is avoid superfluous HildonTouchSelector::changed
1571 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1572 with strange parameters)
1574 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1576 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1578 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1579 the WINDOW_TYPE property.
1581 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1583 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1586 Fix dependency to allow parallel compilation with make -jX
1588 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1591 color frame and some minor tweaks to make it more consistent with
1594 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1595 highlighted but not visible)
1597 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1599 * examples/Makefile.am: Fixed typo in the Makefile.am.
1601 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1603 Reviewed the use of MAEMO_GTK define, now we add the define in the
1604 compilation line, and we also add it to the pc file.
1606 * configure.ac: Added MAEMO_GTK define to the compilation command
1607 and removed it from the config.h.
1609 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1610 do not have to take care about this define if the library was
1614 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1616 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1618 * examples/Makefile.am,
1619 * examples/hildon-pannable-area-buttons-scroll-example.c,
1620 * examples/hildon-pannable-area-gesture-signals-example.c,
1621 * examples/hildon-pannable-area-scroll-jump-example.c,
1622 * examples/hildon-pannable-area-tree-view-example.c:
1623 Renamed the pannable area examples, now they have more meaningful
1626 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1628 * src/hildon-touch-selector.c:
1629 (hildon_touch_selector_set_column_selection_mode): Used of
1630 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1631 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1632 to avoid re-seting the same selection mode.
1634 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1635 breaks HildonPickerDialog)
1637 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1639 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1640 conditional in the Makefile.am
1642 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1645 Remove unused methods.
1647 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1649 * src/hildon-button.c (hildon_button_init):
1650 Make button images center-aligned by default
1652 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1655 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1656 activated, we have to think about how to deal with both defines
1657 MAEMO_GTK and MAEMO_CHANGES.
1659 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1661 * examples/hildon-app-menu-example.c (create_menu): Make all
1662 buttons finger size.
1664 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1666 Fixed the compilation without maemo gtk adding ifdefs with
1667 MAEMO_GTK define to the code, we have to check this version more
1670 * examples/Makefile.am: Added control to avoid some examples that
1671 just make sense with maemo gtk.
1674 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1675 hildon modes with the define.
1677 * examples/hildon-edit-toolbar-example.c,
1678 (create_icon_view): Create the icon view without hildon-gtk
1679 helpers if we are not using maemo gtk.
1681 * src/hildon-touch-selector.c,
1682 (_create_new_column): Create the treeview without hildon-gtk
1683 helpers if we are not using maemo gtk.
1685 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1687 * src/hildon-pnnable-area.c,
1688 (hildon_pannable_area_dispose),
1689 (hildon_pannable_area_button_press_cb),
1690 (hildon_pannable_area_child_mapped),
1691 (hildon_pannable_area_add),
1692 (hildon_pannable_area_remove): Added code to control the position
1693 of the event_window when adding and removing children from the
1694 pannable. We have to raise the event window when the child is
1697 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1698 selection mode using custom widget inside pannable)
1700 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: post release version bump
1703 * debian/changelog: version bump
1705 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1710 * configure.ac: bump version
1711 * debian/changelog: updates
1713 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1716 search mode, in order to avoid lose the focus on the treeview when
1717 a hw key (like enter) is pressed.
1719 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1720 in HildonDateSelector dialog)
1722 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1724 * debian/rules: Added --enable-maintainer-mode
1725 * Makefile.am: Added ACLOCAL_AMFLAGS
1727 This allows to properly regenerate the Makefiles if you modify the
1728 configure.ac or any Makefile.am.
1730 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1732 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1733 properties, not needed at all.
1735 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1737 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1739 * src/hildon-note.c: (hildon_note_set_property),
1740 (hildon_note_get_property), (hildon_note_class_init),
1741 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1742 (hildon_note_new_confirmation_add_buttons): Remove icons.
1743 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1744 (hildon_note_new_information_with_icon_name): Deprecate.
1745 (hildon_note_new_confirmation): Act directly, without calling
1746 the deprecated constructor.
1747 (hildon_note_new_information): Act directly, without calling
1748 the deprecated constructor.
1749 * src/hildon-note.h: Mark deprecate methods as such.
1750 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1751 not run tests on the deprecated methods if built with deprecation
1754 Fixes: NB#91688 (Never show icons in information notes/confirmation
1757 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1760 (hildon_app_menu_key_press): Remove leftover usage of the
1761 private structure in HildonAppMenu struct.
1762 * src/hildon-app-menu.h: Remove leftover private structure
1763 from the HildonAppMenu struct.
1765 Fixes a crasher when using the HildonAppMenu.
1767 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-picker-dialog.c: Use appropriate logical id
1770 for the default "Done" text.
1772 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1774 * configure.ac: post release version bump
1775 * debian/changelog: version bump
1777 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1779 Modified the way to scroll to the current selection just when the touch
1780 selector is shown on the screen, avoiding a g_idle. Added too a property
1781 to configure this behaviour. See hildon_pannable_area_jump_to_child
1782 documentation for more information.
1784 * src/hildon-touch-selector.c
1785 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1786 Added 'initial-scroll' property
1787 (hildon_touch_selector_set_property): Added
1788 (hildon_touch_selector_map): Removed as not required anymore
1789 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1790 only a concrete column, instead of iterate along all the columns
1792 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1797 * configure.ac: bump version
1798 * debian/changelog: updates
1800 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1803 compilation time warnings.
1805 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1807 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1808 the default value for HildonPannableArea::mov-mode to
1809 HILDON_PANNABLE_AREA_MODE_VERT.
1811 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1813 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1815 Reverting following commit:
1817 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-app-menu-private.h
1820 * src/hildon-app-menu.[ch]
1821 * src/hildon-button.[ch]
1822 * src/hildon-check-button.[ch]
1823 * src/hildon-entry.[ch]
1824 * src/hildon-pannable-area.[ch]
1825 * src/hildon-text-view.[ch]:
1826 Added private field to the object's structure.
1828 because it causes an ABI breakage. We will need to introduce these
1829 changes later at some point. See NB#91636 for an extensive
1830 explanation and status.
1832 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1834 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1836 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1837 remove special cases that are no longer necessary.
1839 Fixes: NB#91016 (Change toolbar sizes, simplification)
1841 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1844 is shown in the cancel note.
1846 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1849 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1850 (hildon_seekbar_init): Remove steppers, remove expose event.
1851 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1853 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1855 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1858 label font to "SmallSystemFont" for vertically arranged buttons.
1860 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1863 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-check-button.c
1866 (hildon_check_button_set_active, hildon_check_button_clicked):
1867 Don't access private parts directly, use getters instead.
1869 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1871 * src/hildon-check-button.c (hildon_check_button_new):
1872 Align the contents of the check button to the left.
1874 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_area_scroll_to),
1878 (hildon_pannable_area_jump_to),
1879 (hildon_pannable_area_scroll_to_child),
1880 (hildon_pannable_area_jump_to_child): Replace the mapped
1881 precondition of these functions with the realized, it is the
1882 correct state of the widget in this case. Changed the
1883 documentation according to this modification.
1885 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1887 Added a new EXTRA_CFLAGS option to add the deprecated define to
1888 the compilation command. This way we can avoid using the define in
1889 the documentation compilation.
1891 * configure.ac: Defined EXTRA_CFLAGS.
1893 * examples/Makefile.am:
1895 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1897 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1899 * src/hildon-picker-dialog.c:
1900 Defined a utility macro with the desired touch selector height
1901 Removed currently unused separator, and title_label variables from
1903 (hildon_picker_dialog_init): Removed code related to the creation
1904 of unused private variables title_label and separator.
1905 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1906 to ensure correct visualization of the touch selector inside the dialog.
1907 * src/hildon-touch-selector.c
1908 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1909 ensure a concrete height of the widget.
1911 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1914 * tests/Makefile.am:
1916 Remove spurious whitespaces.
1918 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1920 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1921 compilation warning after the cancel button removal.
1923 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1925 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1927 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1928 Makefile.am, that way we can choose not to compile some examples
1929 and tests of the deprecated widgets.
1931 * examples/Makefile.am: Divided the sources in deprecated and
1934 * src/Makefile.am: Added undef statement of the deprecated
1935 symbol to the enums file generation process.
1937 * src/hildon-color-chooser-dialog.c
1938 * src/hildon-color-chooser-dialog.h
1939 * src/hildon-color-button.c
1940 * src/hildon-color-button.h
1941 * src/hildon-color-chooser.c
1942 * src/hildon-color-chooser.h
1943 * src/hildon-controlbar.c
1944 * src/hildon-controlbar.h
1945 * src/hildon-date-editor.c
1946 * src/hildon-date-editor.h
1947 * src/hildon-hvolumebar.c
1948 * src/hildon-hvolumebar.h
1949 * src/hildon-private.c
1950 * src/hildon-private.h
1951 * src/hildon-range-editor.c
1952 * src/hildon-range-editor.h
1953 * src/hildon-seekbar.c
1954 * src/hildon-seekbar.h
1955 * src/hildon-time-editor.c
1956 * src/hildon-time-editor.h
1957 * src/hildon-time-picker.c
1958 * src/hildon-time-picker.h
1959 * src/hildon-volumebar.c
1960 * src/hildon-volumebar.h
1961 * src/hildon-vvolumebar.c
1962 * src/hildon-vvolumebar.h
1963 * src/hildon-bread-crumb-trail.h
1964 * src/hildon-bread-crumb-trail.c
1965 * src/hildon-calendar-popup.c
1966 * src/hildon-calendar-popup.h
1967 * src/hildon-weekday-picker.c:
1968 * src/hildon-weekday-picker.h:
1969 * src/hildon-bread-crumb-widget.c:
1970 * src/hildon-bread-crumb-widget.h:
1971 * src/hildon-bread-crumb.c:
1972 * src/hildon-bread-crumb.h:
1973 * src/hildon-calendar.c:
1974 * src/hildon-calendar.h:
1975 * src/hildon-caption.c:
1976 * src/hildon-code-dialog.c:
1977 * src/hildon-code-dialog.h:
1978 * src/hildon-font-selection-dialog.c:
1979 * src/hildon-font-selection-dialog.h:
1980 * src/hildon-get-password-dialog.c:
1981 * src/hildon-get-password-dialog.h:
1982 * src/hildon-login-dialog.c:
1983 * src/hildon-login-dialog.h:
1984 * src/hildon-number-editor.c:
1985 * src/hildon-number-editor.h:
1986 * src/hildon-set-password-dialog.c:
1987 * src/hildon-set-password-dialog.h:
1988 * src/hildon-sort-dialog.c:
1989 * src/hildon-sort-dialog.h: This is the list of deprecated
1992 * src/hildon-touch-selector.c:
1993 * src/hildon-window.c: Added undef statement to avoid compilation
1996 * tests/Makefile.am: Divided the sources in deprecated and
1999 * tests/check_test.c,
2000 (configure_tests): Marked the deprecated code that was adding
2001 suites with deprecated tests.
2003 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2005 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-touch-selector.c: (_default_print_func): Do not
2008 duplicate a string returned by gtk_tree_model_get(), it is already
2011 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2014 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2016 * src/hildon-pannable-area.c
2017 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2018 method, it had problems when adding a widget with viewport the
2019 second time. Now checks if it already has a viewport and uses it.
2021 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2024 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2026 * src/hildon-pannable-area.c,
2027 (hildon_pannable_area_scroll_to),
2028 (hildon_pannable_area_jump_to),
2029 (hildon_pannable_area_scroll_to_child),
2030 (hildon_pannable_area_jump_to_child): Added a precondition to the
2031 scroll and jump to functions: the widget must be mapped before we
2032 can safely call these functions. We have also added documentation
2033 to the functions to explain how to use them in this situation.
2036 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2038 Reviewed the threading handling of the pannable widget, we have
2039 used the gdk_threads_add_timeout function instead of the usual
2040 glib handlers. This avoids some problems with the threads.
2042 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2043 (hildon_pannable_area_initial_effect),
2044 (hildon_pannable_area_scroll_indicator_fade),
2045 (hildon_pannable_area_button_press_cb),
2046 (hildon_pannable_area_timeout),
2047 (hildon_pannable_area_motion_notify_cb),
2048 (hildon_pannable_area_button_release_cb),
2049 (hildon_pannable_area_scroll_cb),
2050 (hildon_pannable_area_scroll_to): Removed the
2051 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2052 gdk_threads_add_timeout.
2054 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2056 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2061 * configure.ac: bump version
2062 * debian/changelog: updates
2064 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2067 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2068 * src/hildon-color-chooser-dialog.c:
2069 (hildon_color_chooser_dialog_init):
2070 * src/hildon-font-selection-dialog.c:
2071 (hildon_font_selection_dialog_init):
2072 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2074 Remove all cancel/close-like dialogs, as these are not going to be
2077 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-note.c: (hildon_note_rebuild),
2080 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2083 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2085 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2088 sure all buttons are shown, even the Cancel/Close-like ones.
2090 Fixes: NB#90861 (Custom Confirmation dialogs should be
2091 protected from cancel button removal)
2093 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2095 * debian/control: Change libhildon1-examples dependency from libhildon1
2097 * debian/libhildon1-examples.install
2099 * Makefile.am: Modified the final install directory for the examples on
2100 package libhildon1-examples
2101 * Makefile.static: Update clean target in order to remove all the binary
2104 Changes suggested by Claudio after review new libhildon1-examples package
2106 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2109 * src/hildon-touch-selector.c: Ditto.
2111 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2113 * debian/control: Added new package libhildon1-examples, in order to pack
2114 the current hildon examples as documentation
2115 * debian/rules: Not to compress .c files, modify some includes on the
2116 examples (as normally are compiled locally, but when installed it will
2117 require to include the installed libhildon1 library), and rename
2119 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2120 install all the example files on the new example package
2121 * examples/Makefile.static: Added static makefile that can be used to
2122 compile the examples, once installed the new example package
2123 * examples: Most of the examples were modified in order to grant that
2124 all use only '#include "hildon.h"', in order to be easy to prepare
2125 it on the example package
2127 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2130 * debian/libhildon1-dev.install
2131 * debian/libhildon1-doc.install:
2132 Move all gtk-doc files to a separate libhildon1-doc package.
2134 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2136 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2140 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2142 * debian/rules: Fixed a error in order to avoid unnecessary calls
2143 to autogen.sh on package building
2145 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2147 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2149 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2151 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2154 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-picker-button.c
2157 (hildon_picker_button_finalize):
2158 Free priv->done_button_text
2160 * src/hildon-time-button.c
2161 (hildon_time_button_set_time)
2162 * src/hildon-picker-button.c
2163 (hildon_picker_button_clicked)
2164 (hildon_picker_button_selector_selection_changed)
2165 (hildon_picker_button_set_selector)
2166 * src/hildon-date-button.c
2167 (hildon_date_button_set_date):
2168 Free strings returned by hildon_touch_selector_get_current_text()
2170 * src/hildon-button.c (hildon_button_construct_child):
2171 Fix leaks in priv->image and priv->label_box
2173 Fixes: NB#90535 (Memory leak in picker button)
2175 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-button.c: (hildon_button_get_property): Do not access
2178 private elements directly, use getters instead.
2180 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-app-menu-private.h
2183 * src/hildon-app-menu.c
2184 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2185 Store the menu's parent window.
2187 * src/hildon-stackable-window.c
2188 (hildon_stackable_window_toggle_menu)
2189 (hildon_stackable_window_finalize):
2190 Set the menu's parent window when the menu is shown, unset it when
2193 * src/hildon-app-menu.c
2194 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2195 (hildon_app_menu_class_init):
2196 Send unhandled keyboard accelerators to the parent window.
2198 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-stackable-window.c
2201 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2203 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2205 * configure.ac: post release version bump
2207 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2210 * configure.ac: Bump version
2211 * debian/changelog: Updates
2212 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2215 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2217 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2220 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2221 GtkMenu with Hildon style.
2223 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-picker-button.c:
2226 (hildon_picker_button_set_done_button_text): Set the dialog's
2227 done button text here as well.
2229 Fixes: NB#90232 (Picker button does not set the label on done button
2230 for the second time)
2232 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2237 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-app-menu.c (hildon_app_menu_insert)
2240 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2241 the HildonAppMenu to be activatable using keyboard accelerators
2242 when the menu is not being shown.
2244 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2246 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-stackable-window.c
2249 (hildon_stackable_window_show):
2250 Don't hide old windows automatically when new windows are shown:
2251 this is now a task for the window manager.
2252 (hildon_stackable_window_class_init)
2253 (hildon_stackable_window_hide):
2254 Remove windows from the stack everytime they're hidden.
2255 (hildon_stackable_window_realize):
2256 Don't change the _NET_WM_WINDOW_TYPE property. Use
2257 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2258 it as a stackable window.
2260 * src/hildon-program.c
2261 (hildon_program_pop_window_stack):
2262 Just hide the window to remove it from the stack.
2263 (hildon_program_go_to_root_window):
2264 Don't call gtk_widget_show(), this is now a task for the window
2267 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2269 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-button.c
2272 (hildon_button_construct_child):
2273 Don't pack anything in the button until text or image are
2274 set. This allows adding a custom child after creating the button
2275 with hildon_button_new().
2276 (hildon_button_finalize, hildon_button_class_init)
2277 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2278 alignment and the label box even when they're not packed in the
2281 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2283 * src/hildon-touch-selector.h:
2284 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2285 currently the type definition was using GTK_TYPE_VBOX
2286 * src/hildon-touch-selector.c:
2287 Added some implementation notes in order to clarify that any other widget
2288 added without the column related API will not be included on the
2289 selection logic, and how the widget is freed, as some people ask about
2291 (hildon_touch_selector_remove): Reimplemented in order to free properly
2292 the column related data when you remove the private hbox.
2293 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2294 to get a proper HildonTouchSelectorColumn documentation
2296 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2298 * src/hildon-touch-selector-entry.c:
2299 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2300 text in the GtkEntry and there is no item selected. Fixes a
2303 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-app-menu-private.h
2306 * src/hildon-app-menu.[ch]
2307 * src/hildon-button.[ch]
2308 * src/hildon-check-button.[ch]
2309 * src/hildon-entry.[ch]
2310 * src/hildon-pannable-area.[ch]
2311 * src/hildon-text-view.[ch]:
2312 Added private field to the object's structure.
2314 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2316 * configure.ac: post-release version bump
2318 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2322 * configure.ac: pre-release version bump
2324 * debian/changelog: updates.
2326 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2329 Disconnect the handler for HildonTouchSelector::changed.
2331 (hildon_picker_button_selector_selection_changed): Update the button
2332 value if the selection change was not triggered by the
2335 (hildon_picker_button_set_selector): connect to
2336 HildonTouchSelector::changed.
2338 Fixes: NB#89650 (Picker button is not updated, when selection in
2339 selector has changed)
2341 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2343 * src/hildon-picker-dialog.c
2344 (hildon_picker_dialog_realize): Removed as not required
2345 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2346 * src/hildon-picker-button.c
2347 (_current_selector_empty): New function, checks if the selector is empty
2348 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2349 if the current selector is empty, in order to avoid to show the dialog
2350 close the dialog in this case (and shows a g_warning).
2352 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2354 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_scroll): Added clause to stop movement when
2358 the child of pannable is smaller than one page.
2359 (hildon_pannable_area_scroll_to): Added conditions to avoid
2360 starting the scrolling movement if the child is smaller than one
2361 page, the complete child is in the screen, we do not have to move.
2363 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2365 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2368 this is managed automatically by the widget when the size of the
2371 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-picker-button.c
2374 (hildon_picker_button_set_done_button_text): Make a copy of the
2375 text, and free the previous value.
2377 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2379 * src/hildon-touch-selector-entry.c:
2380 (hildon_touch_selector_entry_print_func): Return the selected row's
2381 text if the entry is empty.
2383 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2386 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2388 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2390 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2393 * src/hildon-check-button.h
2394 * src/hildon-check-button.c
2395 * examples/hildon-check-button-example.c:
2396 HildonCheckButton is now a new widget. 'toggled' signal added.
2398 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-program-private.h
2401 * src/hildon-program.c (hildon_program_init)
2402 (hildon_program_finalize): Removed unused variables group_leader
2403 and name from HildonProgramPrivate.
2405 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2407 * src/hildon-check-button.c (hildon_check_button_set_active)
2408 (hildon_check_button_get_active, hildon_check_button_new): Use
2409 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2411 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2413 * src/hildon-touch-selector.h
2414 (hildon_touch_selector_set_column_attributes): added deprecation
2415 guard HILDON_DISABLE_DEPRECATED
2416 * src/hildon-time-selector.c
2417 (hildon_time_selector_set_time)
2418 (hildon_time_selector_get_time): Fixed a typo on documentation
2419 * src/hildon-touch-selector.c: update HildonTouchSelector and
2420 HildonTouchSelectorColumn documentation
2421 * src/hildon-touch-selector-entry.c: update "text-column" property
2423 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2424 to be added to the general documentation.
2426 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2428 * examples/hildon-pannable-area-example-4.c,
2430 * examples/hildon-pannable-area-example.c,
2431 (main): Modified the code in order to use the container add, with
2432 viewport treeviews could have problems if they are really big.
2434 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2436 * src/hildon-weekday-picker.c,
2437 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2438 the agreement regarding deprecation in the library.
2440 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2442 * examples/hildon-picker-button-multicolumn-example.c:
2443 (main): Use custom "done" button text.
2445 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2446 (hildon_picker_button_set_property),
2447 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2448 (hildon_picker_button_init),
2449 (+hildon_picker_button_get_done_button_text),
2450 (+hildon_picker_button_set_done_button_text): New methods to customize
2451 the "done" button label in the launched HildonPickerDialog. Also,
2454 * src/hildon-picker-button.h: add the public API.
2456 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2458 * src/hildon-date-selector.h:
2459 * src/hildon-picker-dialog.h:
2460 * src/hildon-time-selector.h:
2461 * src/hildon-touch-selector-column.h:
2462 * src/hildon-touch-selector.h:
2464 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2465 declarations. Fixes gtk-doc warnings.
2467 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-picker-dialog.h
2470 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2471 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2473 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2474 long text is set as label for done button)
2476 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-dialog.c (hildon_dialog_add_button):
2479 Set fixed width to all buttons in the HildonDialog.
2481 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2483 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2485 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2486 Set widget name using class name plus "-finger" or "-thumb".
2488 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2491 'clicked' when the state of the button is manually changed.
2493 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-app-menu.c (hildon_app_menu_realize)
2496 (hildon_app_menu_unrealize, hildon_app_menu_init)
2497 (hildon_app_menu_class_init, item_visibility_changed):
2498 Change the menu layout when the size of the screen changes.
2499 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2500 Show warning only when changing the number of colums using the
2503 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2505 * debian/compat: Set to 5
2506 * debian/control: Update dependencies.
2507 * debian/libhildon1-dbg.install: Remove.
2508 * debian/libhildon1-dev.install: Update according to cdbs paths.
2509 * debian/libhildon1.install: Update according to cdbs paths.
2510 * debian/rules: Switch to cdbs.
2512 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2515 'item' variable renamed to 'filter'
2517 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2519 * src/hildon-app-menu.c (hildon_app_menu_insert)
2520 (hildon_app_menu_add_filter, remove_item_from_list)
2521 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2522 Don't leak hidden items when the menu is destroyed.
2524 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-app-menu.c (hildon_app_menu_insert)
2527 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2528 (hildon_app_menu_set_columns, item_visibility_changed)
2529 (filter_visibility_changed, hildon_app_menu_repack_filters)
2530 (hildon_app_menu_repack_items):
2531 Repack items and filters separately.
2533 Don't repack all items, change only the ones that are needed to
2536 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2538 * src/Makefile.am: added hildon-touch-selector-column.h
2540 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2542 * src/hildon-touch-selector.c: added the property "text-column" to the
2543 class HildonTouchSelectorColumn, and related get/set functions
2544 (_default_printf_func): updated to use "text-column" property
2545 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2546 "text-column" in his documentation, as this is now included on
2547 HildonTouchSelectorColumn. The get/set_property can still be used,
2548 working as a wrapper to the concrete column "text-column" property
2549 (_text_column_modified): callback added in order to handle the signal
2550 "notify::text-column" of the concrete HildonTouchSelectorColumn
2551 (hildon_touch_selector_entry_get_text_column)
2552 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2553 modified in order to use the HildonTouchSelectorColumn "text-column"
2555 * src/hildon-time-selector.c:
2556 * src/hildon-date-selector.c:
2557 * examples/hildon-touch-selector-example.c
2558 * examples/hildon-touch-selector-multi-cells-example.c
2559 * examples/hildon-picker-button-multicolumn-example.c
2560 Set the right value to "text-column" property on the creation of a new
2561 column using hildon_touch_selector_append_column()
2563 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2565 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-app-menu.c
2568 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2569 updating the layout of the menu, don't create all widgets again,
2570 just repack the items in their new places.
2572 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2574 * src/hildon-time-selector.c
2575 (hildon_time_selector_get_time)
2576 (hildon_time_selector_set_time)
2577 Added documentation of these public methods
2579 * src/hildon-date-button.h
2580 * src/hildon-touch-selector-column.h
2581 * src/hildon-time-button.h
2582 * src/hildon-picker-dialog.h
2583 * src/hildon-time-selector.h
2584 * src/hildon-picker-button.h
2585 * src/hildon-touch-selector.h
2586 * src/hildon-time-picker.h
2587 * src/hildon-date-selector.h
2588 * src/hildon-touch-selector-entry.h
2589 Modified in order to use hildon-widgets code style
2591 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2593 Added deprecated support to the compilation process using
2594 HILDON_DISABLE_DEPRECATED
2596 * configure.ac: Added the --disable-deprecated to the configure
2599 * src/hildon-weekday-picker.c:
2600 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2601 to use the deprecated support. We will update the other deprecated
2602 widgets status in a new patch.
2604 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2606 * configure.ac: Fixed typo with fatal warnings support, the
2607 variable name was not correct
2609 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2611 * src/hildon-app-menu.c
2612 * src/hildon-program.c: Update documentation.
2614 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2616 * configure.ac: Post-release version bump.
2618 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2623 * configure.ac: Pre-release version bump.
2624 * debian/changelog: Updates.
2626 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2628 * NEWS: Update news for previous releases.
2630 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2632 * examples/hildon-touch-selector-multi-cells-example.c:
2633 (create_selector): Update the example to use
2634 hildon_touch_selector_append_column() with a NULL renderer and set
2635 the renderers later.
2636 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2637 passed a NULL renderer. This is documented behavior now.
2639 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2640 This must be used if the developer wants full control on the layout of
2641 the renderers to be added to the column.
2643 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2645 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-touch-selector.c: Documentation fixes.
2649 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2651 * src/hildon-wizard-dialog-private.h: Remove image and box.
2652 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2653 (hildon_wizard_dialog_set_property), (response): Completely remove
2654 image/icon support, and the containers required for the layout.
2656 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2658 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2660 * src/hildon-app-menu.c: Updated documentation.
2662 * src/hildon-stackable-window.c
2663 (hildon_stackable_window_set_main_menu): Unref the old menu after
2664 ref'ing the new one.
2666 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-stackable-window.c
2669 (hildon_stackable_window_set_main_menu): Unref the previous menu
2670 instead of destroying it.
2672 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2673 floating reference and set has_user_ref_count to FALSE to make
2674 HildonAppMenu act like a normal ref-counted widget and not a
2677 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2680 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2682 * src/hildon-touch-selector-column.h: new file
2683 * src/hildon-touch-selector.h
2684 * src/hildon-touch-selector.c
2685 Implemented GtkCellLayout interface, in order to allow to configure
2686 the cell layout on each individual selector column
2687 (hildon_touch_selector_set_column_attributes): marked as deprecated
2688 * examples/hildon-touch-selector-multi-cells-example.c
2689 Example of how to use the GtkCellLayout interface on the selector
2691 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2693 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-app-menu.h
2696 * src/hildon-app-menu.c
2697 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2698 (hildon_app_menu_append, hildon_app_menu_prepend):
2699 New methods to prepend, insert and move items in the menu.
2701 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-wizard-dialog.c:
2705 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2707 (create_title): Update logical IDs and related code.
2708 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2710 * src/hildon-wizard-dialog.h: Note that
2711 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2712 point, as it is not used anymore.
2714 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2716 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-note.c:
2719 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2720 shown. Do not display an icon in confirmation notes nor information
2722 (hildon_note_set_button_text): Update logical ID for cancel button.
2724 Fixes: NB#88850 (Update HildonNote button strings + signals)
2726 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-stackable-window.c
2729 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2731 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2733 * src/hildon-app-menu-private.h
2734 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2735 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2736 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2737 temporary property 'columns' to change the number of columns.
2739 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2741 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2743 * examples/hildon-note-example.c: (on_information_clicked),
2744 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2745 debugging information.
2746 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2748 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2749 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2750 in order to close: this will be handled by the WM from now on.
2752 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2754 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-app-menu-private.h
2757 * src/hildon-app-menu.c
2758 (hildon_app_menu_append, hildon_app_menu_add_filter)
2759 (button_visibility_changed, hildon_app_menu_apply_style)
2760 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2761 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2762 layout everytime a button (item or filter) is shown or hidden.
2764 * src/hildon-stackable-window.c
2765 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2768 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2770 * src/hildon-touch-selector.c:
2771 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2772 that the treeview inside the touch selector is in fremantle hildon mode
2773 * examples/hildon-date-button-example.c
2774 * examples/hildon-picker-button-multicolumn-example.c
2775 * examples/hildon-touch-selector-entry-example.c
2776 * examples/hildon-touch-selector-example.c
2777 * examples/hildon-time-button-example.c
2778 * examples/hildon-picker-button-example.c:
2779 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2781 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2783 * examples/hildon-text-view-example.c: (main): Remove the
2784 gtkrc bits, now handled by the theme.
2786 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2791 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2793 * po/Makefile.am: Install properly the mo files.
2794 * po/en_GB.po: Update translation, to ease testing purposes.
2796 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2798 * examples/hildon-picker-button-example.c: (main): Select an item
2799 in the selector before setting it to the button.
2801 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2804 Update button's value if the selector has an item active.
2806 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2807 'value' with the selector)
2809 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2812 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2813 (hildon_picker_button_class_init): Plug the finalize method.
2814 (hildon_picker_button_set_selector): If there's a previously set
2815 selector, unref'it before setting a new one.
2817 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2818 HildonTouchSelector)
2820 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-touch-selector-entry.c:
2823 (hildon_touch_selector_entry_changed): Check if there is no text
2824 selected before setting the entry text.
2827 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-touch-selector.h
2830 * src/hildon-touch-selector.c
2831 (hildon_touch_selector_get_active)
2832 (hildon_touch_selector_set_active): New methods to set/get the
2833 index of the selected item.
2835 * src/hildon-picker-button.h
2836 * src/hildon-picker-button.c
2837 (hildon_picker_button_get_active)
2838 (hildon_picker_button_set_active): New methods to set/get the
2839 index of the selected item.
2841 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2843 * configure.ac: post-release version bump.
2845 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2849 * configure.ac: Pre-release version bump.
2850 * debian/changelog: Updates.
2851 * debian/control: Add myself as maintainer and depend on l10n
2854 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-window.c
2857 (hildon_window_set_main_menu)
2858 * src/hildon-stackable-window.c
2859 (hildon_stackable_window_set_main_menu):
2860 Updated documentation.
2862 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2865 Don't free selector->priv manually.
2868 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2871 (hildon_gtk_window_set_progress_indicator):
2872 * src/hildon-gtk.h: Added the new API
2873 hildon_gtk_window_set_progress_indicator, it changes the state of
2874 the window progress hint.
2876 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-button.c
2879 * src/hildon-stackable-window.c: Minor documentation updates.
2881 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-stackable-window.c: Updated documentation.
2885 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2887 * src/hildon-defines.h: Update margins definitions
2888 to the Fremantle sizes.
2891 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2893 * src/hildon-touch-selector.c,
2894 (_hildon_touch_selector_set_model): Cleaning the code after
2895 review, removed g_print and #if 0 from the code.
2897 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2899 * src/hildon-edit-toolbar.c: Update documentation.
2901 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-check-button.h
2904 * src/hildon-check-button.c
2905 (hildon_check_button_set_label, hildon_check_button_get_label)
2906 * examples/hildon-check-button-example.c
2907 (button_clicked_cb):
2908 Removed deprecated methods.
2910 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-text-view.c:
2913 Add sample code to the documentation.
2915 * src/hildon-entry.h
2916 * src/hildon-text-view.h:
2917 Minor cosmetic changes.
2919 * src/hildon-entry.c:
2920 Add sample code to the documentation.
2921 (hildon_entry_init, hildon_entry_refresh_contents):
2922 Don't allow NULL values in the placeholder.
2924 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2926 * doc/hildon-docs.sgml
2928 * examples/Makefile.am
2929 * examples/hildon-text-view-example.c
2931 * src/hildon-text-view.c
2932 * src/hildon-text-view.h
2934 New HildonTextView widget, with example.
2936 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2938 * po/POTFILES.in: Add missing files with translatable strings.
2939 Partially fixes NB#88287.
2941 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2943 * examples/hildon-pannable-area-example-2.c: (main): No need to
2944 set the cellrenderer height inside hildon touch lists, the theme does
2947 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2949 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2950 they are integrated in the theme.
2952 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2954 * examples/hildon-entry-example.c: Update the example adding
2955 widgets to modify the text and the placeholder of the HildonEntry.
2957 * src/hildon-entry.c: Show the placeholder everytime the widget
2958 is empty and loses the focus.
2960 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2962 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2964 * src/hildon-pannable-area.c,
2965 (hildon_pannable_area_size_request): Fixed bug in height
2966 requisition, avoid increasing size and add border twice.
2968 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2970 * configure.ac: postrelease version bump.
2972 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2976 * configure.ac: Prerelease version bump.
2977 * debian/changelog: update.
2978 * debian/rules: make -dbg package contain useful debugging symbols.
2980 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-dialog.h
2983 * src/hildon-dialog.c
2984 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2985 New methods to add buttons with finger size.
2986 (hildon_dialog_new_with_buttons):
2987 Create buttons with finger size.
2989 * examples/hildon-dialog-example.c (main): Use HildonDialog
2990 methods to add buttons.
2992 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-entry.c: Updated HildonButton documentation.
2996 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2999 button value label with (FALSE, FALSE) to prevent NB#88126 from
3002 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3004 * examples/hildon-pannable-area-example.c,
3005 (main): Removed examples panning a vbox inside a pannable
3006 area. Check bug NB#87965
3008 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3010 Patch contributed by Kris Rietveld (kris@imendio.com)
3012 * src/hildon-pannable-area.c,
3013 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3014 get_size and get_position, this saves an X server roundtrip.
3016 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3018 * doc/hildon-docs.sgml
3020 * examples/Makefile.am
3021 * examples/hildon-entry-example.c
3023 * src/hildon-entry.c
3024 * src/hildon-entry.h
3026 New HildonEntry widget, with example.
3028 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3030 * src/hildon-button.c (hildon_button_construct_child): Pack the
3031 image with expand == fill == FALSE. This is a workaround for a bug
3034 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3036 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3037 labels for the text column, to make it more look more dynamic.
3039 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3041 * src/hildon-time-selector.c
3042 Define gettext auxiliar macro N_
3043 (_create_minutes_model)
3044 (_create_hours_model)
3045 (_create_ampm_model): use of strftime in order to fill the model
3046 * src/hildon-date-selector.c
3047 (hildon_date_selector_finalize):
3048 (_locales_init): remove the logic related to get the name of the months
3049 using nl_langinfo, as it is not required anymore
3051 (_create_year_model)
3052 (_create_month_model)
3053 (_update_day_model): use of strftime in order to fill the model properly
3056 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-button.h
3059 * src/hildon-button.c (hildon_button_get_image): New method to
3062 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-touch-selector.c:
3065 (hildon_touch_selector_remove_column): Remove from the correct parent
3066 and also remove the list element and free it.
3069 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3071 * src/hildon-time-selector.c
3072 (_create_hours_model): change the range on 12h ampm format in order to use
3073 a 12-11 range instead of previous 01-12 range
3074 (hildon_time_selector_set_time): change the way to select the current time
3075 on 12h ampm format, due the change on the range
3076 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3079 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3081 * src/hildon-touch-selector.c
3082 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3083 in order to allow use this function on multiple row selection mode if
3084 the column is different that the first one
3087 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3090 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3092 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3094 * src/hildon-date-selector.h: clean some comments, now on the .c
3095 * src/hildon-date-selector.c
3096 (hildon_date_selector_select_month): first implementation
3097 (hildon_date_selector_select_day): added documentation, reimplemented
3098 using hildon_date_selector_select_current_date to avoid repeat code
3101 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3103 Reviewed interaction logic based on device experiences, refactored
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_class_init): Updated default vmax speed.
3108 (hildon_pannable_area_calculate_velocity): Added this function, it
3109 avoids duplicate valocity calculation. Adjusted calculation to
3110 avoid problems with zero dist events.
3112 (hildon_pannable_area_motion_notify_cb): Now we use the
3113 calculate_velocity function.
3115 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3117 * src/hildon-date-selector.c
3118 (hildon_date_selector_select_current_date): fix the day range check
3119 as it failed using the last day of the current month
3122 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3124 * src/hildon-touch-selector.c
3125 (hildon_touch_selector_get_num_columns): added a parameter validation
3128 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3130 * examples/Makefile.am
3131 * examples/hildon-edit-toolbar-example.c: Example of the
3132 HildonEditToolbar widget.
3134 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3136 * configure.ac: postrelease version bump.
3138 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3142 * configure.ac: prerelease version bump.
3143 * debian/changelog: update.
3145 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3147 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3148 renderer to display stock icons in the touch list. Also, set the sizes
3149 to the recommended in the style guide.
3151 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3152 * src/hildon-touch-selector.h
3153 (hildon_touch_selector_set_active_iter): renamed, now is
3154 hildon_touch_selector_select_iter
3155 (hildon_touch_selector_get_active_iter): renamed, now is
3156 hildon_touch_selector_get_selected
3157 (hildon_touch_selector_unselect_iter): added
3158 * src/hildon-touch-selector.c
3159 Update after API modification (methods renamed)
3160 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3161 order to avoid problems selecting multiple elements on the column
3162 (hildon_touch_selector_unselect_iter): added the implementation
3163 * src/hildon-time-selector.c
3164 * src/hildon-date-selector.c
3165 * src/hildon-touch-selector-entry.c
3166 Update methods calls after hildon-touch-selector.h API modification (methods
3169 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-stackable-window.c
3172 (hildon_stackable_window_finalize): Call the parent class's finalize.
3174 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3176 * examples/hildon-touch-selector-example.c: (create_selector): Use
3177 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3180 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3182 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3183 set a cell background color, to respect theming.
3185 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3187 * doc/hildon-docs.sgml
3190 * src/hildon-edit-toolbar.c
3191 * src/hildon-edit-toolbar.h
3192 * src/hildon.h: New HildonEditToolbar widget.
3194 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3196 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3199 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3200 * src/hildon-touch-selector.c
3201 (_create_new_column): use g_object_set instead of two g_object_set_property
3203 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3204 * src/hildon-touch-selector.c
3205 (_create_new_column): use of hildon_gtk_tree_view_new to create
3206 the treeview, instead of use directly g_object_new
3207 (_create_new_column): update the property name "vindicator-mode" for the
3208 new one "vscrollbar-policy"
3209 * examples/hildon-date-button-example.c
3210 * examples/hildon-picker-button-multicolumn-example.c
3211 * examples/hildon-touch-selector-entry-example.c
3212 * examples/hildon-touch-selector-example.c
3213 * examples/hildon-time-button-example.c
3214 * examples/hildon-picker-button-example.c
3215 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3216 to all the treeviews inside a pannable area.
3218 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-button.h
3221 * src/hildon-button.c (hildon_button_init)
3222 (hildon_button_set_arrangement, hildon_button_set_alignment)
3223 (hildon_button_set_title_alignment)
3224 (hildon_button_set_value_alignment)
3225 (hildon_button_set_image_alignment)
3226 (hildon_button_construct_child): New methods to set the alignment
3227 of the individual components of the button (title, value,
3228 image). Also, new method to alter the xscale and yscale properties
3229 of the GtkAlignment inside the button, so more complex layouts can
3232 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-button.c (hildon_button_style_set)
3235 (hildon_button_class_init, hildon_button_set_arrangement)
3236 (hildon_button_construct_child): Apply style properties
3237 correctly. Use the 'image-spacing' style property too.
3239 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3242 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3245 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-pannable-area.c,
3248 (hildon_pannable_area_size_request): Fixed problem with
3249 pannable-area size_request.
3251 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3253 Added management for the grab-focus to a child widget, like a
3254 range, we need to fade out the scrollbar when releasing.
3256 * src/hildon-pannable-area.c,
3257 (hildon_pannable_area_init): Connected the grab-focus signal to
3259 (hildon_pannable_area_grab_notify): Added this function in order
3260 to manage the situation when the grab-focus ends. We have to
3261 fade-out the scrollbar.
3263 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-app-menu.c: Minor documentation update.
3267 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-app-menu.c
3270 * examples/hildon-app-menu-example.c (create_menu): Update
3271 examples and documentation to explain how to connect callbacks.
3273 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3275 * examples/hildon-button-example.c
3276 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3277 hildon_stackable_window_new instead of gtk_window_new
3279 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3281 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3282 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3283 (hildon_pannable_area_set_property),
3284 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3285 (hildon_pannable_area_unrealize),
3286 (hildon_pannable_area_size_request),
3287 (hildon_pannable_area_size_allocate),
3288 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3289 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3290 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3291 (hildon_pannable_area_initial_effect),
3292 (hildon_pannable_area_redraw),
3293 (hildon_pannable_area_scroll_indicator_fade),
3294 (hildon_pannable_area_expose_event),
3295 (hildon_pannable_area_get_topmost), (synth_crossing),
3296 (hildon_pannable_area_button_press_cb),
3297 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3298 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3299 (hildon_pannable_area_motion_notify_cb),
3300 (hildon_pannable_area_button_release_cb),
3301 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3302 (hildon_pannable_area_remove),
3303 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3304 chage the code layout to a more GtkWidget like. Review the use of
3307 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3309 * examples/hildon-pannable-area-example-4.c,
3310 (main): Modified the name of the hindicator_mode to
3313 * src/hildon-pannable-area.c,
3314 (hildon_pannable_area_class_init),
3315 (hildon_pannable_area_motion_notify_cb),
3316 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3317 we have reduced the amount of signals and managed reviewed its
3318 rationale. Changed the default decelerate value.
3320 (hildon_pannable_area_add),
3321 (hildon_pannable_area_redraw): Refactored functions.
3323 (hildon_pannable_area_init),
3324 (hildon_pannable_area_get_property),
3325 (hildon_pannable_area_set_property):
3326 (hildon_pannable_draw_vscroll),
3327 (hildon_pannable_draw_hscroll),
3328 (hildon_pannable_area_initial_effect),
3329 (hildon_pannable_area_expose_event),
3330 (hildon_pannable_area_scroll),
3331 (hildon_pannable_area_button_press_cb),
3332 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3333 and vindicator_mode with hscrollbar_policy and
3334 vscrollbar_policy. Replaced hscroll and vscroll with
3335 hscroll_visible and vscroll_visible.
3337 (hildon_pannable_area_refresh): Refactor the function, remove
3338 variables and check the calls to this function, added resize
3339 conditions in case the children change their layout.
3341 (hildon_pannable_area_size_request): Added more detailed
3342 size_request calculation.
3345 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3347 * src/hildon-color-chooser.c
3348 (init_borders): use the correct gtk_border_free instead of g_free, to
3349 avoid a crash when this widget is used (ie: the three color selection
3352 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3354 * src/hildon-check-button.c,
3355 (hildon_check_button_set_active): Fixed problem when setting the
3356 active value, the widget was not redrawn.
3358 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3360 * src/hildon-pannable-area.c,
3361 (hildon_pannable_area_refresh),
3362 (hildon_pannable_area_scroll),
3363 (hildon_pannable_area_motion_notify_cb): Small code style change.
3365 (hildon_pannable_area_class_init): Default initial_hint set to
3366 FALSE, it is not in the specs.
3368 (hildon_pannable_area_initial_effect),
3369 (hildon_pannable_area_expose_event),
3370 (hildon_pannable_area_map),
3371 (hildon_pannable_area_init): Moved the launching point of the
3372 initial effect, it was in map but the sizes where not correct in
3373 that method so we do not know if we have the reproduce it. Now it
3374 is placed in the expose_event method and uses a variable to
3375 reproduce it just once.
3377 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3379 * src/hildon-pannable-area.c,
3380 (hildon_pannable_draw_vscroll),
3381 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3382 position allowed for the scrollbars.
3384 (hildon_pannable_area_size_allocate): Small style change.
3386 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3388 * src/hildon-pannable-area.c,
3389 (hildon_pannable_area_scroll_indicator_fade),
3390 (hildon_pannable_area_button_press_cb),
3391 (hildon_pannable_area_button_release_cb),
3392 (hildon_pannable_area_scroll_cb),
3393 (hildon_pannable_area_expose_event),
3394 (hildon_pannable_area_init): Added the define parameter
3395 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3396 and refactor the fade variable.
3398 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3400 * src/hildon-pannable-area.c,
3401 (hildon_pannable_area_redraw),
3402 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3403 lines, we were reimplemeting the redraw code.
3405 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3407 * src/hildon-pannable-area.c,
3408 (hildon_pannable_area_scroll_cb),
3409 (hildon_pannable_area_realize),
3410 (hildon_pannable_area_class_init): Added scroll_event management
3411 for pannable area, now we can scroll the usual desktop method.
3413 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3414 initialization of the parameters should depend on idle_id.
3416 (hildon_pannable_area_init),
3417 (hildon_pannable_area_map): Small code style modifications
3419 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3421 * src/hildon-pannable-area.c
3422 (hildon_pannable_area_button_press_cb),
3423 (hildon_pannable_area_motion_notify_cb),
3424 (hildon_pannable_area_button_release_cb),
3425 (hildon_pannable_area_size_allocate),
3426 (hildon_pannable_area_scroll_to): Improved the timeouts
3427 management, we avoid creating them each time.
3429 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3431 * src/hildon-pannable-area.c:
3432 (hildon_pannable_area_refresh),
3433 (hildon_pannable_area_motion_notify_cb),
3434 (hildon_pannable_area_class_init):
3435 * src/hildon-pannable-area.h:
3436 * src/hildon-touch-selector.c
3437 (_create_new_column):
3438 * examples/hildon-pannable-area-example-4.c:
3439 (horizontal_movement),
3440 (vertical_movement),
3442 Replaced the names of enums in the HildonPannableArea:
3443 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3444 HILDON_MOVEMENT_MODE_*
3445 - HILDON_PANNABLE_AREA_MOV_* ->
3447 - Removed HildonPannableAreaIndicatorMode, now we
3450 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3452 * examples/hildon-pannable-area-touch-grid-example.c
3453 * examples/hildon-pannable-area-touch-list-example.c: Fix
3454 compilation warnings.
3456 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-gtk.c (hildon_gtk_button_new)
3459 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3460 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3461 images overriding the value of the "gtk-button-images" setting.
3463 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3465 * src/hildon-check-button.c (hildon_check_button_new):
3466 Instead of using a custom container, display the label and the
3467 checkbox using the standard GtkButton API.
3469 * examples/hildon-check-button-example.c (main): Don't use
3470 hildon_check_button_set_label() anymore
3472 * src/hildon-check-button.h
3473 * src/hildon-check-button.c
3474 (hildon_check_button_set_label, hildon_check_button_get_label):
3475 Set as deprecated, now we're using gtk_button_{get,set}_label()
3477 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3479 * src/hildon-pannable-area.c,
3480 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3481 GtkTreeview first line we detected it after the inclusion of the
3482 GtkWindowImpl in gtk+. We now check if the window is visible, not
3483 just if the pointer is over the window.
3484 (hildon_pannable_axis_scroll),
3485 (hildon_pannable_area_expose_event): Small style changes.
3487 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-button.c: Update documentation.
3491 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3493 * examples/hildon-button-example.c: Add a switch to show images in
3496 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3498 * doc/hildon-docs.sgml: Some docs reorganization.
3500 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3502 * examples/hildon-pannable-area-touch-list-example.c
3504 * examples/hildon-pannable-area-touch-grid-example.c
3505 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3506 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3507 Fix memory leak when setting the tree model.
3509 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3513 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3515 * doc/hildon.types: Remove duplicated hildon_window_get_type
3516 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3517 documentation comment.
3519 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3521 * doc/Makefile.am: Complete list of private headers.
3523 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3525 * doc/hildon-docs.sgml
3526 * src/hildon-app-menu.c
3527 * src/hildon-bread-crumb.c
3528 * src/hildon-button.c
3530 * src/hildon-program.c
3531 * src/hildon-stackable-window.c
3532 * src/hildon-window.c: Lots of documentation updates.
3534 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3536 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3538 * configure.ac: Require Gtk+ 2.12.9 at least
3540 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3542 * src/hildon-pannable-area.c
3543 (hildon_pannable_area_scroll_indicator_fade),
3544 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3545 to protect the return of this timeout callbacks, avoiding deadlocks.
3547 2008-08-12 Christian Dywan <christian@imendio.com>
3550 * src/hildon-*.h: Ensure a consistent include order,
3551 include <gtk/gtk.h> instead of particular files and
3552 only include the topmost header in the gtk stack. See NB #39857
3554 2008-08-12 Christian Dywan <christian@imendio.com>
3556 * src/hildon-picker-dialog.c
3557 * src/hildon-touch-selector.c: Fix warnings about unused and
3558 uninitialized variables.
3560 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3562 * examples/Makefile.am
3563 * examples/hildon-check-button-example.c: Example of the hildon
3566 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-window.h
3569 * src/hildon-window.c (hildon_window_class_init)
3570 (hildon_window_unset_program): Don't make
3571 hildon_window_unset_program a virtual function anymore.
3573 * src/hildon-stackable-window.c: Update documentation
3575 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3578 * doc/hildon-docs.sgml
3579 * doc/visual_index.xml
3580 * src/hildon-defines.c
3582 * src/hildon-helper.c
3583 * src/hildon-range-editor.c: Lots of documentation fixes.
3585 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3587 * examples/hildon-picker-button-multicolumn-example.c
3588 (create_touch_selector): Fix compilation warning.
3590 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3593 (hildon_pannable_area_button_release_cb)
3594 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3596 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3598 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3601 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-bread-crumb-trail.h
3604 * src/hildon-date-editor.c
3605 * src/hildon-date-selector.c
3606 * src/hildon-pannable-area.c
3607 * src/hildon-picker-dialog.c
3608 * src/hildon-time-selector.c
3609 * src/hildon-touch-selector-entry.c
3610 * src/hildon-touch-selector.c
3611 * src/hildon-touch-selector.h: Misc documentation fixes
3613 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3615 * examples/hildon-date-editor-example.c (main): Updated date
3618 * examples/hildon-note-example.c (on_confirmation_clicked):
3619 Updated confirmation note example.
3621 * src/hildon-date-editor.c
3622 * src/hildon-note.c: Updated sample programs in documentation.
3625 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3627 * src/hildon-date-button.h:
3628 * src/hildon-picker-button.h:
3629 * src/hildon-time-button.c:
3630 * src/hildon-time-button.h:
3632 Some declarations changes to allow gtk-doc to document the widgets
3635 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-date-button.c: Document the widget.
3638 * src/hildon-time-button.c: Document the widget.
3640 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-picker-button.c: Document the widget.
3643 * src/hildon-touch-selector-entry.c: Document the widget.
3645 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3647 * doc/hildon-docs.sgml
3650 * src/hildon-check-button.h
3651 * src/hildon-check-button.c: New functions to create the Hildon
3655 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3657 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-button.h
3660 * src/hildon-button.c
3661 (hildon_button_add_title_size_group)
3662 (hildon_button_add_value_size_group)
3663 (hildon_button_add_image_size_group)
3664 (hildon_button_add_size_groups): New functions to set size groups
3665 for the button labels and image.
3666 (hildon_button_new_full): Removed
3668 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3670 * src/hildon-time-selector.c
3671 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3672 in order to avoid a crash if gconf is not available
3674 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-button.c (hildon_button_set_arrangement)
3677 (hildon_button_construct_child): Don't construct the button child
3678 before setting the arrangement.
3680 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3682 * src/hildon-program-private.h
3683 * src/hildon-program.c
3684 * src/hildon-program.h
3685 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3686 (hildon_program_peek_window_stack)
3687 (hildon_program_pop_window_stack)
3688 (hildon_program_go_to_root_window): HildonProgram now has a
3689 separate list for stackable windows. Functions are provided to
3690 manage that list with a stack-like API.
3692 * src/hildon-stackable-window.c: Stackable window management is
3693 now much simpler with the new HildonProgram API. Windows no
3694 longer need to be manually added to the program, they're
3695 automatically pushed to the top of the stack when shown.
3697 * examples/hildon-stackable-window-example.c: Updated example to
3698 reflect the API changes.
3700 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-touch-selector.c: Comment out unimplemented
3703 hildon_touch_selector_insert_column() to avoid a compile warning.
3705 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3708 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3709 (hildon_touch_selector_set_column_selection_mode),
3710 (_hildon_touch_selector_set_model),
3711 (hildon_touch_selector_set_model):
3713 Complete review of HildonTouchSelector documentation.
3715 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3717 * doc/hildon-docs.sgml
3721 * src/hildon-gtk.c: Convenience functions for standard Gtk
3722 widgets, used to easily perform frequent operations.
3724 * src/hildon-button-helpers.h
3725 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3727 * src/hildon-helper.h
3728 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3729 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3731 * src/hildon-button.h
3732 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3734 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-button.c (hildon_button_init)
3737 (hildon_button_set_arrangement, hildon_button_construct_child):
3738 Pack the image and the labels inside the same GtkAlignment so
3739 gtk_button_set_alignment() can be used
3741 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-button.h
3744 * src/hildon-button.c
3745 (hildon_button_init, hildon_button_set_image)
3746 (hildon_button_set_image_position)
3747 (hildon_button_construct_child): New functions to add an image to
3750 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3752 * src/hildon-date-button.c
3753 * src/hildon-picker-button.c
3754 * src/hildon-time-button.c
3755 * src/hildon-button.c:
3756 (hildon_button_class_init): "size-flags" renamed to "size"
3757 (hildon_button_set_title): Hide the title label if set to NULL.
3759 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3761 HildonButtonFlags split into HildonButtonArrangement (to set the
3762 button layout) and HildonSizeType (which can be used for any
3765 * src/hildon-button.h
3766 * src/hildon-button.c
3767 (hildon_button_class_init)
3768 (hildon_button_set_arrangement)
3769 (hildon_button_set_property): New "size-flags"
3770 property. "arrangement-flags" renamed to "arrangement".
3771 (hildon_button_new, hildon_button_new_with_text)
3772 (hildon_button_new_full): Constructors updated to reflect type changes.
3774 * src/hildon-helper.h
3775 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3776 to set the size of a widget.
3780 * src/hildon-button-helpers.c
3781 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3783 * src/hildon-date-button.c
3784 * src/hildon-date-button.h
3785 * src/hildon-picker-button.c
3786 * src/hildon-picker-button.h
3787 * src/hildon-time-button.c
3788 * src/hildon-time-button.h: Updated widgets to reflect
3789 HildonButton API changes.
3791 * examples/hildon-button-example.c
3792 * examples/hildon-date-button-example.c
3793 * examples/hildon-picker-button-example.c
3794 * examples/hildon-picker-button-multicolumn-example.c
3795 * examples/hildon-time-button-example.c
3796 * examples/hildon-touch-selector-entry-example.c
3797 * examples/hildon-touch-selector-example.c: Updated examples to
3798 reflect HildonButton API changes.
3800 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3802 * doc/hildon-docs.sgml:
3804 * examples/Makefile.am:
3805 * examples/hildon-touch-selector-entry-example.c:
3807 * src/hildon-touch-selector-entry.c:
3808 * src/hildon-touch-selector-entry.h:
3811 Moved HildonTouchSelectorEntry from sandbox. Added its
3812 documentation and examples.
3814 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-touch-selector.h:
3817 * examples/hildon-picker-button-multicolumn-example.c:
3818 (hildon_touch_selector_append_text_column): Add a gboolean
3819 parameter to determine if text must be centered in the column.
3821 * src/hildon-date-selector.c: (hildon_date_selector_init):
3822 * src/hildon-time-selector.c: (hildon_time_selector_init):
3823 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3824 (create_touch_selector): Update widgets and example to reflect
3827 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3829 * src/hildon-touch-selector.c:
3830 (hildon_touch_selector_set_active_iter): Set also the cursor in
3833 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3835 * doc/hildon-docs.sgml
3838 * src/hildon-toggle-button.c
3839 * src/hildon-toggle-button.h
3840 * src/hildon.h: Removed HildonToggleButton widget, a derived
3841 class is not necessary for this.
3843 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3845 * src/hildon-pannable-area.c,
3846 (hildon_pannable_area_realize),
3847 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3850 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3853 "done" button the default widget for the dialog.
3855 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-touch-selector.c:
3858 (hildon_touch_selector_class_init),
3859 (hildon_touch_selector_get_property),
3860 (_hildon_touch_selector_set_model),
3861 (_hildon_touch_selector_has_multiple_selection),
3862 (hildon_touch_selector_has_multiple_selection):
3863 Add a "has-multiple-selection" property with a virtual
3864 has_multiple_selection() method to allow derived classes to
3865 override the default value for it. See the method and property
3866 documentation for details.
3868 * src/hildon-touch-selector.h: Add the new API.
3870 * src/hildon-picker-dialog.c: (requires_done_button): Call
3871 hildon_touch_selector_has_multiple_selection() instead of
3872 determining the need for a button itself.
3874 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3877 (_hildon_touch_selector_set_model),
3878 (hildon_touch_selector_set_model): Move working code to
3879 _hildon_touch_selector_set_mode(). Call the class method instead.
3881 * src/hildon-touch-selector.h: Add (*set_model) to
3882 HildonTouchSelectorClass.
3884 Make hildon_touch_selector_set_model() a virtual method, so that
3885 derived classes can extend it and do fancy stuff with the model.
3887 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3889 * configure.ac: Set back the tarname in AC_INIT to hildon.
3891 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3895 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3896 instead of libesd (NB#86876). Volume handling is still an open issue.
3898 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3901 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3904 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3905 derived class to ease placement of an entry widget in
3906 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3907 end, where the selector columns are packed now.
3909 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-picker-button.c: Removed the simple _text() API.
3912 * src/hildon-picker-button.h: Likewise.
3914 * src/hildon-touch-selector.h:
3915 * src/hildon-touch-selector.c:
3916 (hildon_touch_selector_new_text),
3917 (hildon_touch_selector_append_text),
3918 (hildon_touch_selector_prepend_text),
3919 (hildon_touch_selector_insert_text):
3921 Moved the simple _text() API from HildonPickerButton to
3922 HildonTouchPicker, to provide better escalability and not to tie
3923 that API to HildonPickerButton.
3925 * examples/hildon-picker-button-example.c: (main): Example updated.
3927 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-button.c: Updated documentation.
3931 * examples/hildon-button-example.c: Add the posibility to create
3932 the buttons using horizontal layout for title and value.
3934 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3936 * src/hildon-app-menu-private.h
3937 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3938 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3939 GtkSizeGroup for the filters, use the 'homogeneous' property of
3942 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3944 * examples/hildon-button-example.c: Updated example.
3946 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3948 * doc/hildon-docs.sgml:
3951 Update documentation.
3953 * examples/Makefile.am: Update renamed examples.
3955 * examples/hildon-picker-button-multicolumn-example.c:
3956 (create_touch_selector), (main): Update after the rename.
3958 * examples/hildon-touch-picker-example.c: Removed.
3959 * examples/hildon-touch-selector-example.c: (value_changed),
3960 (create_selector), (get_visible_content), (main): Renamed from
3961 hildon-touch-picker-example.c
3963 * src/Makefile.am: Updated renamed files.
3965 * src/hildon-date-button.c: (hildon_date_button_init),
3966 (hildon_date_button_get_date), (hildon_date_button_set_date):
3967 * src/hildon-date-selector.c: (hildon_date_selector_init),
3968 (_custom_print_func), (_update_day_model),
3969 (_manage_selector_change_cb),
3970 (hildon_date_selector_select_current_date),
3971 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3972 * src/hildon-date-selector.h:
3973 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3974 (hildon_picker_button_set_property),
3975 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3976 (hildon_picker_button_init), (hildon_picker_button_new_text),
3977 (hildon_picker_button_append_text),
3978 (hildon_picker_button_prepend_text),
3979 (hildon_picker_button_insert_text),
3980 (hildon_picker_button_set_selector),
3981 (hildon_picker_button_get_selector):
3982 * src/hildon-picker-button.h:
3983 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3984 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3985 (_update_title_on_selector_changed_cb), (requires_done_button),
3986 (_hildon_picker_dialog_set_selector),
3987 (hildon_picker_dialog_set_selector),
3988 (hildon_picker_dialog_get_selector):
3989 * src/hildon-picker-dialog.h:
3990 * src/hildon-time-button.c: (hildon_time_button_init),
3991 (hildon_time_button_get_time), (hildon_time_button_set_time):
3992 * src/hildon-time-selector.c: (hildon_time_selector_init),
3993 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3994 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3995 * src/hildon-time-selector.h:
3998 Massive code updates after the rename.
4000 * src/hildon-touch-picker.c: Removed.
4001 * src/hildon-touch-picker.h: Removed.
4003 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4004 (hildon_touch_selector_init), (hildon_touch_selector_map),
4005 (hildon_touch_selector_remove), (_default_print_func),
4006 (_selection_changed_cb), (_create_new_column),
4007 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4008 (hildon_touch_selector_append_text_column),
4009 (hildon_touch_selector_remove_column),
4010 (hildon_touch_selector_set_column_attributes),
4011 (hildon_touch_selector_insert_column),
4012 (hildon_touch_selector_get_num_columns),
4013 (hildon_touch_selector_get_column_selection_mode),
4014 (hildon_touch_selector_set_column_selection_mode),
4015 (hildon_touch_selector_set_print_func),
4016 (hildon_touch_selector_get_print_func),
4017 (hildon_touch_selector_get_active_iter),
4018 (hildon_touch_selector_set_active_iter),
4019 (hildon_touch_selector_get_selected_rows),
4020 (hildon_touch_selector_get_model),
4021 (hildon_touch_selector_set_model),
4022 (hildon_touch_selector_get_current_text),
4023 (_hildon_touch_selector_center_on_selected_items):
4024 * src/hildon-touch-selector.h: Renamed from
4025 hildon-touch-picker.[ch]
4027 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4028 references, code examples, and related documentation.
4030 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4032 * doc/hildon-docs.sgml
4035 * src/hildon-toggle-button.c
4036 * src/hildon-toggle-button.h
4037 * src/hildon.h: New HildonToggleButton widget.
4039 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4041 * src/hildon-button.c: Add API documentation.
4042 (hildon_button_set_size_groups): Check input parameters
4044 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4046 * src/hildon-pannable-area.c
4047 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4048 effect after reaching the movement thredshold. This way we start
4049 using the distance after passing the thredshold.
4051 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4053 * src/hildon-button.c: (hildon_button_set_property): Use the
4054 appropriate g_value_get_flags() method.
4056 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4058 * doc/hildon-docs.sgml:
4061 Add the touch pickers, picker dialogs, and picker button widgets
4062 to the documentation.
4064 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-button.c: (hildon_button_set_property),
4067 (hildon_button_class_init): Make "arrangement-flags" a proper
4068 G_TYPE_FLAGS derived property.
4070 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4072 * examples/Makefile.am: Add below examples.
4073 * examples/hildon-date-button-example.c:
4074 * examples/hildon-picker-button-example.c:
4075 * examples/hildon-picker-button-multicolumn-example.c:
4076 * examples/hildon-time-button-example.c:
4077 * examples/hildon-touch-picker-example.c:
4079 Add examples for the recently added touch pickers,
4080 picker dialogs, and picker button widgets.
4082 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4084 * src/hildon-button.c: Add some API documentation
4086 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4088 * src/hildon-button.h
4089 * src/hildon-button.c
4091 (hildon_button_new_with_text): New constructor to create a button
4092 with no text at all.
4093 (hildon_button_init, hildon_button_set_arrangement)
4094 (hildon_button_set_title, hildon_button_set_value)
4095 (hildon_button_set_text)
4096 (hildon_button_construct_child): Hide the value when it's not used
4097 so the rest of the text is properly aligned.
4098 Allow creating buttons with arbitrary widgets inside (not just
4099 title/value labels).
4101 * examples/hildon-button-example.c (vertical_buttons_window)
4102 (horizontal_buttons_window): Update example to use new API.
4104 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4106 * src/Makefile.am: Added HildonTimeButton.
4107 * src/hildon-time-button.c: Added missing LGPL header.
4108 * src/hildon-time-button.h: Added missing LGPL header.
4109 * src/hildon.h: Add hildon-time-button.h
4111 Copied HildonTimeButton from sandbox to trunk. Future work on this
4112 widget must take place in trunk.
4114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/Makefile.am: Added HildonDateButton.
4117 * src/hildon-date-button.c: Update includes.
4118 * src/hildon.h: Add hildon-date-button.h
4120 Copied HildonDateButton from sandbox to trunk. Future work on this
4121 widget must take place in trunk.
4123 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4125 * src/Makefile.am: Added HildonPickerButton.
4126 * src/hildon-picker-button.h: Update includes.
4127 * src/hildon.h: Add hildon-picker-button.h
4129 Copied HildonPickerButton from sandbox to trunk. Future work on
4130 this widget must take place in trunk.
4132 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/Makefile.am: Added HildonPickerDialog.
4135 * src/hildon-picker-dialog.c: Update includes.
4136 * src/hildon.h: Add hildon-picker-dialog.h
4138 Copied HildonPickerDialog from sandbox to trunk. Future work
4139 on this widget must take place in trunk.
4141 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/Makefile.am: Added HildonTimeSelector.
4144 * src/hildon.h: Add hildon-time-selector.h
4146 Copied HildonTimeSelector widget from sandbox to trunk. Future
4147 work on this widget must happen in trunk.
4149 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/Makefile.am: Added HildonDateSelector.
4152 * src/hildon.h: Add hildon-date-selector.h
4154 Copied HildonDateSelector widget from sandbox to trunk. Future
4155 work on this widget must happen in trunk.
4157 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/Makefile.am: Added HildonTouchPicker.
4160 * src/hildon-touch-picker.c: Update includes.
4161 * src/hildon.h: Add hildon-touch-picker.h
4163 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4164 on this widget must happen in trunk.
4166 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4168 * src/hildon-pannable-area.c:
4169 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4171 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4173 * examples/hildon-app-menu-example.c (main): Let the window
4176 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4178 * src/hildon-pannable-area.c
4179 (hildon_pannable_area_class_init): Set the min value of the
4180 overshoot properties to zero, which points out that not
4181 overshooting allowed.
4183 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4185 Modified the procedure to get the widget at a point inside the
4186 pannable area when using the movement type signals. Now the user
4187 has to call a function to get the child, that way we just
4188 calculate the child in case the user really want to use it and not
4191 * src/hildon-marshalers.list: Modified the marshallers, now we do
4192 not have the widget as a parameter.
4194 * src/hildon-pannable-area.c
4195 (hildon_pannable_area_motion_notify_cb),
4196 (hildon_pannable_area_class_init),
4197 (hildon_pannable_get_child_widget_at): Removed the widget
4198 parameter from the signal callback. We have also refactored the
4199 emission of the signals.
4201 * src/hildon-pannable-area.h: Added a new method to the API to
4202 calculate a widget at a point inside the pannable area,
4203 hildon_pannable_get_child_widget_at.
4205 * examples/hildon-pannable-area-example-4.c
4206 (horizontal_movement): Modified the example to use the new API,
4207 added condition to control which widget is under the event. This
4208 way we can avoid scrolling laterally over other widgets.
4210 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4212 * src/hildon-pannable-area.c
4213 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4214 modes, we stop getting the pointer events due to returning the
4215 callback without properly calling the get pointer again. Fixed
4216 also an error using the hscroll and vscroll.
4218 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-app-menu-private.h
4221 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4222 (hildon_app_menu_button_release, hildon_app_menu_init)
4223 (hildon_app_menu_class_init): Don't hide the menu on button
4224 release if the user didn't press outside first.
4226 * src/hildon-window.h
4227 * src/hildon-window.c (hildon_window_toggle_menu)
4228 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4229 hildon_window_toggle_menu a virtual function for the stackable
4230 window to override it.
4232 * src/hildon-stackable-window.h
4233 * src/hildon-stackable-window-private.h
4234 * src/hildon-stackable-window.c
4235 (hildon_stackable_window_realize)
4236 (hildon_stackable_window_finalize)
4237 (hildon_stackable_window_class_init)
4238 (hildon_stackable_window_init)
4239 (hildon_stackable_window_set_main_menu): New function to set the
4240 app menu of a HildonStackableWindow.
4242 * examples/hildon-app-menu-example.c: Remove the button to show
4243 the app menu, now it'll be shown when clicking on the title bar
4246 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4249 set the widget name if the arrangement flags do not specify
4252 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-button.c: (hildon_button_set_property),
4255 (hildon_button_class_init), (hildon_button_new_full),
4256 (hildon_button_set_arrangement): Added "arrangement-flags"
4259 Make the HildonButtonFlags a construction-only property, to allow
4260 subclasses to set them properly.
4262 2008-07-21 Tim Janik <timj@imendio.com>
4264 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4265 insertion position after backspace, so additional digits are appended,
4268 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4270 * src/hildon-pannable-area.c,
4271 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4272 TODO list, it was complete and removed the g_debug and g_print
4275 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4277 Added the movement modes to the hildon-pannable-area, with this
4278 modes the developers can control in which directions the widget
4279 can scroll. They can also connect to signals in order to do
4280 something when that happens, allowing applications scroll. There
4281 is an example uploaded showing how to use it.
4283 * examples/Makefile.am:
4284 * examples/hildon-pannable-area-example-4.c: Added this example of
4285 an application using the modes.
4287 * src/hildon-marshalers.list: Added a new marshaller for the new
4290 * src/hildon-pannable-area.h: Added new enumerations and flags in
4291 order to control the movement modes and the new signals to warn
4292 about the movements in the area.
4294 * src/hildon-pannable-area.c:
4295 (hildon_pannable_axis_scroll),
4296 (hildon_pannable_area_scroll),
4297 (hildon_pannable_area_motion_notify_cb),
4298 (hildon_pannable_area_get_property),
4299 (hildon_pannable_area_set_property),
4300 (hildon_pannable_area_map),
4301 (hildon_pannable_area_class_init),
4302 (hildon_pannable_area_init),
4303 (hildon_pannable_area_jump_to): Added the modes to control the
4304 movement in the widget. We have added properties to control it,
4305 signals to warn about the movements and refactored some code.
4307 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4309 Changes required in order to allow vfast_factor set to zero to
4312 * src/hildon-pannable-area.c:
4313 (hildon_pannable_area_button_press_cb): Changed the condition, it
4314 is required for not allowing click when vfast_factor is zero.
4315 (hildon_pannable_area_timeout): Initialized velocity variables
4316 when we stop moving, it was less than 1 but not zero and we need
4317 to check zero in some situations.
4318 (hildon_pannable_area_class_init): Changed the default value of
4319 the speed factor, now the button_press is just sent in case the
4320 speed is 2 per cent of the max speed.
4321 (hildon_pannable_area_init): Initialization with 0.
4323 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4325 * src/hildon-pannable-area.c,
4326 (hildon_pannable_area_get_topmost): replaced
4327 gdk_window_get_children with gdk_window_peek_children, this way we
4328 do not have to free the list because it is not a copy.
4330 (hildon_pannable_axis_scroll),
4331 (hildon_pannable_area_scroll),
4332 (hildon_pannable_area_timeout),
4333 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4334 two parameters that were only used inside the
4335 hildon_pannable_area_scroll function.
4337 * examples/hildon-pannable-area-example.c,
4338 (get_sawtooth_label): Fixed small memory leak.
4340 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4342 More checks for the case where the overshoot is bigger than the
4345 * src/hildon-pannable-area.c:
4346 (hildon_pannable_draw_vscroll),
4347 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4348 to draw the slider of the scrollbar under the other scrollbar.
4349 (hildon_pannable_area_expose_event): added new checks to control
4350 the drawing of the overshooting area rectangle, in case it is too
4351 big for the area of the widget.
4352 (hildon_pannable_area_size_allocate): add more checks to avoid
4353 setting a position to the child widget outside the area.
4355 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4357 * src/hildon-pannable-area.c
4358 (hildon_pannable_area_size_allocate): Added conditions to control
4359 when overshooting is bigger than the allocated space for the
4360 children, this avoids negative allocations.
4362 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4364 * doc/hildon-docs.sgml
4366 * examples/Makefile.am
4367 * examples/hildon-button-example.c
4369 * src/hildon-button.c
4370 * src/hildon-button.h
4371 * src/hildon.h: Initial version of the new HildonButton widget,
4374 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-pannable-area.c:
4377 (hildon_pannable_area_button_press_cb),
4378 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4379 (hildon_pannable_area_motion_notify_cb),
4380 (hildon_pannable_area_button_release_cb),
4381 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4382 (hildon_pannable_area_jump_to_child):
4384 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4386 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4388 * examples/Makefile.am
4389 * examples/hildon-pannable-area-touch-grid-example.c
4390 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4391 the Hildon Touch List and Hildon Touch Grid using the
4392 HildonPannableArea widget.
4394 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4396 * src/hildon-pannable-area.c,
4397 (hildon_pannable_area_button_press_cb),
4398 (hildon_pannable_area_refresh),
4399 (hildon_pannable_area_scroll),
4400 (hildon_pannable_area_motion_notify_cb),
4401 (hildon_pannable_area_button_release_cb),
4402 (hildon_pannable_area_expose_event),
4403 (hildon_pannable_area_add),
4404 (hildon_pannable_area_remove),
4405 (hildon_pannable_area_realize),
4406 (hildon_pannable_area_size_allocate),
4407 (hildon_pannable_area_class_init),
4408 (hildon_pannable_area_init),
4409 (hildon_pannable_area_scroll_to_child),
4410 (hildon_pannable_area_jump_to_child): Fixed the problem of
4411 removing the child from the GtkBin, we have rearranged the widget
4412 hierarchy, now there is no GtkAlignment which was not doing
4413 anything interesting but breaking some of the assumptions of
4414 GtkContainer. Now developers if they want to add a GtkAlignment
4415 they could, but it is not inside the area.
4417 We had to review the whole allocation/expose process, now it is
4418 improved and we save at least three signals which would be saving
4419 some time when rendering the widget. The allocation of the
4420 scrollbars is now made in the allocate method as usual.
4422 We have also added some conditions in order to control when there
4423 is no child of the pannable area. Maybe we will need more work
4426 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4428 * src/hildon-pannable-area.c,
4429 (hildon_pannable_area_dispose): Released the fade-out timeout when
4430 disposing the widget.
4432 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4434 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4435 zero, we are going to use that property in order to deactivate the
4437 (hildon_pannable_axis_scroll),
4438 (hildon_pannable_area_size_allocate): Added conditions to control
4439 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4440 call, now it is called in all situations and we can remove calls
4441 in the allocate method.
4442 (hildon_pannable_area_map): Control the situation when
4443 overshoot_max is zero, we do not need the timeout.
4444 (hildon_pannable_area_class_init): Added documentation in order to
4445 point out that setting zero to overshoot_max means deactivate
4448 NOTE: removed trailing whitespaces from my previous comments of
4451 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4453 * src/hildon-pannable-area.c
4454 (hildon_pannable_area_get_property),
4455 (hildon_pannable_area_set_property),
4456 (hildon_pannable_area_map),
4457 (hildon_pannable_area_class_init),
4458 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4459 to cause the widget give a hint about its panning abilities upon
4462 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-pannable-area.c: Several documentation improvements.
4466 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-program.c
4469 * src/hildon-stackable-window.c: Update documentation.
4471 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-stackable-window.c (get_previous_window_if_last):
4474 Renamed get_last_window()
4475 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4476 (hildon_stackable_window_unset_program):
4478 (get_previous_window_if_last):
4479 Detect if the window hasn't been added to a HildonProgram.
4481 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4483 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-pannable-area.c
4486 (hildon_pannable_area_button_press_cb),
4487 (hildon_pannable_axis_scroll),
4488 (hildon_pannable_area_scroll),
4489 (hildon_pannable_area_timeout),
4490 (hildon_pannable_calculate_vel_factor),
4491 (hildon_pannable_area_get_property),
4492 (hildon_pannable_area_set_property),
4493 (hildon_pannable_area_class_init),
4494 (hildon_pannable_area_init),
4495 (hildon_pannable_area_scroll_to),
4496 (hildon_pannable_area_jump_to),
4497 (hildon_pannable_area_scroll_to_child),
4498 (hildon_pannable_area_jump_to_child):
4499 * src/hildon-pannable-area.h: Added the new API functions:
4500 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4501 hildon_pannable_area_scroll_to_child,
4502 hildon_pannable_area_jump_to_child
4505 * examples/Makefile.am
4506 * examples/hildon-pannable-area-example-2.c
4507 * examples/hildon-pannable-area-example-3.c: Added these two new
4508 examples in order to test and show how the new APIs work.
4510 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4512 * examples/hildon-stackable-window-example.c (new_window):
4513 * src/Makefile.am (noinst_HEADERS):
4514 * src/hildon-program.c (hildon_program_go_to_root_window):
4515 * src/hildon-program.h:
4516 * src/hildon-stackable-window-private.h:
4517 * src/hildon-stackable-window.c:
4518 * src/hildon-stackable-window.h:
4519 Create hildon-stackable-window-private.h
4520 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4522 * examples/hildon-app-menu-example.c (create_menu):
4523 * examples/hildon-hvolumebar-insensitive-example.c (main):
4524 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4525 * examples/hildon-toolbar-seekbar-example.c (main):
4526 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4527 * src/hildon-banner.c (hildon_banner_set_property):
4528 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4529 Fix compilation warnings
4531 * src/hildon-window.c:
4534 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-stackable-window.c
4537 (hildon_stackable_window_unset_program):
4538 Calculate correctly whether to show the previous window if the
4539 last one is removed from the stack.
4540 (hildon_stackable_window_go_to_root_window):
4541 Send delete events starting from the topmost window.
4542 Stop if one of the windows is not destroyed.
4544 (hildon_stackable_window_delete_event)
4545 (hildon_stackable_window_class_init):
4546 Ignore the delete event if the window is not the topmost one.
4548 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4550 * src/hildon-pannable-area.c
4551 (hildon_pannable_area_expose_event): Fixed a problem when
4552 selecting the background color of the scrollbars.
4554 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4556 * examples/hildon-stackable-window-example.c
4557 * src/hildon-stackable-window.c
4558 * src/hildon-stackable-window.h
4559 hildon_stackable_window_go_home() renamed to
4560 hildon_stackable_window_go_to_root_window()
4561 Send delete events to windows rather than closing them with
4562 gtk_widget_destroy()
4564 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-pannable-area.c
4567 (hildon_pannable_area_button_release_cb): Fix overshooting in
4570 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-pannable-area.c
4573 (hildon_pannable_area_init): Initially show the scroll indicators.
4574 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4576 Add initial effect showing the widget is pannable.
4578 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4580 * src/hildon-pannable-area.c
4581 (hildon_pannable_area_class_init)
4582 (hildon_pannable_area_set_property)
4583 (hildon_pannable_area_get_property)
4584 (hildon_pannable_area_button_press_cb):
4585 New 'velocity_fast_factor' property to decide which velocity is
4588 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-pannable-area.c
4591 (hildon_pannable_draw_hscroll)
4592 (hildon_pannable_draw_vscroll):
4593 Use float variables to calculate the size of the scrollbars to
4594 avoid error propagation and resizing during scrolling.
4596 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4598 * src/hildon-pannable-area.c
4599 (hildon_pannable_draw_vscroll)
4600 (hildon_pannable_draw_hscroll):
4601 Define a minimum size for the scroll bars
4603 * src/hildon-stackable-window.c
4604 (hildon_stackable_window_go_home): Fix compilation warning
4605 (get_last_window): Minor optimizations
4606 (hildon_stackable_window_class_init): Fix initialization of
4609 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4611 * src/hildon-stackable-window.c: Fixed typos in doc
4613 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4615 * src/hildon-pannable-area.c
4616 (hildon_pannable_area_scroll):
4617 Calculate here whether we need to scroll instead of using the booleans
4618 that tell us whether to /draw/ the scrolling bars.
4620 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-app-menu.h
4624 * src/hildon-app-menu.c
4625 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4626 multiple filter groups related code and API. Now we support only
4628 * examples/hildon-app-menu-example.c:
4630 Update to reflect API changes.
4632 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4634 * src/hildon-stackable-window.c
4635 (hildon_stackable_window_class_init):
4636 Add hildon_stackable_window_realize.
4637 (hildon_stackable_window_realize):
4638 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4639 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4640 to apply theming and behavior specific to HildonStackableWindow
4643 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-note.c (hildon_note_button_release):
4646 Close information notes also when tapping on them
4648 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4650 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4651 ELASTICITY, refactor and review, fix some issues with drawing
4654 * src/hildon-pannable-area.c:
4655 (hildon_pannable_area_button_press_cb): removed the conditions to
4656 avoid clicks when overshooting. It is not required
4658 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4659 define. Refatored and reviewed the code, now we do not need to
4660 manage velocity in motion_notify.
4662 (hildon_pannable_area_motion_notify_cb): We have moved the code
4663 that controls the area_scroll to the axis_scroll function and get
4664 rid of duplicated code.
4666 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4668 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4670 (hildon_pannable_draw_vscroll),
4671 (hildon_pannable_draw_hscroll): Fixed the problems with the
4672 scrollbar drawing, now we do not use two surfaces, it is easier
4673 and saves resources.
4675 (hildon_pannable_area_get_property): Style modification.
4677 (hildon_pannable_area_class_init): Changed some default values.
4679 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/hildon-stackable-window.c: Fix some typos in the
4684 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-dialog.c:
4687 Change indentation style
4690 (hildon_note_button_release):
4691 Use root coordinates to check if the release event happened
4694 * src/hildon-app-menu.c
4695 (hildon_app_menu_button_release):
4696 Remove unnecessary check
4698 * examples/hildon-app-menu-example.c
4700 Add cast to fix warning
4702 * src/hildon-app-menu.c
4703 (hildon_app_menu_class_init):
4704 New inner-border style property.
4705 Set all default spacings to 16
4706 (hildon_app_menu_init):
4707 Use vertical-spacing to set the space between filter buttons and
4708 regular menu buttons.
4709 Set the default container border using the inner-border value.
4711 * examples/hildon-app-menu-example.c
4713 Don't set the menu border explicitly, now we have the inner-border
4714 style property for that.
4716 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-app-menu.c (hildon_app_menu_init):
4719 Make the window modal
4721 * src/hildon-note.c (hildon_note_map)
4722 * src/hildon-app-menu.c (hildon_app_menu_map):
4723 Destroy the grab window if we're unable to grab the pointer
4725 * src/hildon-app-menu-private.h
4726 * src/hildon-app-menu.c
4727 (hildon_app_menu_init, hildon_app_menu_finalize)
4728 (hildon_app_menu_map, hildon_app_menu_unmap)
4729 (hildon_app_menu_button_release)
4730 (grab_transfer_window_get):
4731 Bring back the grab window
4732 (hildon_app_menu_realize):
4733 Decorate the window, set WM hint for Matchbox
4735 * src/hildon-note.c (hildon_note_realize):
4736 * src/hildon-banner.c (hildon_banner_realize):
4737 Add WM hints for Matchbox
4739 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4741 * src/hildon-app-menu-private.h
4742 * src/hildon-app-menu.c
4743 (hildon_app_menu_init, hildon_app_menu_finalize)
4744 (hildon_app_menu_map, hildon_app_menu_unmap)
4745 (hildon_app_menu_button_release):
4746 Remove the grab window, it's not needed anymore
4748 * src/hildon-program.c
4749 Fixed typo in documentation
4751 * src/hildon-app-menu.h
4752 * src/hildon-app-menu.c
4753 * examples/hildon-app-menu-example.c
4754 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4756 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4759 Added new transfer_window and close_if_pressed_outside private
4761 (hildon_note_rebuild):
4762 Don't add a cancel button to the information note. It will be
4763 closed when tapping outside
4764 Remove the comment about the OK button in the documentation
4765 (hildon_note_realize):
4766 Set the notification type hint
4767 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4768 Grab/ungrab pointer and keyboard if the note has to be closed when
4770 (hildon_note_button_release):
4771 Close the note when tapping outside (if applicable)
4773 * src/hildon-app-menu.c
4774 Grab/ungrab pointer and keyboard on map/unmap
4775 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4776 Close the menu on button release, not button press
4778 * src/hildon-banner.c
4779 (hildon_banner_set_property)
4780 (hildon_banner_check_position):
4781 Make the banner use the full width of the screen
4782 (hildon_banner_show_information)
4783 (hildon_banner_show_information_with_markup):
4784 Don't display an icon by default
4786 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4788 Added fading scrollbars and adapted all the overshooting code to
4789 horizontal scrolling. We have also fixed bugs with overshooting
4790 and current fading implementation.
4792 * src/hildon-pannable-area.c
4793 (hildon_pannable_area_scroll_indicator_fade): Time out function
4794 used to change the transparency of the scrollbars.
4796 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4797 control and fixed a problem with fading, we now remove the fade
4798 timeout before adding a new one.
4800 (hildon_pannable_axis_scroll):
4801 (hildon_pannable_area_scroll):
4802 (hildon_pannable_area_timeout): Added this functions so we can use
4803 the scroll code both for vertical and horizontal.
4805 (hildon_pannable_area_motion_notify_cb):
4806 (hildon_pannable_area_button_release_cb): Added the horizontal
4807 scrolling control, fixed a problem with the overshooting timeout.
4809 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4810 painting of the scrolls.
4812 (hildon_pannable_draw_vscroll):
4813 (hildon_pannable_draw_hscroll):
4814 (hildon_pannable_area_expose_event):
4815 Draw both scrollbars and rectangles in the overshooting area.
4817 (hildon_pannable_area_get_property):
4818 (hildon_pannable_area_set_property):
4819 Modified the overshoot property to overshoot_max
4821 (hildon_pannable_area_map):
4822 Replaced the comments symbols.
4824 (hildon_pannable_area_size_allocate):
4825 (hildon_pannable_area_class_init):
4826 (hildon_pannable_area_init): Added horizontal scroll, fading
4827 effect properties, fixed a problem when overshooting in the bottom
4830 * examples/hildon-pannable-area-example.c:
4831 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4832 looks better in the example.
4834 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4836 * src/hildon-window.c
4837 * src/hildon-window.h
4838 (hildon_window_class_init)
4839 (hildon_window_unset_program)
4840 (hildon_window_unset_program_real):
4841 Make unset_program a virtual function
4843 * src/hildon-stackable-window.c
4844 * src/hildon-stackable-window.h
4845 Added hildon_stackable_window_go_home()
4847 * examples/Makefile.am
4848 * examples/hildon-stackable-window-example.c
4849 HildonStackableWindow example
4851 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4853 * hildon-pannable-area.c: Added the overshoot property and removed
4854 the OVERSHOOT define. Fixed an indent style error.
4855 (hildon_pannable_area_motion_notify_cb):
4856 (hildon_pannable_area_get_property):
4857 (hildon_pannable_area_set_property): Add overshoot property.
4859 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4862 (hildon_pannable_area_class_init): Installed the new property.
4864 * hildon-pannable-area-example.c: Added a sawtooth function, this
4865 way it is easier to check the movement in the pannable.
4866 (get_sawtooth_label): Added this function.
4867 (main): Now we get the labels from the new get_sawtooth_label
4870 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-app-menu.h
4873 * src/hildon-app-menu.c
4874 Renamed API variables for consistency
4876 (hildon_app_menu_popup): Use also the default window size to
4877 decide where to place the menu
4879 (hildon_app_menu_init, hildon_app_menu_class_init): New
4880 external-border style property
4882 2008-05-26 Michael Natterer <mitch@imendio.com>
4884 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4885 widget_class->tap_and_hold_setup signal slot doesn't exist any
4886 longer, stop overriding it.
4888 (hildon_time_editor_init): g_signal_connect() to the
4889 tap-and-hold-setup signal instead.
4891 (hildon_time_editor_entry_keypress): add cast to fix warning.
4893 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4895 * doc/hildon-docs.sgml
4897 * examples/Makefile.am
4898 * examples/hildon-app-menu-example.c
4900 * src/hildon-app-menu-private.h
4901 * src/hildon-app-menu.c
4902 * src/hildon-app-menu.h
4904 New HildonAppMenu widget
4906 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4908 Rearranged the inheritance of the pannable area, now it inherits
4909 from GtkBin. This will allow us to control the event_window and
4910 the allocation process of the widget, required for some effects.
4912 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4913 GtkBin structures. * src/hildon-pannable-area.c: Added the
4914 event_window variable.
4915 (hildon_pannable_area_button_press_cb):
4916 (hildon_pannable_area_button_release_cb):
4917 (hildon_pannable_area_motion_notify_cb):
4918 Changed the signature of the method, now we override the event
4919 callback instead of connecting to the signal.
4921 (hildon_pannable_area_realize):
4922 (hildon_pannable_area_unrealize):
4923 (hildon_pannable_area_map):
4924 (hildon_pannable_area_unmap):
4925 (hildon_pannable_area_size_allocate):
4926 Added functions to control the widget construction. We add a
4927 INPUT_ONLY window and we put it over the widgets inside the
4928 container, this event_window handles the events.
4930 (hildon_pannable_area_class_init):
4931 Replaced the signal connections with overrides of the event
4934 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4936 Bouncing effect added when touching the borders, you can change
4937 the elasticity of the border changing the ELASTICITY define.
4939 * src/hildon-pannable-area.c: Added ELASTICITY define.
4940 (hildon_pannable_area_timeout): Added inverse velocity when
4941 touching the border of the child widget, that causes a bounce.
4943 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4945 Improved performance, we now do not go to the X server in order to
4946 get the list of window children. Apparently the effect is the
4947 same, we have to be careful and check if this breaks something in
4950 * src/hildon-pannable-area.c:
4951 (get_ordered_children): Removed this function.
4952 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4953 the children windows function with gdk_window_get_children.
4955 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4957 * src/hildon-pannable-area.c:
4958 (hildon_pannable_area_dispose): Fixed a crash when closing the
4959 window and kinetics is activated.
4961 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-pannable-area.h
4964 * src/hildon-pannable-area.c
4965 Changed indentation style to meet the one used in Hildon
4967 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4969 Reviewed the interaction of the AUTO mode, now we use the time
4970 attribute of the events and calculate the velocity in the motion,
4971 doing a gimp like calculation. The velocity is calculated in each
4972 motion event using the last velocity and the current one, the
4973 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4975 * src/hildon-pannable-area.c: Replaced the time based algorithm
4977 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4978 timeout for the AUTO mode when we are still moving the cursor. We
4979 added also the velocity calculation in this function.
4980 (hildon_pannable_area_button_release_cb): launch the timeout in
4981 case we are in AUTO mode. There are still some constants here that
4982 come from the old implementation that should be reviewed and
4985 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4987 * doc/hildon-docs.sgml
4990 * src/hildon-stackable-window.c
4991 * src/hildon-stackable-window.h
4993 New HildonStackableWindow widget
4995 * examples/hildon-dialog-example.c
4996 * examples/hildon-pannable-area-example.c
4999 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-dialog.c
5002 (hildon_dialog_new_with_buttons): New constructor.
5004 * examples/hildon-dialog-example.c
5005 (main): Update the example to use the new
5006 hildon_dialog_new_with_buttons().
5008 * examples/hildon-pannable-area-example.c
5009 (main): Update example.
5011 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5013 * doc/hildon-docs.sgml
5015 Added HildonPannableArea to the documentation.
5017 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5019 * doc/visual_index.xml
5020 Fix reference to HildonLoginDialog in documentation
5022 * doc/hildon-docs.sgml
5024 * examples/Makefile.am
5025 * examples/hildon-dialog-example.c
5027 * src/hildon-dialog.c
5028 * src/hildon-dialog.h
5030 New HildonDialog widget.
5032 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-pannable-area.c
5035 Merge latest changes (r4318, r4342) from libmokoui trunk
5037 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5039 * examples/Makefile.am
5040 * examples/hildon-pannable-area-example.c
5042 * src/hildon-pannable-area.c
5043 * src/hildon-pannable-area.h
5045 New HildonPannableArea widget.
5047 2008-04-15 18:05:19 <timj@imendio.com>
5049 * src/hildon-banner.c: revert the recent change, that introduced
5050 gtk_window_present() calls. this reopens:
5051 Bug 78481 - [freetest] information banners are hidden under browser menu
5052 But resolves another variant of:
5053 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5055 2008-04-15 13:21:13 <timj@imendio.com>
5057 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5058 recreated its layout, spotted by Kris. this fixes all remaining
5059 artefacts and stability issues with the banner code. in particular:
5060 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5062 2008-04-14 16:52:59 <timj@imendio.com>
5064 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5065 operating on unrealized widgets, fixes:
5066 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5068 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5070 2008-04-09 Kristian Rietveld <kris@imendio.com>
5072 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5073 makes banner disappear.
5074 Fixes: NB#79182: info banner flickering with certain message lengts.
5076 * src/hildon-banner.c (hildon_banner_constructor),
5077 (hildon_banner_init), (hildon_banner_set_text),
5078 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5079 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5080 FALSE, reset size requests of label and banner,
5081 (force_to_wrap_truncated): when the text is too wide, always enforce
5082 the maximum possible width instead of recalculating it from the
5083 layout; enforce the maximum banner height of 3 lines,
5084 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5085 nicer wrapping and no truncated chars if space gets tight.
5087 * src/hildon-banner-private.h: add has_been_wrapped and
5088 has_been_truncated fields.
5090 2008-04-07 Sven Herzberg <sven@imendio.com>
5092 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5093 local values in hildon_date_editor_size_allocate
5095 * src/hildon-date-editor.c: moved the real allocation code into the
5098 2008-04-07 Sven Herzberg <sven@imendio.com>
5100 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5101 local values in hildon_date_editor_size_allocate
5103 * src/hildon-date-editor.c: merged the two if() branches together
5105 2008-04-07 Sven Herzberg <sven@imendio.com>
5107 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5108 local values in hildon_date_editor_size_allocate
5110 * src/hildon-date-editor.c: changed the arguments of the if()
5113 2008-04-07 Sven Herzberg <sven@imendio.com>
5115 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5116 local values in hildon_date_editor_size_allocate
5118 * src/hildon-date-editor.c: split the calculation of the allocation
5119 from the real allocation
5121 2008-03-27 Michael Natterer <mitch@imendio.com>
5123 Fixes: NB#81696: The passcode is not overwritten even after
5126 * src/hildon-code-dialog.c
5127 (hildon_code_dialog_button_clicked)
5128 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5129 because that doesn't overwrite selected text. Instead, emit the
5130 "commit" signal on the entry's im_context so the entry's normal
5131 insert logic is triggered. Set the cursor to the end of the entry
5132 after each insert operation so that we *only* insert in the middle
5133 of the text if something was selected.
5135 2008-03-27 Michael Natterer <mitch@imendio.com>
5137 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5138 selector cannot be opened
5140 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5141 when the popup color selector is created. Please connect to this
5142 signal in order to set the dialog's help ID.
5144 2008-03-25 Sven Herzberg <sven@imendio.com>
5146 Fixes: MB#1212: Hide info banners (infoprints) on click
5148 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5149 extracted the close event simulation into an extra function
5150 (hildon_banner_button_press_event): simulate a close event and destroy
5151 the widget if the event wasn't handled
5152 (hildon_banner_class_init): added the button_press_event handler
5153 (hildon_banner_init): added button-press events to the widget
5155 2008-03-25 Sven Herzberg <sven@imendio.com>
5157 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5158 Patch from: Mohammad Anwari <mdamt@maemo.org>
5160 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5161 instead of the right in RTL mode
5162 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5163 breadcrumb button list in RTL mode
5164 * src/hildon-caption.c: mirror the appearance of the caption widget in
5166 * src/hildon-date-editor.c: mirror appearance of the date editor in
5168 * src/hildon-time-editor.c: mirror appearance of the time editor in
5170 * src/hildon-window.c: fix the position of the popup in RTL mode
5172 2008-03-25 Sven Herzberg <sven@imendio.com>
5174 Amendment to the fix of NB#22072. Fix compilation.
5176 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5178 2008-03-19 Sven Herzberg <sven@imendio.com>
5180 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5183 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5184 timeout id properly when the timeout will disappear this leaves no
5185 artifacts around in the destroy(); there will only be the timeout
5186 created by hildon_banner_ensure_timeout() and adding a new timeout
5187 will also work if the timeout gets removed because the timeout_handler
5190 2008-03-19 Michael Natterer <mitch@imendio.com>
5192 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5194 * src/hildon-volumebar.c
5195 * src/hildon-vvolumebar.c
5196 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5197 the widget becomes focussable at all.
5199 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5200 set the focus to wither the mute button or the volumebar.
5202 Remove own "can-focus" property and instead listen to
5203 notify::can-focus in order to update the widget's state.
5205 Implement GtkWidget::focus() and make sure we can also *leave* the
5206 widget, not only enter it, depending on volumebar orientation and
5207 requested focus direction.
5209 Clean up set_mute() to cooperate nicely with all the above.
5211 2008-03-04 Michael Natterer <mitch@imendio.com>
5213 Fixes: NB#78481: information banners are hidden under browser menu
5215 * src/hildon-banner.c: call gtk_window_present() on the banners so
5216 they are risen if they are already visible.
5218 2008-03-03 Sven Herzberg <sven@imendio.com>
5220 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5222 * examples/hildon-window-menu-example.c: (main): extended the window
5223 menu example to serve as a testcase for automatically added
5224 accelerator groups, too
5225 * src/hildon-window.c: (hildon_window_add_accel_group),
5226 (hildon_window_set_menu): added patch by Tommi Komulainen
5228 2008-03-03 Sven Herzberg <sven@imendio.com>
5230 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5232 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5233 knowledge about the border allocators used within GTK+
5235 2008-02-26 Sven Herzberg <sven@imendio.com>
5237 Fixes: MB#2981: Build with asserts broken
5239 * src/hildon-date-editor.c,
5240 * src/hildon-number-editor.c,
5241 * src/hildon-time-editor.c,
5242 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5243 the proper GType instance check
5245 2008-02-25 Sven Herzberg <sven@imendio.com>
5247 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5249 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5250 * examples/hildon-window-menu-example.c: (main): explicitly show
5252 * src/hildon-window.c:
5253 (hildon_window_set_main_menu): moved most of the code from set_menu()
5254 to this place; skipped the call to gtk_widget_show_all(); also didn't
5255 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5256 (hildon_window_set_menu): removed most of the code, just keep the
5257 questionable gtk_widget_show_all()
5258 * src/hildon-window.h: added the new function and deprecate the old
5261 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5267 * debian/changelog: Updating.
5269 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5272 * pkgconfig/Makefile.am:
5273 * pkgconfig/hildon.pc.in:
5276 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5277 use newly created API_MAJOR_VERSION.
5279 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5285 * debian/changelog: Updating.
5287 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5289 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5291 Add outer_border style property, we use it but don't define it (!).
5295 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5297 * examples/hildon-bread-crumb-trail-example.c (main):
5301 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5303 Fix logic for the bread crumb trail node removal.
5307 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5313 * debian/changelog: Updating.
5315 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5317 Patch by Alejandro to get/set passwords dialogs accesibility.
5319 * hildon-1/src/hildon-get-password-dialog.c:
5320 * hildon-1/src/hildon-set-password-dialog.c:
5321 Set atk_set_name to the passwd entries in order to allow
5322 accessibility by name on this entries.
5324 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5329 * debian/control: Updating gtk dep.
5331 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5333 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5334 USE_MAEMO_GTK is enabled.
5336 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5338 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5339 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5341 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5347 * debian/changelog: Updating.
5349 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5351 * examples/Makefile.am:
5352 * examples/hildon-logical-color-example.c:
5353 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5354 applied + adding a test case. Fixes: NB#71660.
5356 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5358 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5359 to be visible, fixes warning on map for windows without toolbars.
5361 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5363 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5364 2.11.0, add a check for that besides the MAEMO_GTK check.
5366 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5372 * debian/changelog: Updating.
5374 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5376 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5377 visibility. Fixes: NB#70842 and MB#615.
5379 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5381 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5382 set the separator as no-show-all so it doesn't unintentionally appear when
5383 someone does a show_all.
5385 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5387 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5388 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5389 toplevel item. Fixes: NB#62031
5391 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5393 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5394 fix the name of the function in the docs.
5396 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5402 * debian/changelog: Updating.
5404 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5406 * examples/hildon-banner-long-example.c: Adding a test-case for long
5409 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5411 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5413 * src/hildon-color-chooser-dialog.c:
5414 * src/hildon-color-chooser.c:
5415 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5416 memory leaks in font selector and color selector. Fixes: NB#70499 and
5419 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5421 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5423 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5425 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5426 little bit bigger. Fixes: #NB63694.
5428 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5434 * debian/changelog: Updating.
5436 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5439 * doc/hildon-docs.sgml:
5440 * doc/images/bread-crumb-trail.png:
5441 * doc/images/calendar-popup.png:
5442 * doc/images/caption.png:
5443 * doc/images/code-dialog.png:
5444 * doc/images/color-button.png:
5445 * doc/images/color-chooser-dialog.png:
5446 * doc/images/color-chooser.png:
5447 * doc/images/controlbar.png:
5448 * doc/images/date-editor.png:
5449 * doc/images/font-selection-dialog.png:
5450 * doc/images/get-password-dialog.png:
5451 * doc/images/hvolumebar.png:
5452 * doc/images/login-dialog.png:
5453 * doc/images/note.png:
5454 * doc/images/number-editor.png:
5455 * doc/images/range-editor.png:
5456 * doc/images/seekbar.png:
5457 * doc/images/set-password-dialog.png:
5458 * doc/images/sort-dialog.png:
5459 * doc/images/time-editor.png:
5460 * doc/images/time-picker.png:
5461 * doc/images/vvolumebar.png:
5462 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5463 Adding the bread-crumb-trial and helpers to the documentation.
5465 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5467 * examples/hildon-find-toolbar-example.c:
5468 * src/hildon-find-toolbar.c:
5469 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5470 actually continue firing the other handlers if connected. Adding a new
5472 hildon_find_toolbar_get_last_index that gets the index of the most
5473 recently added (last) item. Fixes: NB#52301.
5475 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5477 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5478 behaviour. Fixes: NB#68610.
5480 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5482 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5485 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5487 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5488 when realizing the banner. Should make the infonbanner effect a bit more
5491 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5493 * src/hildon-volumebar.c:
5494 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5495 hildon_volumebar_set_range_insensitive_message and
5496 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5498 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5500 * src/hildon-window.c: Fixing the border freeing on destroy.
5502 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5504 * src/hildon-code-dialog-private.h:
5505 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5506 kw keyboard support in HildonCodeDialog.
5508 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5514 * debian/changelog: Updating.
5516 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5518 * src/hildon-date-editor.c:
5519 * src/hildon-number-editor.c:
5520 * src/hildon-private.c:
5521 * src/hildon-private.h:
5522 * src/hildon-time-editor.c:
5523 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5524 handling in subclassed composite widgets. Fixes: NB#66628.
5526 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5528 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5529 from destroy_ callback as it introduces problems in async dbus signal
5530 handlers. Fixes NB#66673.
5532 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5534 * examples/hildon-hvolumebar-example.c:
5535 * src/hildon-volumebar.c: Improving the focus handling in the
5536 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5537 set_property accessor so that "mute" property can be actually set. I'm
5538 scared that nobody noticed it's totally broken.
5540 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5542 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5545 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5547 * src/hildon-calendar.c:
5548 * src/hildon-number-editor.c:
5549 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5550 matches the spec of 6 chars per second. Fixes: NB#60489.
5552 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5554 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5555 gtk_style_lookup_color sometime returns FALSE even though color was
5556 found and values were filled properly. Weird. Removing the warning for the
5559 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5561 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5562 expand vertically. Adding some extra space to the find toolbar buttons to
5563 make them thumbable. Fixes NB#66060.
5565 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5567 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5568 popup with "Ok" and "Cancel". Fixes NB#59299.
5570 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5572 * src/hildon-calendar.c: Process all window updates before executing next
5573 timeout. Fixes: NB#54146.
5575 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5581 * debian/changelog: Updating.
5583 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5585 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5586 the client event and ignore it, since we use the delete event to close
5589 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5591 * src/hildon-helper.c: Remove the bogus warning about color not being
5592 found. Fixes NB#58352.
5594 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5596 * examples/Makefile.am:
5597 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5598 HildonSeekbar widget inside a toolbar.
5600 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5602 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5603 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5604 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5605 don't want to be closed by non-temporary windows on map.
5607 Also use G_DEFINE_TYPE instead of manually typed code.
5609 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5616 * debian/rules: Updating.
5618 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5620 * examples/Makefile.am:
5621 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5622 bug NB#61128. Strangely it works.
5624 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5626 * src/hildon-date-editor.c: When the date editor entry has been changed
5627 but the numbers of characters < max, turn off the skip validation flag.
5628 Prevents a situation when we enter first a valid year and later re-write
5629 it with an invalid one. Fixes NB#60154.
5631 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5633 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5634 code dialog. Fixes NB#64355.
5636 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5638 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5639 switching the page. Fixes NB#49374.
5641 * examples/Makefile.am:
5642 * examples/hildon-wizard-dialog-example.c: Adding an example for
5643 HildonWizardDialog that shows how to handle manual sensitivity setting on
5646 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5650 * src/hildon-version.h.in:
5651 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5653 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5655 * src/hildon-volumebar.c: Updating the docs.
5657 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5663 * debian/changelog: Updating.
5665 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5667 * src/hildon-find-toolbar.c:
5668 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5669 selected item: hildon_find_toolbar_set_active,
5670 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5671 hildon_find_toolbar_get_active_iter . They correspond to respective
5672 GtkComboBox functions.
5674 * examples/Makefile.am:
5675 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5678 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5680 * examples/Makefile.am:
5681 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5684 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5685 when font size > 32 and we pack a focusable widget inside. Actually using
5686 the default response would work too, but since we don't show default
5687 response state in any way (no theming) it would not be visible to the
5688 user. Fixes NB#63430.
5690 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5692 * src/hildon-date-editor.c: Adding the missing variable setter in the
5693 set_property handler. Fixes NB#54182.
5695 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5697 * src/hildon-window.h: Changing the long key press time from 1500ms to
5698 800ms as requested in NB#63700. I have a bad feeling about this, let's
5699 see... Fixes NB#63700.
5701 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5703 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5704 hildon_time_picker_map, hildon_time_picker_realize,
5705 hildon_time_picker_style_set): Split the contents of map to more
5706 appropriate functions; set window decorations on realize and update
5707 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5709 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5714 * debian/changelog: Updating.
5716 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5718 * src/Makefile.am: fixed installation of the header files
5720 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5726 * debian/changelog: Updating.
5728 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5730 * configure.ac: Removing some remaining of --enable-xan.
5732 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5734 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5735 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5737 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5738 2.10.12-osso6 because the move-focus signal needs to be available in
5741 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5743 * examples/Makefile.am:
5744 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5745 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5746 fine. Prolly NB#61128 is fixed now.
5748 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * src/hildon-volumebar.c:
5751 * src/hildon-volumebar.h: Adding the
5752 hildon_volumebar_set_range_insensitive_message and
5753 hildon_volumebar_set_range_insensitive_messagef functions to set
5754 insensitive message on the slider of the volumebar. Fixes NB#61129.
5756 * examples/Makefile.am:
5757 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5758 test the new insensitive messsage functionality on HildonVolumebar.
5760 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5762 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5765 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5767 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5768 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5769 button on after clearing the trail.
5771 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5773 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5775 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5777 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5778 by splitting the installed headers in generated and non-generated groups. Use
5779 only the non-generated headers to create the hildon-enum-types.h file.
5781 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5783 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5785 * src/hildon-window.c: Hide the window before performing the destroy.
5786 Should make the app closing a little tiny bit more snappy.
5788 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5790 * src/hildon-seekbar.c: add gtkrange.h header
5791 * src/hildon-caption.c: remove unused variable
5793 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5795 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5798 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5804 * debian/changelog: Updating.
5806 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5808 * src/hildon-window.c (hildon_window_window_state_event,
5809 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5810 escape timeout on focus-out-event rather than notify::is-topmost; the
5811 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5813 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5815 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5816 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5818 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5820 * src/hildon-window: actually, you need to use the macro always, there's
5821 no private pointer in the instance structure. We should have cleaned this up
5822 when we had the chance...
5824 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5826 * src/hildon-window.c: do not get the private date from HildonWindow before
5827 it passes the g_return_if_fail check. Once it's passed the test, there's no
5828 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5829 if you are only going to access the data once. Whitespace cleanups.
5831 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5833 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5834 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5836 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5842 * debian/changelog: Updating.
5844 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5846 * src/hildon-window.c: When destroying the window, remove (if exists) the
5847 escape timeout handler. Fixes #NB59276.
5849 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5851 * src/hildon-banner.c: When realizing the widget, set the window
5852 transiency. Setting the transiency in the gobject constructor is not
5853 good, as the widget is not realized at that point. Fixes: #NB56624.
5855 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5857 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5858 Add padding for future expansions.
5860 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5862 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5863 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5864 will fake an activation on the previous to the last item of the trail, so
5865 the effect can be overrided by the developer as usual.
5866 Also change the callback for the back button to do the same thing, so its
5867 effect can be overrided too. Fixes: NB#58982
5869 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5871 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5872 HildonCaption. Fixes NB#52379.
5874 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5876 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5877 the internal state of the trail after the user has had the chance of executing
5878 his handler for the signal. Specifically, it may happen that the activated button
5879 is removed and the user still lets the default handler run. This would segfault
5882 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5884 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5885 scrollbar to the preview dialog. Fixes NB#54147.
5887 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5890 max/min year properties can be altered, so the client can modify it
5891 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5893 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5895 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5896 hildonlike by default. Fixing a problem with disappearing arrows when
5897 scrolling through months and years. Fixes NB#54127.
5899 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5901 * examples/hildon-date-editor-example.c: Adding error callback to the date
5904 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5910 * configure.ac: Updating.
5912 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5914 * configure.ac: Adding a special '--enable-xan' configure option that
5915 turns off the -Werror compilation setting. Usefull for development.
5917 * src/hildon-calendar.c:
5918 * src/hildon-number-editor.c:
5919 * src/hildon-time-picker.c: Adding the 5* multiplier to
5922 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5924 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5925 instead of g_object_ref + gtk_object_sink.
5927 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * debian/changelog: Updating.
5935 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5937 * src/hildon-color-chooser-dialog.c:
5938 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5939 straight from Tommi labs.
5941 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5943 * examples/hildon-finger-example.c: Correcting the header file path.
5945 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5946 the changed signal. Fixes a small memory leak.
5948 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5952 * src/hildon-banner.c: Importing several usefull fixes from the
5953 ubuntu-mobile branch.
5955 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5957 * examples/Makefile.am:
5958 * examples/hildon-finger-example.c: Adding a finger-checking code
5961 * src/hildon-font-selection-dialog.c: Do not allocate the color
5962 structure using the g_new. Fixes NB#54061.
5964 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * src/hildon-helper.c: Correcting tabs in file.
5968 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5970 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5971 control the visibility of the children.
5973 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5975 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5981 * debian/changelog: Updating.
5983 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5985 * src/hildon-bread-crumb-trail.c:
5986 (hildon_bread_crumb_trail_size_allocate):
5988 Make the back button always a square.
5990 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5992 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5993 from the .c file as it's a private file.
5995 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5997 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5998 uses slightly bigger height.
6000 * src/hildon-font-selection-dialog.c: Adding some checks before
6001 freeing memory in the font selection dialog.
6003 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6005 * src/hildon-font-selection-dialog.c: Adding a small check when
6008 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6009 buttons sensitivity on page switching.
6011 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6013 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6014 internal details of adding a bread crumb to the trail.
6016 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6022 * debian/changelog: Updating.
6024 * src/hildon-bread-crumb-trail.h:
6025 * src/hildon-bread-crumb.h: Changing the API guard to
6026 HILDON_ENABLE_UNSTABLE_API.
6028 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6036 * src/hildon-helper.h: Updating.
6038 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6046 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6050 * src/hildon-helper.h: Small fix to make the package actually compile.
6052 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6054 * src/hildon-bread-crumb-trail.h:
6055 * src/hildon-bread-crumb.h:
6057 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6058 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6060 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6062 * examples/hildon-bread-crumb-trail-example.c:
6064 * src/hildon-bread-crumb-trail.c:
6065 * src/hildon-bread-crumb-trail.h:
6066 * src/hildon-bread-crumb.c:
6067 * src/hildon-bread-crumb.h:
6068 * src/hildon-marshalers.list:
6069 * src/hildon-bread-crumb-widget.c:
6070 * src/hildon-bread-crumb-widget.h:
6072 Slight change in the widget design. The bread crumb trail API is
6073 unchanged, but HildonBreadCrumb is now an interface. A *private*
6074 implementation, hildon-bread-crumb-widget, is provided and used
6075 internally by the trail for the push_text/push_icon functions.
6077 The generic push API is still available, so anyone can implement
6078 and use its own bread crumb widget.
6080 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6082 * debian/rules: Fixing the shlibs.
6084 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6086 * src/hildon-banner.c: Fixing a problem with timed banners having
6087 their parrent destroyed before they are.
6089 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6091 * src/hildon-bread-crumb.c:
6092 * src/hildon-bread-crumb.h:
6094 Make the get_natural_size function a vfunc.
6096 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6098 * src/hildon-bread-crumb.c:
6099 * src/hildon-bread-crumb-trail.c:
6103 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6110 * debian/changelog: Updating for release.
6112 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6114 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6115 don't leak the pango layout.
6117 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6120 * examples/hildon-bread-crumb-trail-example.c:
6124 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6126 * debian/changelog: Removing the bug-fixed entries that were actually
6127 resolved as WONTFIX.
6129 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6132 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6134 * src/hildon-bread-crumb-trail.c:
6135 * src/hildon-bread-crumb-trail.h:
6136 * src/hildon-bread-crumb.c:
6137 * src/hildon-bread-crumb.h:
6141 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6143 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6144 until it's passed the type check.
6146 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6148 * examples/hildon-bread-crumb-trail-example.c
6152 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6154 * examples/Makefile.am
6155 * examples/hildon-bread-crumb-trail-example.c
6157 * src/hildon-bread-crumb-trail.c
6158 * src/hildon-bread-crumb-trail.h
6159 * src/hildon-bread-crumb.c
6160 * src/hildon-bread-crumb.h
6162 New HildonBreadCrumbTrail widget.
6164 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6166 * src/hildon-range-editor.c (hildon_range_editor_init),
6167 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6168 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6169 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6170 hildon_time_editor_class_init, hildon_time_editor_init),
6171 src/hildon-get-password-dialog.c (invalid_input,
6172 hildon_get_password_set_property, hildon_get_password_get_property,
6173 create_contents, hildon_get_password_dialog_set_max_characters),
6174 src/hildon-set-password-dialog.c (create_contents),
6175 src/hildon-date-editor.c (hildon_date_editor_init),
6176 src/hildon-login-dialog.c (hildon_login_dialog_init),
6177 src/hildon-number-editor.c (hildon_number_editor_init),
6178 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6179 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6180 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6181 configure option and adding the respective checks in the code.
6182 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6183 hildon_calendar_drag_data_received): fixed some build warnings.
6185 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6187 * debian/changelog: A 1.0.0 release notes.