1 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-02-06 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-date-selector.c (hildon_date_selector_init)
12 (hildon_date_selector_constructor): Don't connect to the "changed"
13 signal until the selector is completely constructed.
15 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-touch-selector.c: (_create_new_column),
18 (hildon_touch_selector_append_column),
19 (hildon_touch_selector_set_column_selection_mode),
20 (hildon_touch_selector_set_active),
21 (hildon_touch_selector_select_iter):
22 Emit the HildonTouchSelector::changed signal every time selection
23 is changed in any of the methods above. This behavior was already
24 documented but not fully functional.
26 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
27 selection is programmatically changed)
29 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
31 * doc/hildon-sections.txt: Remove obsolete icon
32 sizes from here as well.
34 2009-02-05 Alberto Garcia <agarcia@igalia.com>
36 * examples/hildon-stackable-window-example.c (add_window): Remove
39 2009-02-05 Alberto Garcia <agarcia@igalia.com>
41 * src/hildon-app-menu.c
42 (hildon_app_menu_show): Check whether the parent window of a menu
43 is topmost before popping it up.
45 Fixes: NB#100468 (Application menu window is launched even when a
46 new secondary-window/dialog is pending to be shown/realized.)
48 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
50 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
53 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
55 Patch by Mox Soini (ext-mox.soini@nokia.com)
57 * src/hildon-banner.c: (hildon_banner_show_animation):
58 use stylus size instead of obsolete note size.
59 * src/hildon-defines.h: Update icon sizes.
61 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
63 * src/hildon-touch-selector-entry.c:
64 (hildon_touch_selector_entry_init): Disable unsupported
66 (hildon_touch_selector_entry_get_text_column): Emit a warning
67 if an unsupported input modes is used and explicitile state
68 these modes in the documentation.
70 Fixes: NB#99802 (Hildon touch selector entry not working properly
71 for some of the input modes)
73 2009-02-05 Alejandro G. Castro <alex@igalia.com>
75 * src/hildon-pannable-area.c,
76 (hildon_pannable_area_init): Added the changed signal handlers of
79 Fixes: NB#100320 (HildonPannableArea does not listen to
80 GtkAdjustment "change" signals)
82 2009-02-04 Alberto Garcia <agarcia@igalia.com>
84 * doc/hildon-sections.txt
85 * src/hildon-window-private.h
87 * src/hildon-window.c (hildon_window_init)
88 (hildon_window_realize, hildon_window_unrealize)
89 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
90 (hildon_window_size_request, hildon_window_size_allocate)
91 (hildon_window_forall, hildon_window_show_all)
92 (hildon_window_destroy, +paint_edit_toolbar)
93 (+hildon_window_set_edit_toolbar):
94 New hildon_window_set_edit_toolbar() method, to add a
95 HildonEditToolbar to a window without having to pack it manually.
97 Reorganize hildon_window_size_allocate()
99 * src/hildon-edit-toolbar.c: Update documentation.
101 * examples/hildon-edit-toolbar-example.c (edit_window): Update
102 example to use the new API.
104 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
106 2009-02-04 Alberto Garcia <agarcia@igalia.com>
108 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
109 Remove from stack before calling parent's hide.
111 2009-02-04 Alberto Garcia <agarcia@igalia.com>
113 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
114 window is removed from the middle of the stack, update the
115 transiency of the previous one.
117 Fixes: NB#100487 (HildonStackableWindow transiency becomes
120 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
122 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
123 block/unblock the signal handler if it's not actually being used.
124 Fixes some critical warnings.
126 2009-02-02 Alberto Garcia <agarcia@igalia.com>
128 Based on a patch by Iván Gómez (igomez@igalia.com)
130 * src/hildon-banner.c
134 * src/hildon-pannable-area.c
135 * src/hildon-picker-dialog.c
136 * src/hildon-wizard-dialog.h
137 * src/hildon-wizard-dialog.c: Documentation updates.
139 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
140 gtk_dialog_add_button() instead of hildon_dialog_add_button().
142 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
144 * configure.ac: post release version bump.
145 * debian/changelog: version bump.
147 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
152 * configure.ac: Bump version.
153 * debian/changelog: Updates.
155 2009-01-29 Alberto Garcia <agarcia@igalia.com>
157 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
158 a stock icon nor change the relief of the back arrow.
160 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
163 2009-01-29 Alberto Garcia <agarcia@igalia.com>
165 * src/hildon-button.c (hildon_button_set_alignment): Use
166 priv->alignment if the button has no child yet.
168 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
170 * src/hildon-button.c: (hildon_button_init): Set the
171 button style during initialization to give it the proper
174 Fixes: NB#99713 (HildonButton value label color is wrong)
176 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
178 * src/hildon-touch-selector.c: Document
179 hildon_touch_selector_center_on_selected()
181 2009-01-28 Alberto Garcia <agarcia@igalia.com>
183 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
184 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
185 all menu items, but not the menu itself.
186 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
187 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
188 items after adding them to the menu so keyboard accelerators work.
189 (hildon_app_menu_show): Don't show the menu if it contains items
190 but none of them are visible.
192 * examples/hildon-app-menu-example.c (create_menu): Use
193 gtk_widget_show_all() to show all menu items.
195 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
197 * src/hildon-picker-dialog.c:
198 (-_update_title_on_selector_changed_cb),
199 (-_dialog_update_title): Removed.
200 (_select_on_selector_changed_cb), (_on_dialog_response),
201 (on_selector_columns_changed): Do not update the dialog title.
202 (setup_interaction_mode): Do not connect to
203 HildonTouchSelector::changed signal if there's a "done" button, as
204 the dialog title doesn't need to be updated.
206 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
209 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
211 Patch by Kristian Rietveld (kris@imendio.com)
213 * src/hildon-touch-selector.c: (_create_new_column): Use new
214 GtkTreeView::hildon-row-tapped signal to react to user interactions
215 instead of ::changed.
217 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
218 with some dynamic tree model)
220 2009-01-27 Alberto Garcia <agarcia@igalia.com>
222 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
223 (+screen_size_changed, +label_size_request)
224 (hildon_note_class_init): Make the Hildon information note have a
225 minimum height, and make its text hvae a maximum width.
227 Fixes: NB#98614 (Hildon information note (background) should have
228 minimum height and maximum text width)
230 2009-01-26 Alberto Garcia <agarcia@igalia.com>
232 * src/hildon-banner.h
233 * src/hildon-banner.c (hildon_banner_show_information)
234 (hildon_banner_show_informationf)
235 (hildon_banner_show_information_with_markup): Update documentation
236 to reflect that the icon_name parameter is not used anymore.
237 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
238 Remove all code from these functions and mark them as deprecated.
239 (hildon_banner_show_progress): Mark as deprecated.
241 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
243 2009-01-26 Alejandro G. Castro <alex@igalia.com>
245 * src/hildon-pannable-area.c,
246 (hildon_pannable_area_class_init),
248 (hildon_pannable_draw_vscroll),
249 (hildon_pannable_draw_hscroll),
250 (hildon_pannable_area_expose_event): Added a new way to render the
251 scrollbars of the pannable area avoiding using cairo at all. This
252 way we improve the performance of the pannable area rendering. The
253 cairo rendering procedure is still in the code, we can control
254 which one to use changing the value of the define
255 USE_CAIRO_SCROLLBARS.
257 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
259 * configure.ac: post release version bump.
260 * debian/changelog: version bump.
262 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
267 * configure.ac: Bump version.
268 * debian/changelog: Updates.
270 2009-01-23 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
273 banners instead of destroying them when they receive a button
276 2009-01-23 Alejandro G. Castro <alex@igalia.com>
278 Reverted commit 34028, it was causing regressions, probably the
279 topmost condition is not correct, we have to check it in more
280 detail. We have reponed the bug: NB#97458 (Pannable area prevents
281 propagation of button press events)
283 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
285 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
286 that the selection is not empty before attempting to retrieve the
287 current ampm selection.
289 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
291 * src/hildon-picker-button.c:
292 (hildon_picker_button_on_dialog_response): Directly update the
293 button contents when required instead of calling _selection_changed.
295 2009-01-23 Alberto Garcia <agarcia@igalia.com>
297 * src/hildon-program.c (hildon_program_update_top_most): Update
298 'is-topmost' property also when wm_hints is not set.
300 Fixes: NB#98383 (is-topmost signal is not emitted when task
301 switcher is clicked.)
303 2009-01-23 Alejandro G. Castro <alex@igalia.com>
305 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
309 * src/hildon-animation-actor.c,
310 * src/hildon-animation-actor.h: Added the animation actor class,
311 this widget represents an animation actor for WM-assisted
312 animation effects in the Hildon framework.
314 2009-01-23 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-window-stack-private.h
317 * src/hildon-window-stack.c
318 * src/hildon-stackable-window.c (hildon_stackable_window_show):
319 Avoid calling gtk_widget_show() again indirectly from
320 hildon_stackable_window_show()
322 2009-01-23 Alberto Garcia <agarcia@igalia.com>
324 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
327 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
329 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
330 (hildon_time_selector_init): Move the construction of the hours and
331 ampm columns to the constructor to preserve the order the columns
334 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
336 * src/hildon-picker-dialog.c:
337 (hildon_picker_dialog_class_init): Connect a realize method.
338 (+hildon_picker_dialog_realize): Setup the interaction mode here
340 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
341 yet, do it during the realize instead.
342 (_on_dialog_response):
343 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
344 if the widget is not realized, to avoid the dialog response before it
347 Avoid premature responses in the HildonPickerDialog that can cause it
348 to be hidden before it's even shown.
350 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
353 (on_selector_columns_changed), (requires_done_button),
354 (+prepare_action_area), (setup_interaction_mode),
355 (_hildon_picker_dialog_set_selector):
357 Split the interaction mode setup into preparation of the
358 action area (prepare_action_area()) and the connection of
359 the signals in setup_interaction_mode() and update the code to
362 2009-01-22 Alejandro G. Castro <alex@igalia.com>
364 * src/hildon-pannable-area.c,
365 (hildon_pannable_area_class_init): Reduced the amount of scrolls
366 per second to 15, we will check if this is ok regarding
369 2009-01-22 Alejandro G. Castro <alex@igalia.com>
371 * src/hildon-pannable-area.c,
372 (hildon_pannable_axis_scroll): Avoid resize if we already have
373 reached overshoot_max.
375 2009-01-22 Alejandro G. Castro <alex@igalia.com>
377 * src/hildon-pannable-area.c,
378 (hildon_pannable_area_init),
379 (hildon_pannable_area_realize),
380 (hildon_pannable_area_size_allocate),
381 (hildon_pannable_area_map),
382 (hildon_pannable_area_unmap),
383 (hildon_pannable_draw_vscroll),
384 (hildon_pannable_draw_hscroll),
385 (hildon_pannable_area_expose_event),
386 (hildon_pannable_area_refresh): Added a new GdkWindow to the
387 pannable are to avoid the expose events go to the window and
388 redraw the window. We save this way that part of the stack and the
389 paint_boxes. We had to change the positions of the elements when
392 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
394 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
395 * src/hildon-color-chooser-dialog.c:
396 (hildon_color_chooser_dialog_init):
397 * src/hildon-font-selection-dialog.c:
398 (hildon_font_selection_dialog_init),
399 (hildon_font_selection_dialog_show_preview):
400 * src/hildon-get-password-dialog.c:
401 * src/hildon-login-dialog.c:
402 * src/hildon-set-password-dialog.c:
403 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
404 * src/hildon-time-picker.c: (hildon_time_picker_init):
406 Remove obsolete logical string IDs and update to the appropriate ones.
408 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
410 2009-01-21 Alberto Garcia <agarcia@igalia.com>
412 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
413 that happens if the window hasn't been realized yet.
415 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
416 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
418 2009-01-20 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-app-menu.c (hildon_app_menu_class_init)
421 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
424 Fixes: NB#98537 (Device hangs in account settings dialog)
426 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
428 * configure.ac: post release version bump.
429 * debian/changelog: version bump
431 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
436 * configure.ac: Bump version.
437 * debian/changelog: Updates.
439 2009-01-20 Alejandro G. Castro <alex@igalia.com>
441 Added a new function to the HildonTimeButton widget that allows to
442 change the step of the minutes in the selector associated with the
443 button: hildon_time_button_new_step
445 * src/hildon-time-button.c,
446 (hildon_time_button_init),
447 (hildon_time_button_new),
448 (hildon_time_button_new_step):
449 * src/hildon-time-button.h: Added the new function and refactored
451 * examples/hildon-time-button-example.c,
452 (main): We have replaced the function without parameters with the
453 function with the steps set to 5
455 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
457 2009-01-20 Alejandro G. Castro <alex@igalia.com>
459 * src/hildon-time-selector.c,
460 (hildon_time_selector_class_init),
461 (hildon_time_selector_constructor),
462 (hildon_time_selector_get_property),
463 (hildon_time_selector_set_property),
464 (_create_minutes_model),
465 (hildon_time_selector_new_step),
466 (hildon_time_selector_set_time),
467 * src/hildon-time-selector.h: Added a new property to the
468 HildonTimeSelector (minutes-step), we use that property to control
469 the steps between the minutes in the list of the selector. We have
470 added a new function to the API to create a widget changing the
471 step: hildon_time_selector_new_step.
473 2009-01-20 Alejandro G. Castro <alex@igalia.com>
475 * src/hildon-time-selector.c,
476 (hildon_time_selector_class_init),
477 (hildon_time_selector_constructor),
478 (hildon_time_selector_init): Overrided the construct function when
479 creating the time selector object. We have moved the minutes model
480 handling code from the init to the new construction function:
481 hildon_time_selector_constructor.
483 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
485 * examples/hildon-date-button-example.c: (main): Use the new
486 hildon_date_button_new_with_year_range() method in the example.
487 * src/hildon-date-button.c:
488 (+hildon_date_button_new_with_year_range): New public method
489 to conveniently create a HildonDateButton with a custom year range
490 in its HildonDateSelector.
491 * src/hildon-date-button.h: Add the new public method definition.
493 Fixes: NB#97908 (Not possible to change the year range in
494 HildonDateSelector/HildonDateButton)
496 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-date-selector.c:
499 (+hildon_date_selector_set_property),
500 (+hildon_date_selector_get_property),
501 (hildon_date_selector_class_init): Install new properties "min-year"
502 and "max-year" to define boundaries for the year column.
503 (_create_year_model): Use the boundary properties to populate the model.
504 (+hildon_date_selector_new_with_year_range): New public method to
505 create a HildonDateSelector with a user defined year range.
506 (hildon_date_selector_select_current_date): Use the new boundaries to
507 calculate the iterator of current year.
508 * src/hildon-date-selector.h: Add the new public method definition.
510 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
512 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
513 Install a constructor method.
514 (+hildon_date_selector_construct_ui): construct the widget.
515 (+hildon_date_selector_constructor): new constructor.
516 (+hildon_date_selector_init): move out widget construction code to
519 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
521 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
522 that there's actually a month or year selected before obtaining them.
523 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
524 of the HildonTouchSelector::changed signal, as it was emitted on every
525 single item selection.
527 Fix some warnings and possible crashers due to the selection restoring.
529 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
531 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
532 the signal handlers only after creating the dialog instead of on every
535 2009-01-19 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-button.c (hildon_button_init)
538 * src/hildon-check-button.c (hildon_check_button_init)
539 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
540 focus when clicked by default.
542 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
547 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
549 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
550 Alejandro G. Castro (alex@igalia.com)
552 * src/hildon-picker-dialog.c:
553 (hildon_picker_dialog_class_init): install new "center-on-show"
555 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
556 (hildon_picker_dialog_set_property): add setter code for the new
558 (hildon_picker_dialog_get_property): add getter code for the new
560 (hildon_picker_dialog_show): Ensure visibility of selected items in the
561 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
564 Fixes: NB#92849 (Selected item is not always visible when
565 HildonTouchSelector is shown)
567 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
569 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
570 Alejandro G. Castro (alex@igalia.com)
572 * src/hildon-touch-selector.c:
573 (_create_new_column): Do not connect to the "realize" signal of the
575 (hildon_touch_selector_append_column): center on the selected items
576 when a new column is appended.
577 (hildon_touch_selector_select_iter): Factor out the code to select a
578 column to hildon_touch_selector_scroll_to().
579 (+search_nearest_element): Method to retrieve the nearest selected
580 element to the visible area of the pannable area in a column.
581 (+on_realize_cb): scroll to the initially selected item.
582 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
583 the pannable area is realized, otherwise delay this until it is.
584 (+_hildon_touch_selector_center_on_selected_items): Centers on the
585 selected items of a given column.
586 (+hildon_touch_selector_center_on_selected): Public method to center
587 all columns on the nearest selected item.
588 * src/hildon-touch-selector.h: Add definition for
589 hildon_touch_selector_center_on_selected().
591 Implement public API to ensure visibility of all selected items in
592 a HildonTouchSelector.
594 2009-01-16 Alejandro G. Castro <alex@igalia.com>
596 Fixed a problem in the fading when calling the scroll_to API, and
597 improve scrollbar fading handling.
599 * src/hildon-pannable-area.c,
600 (hildon_pannable_area_grab_notify): avoid the timeout when the
602 (hildon_pannable_area_button_press_cb),
603 (hildon_pannable_area_motion_notify_cb): Code style changes.
604 (hildon_pannable_area_button_release_cb): Review the conditions
605 when releasing the mouse button to avoid unrequired fading
607 (hildon_pannable_area_scroll_to): Do not calculate and set the
608 velocity if the scroll is not required.
610 2009-01-15 Alberto Garcia <agarcia@igalia.com>
612 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
613 Don't check whether the new selector is NULL: it cannot be.
614 Hold a reference to the selector while doing the replacement.
616 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
618 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
619 unnecessary size_request in a removed widget.
621 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
624 an unnecessary reference tracking that was leaking.
626 2009-01-15 Alejandro G. Castro <alex@igalia.com>
628 Added delayed motion notify event handling, this way we can
629 discard redrawing if more than 25 events arrive per second.
631 * src/hildon-pannable-area.c,
632 (hildon_pannable_area_init): Initialized the new private atributes
633 controlling this timeout
634 (hildon_pannable_area_dispose): Remove the timeout that controls
635 the motion notify events.
636 (hildon_pannable_area_scroll): Added a condition to control the
637 use of the acceleration.
638 (hildon_pannable_area_motion_event_scroll_timeout),
639 (hildon_pannable_area_motion_event_scroll): Added this two
640 functions, they handle the motion notify events inside the
642 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
643 to the scroll method with the new function.
644 (hildon_pannable_area_button_release_cb): We have to remove the
645 timeout handler and move to the last position if the last motion
646 events were not handled.
648 Fixes: NB#97028 (Pannable area updates on every motion event)
650 2009-01-15 Alejandro G. Castro <alex@igalia.com>
652 * src/hildon-pannable-area.c,
653 (hildon_pannable_area_get_topmost): Added a new parameter to
654 filter the the windows that do not include those events. Added
655 also a condition when finding the window to filter windows that do
656 not ask for those events.
657 (hildon_pannable_area_button_press_cb),
658 (hildon_pannable_area_button_release_cb),
659 (hildon_pannable_get_child_widget_at): Reviewed the call the the
660 topmost function, we have added the new parameter.
662 Fixes: NB#97458 (Pannable area prevents propagation of button
665 2009-01-15 Alejandro G. Castro <alex@igalia.com>
667 * src/hildon-pannable-area.c,
668 (hildon_pannable_area_initial_effect): Added controls before
669 launching the timeout and the idle functions.
670 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
671 of the method, in some situations it can return with TRUE and 0 in
673 (hildon_pannable_area_button_press_cb): We do not need to set
674 DELAY for fading out here.
676 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
678 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
680 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
681 post-cleaning if the selection is not NULL.
683 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
685 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
686 all items before restoring the selection.
688 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-touch-selector.c:
691 (+hildon_touch_selector_unselect_all):
692 * src/hildon-touch-selector.h: New API to unselect all items in a
693 column of the touch selector.
695 2009-01-14 Alejandro G. Castro <alex@igalia.com>
697 * src/hildon-pannable-area.c,
698 (hildon_pannable_area_redraw): Added a call to the refresh
699 function inside the redraw because apparently in some cases the
700 change in the adjustment does not imply a size allocate.
702 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
703 despite the view not being scrollable)
705 2009-01-14 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
708 leak. Check for NULL before attempting to set the window title.
710 2009-01-14 Alberto Garcia <agarcia@igalia.com>
712 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
713 whether to show or not the 'Done' button each time the dialog is
714 shown, as it depends on the HildonTouchSelector selection mode.
716 Fixes: NB#96226 (In multiple selection mode Done button is shown
717 sometimes in listpicker)
719 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
721 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
722 for the number of columns in the HildonTouchSelector more than once.
724 2009-01-14 Alberto Garcia <agarcia@igalia.com>
726 * src/hildon-touch-selector.c: Minor documentation fixes.
728 * src/hildon-picker-dialog.c (+_dialog_update_title)
729 (_select_on_selector_changed_cb)
730 (_update_title_on_selector_changed_cb)
731 (on_selector_columns_changed): Update dialog title when there's no
732 'Done' button and also when the number of columns in the selector
736 * src/hildon-picker-button.c (hildon_picker_button_finalize)
737 (+_selection_changed, hildon_picker_button_on_dialog_response)
738 (hildon_picker_button_selector_selection_changed)
739 (+hildon_picker_button_selector_columns_changed)
740 (hildon_picker_button_set_selector): Update button value and emit
741 'value-changed' when the number of columns in the selector
745 Fixes: NB#96225 (Dialog titles are not shown according to the
746 values selected in the list picker)
748 2009-01-13 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
751 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
752 New "arrow-width" and "arrow-height" style properties to set the
753 size of the arrow button.
754 Set name of arrow button ("hildon-edit-toolbar-arrow").
756 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
759 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-picker-button.c:
762 (hildon_picker_button_selector_selection_changed): Use
763 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
764 the dialog is present.
766 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
767 the selection is accepted in the dialog)
769 2009-01-13 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-color-chooser.h
772 * src/hildon-color-chooser-dialog.h:
773 Added G_BEGIN_DECLS and G_END_DECLS
775 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
777 (_clean_current_selection): plug a leak in the list.
779 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
781 * src/hildon-picker-dialog.c:
782 (+free_path_list): Method to free a GList of GtkTreePaths.
783 (_clean_current_selection), (_save_current_selection),
784 (_restore_current_selection): Save the current selection in
785 as a list of lists, to support multiple selection properly.
787 2009-01-12 Alberto Garcia <agarcia@igalia.com>
789 patch by Claudio Saavedra (csaavedra@igalia.com)
791 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
792 Store the press position.
793 (+hildon_text_view_button_release_event): If the release position is
794 close enough to the press position, move the cursor here. Otherwise,
796 (hildon_text_view_class_init): Override GtkTextView press, release, and
797 motion event handlers, disabling this way text selection through
798 pointer interaction, and allowing the container widget to handle the
801 Fixes: NB#95828 (HildonTextView functionality)
803 2009-01-12 Alberto Garcia <agarcia@igalia.com>
805 Based on a patch by Iván Gómez (igomez@igalia.com)
807 * src/hildon-button.[ch]
808 * src/hildon-calendar.c
809 * src/hildon-check-button.c
810 * src/hildon-date-editor.c
811 * src/hildon-date-selector.c
812 * src/hildon-picker-button.c
813 * src/hildon-time-editor.c
814 * src/hildon-time-selector.c
815 * src/hildon-touch-selector.[ch]:
816 Documentation updates
818 2009-01-12 Alejandro G. Castro <alex@igalia.com>
820 * src/hildon-pannable-area.c,
821 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
822 threshold, it was required due to X events handling.
824 2009-01-12 Alejandro G. Castro <alex@igalia.com>
826 * src/hildon-pannable-area.c,
827 (hildon_pannable_area_grab_notify),
828 (hildon_pannable_area_initial_effect),
829 (hildon_pannable_area_button_press_cb),
830 (hildon_pannable_area_button_release_cb),
831 (hildon_pannable_area_scroll_cb),
832 (hildon_pannable_area_scroll_to): Review the timeout management of
833 the scrollbar, the frecuency was incorrectly set.
835 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-picker-button.c:
838 (+hildon_picker_button_on_dialog_response),
839 (hildon_picker_button_clicked): Present the dialog instead of
840 running it with gtk_dialog_run().
842 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
845 2009-01-07 Alberto Garcia <agarcia@igalia.com>
847 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
848 (hildon_app_menu_finalize): When a window is hidden it doesn't
849 emit notify::is-topmost, so make sure than the menu also
850 disappears in that case.
851 (parent_window_topmost_notify): Renamed from parent_window_hidden
853 Fixes: NB#94460 (stackable window's menu is not closed when its
856 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
858 * src/hildon-touch-selector-entry.c:
859 (+hildon_touch_selector_entry_set_input_mode),
860 (+hildon_touch_selector_entry_get_input_mode):
861 * src/hildon-touch-selector-entry.h: New methods to access the input
862 mode in the selector's entry.
864 Fixes: NB#93410 (API required for setting IM mode in
865 HildonTouchSelectorEntry)
867 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
869 * configure.ac: post release version bump.
870 * debian/changelog: version bump
872 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
877 * configure.ac: Bump version.
878 * debian/changelog: Updates.
880 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
882 * src/hildon-touch-selector.c:
883 (_hildon_touch_selector_has_multiple_selection): No need
884 to initialize the variables here.
886 2008-12-17 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-note-private.h
889 * src/hildon-note.c (event_box_press_event, hildon_note_init)
890 (hildon_note_finalize, hildon_note_rebuild): Close information
891 notes when they receive a button press.
893 Fixes: NB#89890 (Information notes does not get disappeared after
896 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
898 * src/hildon-wizard-dialog.c: (create_title): Remove translation
899 mark from the wizard title, as it's not really necessary. Also,
900 do not display the page title if not set.
902 2008-12-17 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
905 (parent_window_hidden): Use the window's "is-topmost" property to
906 detect when to hide the menu.
908 2008-12-16 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
911 (hildon_app_menu_finalize): If the parent window of the menu is
912 hidden, hide the menu too.
914 Fixes: NB#94460 (stackable window's menu is not closed when its
917 2008-12-16 Alberto Garcia <agarcia@igalia.com>
920 * debian/libhildon1-examples.install
922 * examples/Makefile.am:
923 Use dh_install to install all examples.
924 Use DEB_SRCDIR instead of defining SOURCE_DIR
926 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: post release version bump.
929 * debian/changelog: version bump
931 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
936 * configure.ac: bump version
937 * debian/changelog: updates
938 * debian/control: bump gtk+ dependency
940 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
942 patch by Christian Dywan (christian@imendio.com)
944 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
945 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
947 2008-12-15 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-check-button.c (hildon_check_button_init)
950 (hildon_check_button_class_init, hildon_check_button_style_set)
951 (hildon_check_button_apply_style):
952 New "checkbox-size" style property.
954 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
955 larger / configurable size)
957 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
959 * configure.ac: post release version bump.
960 * debian/changelog: version bump
962 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
967 * configure.ac: bump version
968 * debian/changelog: updates
970 2008-12-12 Alberto Garcia <agarcia@igalia.com>
972 * doc/hildon-sections.txt
973 * src/hildon-pannable-area.c
974 * src/hildon-program.c
975 * src/hildon-time-editor.c
976 * src/hildon-touch-selector-entry.c:
978 More documentation updates.
980 2008-12-12 Alberto Garcia <agarcia@igalia.com>
982 * doc/hildon-sections.txt
983 * src/hildon-caption.c
984 * src/hildon-code-dialog.c
985 * src/hildon-color-button.c
986 * src/hildon-controlbar.c
987 * src/hildon-date-editor.c
988 * src/hildon-date-selector.c
989 * src/hildon-edit-toolbar.c
990 * src/hildon-find-toolbar.c
991 * src/hildon-font-selection-dialog.c
993 * src/hildon-program.c
994 * src/hildon-range-editor.c
995 * src/hildon-seekbar.c
996 * src/hildon-time-editor.c
997 * src/hildon-time-selector.c
998 * src/hildon-volumebar-range.c
999 * src/hildon-volumebar.c
1000 * src/hildon-vvolumebar.c
1001 * src/hildon-weekday-picker.c
1002 * src/hildon-window.c
1003 * src/hildon-wizard-dialog.c:
1005 Lots of documentation fixes.
1007 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1009 Patch contributed by Iván Gómez (igomez@igalia.com)
1011 * src/hildon-check-button.c:
1012 * src/hildon-date-button.c:
1013 * src/hildon-date-selector.c:
1014 * src/hildon-dialog.c:
1015 * src/hildon-edit-toolbar.c:
1016 * src/hildon-entry.c:
1017 * src/hildon-picker-button.c:
1018 * src/hildon-program.c:
1019 * src/hildon-text-view.c:
1020 * src/hildon-time-button.c:
1021 * src/hildon-touch-selector-entry.c:
1022 * src/hildon-window-stack.c:
1024 Add more "since" tags to the new API.
1026 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1028 * doc/hildon-sections.txt: Add below method.
1029 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1030 version for the hildonized scale.
1031 * src/hildon-gtk.h: Add the definition.
1033 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1035 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1037 * doc/hildon-sections.txt: Add missing entries for new methods.
1039 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1041 Added API to pannable are in order to get its adjustments. We
1042 added two properties to manage the values we had in the private
1045 * src/hildon-pannable-area.c:
1046 (hildon_pannable_area_class_init): Added hadjustment and
1047 vadjustment properties in order to expose horizontal and vertical
1049 (hildon_pannable_area_get_property),
1050 (hildon_pannable_area_set_property): Added code to handle the new
1052 (hildon_pannable_area_get_hadjustment),
1053 (hildon_pannable_area_get_vadjustment): API functions to get the
1055 * src/hildon-pannable-area.h:
1056 (hildon_pannable_area_get_hadjustment),
1057 (hildon_pannable_area_get_vadjustment): API functions to get the
1060 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1062 Fixed some leaks, after valgrinding.
1064 * src/hildon-touch-selector.c:
1065 (_default_print_func): Fixed a leak.
1066 (hildon_touch_selector_append_column): Fixed a leak.
1067 * src/hildon-date-button.c:
1068 (hildon_date_button_init): Fixed a leak.
1069 * src/hildon-date-selector.c
1070 (hildon_date_selector_finalize): Fixed a leak.
1072 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1074 Based on a patch by Christian Dywan (christian@imendio.com)
1076 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1078 * src/hildon-gtk.h: Add definition.
1080 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1082 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1084 * src/hildon-picker-button.c: (hildon_picker_button_init),
1085 (hildon_picker_button_new): Set the HildonButton::style property
1086 in the init method, to propagate the value to the derived classes.
1088 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1090 * src/hildon-button.c: (hildon_button_class_init): Do not make
1091 the "style" property a construct property.
1093 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-wizard-dialog.h
1096 * src/hildon-wizard-dialog.c
1097 (hildon_wizard_dialog_set_forward_page_func)
1098 * src/hildon-pannable-area.h
1099 * src/hildon-pannable-area.c
1100 (hildon_pannable_area_set_size_request_policy):
1101 Documentation fixes.
1103 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1105 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1107 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1109 * doc/hildon-sections.txt: Added sections file.
1111 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1114 * src/*.[ch]: Updates.
1116 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1118 * examples/hildon-progress-indicator-example.c: new file
1119 * examples/Makefile.am: include the new example program
1121 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1123 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1125 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1127 * configure.ac: post release version bump
1128 * debian/changelog: version bump
1130 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1135 * configure.ac: bump version
1136 * debian/changelog: updates
1137 * debian/control: bump gtk+ dependency
1139 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1141 * src/hildon-dialog.c: Mark as deprecated.
1142 * src/hildon-dialog.h: Mark as deprecated.
1143 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1144 from HildonDialog and still work, even if
1145 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1146 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1148 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1149 maemo changes) instead)
1151 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1153 * src/hildon-pannable_area.h:
1154 * src/hildon-pannable_area.c:
1155 (hildon_pannable_area_class_init),
1156 (hildon_pannable_area_set_property),
1157 (hildon_pannable_area_get_property),
1158 (hildon_pannable_area_size_request),
1159 (hildon_pannable_area_get_size_request_policy),
1160 (hildon_pannable_area_set_size_request_policy): Added new API
1161 allowing applications to control the request policy. Now they can
1162 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1163 children allocation (HILDON_MOVEMENT_CHILDREN).
1165 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1169 (hildon_gtk_tree_view_set_ui_mode)
1170 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1171 mode of treeviews and iconviews.
1173 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-touch-selector-entry.c:
1176 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1177 of a GtkEntry to get proper theming.
1179 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1180 widget, not GtkEntry)
1182 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1184 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1185 no HildonWizardDialogPageFunc.
1187 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1189 Patch contributed by Iván Gómez (igomez@igalia.com)
1191 * src/hildon-app-menu.c:
1192 * src/hildon-button.c:
1193 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1194 * src/hildon-stackable-window.c:
1195 * src/hildon-time-selector.c:
1196 * src/hildon-touch-selector.c:
1197 * src/hildon-window.c:
1199 Add more "since" tags to the new API in hildon 2.2.
1201 2008-12-05 Tim Janik <timj@imendio.com>
1203 Patch contributed by Christian Dywan (christian@imendio.com)
1205 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1206 HildonSizeType, which are supplied by Gtk+ now.
1208 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1210 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1211 (with maemo changes) instead)
1213 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1215 Patch contributed by Iván Gómez (igomez@igalia.com)
1217 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1220 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1222 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1223 (some_page_func), (main): Update the example to use a
1224 HildonWizardDialogPageFunc function.
1226 * src/hildon-wizard-dialog-private.h: Add private data for
1227 the HildonWizardDialogPageFunc function usage.
1229 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1230 (destroy), (hildon_wizard_dialog_init), (response),
1231 (hildon_wizard_dialog_set_forward_page_func):
1232 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1233 that applications can use to stop a HildonWizardDialog to jump to
1236 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1239 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-program.h
1242 * src/hildon-program-private.h
1243 * src/hildon-program.c (hildon_program_init)
1244 (hildon_program_set_common_app_menu)
1245 (hildon_program_get_common_app_menu):
1246 New API for setting a common HildonAppMenu for all
1247 HildonStackableWindows registered with the HildonProgram.
1249 * src/hildon-stackable-window.c
1250 (hildon_stackable_window_toggle_menu):
1251 Use the common HildonAppMenu if a window doesn't have a specific
1254 * src/hildon-app-menu-private.h
1255 * src/hildon-app-menu.c
1256 (hildon_app_menu_get_parent_window):
1257 Function to obtain the window a HildonAppMenu is attached to.
1258 (hildon_app_menu_set_parent_window):
1259 Hide the menu if the parent window is set to NULL.
1261 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1263 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1264 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1265 search widget to popup.
1267 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: post release version bump
1270 * debian/changelog: version bump
1272 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1277 * configure.ac: bump version
1278 * debian/changelog: updates
1280 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1282 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1284 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1285 (hildon_window_stack_window_realized)
1286 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1287 Set the leader GdkWindow when a window is stacked and realized,
1288 unset it when it's unstacked.
1289 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1291 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1293 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-stackable-window.h
1296 * src/hildon-window-stack.h:
1297 Protect definition of HildonWindowStack using the preprocessor.
1299 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1302 Fix warning if all menu items are hidden.
1304 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1306 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1308 * src/hildon-controlbar.c:
1309 * src/hildon-hvolumebar.c:
1310 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1311 Multiple scale size defines updates.
1313 Fixes: NB#94322 (Scale Updates)
1315 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1317 * examples/hildon-app-menu-example.c (create_menu)
1318 Show items after adding them to the menu, as in the future the
1319 menu will no longer call gtk_widget_show() on the added items.
1321 * src/hildon-app-menu.c:
1322 Update example as explained above.
1324 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-app-menu.c
1327 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1328 Make sure that all menu items have finger height.
1330 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1332 * src/hildon-picker-dialog.c:
1333 (_on_dialog_response), (_save_current_selection),
1334 (_restore_current_selection), (_clean_current_selection),
1335 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1336 Defined new functions in order to save the current internal selector
1337 selection previous open the dialog, in case that the use cancel the
1338 interaction, so the widget restores the previous selection.
1340 Fixes: NB#92032 (In calendar application, date values in 'new event'
1343 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1345 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1347 * src/hildon-button.c: Add a reference to the button examples in
1348 hildon-button-example.c
1350 * examples/hildon-button-example.c: Added examples of the most
1351 common button layouts.
1353 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c (hildon_app_menu_show)
1356 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1358 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1360 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-picker-dialog.c:
1363 (hildon_picker_dialog_init): Initialize the signal id for
1364 HildonTouchSelector::columns-changed.
1365 (+on_selector_columns_changed): Set up the interaction mode everytime a
1366 column is added or removed from the HildonTouchSelector.
1367 (_hildon_picker_dialog_set_selector): Connect to
1368 HildonTouchSelector::columns-changed and keep track of it.
1370 Make sure to update the interaction mode of the dialog everytime a
1371 column is added or removed in the HildonTouchSelector.
1373 Fixes: NB#93228 (Done button is not shown always in listpicker)
1375 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1378 a new ::columns-changed signal.
1379 (hildon_touch_selector_append_column): Emit ::columns-changed.
1380 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1382 Add a ::columns-changed signal, emitted when the number of columns in a
1383 HildonTouchSelector changes.
1385 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1388 (_hildon_picker_dialog_set_selector): Factor out the code
1389 to set up the dialog interaction mode.
1391 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1394 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1395 to signal_changed_id.
1397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1402 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1404 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1405 Updated the logical ids related to ampm format, as now it is required to
1406 show it correctly localized even on languages with no default
1407 abbreviations for am or pm
1408 (_check_am_pm_format): check correctly the 24h format gconf property
1410 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1412 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-button.c: Documentation updates.
1416 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1418 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1419 * src/hildon-caption.c: (hildon_caption_class_init):
1420 * src/hildon-color-button.c: (hildon_color_button_class_init):
1421 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1422 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1423 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1424 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1426 Remove deprecated GTK+ marshalers and replace them with the ones
1427 provided by GLib, for those available, add a marshaler for
1428 BOOLEAN:VOID, which is not available in GLib, and use it.
1430 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1433 the text from the previous column if there is no
1434 HildonTouchSelectorColumn::text-property set.
1436 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-button.h
1439 * src/hildon-button.c (hildon_button_set_property)
1440 (hildon_button_get_property, hildon_button_class_init)
1441 (hildon_button_set_style, hildon_button_get_style):
1442 New "style" property to change the visual appearance of the
1445 * src/hildon-picker-button.c (hildon_picker_button_new):
1446 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1448 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1449 HildonButton look like PickerButton)
1451 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1454 column while building the default string.
1456 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1459 scroll indicator by default.
1461 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1463 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1465 * src/hildon-main.c: Fix the documentation for hildon_init()
1467 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1469 * doc/hildon-docs.sgml
1473 * src/hildon-window-stack-private.h
1474 * src/hildon-window-stack.h
1475 * src/hildon-window-stack.c:
1476 New HildonWindowStack object, that adds support for multiple
1477 stacks of windows per process.
1479 * src/hildon-stackable-window-private.h
1480 * src/hildon-stackable-window.h
1481 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1482 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1483 (hildon_stackable_window_show, hildon_stackable_window_hide)
1484 (hildon_stackable_window_class_init)
1485 (hildon_stackable_window_init):
1486 Use HildonWindowStack for stack management.
1488 * src/hildon-program.c (hildon_program_pop_window_stack)
1489 (hildon_program_peek_window_stack)
1490 (hildon_program_go_to_root_window):
1491 Add a fallback implementation to the deprecated functions using
1494 * examples/hildon-stackable-window-example.c:
1495 Use the new HildonWindowStack API.
1497 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-stackable-window-private.h
1500 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1501 (hildon_stackable_window_hide, hildon_stackable_window_init):
1502 Remove all window stack management.
1504 * src/hildon-program-private.h
1505 * src/hildon-program.h
1506 * src/hildon-program.c (hildon_program_init)
1507 (hildon_program_pop_window_stack)
1508 (hildon_program_peek_window_stack)
1509 (hildon_program_go_to_root_window):
1510 Remove all window stack management and mark functions as
1513 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-app-menu.c (hildon_app_menu_realize):
1516 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1518 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1520 * configure.ac: post release version bump
1521 * debian/changelog: version bump
1523 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1528 * configure.ac: bump version
1529 * debian/changelog: updates
1531 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1533 Based on initial code by Christian Dywan (christian@imendio.com)
1535 * doc/hildon-docs.sgml: Add section for hildon-main.
1536 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1537 * src/Makefile.am: Add new hildon-main.[ch]
1538 * src/hildon-defines.h: Update the icon sizes.
1539 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1540 new library initialization files and register icon sizes.
1541 * src/hildon-main.h: New declarations.
1542 * src/hildon.h: Include hildon-main.h
1544 Add new initialization functions to the library. These methods
1545 will register the hildon specific icon sizes and can be used in the
1546 future for other hildon specific bits.
1548 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1550 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-window.c: (hildon_window_realize),
1553 (hildon_window_notify), (-hildon_window_update_title): Do not set
1554 the application name in the window title.
1556 Fixes: NB#89754 (Applications shouldn't display their names in the
1559 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1561 * src/hildon-note-private.h:
1562 * src/hildon-note.c: (hildon_note_set_property),
1563 (hildon_note_get_property), (hildon_note_class_init),
1564 (hildon_note_init), (hildon_note_finalize),
1565 (hildon_note_new_confirmation_with_icon_name),
1566 (hildon_note_new_information_with_icon_name):
1568 No need to mark as deprecated the actual code. Revert
1569 to avoid missing symbols in widgets using deprecated API.
1571 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1573 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1575 * src/hildon-volumebar.h
1576 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1577 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1579 * src/hildon-helper.h
1580 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1581 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1583 * examples/Makefile.am:
1584 Deprecate hildon-insensitive-example
1586 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1588 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1590 * examples/hildon-pannable-area-buttons-scroll-example.c:
1591 Make all buttons finger height
1593 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1595 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1597 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1598 update the day model only if it is really required, and to avoid the
1599 full-reconstruction aproach. Now it only add or remove the required days.
1601 The purpose of this is avoid superfluous HildonTouchSelector::changed
1604 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1605 with strange parameters)
1607 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1609 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1611 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1612 the WINDOW_TYPE property.
1614 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1616 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1619 Fix dependency to allow parallel compilation with make -jX
1621 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1623 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1624 color frame and some minor tweaks to make it more consistent with
1627 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1628 highlighted but not visible)
1630 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1632 * examples/Makefile.am: Fixed typo in the Makefile.am.
1634 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1636 Reviewed the use of MAEMO_GTK define, now we add the define in the
1637 compilation line, and we also add it to the pc file.
1639 * configure.ac: Added MAEMO_GTK define to the compilation command
1640 and removed it from the config.h.
1642 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1643 do not have to take care about this define if the library was
1647 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1649 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1651 * examples/Makefile.am,
1652 * examples/hildon-pannable-area-buttons-scroll-example.c,
1653 * examples/hildon-pannable-area-gesture-signals-example.c,
1654 * examples/hildon-pannable-area-scroll-jump-example.c,
1655 * examples/hildon-pannable-area-tree-view-example.c:
1656 Renamed the pannable area examples, now they have more meaningful
1659 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1661 * src/hildon-touch-selector.c:
1662 (hildon_touch_selector_set_column_selection_mode): Used of
1663 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1664 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1665 to avoid re-seting the same selection mode.
1667 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1668 breaks HildonPickerDialog)
1670 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1672 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1673 conditional in the Makefile.am
1675 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1678 Remove unused methods.
1680 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-button.c (hildon_button_init):
1683 Make button images center-aligned by default
1685 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1688 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1689 activated, we have to think about how to deal with both defines
1690 MAEMO_GTK and MAEMO_CHANGES.
1692 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1694 * examples/hildon-app-menu-example.c (create_menu): Make all
1695 buttons finger size.
1697 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1699 Fixed the compilation without maemo gtk adding ifdefs with
1700 MAEMO_GTK define to the code, we have to check this version more
1703 * examples/Makefile.am: Added control to avoid some examples that
1704 just make sense with maemo gtk.
1707 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1708 hildon modes with the define.
1710 * examples/hildon-edit-toolbar-example.c,
1711 (create_icon_view): Create the icon view without hildon-gtk
1712 helpers if we are not using maemo gtk.
1714 * src/hildon-touch-selector.c,
1715 (_create_new_column): Create the treeview without hildon-gtk
1716 helpers if we are not using maemo gtk.
1718 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pnnable-area.c,
1721 (hildon_pannable_area_dispose),
1722 (hildon_pannable_area_button_press_cb),
1723 (hildon_pannable_area_child_mapped),
1724 (hildon_pannable_area_add),
1725 (hildon_pannable_area_remove): Added code to control the position
1726 of the event_window when adding and removing children from the
1727 pannable. We have to raise the event window when the child is
1730 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1731 selection mode using custom widget inside pannable)
1733 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1735 * configure.ac: post release version bump
1736 * debian/changelog: version bump
1738 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1743 * configure.ac: bump version
1744 * debian/changelog: updates
1746 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1748 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1749 search mode, in order to avoid lose the focus on the treeview when
1750 a hw key (like enter) is pressed.
1752 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1753 in HildonDateSelector dialog)
1755 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1757 * debian/rules: Added --enable-maintainer-mode
1758 * Makefile.am: Added ACLOCAL_AMFLAGS
1760 This allows to properly regenerate the Makefiles if you modify the
1761 configure.ac or any Makefile.am.
1763 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1765 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1766 properties, not needed at all.
1768 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1772 * src/hildon-note.c: (hildon_note_set_property),
1773 (hildon_note_get_property), (hildon_note_class_init),
1774 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1775 (hildon_note_new_confirmation_add_buttons): Remove icons.
1776 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1777 (hildon_note_new_information_with_icon_name): Deprecate.
1778 (hildon_note_new_confirmation): Act directly, without calling
1779 the deprecated constructor.
1780 (hildon_note_new_information): Act directly, without calling
1781 the deprecated constructor.
1782 * src/hildon-note.h: Mark deprecate methods as such.
1783 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1784 not run tests on the deprecated methods if built with deprecation
1787 Fixes: NB#91688 (Never show icons in information notes/confirmation
1790 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1793 (hildon_app_menu_key_press): Remove leftover usage of the
1794 private structure in HildonAppMenu struct.
1795 * src/hildon-app-menu.h: Remove leftover private structure
1796 from the HildonAppMenu struct.
1798 Fixes a crasher when using the HildonAppMenu.
1800 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-picker-dialog.c: Use appropriate logical id
1803 for the default "Done" text.
1805 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1807 * configure.ac: post release version bump
1808 * debian/changelog: version bump
1810 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1812 Modified the way to scroll to the current selection just when the touch
1813 selector is shown on the screen, avoiding a g_idle. Added too a property
1814 to configure this behaviour. See hildon_pannable_area_jump_to_child
1815 documentation for more information.
1817 * src/hildon-touch-selector.c
1818 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1819 Added 'initial-scroll' property
1820 (hildon_touch_selector_set_property): Added
1821 (hildon_touch_selector_map): Removed as not required anymore
1822 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1823 only a concrete column, instead of iterate along all the columns
1825 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1830 * configure.ac: bump version
1831 * debian/changelog: updates
1833 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1836 compilation time warnings.
1838 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1840 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1841 the default value for HildonPannableArea::mov-mode to
1842 HILDON_PANNABLE_AREA_MODE_VERT.
1844 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1846 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1848 Reverting following commit:
1850 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-app-menu-private.h
1853 * src/hildon-app-menu.[ch]
1854 * src/hildon-button.[ch]
1855 * src/hildon-check-button.[ch]
1856 * src/hildon-entry.[ch]
1857 * src/hildon-pannable-area.[ch]
1858 * src/hildon-text-view.[ch]:
1859 Added private field to the object's structure.
1861 because it causes an ABI breakage. We will need to introduce these
1862 changes later at some point. See NB#91636 for an extensive
1863 explanation and status.
1865 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1867 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1869 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1870 remove special cases that are no longer necessary.
1872 Fixes: NB#91016 (Change toolbar sizes, simplification)
1874 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1876 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1877 is shown in the cancel note.
1879 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1882 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1883 (hildon_seekbar_init): Remove steppers, remove expose event.
1884 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1886 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1888 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1891 label font to "SmallSystemFont" for vertically arranged buttons.
1893 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1896 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-check-button.c
1899 (hildon_check_button_set_active, hildon_check_button_clicked):
1900 Don't access private parts directly, use getters instead.
1902 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1904 * src/hildon-check-button.c (hildon_check_button_new):
1905 Align the contents of the check button to the left.
1907 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1909 * src/hildon-pannable-area.c,
1910 (hildon_pannable_area_scroll_to),
1911 (hildon_pannable_area_jump_to),
1912 (hildon_pannable_area_scroll_to_child),
1913 (hildon_pannable_area_jump_to_child): Replace the mapped
1914 precondition of these functions with the realized, it is the
1915 correct state of the widget in this case. Changed the
1916 documentation according to this modification.
1918 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1920 Added a new EXTRA_CFLAGS option to add the deprecated define to
1921 the compilation command. This way we can avoid using the define in
1922 the documentation compilation.
1924 * configure.ac: Defined EXTRA_CFLAGS.
1926 * examples/Makefile.am:
1928 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1930 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1932 * src/hildon-picker-dialog.c:
1933 Defined a utility macro with the desired touch selector height
1934 Removed currently unused separator, and title_label variables from
1936 (hildon_picker_dialog_init): Removed code related to the creation
1937 of unused private variables title_label and separator.
1938 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1939 to ensure correct visualization of the touch selector inside the dialog.
1940 * src/hildon-touch-selector.c
1941 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1942 ensure a concrete height of the widget.
1944 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1947 * tests/Makefile.am:
1949 Remove spurious whitespaces.
1951 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1954 compilation warning after the cancel button removal.
1956 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1958 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1960 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1961 Makefile.am, that way we can choose not to compile some examples
1962 and tests of the deprecated widgets.
1964 * examples/Makefile.am: Divided the sources in deprecated and
1967 * src/Makefile.am: Added undef statement of the deprecated
1968 symbol to the enums file generation process.
1970 * src/hildon-color-chooser-dialog.c
1971 * src/hildon-color-chooser-dialog.h
1972 * src/hildon-color-button.c
1973 * src/hildon-color-button.h
1974 * src/hildon-color-chooser.c
1975 * src/hildon-color-chooser.h
1976 * src/hildon-controlbar.c
1977 * src/hildon-controlbar.h
1978 * src/hildon-date-editor.c
1979 * src/hildon-date-editor.h
1980 * src/hildon-hvolumebar.c
1981 * src/hildon-hvolumebar.h
1982 * src/hildon-private.c
1983 * src/hildon-private.h
1984 * src/hildon-range-editor.c
1985 * src/hildon-range-editor.h
1986 * src/hildon-seekbar.c
1987 * src/hildon-seekbar.h
1988 * src/hildon-time-editor.c
1989 * src/hildon-time-editor.h
1990 * src/hildon-time-picker.c
1991 * src/hildon-time-picker.h
1992 * src/hildon-volumebar.c
1993 * src/hildon-volumebar.h
1994 * src/hildon-vvolumebar.c
1995 * src/hildon-vvolumebar.h
1996 * src/hildon-bread-crumb-trail.h
1997 * src/hildon-bread-crumb-trail.c
1998 * src/hildon-calendar-popup.c
1999 * src/hildon-calendar-popup.h
2000 * src/hildon-weekday-picker.c:
2001 * src/hildon-weekday-picker.h:
2002 * src/hildon-bread-crumb-widget.c:
2003 * src/hildon-bread-crumb-widget.h:
2004 * src/hildon-bread-crumb.c:
2005 * src/hildon-bread-crumb.h:
2006 * src/hildon-calendar.c:
2007 * src/hildon-calendar.h:
2008 * src/hildon-caption.c:
2009 * src/hildon-code-dialog.c:
2010 * src/hildon-code-dialog.h:
2011 * src/hildon-font-selection-dialog.c:
2012 * src/hildon-font-selection-dialog.h:
2013 * src/hildon-get-password-dialog.c:
2014 * src/hildon-get-password-dialog.h:
2015 * src/hildon-login-dialog.c:
2016 * src/hildon-login-dialog.h:
2017 * src/hildon-number-editor.c:
2018 * src/hildon-number-editor.h:
2019 * src/hildon-set-password-dialog.c:
2020 * src/hildon-set-password-dialog.h:
2021 * src/hildon-sort-dialog.c:
2022 * src/hildon-sort-dialog.h: This is the list of deprecated
2025 * src/hildon-touch-selector.c:
2026 * src/hildon-window.c: Added undef statement to avoid compilation
2029 * tests/Makefile.am: Divided the sources in deprecated and
2032 * tests/check_test.c,
2033 (configure_tests): Marked the deprecated code that was adding
2034 suites with deprecated tests.
2036 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2038 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-touch-selector.c: (_default_print_func): Do not
2041 duplicate a string returned by gtk_tree_model_get(), it is already
2044 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2047 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2049 * src/hildon-pannable-area.c
2050 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2051 method, it had problems when adding a widget with viewport the
2052 second time. Now checks if it already has a viewport and uses it.
2054 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2057 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2059 * src/hildon-pannable-area.c,
2060 (hildon_pannable_area_scroll_to),
2061 (hildon_pannable_area_jump_to),
2062 (hildon_pannable_area_scroll_to_child),
2063 (hildon_pannable_area_jump_to_child): Added a precondition to the
2064 scroll and jump to functions: the widget must be mapped before we
2065 can safely call these functions. We have also added documentation
2066 to the functions to explain how to use them in this situation.
2069 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2071 Reviewed the threading handling of the pannable widget, we have
2072 used the gdk_threads_add_timeout function instead of the usual
2073 glib handlers. This avoids some problems with the threads.
2075 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2076 (hildon_pannable_area_initial_effect),
2077 (hildon_pannable_area_scroll_indicator_fade),
2078 (hildon_pannable_area_button_press_cb),
2079 (hildon_pannable_area_timeout),
2080 (hildon_pannable_area_motion_notify_cb),
2081 (hildon_pannable_area_button_release_cb),
2082 (hildon_pannable_area_scroll_cb),
2083 (hildon_pannable_area_scroll_to): Removed the
2084 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2085 gdk_threads_add_timeout.
2087 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2089 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2094 * configure.ac: bump version
2095 * debian/changelog: updates
2097 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2100 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2101 * src/hildon-color-chooser-dialog.c:
2102 (hildon_color_chooser_dialog_init):
2103 * src/hildon-font-selection-dialog.c:
2104 (hildon_font_selection_dialog_init):
2105 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2107 Remove all cancel/close-like dialogs, as these are not going to be
2110 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-note.c: (hildon_note_rebuild),
2113 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2116 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2118 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2121 sure all buttons are shown, even the Cancel/Close-like ones.
2123 Fixes: NB#90861 (Custom Confirmation dialogs should be
2124 protected from cancel button removal)
2126 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2128 * debian/control: Change libhildon1-examples dependency from libhildon1
2130 * debian/libhildon1-examples.install
2132 * Makefile.am: Modified the final install directory for the examples on
2133 package libhildon1-examples
2134 * Makefile.static: Update clean target in order to remove all the binary
2137 Changes suggested by Claudio after review new libhildon1-examples package
2139 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2142 * src/hildon-touch-selector.c: Ditto.
2144 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2146 * debian/control: Added new package libhildon1-examples, in order to pack
2147 the current hildon examples as documentation
2148 * debian/rules: Not to compress .c files, modify some includes on the
2149 examples (as normally are compiled locally, but when installed it will
2150 require to include the installed libhildon1 library), and rename
2152 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2153 install all the example files on the new example package
2154 * examples/Makefile.static: Added static makefile that can be used to
2155 compile the examples, once installed the new example package
2156 * examples: Most of the examples were modified in order to grant that
2157 all use only '#include "hildon.h"', in order to be easy to prepare
2158 it on the example package
2160 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2163 * debian/libhildon1-dev.install
2164 * debian/libhildon1-doc.install:
2165 Move all gtk-doc files to a separate libhildon1-doc package.
2167 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2169 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2173 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2175 * debian/rules: Fixed a error in order to avoid unnecessary calls
2176 to autogen.sh on package building
2178 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2180 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2182 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2187 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-picker-button.c
2190 (hildon_picker_button_finalize):
2191 Free priv->done_button_text
2193 * src/hildon-time-button.c
2194 (hildon_time_button_set_time)
2195 * src/hildon-picker-button.c
2196 (hildon_picker_button_clicked)
2197 (hildon_picker_button_selector_selection_changed)
2198 (hildon_picker_button_set_selector)
2199 * src/hildon-date-button.c
2200 (hildon_date_button_set_date):
2201 Free strings returned by hildon_touch_selector_get_current_text()
2203 * src/hildon-button.c (hildon_button_construct_child):
2204 Fix leaks in priv->image and priv->label_box
2206 Fixes: NB#90535 (Memory leak in picker button)
2208 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-button.c: (hildon_button_get_property): Do not access
2211 private elements directly, use getters instead.
2213 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-app-menu-private.h
2216 * src/hildon-app-menu.c
2217 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2218 Store the menu's parent window.
2220 * src/hildon-stackable-window.c
2221 (hildon_stackable_window_toggle_menu)
2222 (hildon_stackable_window_finalize):
2223 Set the menu's parent window when the menu is shown, unset it when
2226 * src/hildon-app-menu.c
2227 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2228 (hildon_app_menu_class_init):
2229 Send unhandled keyboard accelerators to the parent window.
2231 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-stackable-window.c
2234 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2236 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2238 * configure.ac: post release version bump
2240 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2243 * configure.ac: Bump version
2244 * debian/changelog: Updates
2245 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2248 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2250 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2253 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2254 GtkMenu with Hildon style.
2256 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-picker-button.c:
2259 (hildon_picker_button_set_done_button_text): Set the dialog's
2260 done button text here as well.
2262 Fixes: NB#90232 (Picker button does not set the label on done button
2263 for the second time)
2265 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2270 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-app-menu.c (hildon_app_menu_insert)
2273 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2274 the HildonAppMenu to be activatable using keyboard accelerators
2275 when the menu is not being shown.
2277 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2279 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-stackable-window.c
2282 (hildon_stackable_window_show):
2283 Don't hide old windows automatically when new windows are shown:
2284 this is now a task for the window manager.
2285 (hildon_stackable_window_class_init)
2286 (hildon_stackable_window_hide):
2287 Remove windows from the stack everytime they're hidden.
2288 (hildon_stackable_window_realize):
2289 Don't change the _NET_WM_WINDOW_TYPE property. Use
2290 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2291 it as a stackable window.
2293 * src/hildon-program.c
2294 (hildon_program_pop_window_stack):
2295 Just hide the window to remove it from the stack.
2296 (hildon_program_go_to_root_window):
2297 Don't call gtk_widget_show(), this is now a task for the window
2300 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2302 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2304 * src/hildon-button.c
2305 (hildon_button_construct_child):
2306 Don't pack anything in the button until text or image are
2307 set. This allows adding a custom child after creating the button
2308 with hildon_button_new().
2309 (hildon_button_finalize, hildon_button_class_init)
2310 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2311 alignment and the label box even when they're not packed in the
2314 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2316 * src/hildon-touch-selector.h:
2317 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2318 currently the type definition was using GTK_TYPE_VBOX
2319 * src/hildon-touch-selector.c:
2320 Added some implementation notes in order to clarify that any other widget
2321 added without the column related API will not be included on the
2322 selection logic, and how the widget is freed, as some people ask about
2324 (hildon_touch_selector_remove): Reimplemented in order to free properly
2325 the column related data when you remove the private hbox.
2326 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2327 to get a proper HildonTouchSelectorColumn documentation
2329 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-touch-selector-entry.c:
2332 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2333 text in the GtkEntry and there is no item selected. Fixes a
2336 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-app-menu-private.h
2339 * src/hildon-app-menu.[ch]
2340 * src/hildon-button.[ch]
2341 * src/hildon-check-button.[ch]
2342 * src/hildon-entry.[ch]
2343 * src/hildon-pannable-area.[ch]
2344 * src/hildon-text-view.[ch]:
2345 Added private field to the object's structure.
2347 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2349 * configure.ac: post-release version bump
2351 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2355 * configure.ac: pre-release version bump
2357 * debian/changelog: updates.
2359 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2362 Disconnect the handler for HildonTouchSelector::changed.
2364 (hildon_picker_button_selector_selection_changed): Update the button
2365 value if the selection change was not triggered by the
2368 (hildon_picker_button_set_selector): connect to
2369 HildonTouchSelector::changed.
2371 Fixes: NB#89650 (Picker button is not updated, when selection in
2372 selector has changed)
2374 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2376 * src/hildon-picker-dialog.c
2377 (hildon_picker_dialog_realize): Removed as not required
2378 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2379 * src/hildon-picker-button.c
2380 (_current_selector_empty): New function, checks if the selector is empty
2381 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2382 if the current selector is empty, in order to avoid to show the dialog
2383 close the dialog in this case (and shows a g_warning).
2385 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2387 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2389 * src/hildon-pannable-area.c,
2390 (hildon_pannable_area_scroll): Added clause to stop movement when
2391 the child of pannable is smaller than one page.
2392 (hildon_pannable_area_scroll_to): Added conditions to avoid
2393 starting the scrolling movement if the child is smaller than one
2394 page, the complete child is in the screen, we do not have to move.
2396 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2398 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2401 this is managed automatically by the widget when the size of the
2404 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-picker-button.c
2407 (hildon_picker_button_set_done_button_text): Make a copy of the
2408 text, and free the previous value.
2410 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-touch-selector-entry.c:
2413 (hildon_touch_selector_entry_print_func): Return the selected row's
2414 text if the entry is empty.
2416 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2419 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2423 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-check-button.h
2427 * src/hildon-check-button.c
2428 * examples/hildon-check-button-example.c:
2429 HildonCheckButton is now a new widget. 'toggled' signal added.
2431 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-program-private.h
2434 * src/hildon-program.c (hildon_program_init)
2435 (hildon_program_finalize): Removed unused variables group_leader
2436 and name from HildonProgramPrivate.
2438 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-check-button.c (hildon_check_button_set_active)
2441 (hildon_check_button_get_active, hildon_check_button_new): Use
2442 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2444 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2446 * src/hildon-touch-selector.h
2447 (hildon_touch_selector_set_column_attributes): added deprecation
2448 guard HILDON_DISABLE_DEPRECATED
2449 * src/hildon-time-selector.c
2450 (hildon_time_selector_set_time)
2451 (hildon_time_selector_get_time): Fixed a typo on documentation
2452 * src/hildon-touch-selector.c: update HildonTouchSelector and
2453 HildonTouchSelectorColumn documentation
2454 * src/hildon-touch-selector-entry.c: update "text-column" property
2456 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2457 to be added to the general documentation.
2459 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2461 * examples/hildon-pannable-area-example-4.c,
2463 * examples/hildon-pannable-area-example.c,
2464 (main): Modified the code in order to use the container add, with
2465 viewport treeviews could have problems if they are really big.
2467 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2469 * src/hildon-weekday-picker.c,
2470 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2471 the agreement regarding deprecation in the library.
2473 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2475 * examples/hildon-picker-button-multicolumn-example.c:
2476 (main): Use custom "done" button text.
2478 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2479 (hildon_picker_button_set_property),
2480 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2481 (hildon_picker_button_init),
2482 (+hildon_picker_button_get_done_button_text),
2483 (+hildon_picker_button_set_done_button_text): New methods to customize
2484 the "done" button label in the launched HildonPickerDialog. Also,
2487 * src/hildon-picker-button.h: add the public API.
2489 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2491 * src/hildon-date-selector.h:
2492 * src/hildon-picker-dialog.h:
2493 * src/hildon-time-selector.h:
2494 * src/hildon-touch-selector-column.h:
2495 * src/hildon-touch-selector.h:
2497 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2498 declarations. Fixes gtk-doc warnings.
2500 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-picker-dialog.h
2503 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2504 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2506 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2507 long text is set as label for done button)
2509 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-dialog.c (hildon_dialog_add_button):
2512 Set fixed width to all buttons in the HildonDialog.
2514 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2516 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2518 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2519 Set widget name using class name plus "-finger" or "-thumb".
2521 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2524 'clicked' when the state of the button is manually changed.
2526 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-app-menu.c (hildon_app_menu_realize)
2529 (hildon_app_menu_unrealize, hildon_app_menu_init)
2530 (hildon_app_menu_class_init, item_visibility_changed):
2531 Change the menu layout when the size of the screen changes.
2532 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2533 Show warning only when changing the number of colums using the
2536 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2538 * debian/compat: Set to 5
2539 * debian/control: Update dependencies.
2540 * debian/libhildon1-dbg.install: Remove.
2541 * debian/libhildon1-dev.install: Update according to cdbs paths.
2542 * debian/libhildon1.install: Update according to cdbs paths.
2543 * debian/rules: Switch to cdbs.
2545 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2548 'item' variable renamed to 'filter'
2550 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-app-menu.c (hildon_app_menu_insert)
2553 (hildon_app_menu_add_filter, remove_item_from_list)
2554 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2555 Don't leak hidden items when the menu is destroyed.
2557 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-app-menu.c (hildon_app_menu_insert)
2560 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2561 (hildon_app_menu_set_columns, item_visibility_changed)
2562 (filter_visibility_changed, hildon_app_menu_repack_filters)
2563 (hildon_app_menu_repack_items):
2564 Repack items and filters separately.
2566 Don't repack all items, change only the ones that are needed to
2569 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2571 * src/Makefile.am: added hildon-touch-selector-column.h
2573 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2575 * src/hildon-touch-selector.c: added the property "text-column" to the
2576 class HildonTouchSelectorColumn, and related get/set functions
2577 (_default_printf_func): updated to use "text-column" property
2578 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2579 "text-column" in his documentation, as this is now included on
2580 HildonTouchSelectorColumn. The get/set_property can still be used,
2581 working as a wrapper to the concrete column "text-column" property
2582 (_text_column_modified): callback added in order to handle the signal
2583 "notify::text-column" of the concrete HildonTouchSelectorColumn
2584 (hildon_touch_selector_entry_get_text_column)
2585 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2586 modified in order to use the HildonTouchSelectorColumn "text-column"
2588 * src/hildon-time-selector.c:
2589 * src/hildon-date-selector.c:
2590 * examples/hildon-touch-selector-example.c
2591 * examples/hildon-touch-selector-multi-cells-example.c
2592 * examples/hildon-picker-button-multicolumn-example.c
2593 Set the right value to "text-column" property on the creation of a new
2594 column using hildon_touch_selector_append_column()
2596 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2598 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-app-menu.c
2601 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2602 updating the layout of the menu, don't create all widgets again,
2603 just repack the items in their new places.
2605 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2607 * src/hildon-time-selector.c
2608 (hildon_time_selector_get_time)
2609 (hildon_time_selector_set_time)
2610 Added documentation of these public methods
2612 * src/hildon-date-button.h
2613 * src/hildon-touch-selector-column.h
2614 * src/hildon-time-button.h
2615 * src/hildon-picker-dialog.h
2616 * src/hildon-time-selector.h
2617 * src/hildon-picker-button.h
2618 * src/hildon-touch-selector.h
2619 * src/hildon-time-picker.h
2620 * src/hildon-date-selector.h
2621 * src/hildon-touch-selector-entry.h
2622 Modified in order to use hildon-widgets code style
2624 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2626 Added deprecated support to the compilation process using
2627 HILDON_DISABLE_DEPRECATED
2629 * configure.ac: Added the --disable-deprecated to the configure
2632 * src/hildon-weekday-picker.c:
2633 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2634 to use the deprecated support. We will update the other deprecated
2635 widgets status in a new patch.
2637 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2639 * configure.ac: Fixed typo with fatal warnings support, the
2640 variable name was not correct
2642 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-app-menu.c
2645 * src/hildon-program.c: Update documentation.
2647 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2649 * configure.ac: Post-release version bump.
2651 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2656 * configure.ac: Pre-release version bump.
2657 * debian/changelog: Updates.
2659 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2661 * NEWS: Update news for previous releases.
2663 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2665 * examples/hildon-touch-selector-multi-cells-example.c:
2666 (create_selector): Update the example to use
2667 hildon_touch_selector_append_column() with a NULL renderer and set
2668 the renderers later.
2669 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2670 passed a NULL renderer. This is documented behavior now.
2672 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2673 This must be used if the developer wants full control on the layout of
2674 the renderers to be added to the column.
2676 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2678 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-touch-selector.c: Documentation fixes.
2682 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-wizard-dialog-private.h: Remove image and box.
2685 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2686 (hildon_wizard_dialog_set_property), (response): Completely remove
2687 image/icon support, and the containers required for the layout.
2689 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2691 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-app-menu.c: Updated documentation.
2695 * src/hildon-stackable-window.c
2696 (hildon_stackable_window_set_main_menu): Unref the old menu after
2697 ref'ing the new one.
2699 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-stackable-window.c
2702 (hildon_stackable_window_set_main_menu): Unref the previous menu
2703 instead of destroying it.
2705 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2706 floating reference and set has_user_ref_count to FALSE to make
2707 HildonAppMenu act like a normal ref-counted widget and not a
2710 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2713 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2715 * src/hildon-touch-selector-column.h: new file
2716 * src/hildon-touch-selector.h
2717 * src/hildon-touch-selector.c
2718 Implemented GtkCellLayout interface, in order to allow to configure
2719 the cell layout on each individual selector column
2720 (hildon_touch_selector_set_column_attributes): marked as deprecated
2721 * examples/hildon-touch-selector-multi-cells-example.c
2722 Example of how to use the GtkCellLayout interface on the selector
2724 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2726 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-app-menu.h
2729 * src/hildon-app-menu.c
2730 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2731 (hildon_app_menu_append, hildon_app_menu_prepend):
2732 New methods to prepend, insert and move items in the menu.
2734 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-wizard-dialog.c:
2738 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2740 (create_title): Update logical IDs and related code.
2741 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2743 * src/hildon-wizard-dialog.h: Note that
2744 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2745 point, as it is not used anymore.
2747 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2749 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-note.c:
2752 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2753 shown. Do not display an icon in confirmation notes nor information
2755 (hildon_note_set_button_text): Update logical ID for cancel button.
2757 Fixes: NB#88850 (Update HildonNote button strings + signals)
2759 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-stackable-window.c
2762 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2764 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2766 * src/hildon-app-menu-private.h
2767 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2768 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2769 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2770 temporary property 'columns' to change the number of columns.
2772 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2774 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2776 * examples/hildon-note-example.c: (on_information_clicked),
2777 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2778 debugging information.
2779 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2781 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2782 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2783 in order to close: this will be handled by the WM from now on.
2785 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2787 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-app-menu-private.h
2790 * src/hildon-app-menu.c
2791 (hildon_app_menu_append, hildon_app_menu_add_filter)
2792 (button_visibility_changed, hildon_app_menu_apply_style)
2793 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2794 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2795 layout everytime a button (item or filter) is shown or hidden.
2797 * src/hildon-stackable-window.c
2798 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2801 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2803 * src/hildon-touch-selector.c:
2804 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2805 that the treeview inside the touch selector is in fremantle hildon mode
2806 * examples/hildon-date-button-example.c
2807 * examples/hildon-picker-button-multicolumn-example.c
2808 * examples/hildon-touch-selector-entry-example.c
2809 * examples/hildon-touch-selector-example.c
2810 * examples/hildon-time-button-example.c
2811 * examples/hildon-picker-button-example.c:
2812 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2814 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2816 * examples/hildon-text-view-example.c: (main): Remove the
2817 gtkrc bits, now handled by the theme.
2819 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2824 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2826 * po/Makefile.am: Install properly the mo files.
2827 * po/en_GB.po: Update translation, to ease testing purposes.
2829 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2831 * examples/hildon-picker-button-example.c: (main): Select an item
2832 in the selector before setting it to the button.
2834 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2836 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2837 Update button's value if the selector has an item active.
2839 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2840 'value' with the selector)
2842 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2844 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2845 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2846 (hildon_picker_button_class_init): Plug the finalize method.
2847 (hildon_picker_button_set_selector): If there's a previously set
2848 selector, unref'it before setting a new one.
2850 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2851 HildonTouchSelector)
2853 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2855 * src/hildon-touch-selector-entry.c:
2856 (hildon_touch_selector_entry_changed): Check if there is no text
2857 selected before setting the entry text.
2860 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-touch-selector.h
2863 * src/hildon-touch-selector.c
2864 (hildon_touch_selector_get_active)
2865 (hildon_touch_selector_set_active): New methods to set/get the
2866 index of the selected item.
2868 * src/hildon-picker-button.h
2869 * src/hildon-picker-button.c
2870 (hildon_picker_button_get_active)
2871 (hildon_picker_button_set_active): New methods to set/get the
2872 index of the selected item.
2874 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2876 * configure.ac: post-release version bump.
2878 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2882 * configure.ac: Pre-release version bump.
2883 * debian/changelog: Updates.
2884 * debian/control: Add myself as maintainer and depend on l10n
2887 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-window.c
2890 (hildon_window_set_main_menu)
2891 * src/hildon-stackable-window.c
2892 (hildon_stackable_window_set_main_menu):
2893 Updated documentation.
2895 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2898 Don't free selector->priv manually.
2901 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2904 (hildon_gtk_window_set_progress_indicator):
2905 * src/hildon-gtk.h: Added the new API
2906 hildon_gtk_window_set_progress_indicator, it changes the state of
2907 the window progress hint.
2909 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-button.c
2912 * src/hildon-stackable-window.c: Minor documentation updates.
2914 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-stackable-window.c: Updated documentation.
2918 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-defines.h: Update margins definitions
2921 to the Fremantle sizes.
2924 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2926 * src/hildon-touch-selector.c,
2927 (_hildon_touch_selector_set_model): Cleaning the code after
2928 review, removed g_print and #if 0 from the code.
2930 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-edit-toolbar.c: Update documentation.
2934 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-check-button.h
2937 * src/hildon-check-button.c
2938 (hildon_check_button_set_label, hildon_check_button_get_label)
2939 * examples/hildon-check-button-example.c
2940 (button_clicked_cb):
2941 Removed deprecated methods.
2943 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-text-view.c:
2946 Add sample code to the documentation.
2948 * src/hildon-entry.h
2949 * src/hildon-text-view.h:
2950 Minor cosmetic changes.
2952 * src/hildon-entry.c:
2953 Add sample code to the documentation.
2954 (hildon_entry_init, hildon_entry_refresh_contents):
2955 Don't allow NULL values in the placeholder.
2957 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2959 * doc/hildon-docs.sgml
2961 * examples/Makefile.am
2962 * examples/hildon-text-view-example.c
2964 * src/hildon-text-view.c
2965 * src/hildon-text-view.h
2967 New HildonTextView widget, with example.
2969 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2971 * po/POTFILES.in: Add missing files with translatable strings.
2972 Partially fixes NB#88287.
2974 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2976 * examples/hildon-pannable-area-example-2.c: (main): No need to
2977 set the cellrenderer height inside hildon touch lists, the theme does
2980 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2982 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2983 they are integrated in the theme.
2985 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2987 * examples/hildon-entry-example.c: Update the example adding
2988 widgets to modify the text and the placeholder of the HildonEntry.
2990 * src/hildon-entry.c: Show the placeholder everytime the widget
2991 is empty and loses the focus.
2993 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2995 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2997 * src/hildon-pannable-area.c,
2998 (hildon_pannable_area_size_request): Fixed bug in height
2999 requisition, avoid increasing size and add border twice.
3001 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3003 * configure.ac: postrelease version bump.
3005 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3009 * configure.ac: Prerelease version bump.
3010 * debian/changelog: update.
3011 * debian/rules: make -dbg package contain useful debugging symbols.
3013 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-dialog.h
3016 * src/hildon-dialog.c
3017 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3018 New methods to add buttons with finger size.
3019 (hildon_dialog_new_with_buttons):
3020 Create buttons with finger size.
3022 * examples/hildon-dialog-example.c (main): Use HildonDialog
3023 methods to add buttons.
3025 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-entry.c: Updated HildonButton documentation.
3029 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3031 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3032 button value label with (FALSE, FALSE) to prevent NB#88126 from
3035 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3037 * examples/hildon-pannable-area-example.c,
3038 (main): Removed examples panning a vbox inside a pannable
3039 area. Check bug NB#87965
3041 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3043 Patch contributed by Kris Rietveld (kris@imendio.com)
3045 * src/hildon-pannable-area.c,
3046 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3047 get_size and get_position, this saves an X server roundtrip.
3049 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3051 * doc/hildon-docs.sgml
3053 * examples/Makefile.am
3054 * examples/hildon-entry-example.c
3056 * src/hildon-entry.c
3057 * src/hildon-entry.h
3059 New HildonEntry widget, with example.
3061 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-button.c (hildon_button_construct_child): Pack the
3064 image with expand == fill == FALSE. This is a workaround for a bug
3067 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3069 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3070 labels for the text column, to make it more look more dynamic.
3072 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3074 * src/hildon-time-selector.c
3075 Define gettext auxiliar macro N_
3076 (_create_minutes_model)
3077 (_create_hours_model)
3078 (_create_ampm_model): use of strftime in order to fill the model
3079 * src/hildon-date-selector.c
3080 (hildon_date_selector_finalize):
3081 (_locales_init): remove the logic related to get the name of the months
3082 using nl_langinfo, as it is not required anymore
3084 (_create_year_model)
3085 (_create_month_model)
3086 (_update_day_model): use of strftime in order to fill the model properly
3089 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-button.h
3092 * src/hildon-button.c (hildon_button_get_image): New method to
3095 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-touch-selector.c:
3098 (hildon_touch_selector_remove_column): Remove from the correct parent
3099 and also remove the list element and free it.
3102 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3104 * src/hildon-time-selector.c
3105 (_create_hours_model): change the range on 12h ampm format in order to use
3106 a 12-11 range instead of previous 01-12 range
3107 (hildon_time_selector_set_time): change the way to select the current time
3108 on 12h ampm format, due the change on the range
3109 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3112 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3114 * src/hildon-touch-selector.c
3115 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3116 in order to allow use this function on multiple row selection mode if
3117 the column is different that the first one
3120 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3122 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3123 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3125 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3127 * src/hildon-date-selector.h: clean some comments, now on the .c
3128 * src/hildon-date-selector.c
3129 (hildon_date_selector_select_month): first implementation
3130 (hildon_date_selector_select_day): added documentation, reimplemented
3131 using hildon_date_selector_select_current_date to avoid repeat code
3134 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3136 Reviewed interaction logic based on device experiences, refactored
3139 * src/hildon-pannable-area.c,
3140 (hildon_pannable_area_class_init): Updated default vmax speed.
3141 (hildon_pannable_area_calculate_velocity): Added this function, it
3142 avoids duplicate valocity calculation. Adjusted calculation to
3143 avoid problems with zero dist events.
3145 (hildon_pannable_area_motion_notify_cb): Now we use the
3146 calculate_velocity function.
3148 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3150 * src/hildon-date-selector.c
3151 (hildon_date_selector_select_current_date): fix the day range check
3152 as it failed using the last day of the current month
3155 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3157 * src/hildon-touch-selector.c
3158 (hildon_touch_selector_get_num_columns): added a parameter validation
3161 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3163 * examples/Makefile.am
3164 * examples/hildon-edit-toolbar-example.c: Example of the
3165 HildonEditToolbar widget.
3167 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: postrelease version bump.
3171 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3175 * configure.ac: prerelease version bump.
3176 * debian/changelog: update.
3178 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3180 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3181 renderer to display stock icons in the touch list. Also, set the sizes
3182 to the recommended in the style guide.
3184 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3185 * src/hildon-touch-selector.h
3186 (hildon_touch_selector_set_active_iter): renamed, now is
3187 hildon_touch_selector_select_iter
3188 (hildon_touch_selector_get_active_iter): renamed, now is
3189 hildon_touch_selector_get_selected
3190 (hildon_touch_selector_unselect_iter): added
3191 * src/hildon-touch-selector.c
3192 Update after API modification (methods renamed)
3193 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3194 order to avoid problems selecting multiple elements on the column
3195 (hildon_touch_selector_unselect_iter): added the implementation
3196 * src/hildon-time-selector.c
3197 * src/hildon-date-selector.c
3198 * src/hildon-touch-selector-entry.c
3199 Update methods calls after hildon-touch-selector.h API modification (methods
3202 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3204 * src/hildon-stackable-window.c
3205 (hildon_stackable_window_finalize): Call the parent class's finalize.
3207 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3209 * examples/hildon-touch-selector-example.c: (create_selector): Use
3210 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3213 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3215 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3216 set a cell background color, to respect theming.
3218 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3220 * doc/hildon-docs.sgml
3223 * src/hildon-edit-toolbar.c
3224 * src/hildon-edit-toolbar.h
3225 * src/hildon.h: New HildonEditToolbar widget.
3227 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3229 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3232 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3233 * src/hildon-touch-selector.c
3234 (_create_new_column): use g_object_set instead of two g_object_set_property
3236 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3237 * src/hildon-touch-selector.c
3238 (_create_new_column): use of hildon_gtk_tree_view_new to create
3239 the treeview, instead of use directly g_object_new
3240 (_create_new_column): update the property name "vindicator-mode" for the
3241 new one "vscrollbar-policy"
3242 * examples/hildon-date-button-example.c
3243 * examples/hildon-picker-button-multicolumn-example.c
3244 * examples/hildon-touch-selector-entry-example.c
3245 * examples/hildon-touch-selector-example.c
3246 * examples/hildon-time-button-example.c
3247 * examples/hildon-picker-button-example.c
3248 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3249 to all the treeviews inside a pannable area.
3251 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-button.h
3254 * src/hildon-button.c (hildon_button_init)
3255 (hildon_button_set_arrangement, hildon_button_set_alignment)
3256 (hildon_button_set_title_alignment)
3257 (hildon_button_set_value_alignment)
3258 (hildon_button_set_image_alignment)
3259 (hildon_button_construct_child): New methods to set the alignment
3260 of the individual components of the button (title, value,
3261 image). Also, new method to alter the xscale and yscale properties
3262 of the GtkAlignment inside the button, so more complex layouts can
3265 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-button.c (hildon_button_style_set)
3268 (hildon_button_class_init, hildon_button_set_arrangement)
3269 (hildon_button_construct_child): Apply style properties
3270 correctly. Use the 'image-spacing' style property too.
3272 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3275 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3278 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3280 * src/hildon-pannable-area.c,
3281 (hildon_pannable_area_size_request): Fixed problem with
3282 pannable-area size_request.
3284 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3286 Added management for the grab-focus to a child widget, like a
3287 range, we need to fade out the scrollbar when releasing.
3289 * src/hildon-pannable-area.c,
3290 (hildon_pannable_area_init): Connected the grab-focus signal to
3292 (hildon_pannable_area_grab_notify): Added this function in order
3293 to manage the situation when the grab-focus ends. We have to
3294 fade-out the scrollbar.
3296 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-app-menu.c: Minor documentation update.
3300 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3302 * src/hildon-app-menu.c
3303 * examples/hildon-app-menu-example.c (create_menu): Update
3304 examples and documentation to explain how to connect callbacks.
3306 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3308 * examples/hildon-button-example.c
3309 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3310 hildon_stackable_window_new instead of gtk_window_new
3312 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3314 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3315 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3316 (hildon_pannable_area_set_property),
3317 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3318 (hildon_pannable_area_unrealize),
3319 (hildon_pannable_area_size_request),
3320 (hildon_pannable_area_size_allocate),
3321 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3322 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3323 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3324 (hildon_pannable_area_initial_effect),
3325 (hildon_pannable_area_redraw),
3326 (hildon_pannable_area_scroll_indicator_fade),
3327 (hildon_pannable_area_expose_event),
3328 (hildon_pannable_area_get_topmost), (synth_crossing),
3329 (hildon_pannable_area_button_press_cb),
3330 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3331 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3332 (hildon_pannable_area_motion_notify_cb),
3333 (hildon_pannable_area_button_release_cb),
3334 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3335 (hildon_pannable_area_remove),
3336 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3337 chage the code layout to a more GtkWidget like. Review the use of
3340 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3342 * examples/hildon-pannable-area-example-4.c,
3343 (main): Modified the name of the hindicator_mode to
3346 * src/hildon-pannable-area.c,
3347 (hildon_pannable_area_class_init),
3348 (hildon_pannable_area_motion_notify_cb),
3349 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3350 we have reduced the amount of signals and managed reviewed its
3351 rationale. Changed the default decelerate value.
3353 (hildon_pannable_area_add),
3354 (hildon_pannable_area_redraw): Refactored functions.
3356 (hildon_pannable_area_init),
3357 (hildon_pannable_area_get_property),
3358 (hildon_pannable_area_set_property):
3359 (hildon_pannable_draw_vscroll),
3360 (hildon_pannable_draw_hscroll),
3361 (hildon_pannable_area_initial_effect),
3362 (hildon_pannable_area_expose_event),
3363 (hildon_pannable_area_scroll),
3364 (hildon_pannable_area_button_press_cb),
3365 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3366 and vindicator_mode with hscrollbar_policy and
3367 vscrollbar_policy. Replaced hscroll and vscroll with
3368 hscroll_visible and vscroll_visible.
3370 (hildon_pannable_area_refresh): Refactor the function, remove
3371 variables and check the calls to this function, added resize
3372 conditions in case the children change their layout.
3374 (hildon_pannable_area_size_request): Added more detailed
3375 size_request calculation.
3378 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3380 * src/hildon-color-chooser.c
3381 (init_borders): use the correct gtk_border_free instead of g_free, to
3382 avoid a crash when this widget is used (ie: the three color selection
3385 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3387 * src/hildon-check-button.c,
3388 (hildon_check_button_set_active): Fixed problem when setting the
3389 active value, the widget was not redrawn.
3391 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3393 * src/hildon-pannable-area.c,
3394 (hildon_pannable_area_refresh),
3395 (hildon_pannable_area_scroll),
3396 (hildon_pannable_area_motion_notify_cb): Small code style change.
3398 (hildon_pannable_area_class_init): Default initial_hint set to
3399 FALSE, it is not in the specs.
3401 (hildon_pannable_area_initial_effect),
3402 (hildon_pannable_area_expose_event),
3403 (hildon_pannable_area_map),
3404 (hildon_pannable_area_init): Moved the launching point of the
3405 initial effect, it was in map but the sizes where not correct in
3406 that method so we do not know if we have the reproduce it. Now it
3407 is placed in the expose_event method and uses a variable to
3408 reproduce it just once.
3410 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c,
3413 (hildon_pannable_draw_vscroll),
3414 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3415 position allowed for the scrollbars.
3417 (hildon_pannable_area_size_allocate): Small style change.
3419 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3421 * src/hildon-pannable-area.c,
3422 (hildon_pannable_area_scroll_indicator_fade),
3423 (hildon_pannable_area_button_press_cb),
3424 (hildon_pannable_area_button_release_cb),
3425 (hildon_pannable_area_scroll_cb),
3426 (hildon_pannable_area_expose_event),
3427 (hildon_pannable_area_init): Added the define parameter
3428 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3429 and refactor the fade variable.
3431 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3433 * src/hildon-pannable-area.c,
3434 (hildon_pannable_area_redraw),
3435 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3436 lines, we were reimplemeting the redraw code.
3438 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3440 * src/hildon-pannable-area.c,
3441 (hildon_pannable_area_scroll_cb),
3442 (hildon_pannable_area_realize),
3443 (hildon_pannable_area_class_init): Added scroll_event management
3444 for pannable area, now we can scroll the usual desktop method.
3446 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3447 initialization of the parameters should depend on idle_id.
3449 (hildon_pannable_area_init),
3450 (hildon_pannable_area_map): Small code style modifications
3452 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3454 * src/hildon-pannable-area.c
3455 (hildon_pannable_area_button_press_cb),
3456 (hildon_pannable_area_motion_notify_cb),
3457 (hildon_pannable_area_button_release_cb),
3458 (hildon_pannable_area_size_allocate),
3459 (hildon_pannable_area_scroll_to): Improved the timeouts
3460 management, we avoid creating them each time.
3462 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3464 * src/hildon-pannable-area.c:
3465 (hildon_pannable_area_refresh),
3466 (hildon_pannable_area_motion_notify_cb),
3467 (hildon_pannable_area_class_init):
3468 * src/hildon-pannable-area.h:
3469 * src/hildon-touch-selector.c
3470 (_create_new_column):
3471 * examples/hildon-pannable-area-example-4.c:
3472 (horizontal_movement),
3473 (vertical_movement),
3475 Replaced the names of enums in the HildonPannableArea:
3476 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3477 HILDON_MOVEMENT_MODE_*
3478 - HILDON_PANNABLE_AREA_MOV_* ->
3480 - Removed HildonPannableAreaIndicatorMode, now we
3483 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3485 * examples/hildon-pannable-area-touch-grid-example.c
3486 * examples/hildon-pannable-area-touch-list-example.c: Fix
3487 compilation warnings.
3489 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-gtk.c (hildon_gtk_button_new)
3492 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3493 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3494 images overriding the value of the "gtk-button-images" setting.
3496 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-check-button.c (hildon_check_button_new):
3499 Instead of using a custom container, display the label and the
3500 checkbox using the standard GtkButton API.
3502 * examples/hildon-check-button-example.c (main): Don't use
3503 hildon_check_button_set_label() anymore
3505 * src/hildon-check-button.h
3506 * src/hildon-check-button.c
3507 (hildon_check_button_set_label, hildon_check_button_get_label):
3508 Set as deprecated, now we're using gtk_button_{get,set}_label()
3510 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3512 * src/hildon-pannable-area.c,
3513 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3514 GtkTreeview first line we detected it after the inclusion of the
3515 GtkWindowImpl in gtk+. We now check if the window is visible, not
3516 just if the pointer is over the window.
3517 (hildon_pannable_axis_scroll),
3518 (hildon_pannable_area_expose_event): Small style changes.
3520 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3522 * src/hildon-button.c: Update documentation.
3524 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3526 * examples/hildon-button-example.c: Add a switch to show images in
3529 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3531 * doc/hildon-docs.sgml: Some docs reorganization.
3533 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3535 * examples/hildon-pannable-area-touch-list-example.c
3537 * examples/hildon-pannable-area-touch-grid-example.c
3538 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3539 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3540 Fix memory leak when setting the tree model.
3542 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3546 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3548 * doc/hildon.types: Remove duplicated hildon_window_get_type
3549 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3550 documentation comment.
3552 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3554 * doc/Makefile.am: Complete list of private headers.
3556 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3558 * doc/hildon-docs.sgml
3559 * src/hildon-app-menu.c
3560 * src/hildon-bread-crumb.c
3561 * src/hildon-button.c
3563 * src/hildon-program.c
3564 * src/hildon-stackable-window.c
3565 * src/hildon-window.c: Lots of documentation updates.
3567 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3569 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3571 * configure.ac: Require Gtk+ 2.12.9 at least
3573 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3575 * src/hildon-pannable-area.c
3576 (hildon_pannable_area_scroll_indicator_fade),
3577 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3578 to protect the return of this timeout callbacks, avoiding deadlocks.
3580 2008-08-12 Christian Dywan <christian@imendio.com>
3583 * src/hildon-*.h: Ensure a consistent include order,
3584 include <gtk/gtk.h> instead of particular files and
3585 only include the topmost header in the gtk stack. See NB #39857
3587 2008-08-12 Christian Dywan <christian@imendio.com>
3589 * src/hildon-picker-dialog.c
3590 * src/hildon-touch-selector.c: Fix warnings about unused and
3591 uninitialized variables.
3593 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3595 * examples/Makefile.am
3596 * examples/hildon-check-button-example.c: Example of the hildon
3599 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-window.h
3602 * src/hildon-window.c (hildon_window_class_init)
3603 (hildon_window_unset_program): Don't make
3604 hildon_window_unset_program a virtual function anymore.
3606 * src/hildon-stackable-window.c: Update documentation
3608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3611 * doc/hildon-docs.sgml
3612 * doc/visual_index.xml
3613 * src/hildon-defines.c
3615 * src/hildon-helper.c
3616 * src/hildon-range-editor.c: Lots of documentation fixes.
3618 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3620 * examples/hildon-picker-button-multicolumn-example.c
3621 (create_touch_selector): Fix compilation warning.
3623 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3625 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3626 (hildon_pannable_area_button_release_cb)
3627 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3629 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3631 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3634 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3636 * src/hildon-bread-crumb-trail.h
3637 * src/hildon-date-editor.c
3638 * src/hildon-date-selector.c
3639 * src/hildon-pannable-area.c
3640 * src/hildon-picker-dialog.c
3641 * src/hildon-time-selector.c
3642 * src/hildon-touch-selector-entry.c
3643 * src/hildon-touch-selector.c
3644 * src/hildon-touch-selector.h: Misc documentation fixes
3646 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3648 * examples/hildon-date-editor-example.c (main): Updated date
3651 * examples/hildon-note-example.c (on_confirmation_clicked):
3652 Updated confirmation note example.
3654 * src/hildon-date-editor.c
3655 * src/hildon-note.c: Updated sample programs in documentation.
3658 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3660 * src/hildon-date-button.h:
3661 * src/hildon-picker-button.h:
3662 * src/hildon-time-button.c:
3663 * src/hildon-time-button.h:
3665 Some declarations changes to allow gtk-doc to document the widgets
3668 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-date-button.c: Document the widget.
3671 * src/hildon-time-button.c: Document the widget.
3673 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-picker-button.c: Document the widget.
3676 * src/hildon-touch-selector-entry.c: Document the widget.
3678 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3680 * doc/hildon-docs.sgml
3683 * src/hildon-check-button.h
3684 * src/hildon-check-button.c: New functions to create the Hildon
3688 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3690 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-button.h
3693 * src/hildon-button.c
3694 (hildon_button_add_title_size_group)
3695 (hildon_button_add_value_size_group)
3696 (hildon_button_add_image_size_group)
3697 (hildon_button_add_size_groups): New functions to set size groups
3698 for the button labels and image.
3699 (hildon_button_new_full): Removed
3701 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3703 * src/hildon-time-selector.c
3704 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3705 in order to avoid a crash if gconf is not available
3707 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-button.c (hildon_button_set_arrangement)
3710 (hildon_button_construct_child): Don't construct the button child
3711 before setting the arrangement.
3713 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-program-private.h
3716 * src/hildon-program.c
3717 * src/hildon-program.h
3718 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3719 (hildon_program_peek_window_stack)
3720 (hildon_program_pop_window_stack)
3721 (hildon_program_go_to_root_window): HildonProgram now has a
3722 separate list for stackable windows. Functions are provided to
3723 manage that list with a stack-like API.
3725 * src/hildon-stackable-window.c: Stackable window management is
3726 now much simpler with the new HildonProgram API. Windows no
3727 longer need to be manually added to the program, they're
3728 automatically pushed to the top of the stack when shown.
3730 * examples/hildon-stackable-window-example.c: Updated example to
3731 reflect the API changes.
3733 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-touch-selector.c: Comment out unimplemented
3736 hildon_touch_selector_insert_column() to avoid a compile warning.
3738 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3740 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3741 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3742 (hildon_touch_selector_set_column_selection_mode),
3743 (_hildon_touch_selector_set_model),
3744 (hildon_touch_selector_set_model):
3746 Complete review of HildonTouchSelector documentation.
3748 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3750 * doc/hildon-docs.sgml
3754 * src/hildon-gtk.c: Convenience functions for standard Gtk
3755 widgets, used to easily perform frequent operations.
3757 * src/hildon-button-helpers.h
3758 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3760 * src/hildon-helper.h
3761 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3762 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3764 * src/hildon-button.h
3765 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3767 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3769 * src/hildon-button.c (hildon_button_init)
3770 (hildon_button_set_arrangement, hildon_button_construct_child):
3771 Pack the image and the labels inside the same GtkAlignment so
3772 gtk_button_set_alignment() can be used
3774 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-button.h
3777 * src/hildon-button.c
3778 (hildon_button_init, hildon_button_set_image)
3779 (hildon_button_set_image_position)
3780 (hildon_button_construct_child): New functions to add an image to
3783 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3785 * src/hildon-date-button.c
3786 * src/hildon-picker-button.c
3787 * src/hildon-time-button.c
3788 * src/hildon-button.c:
3789 (hildon_button_class_init): "size-flags" renamed to "size"
3790 (hildon_button_set_title): Hide the title label if set to NULL.
3792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3794 HildonButtonFlags split into HildonButtonArrangement (to set the
3795 button layout) and HildonSizeType (which can be used for any
3798 * src/hildon-button.h
3799 * src/hildon-button.c
3800 (hildon_button_class_init)
3801 (hildon_button_set_arrangement)
3802 (hildon_button_set_property): New "size-flags"
3803 property. "arrangement-flags" renamed to "arrangement".
3804 (hildon_button_new, hildon_button_new_with_text)
3805 (hildon_button_new_full): Constructors updated to reflect type changes.
3807 * src/hildon-helper.h
3808 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3809 to set the size of a widget.
3813 * src/hildon-button-helpers.c
3814 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3816 * src/hildon-date-button.c
3817 * src/hildon-date-button.h
3818 * src/hildon-picker-button.c
3819 * src/hildon-picker-button.h
3820 * src/hildon-time-button.c
3821 * src/hildon-time-button.h: Updated widgets to reflect
3822 HildonButton API changes.
3824 * examples/hildon-button-example.c
3825 * examples/hildon-date-button-example.c
3826 * examples/hildon-picker-button-example.c
3827 * examples/hildon-picker-button-multicolumn-example.c
3828 * examples/hildon-time-button-example.c
3829 * examples/hildon-touch-selector-entry-example.c
3830 * examples/hildon-touch-selector-example.c: Updated examples to
3831 reflect HildonButton API changes.
3833 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3835 * doc/hildon-docs.sgml:
3837 * examples/Makefile.am:
3838 * examples/hildon-touch-selector-entry-example.c:
3840 * src/hildon-touch-selector-entry.c:
3841 * src/hildon-touch-selector-entry.h:
3844 Moved HildonTouchSelectorEntry from sandbox. Added its
3845 documentation and examples.
3847 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-touch-selector.h:
3850 * examples/hildon-picker-button-multicolumn-example.c:
3851 (hildon_touch_selector_append_text_column): Add a gboolean
3852 parameter to determine if text must be centered in the column.
3854 * src/hildon-date-selector.c: (hildon_date_selector_init):
3855 * src/hildon-time-selector.c: (hildon_time_selector_init):
3856 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3857 (create_touch_selector): Update widgets and example to reflect
3860 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-touch-selector.c:
3863 (hildon_touch_selector_set_active_iter): Set also the cursor in
3866 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3868 * doc/hildon-docs.sgml
3871 * src/hildon-toggle-button.c
3872 * src/hildon-toggle-button.h
3873 * src/hildon.h: Removed HildonToggleButton widget, a derived
3874 class is not necessary for this.
3876 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3878 * src/hildon-pannable-area.c,
3879 (hildon_pannable_area_realize),
3880 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3883 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3885 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3886 "done" button the default widget for the dialog.
3888 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-touch-selector.c:
3891 (hildon_touch_selector_class_init),
3892 (hildon_touch_selector_get_property),
3893 (_hildon_touch_selector_set_model),
3894 (_hildon_touch_selector_has_multiple_selection),
3895 (hildon_touch_selector_has_multiple_selection):
3896 Add a "has-multiple-selection" property with a virtual
3897 has_multiple_selection() method to allow derived classes to
3898 override the default value for it. See the method and property
3899 documentation for details.
3901 * src/hildon-touch-selector.h: Add the new API.
3903 * src/hildon-picker-dialog.c: (requires_done_button): Call
3904 hildon_touch_selector_has_multiple_selection() instead of
3905 determining the need for a button itself.
3907 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3909 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3910 (_hildon_touch_selector_set_model),
3911 (hildon_touch_selector_set_model): Move working code to
3912 _hildon_touch_selector_set_mode(). Call the class method instead.
3914 * src/hildon-touch-selector.h: Add (*set_model) to
3915 HildonTouchSelectorClass.
3917 Make hildon_touch_selector_set_model() a virtual method, so that
3918 derived classes can extend it and do fancy stuff with the model.
3920 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3922 * configure.ac: Set back the tarname in AC_INIT to hildon.
3924 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3928 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3929 instead of libesd (NB#86876). Volume handling is still an open issue.
3931 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3934 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3937 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3938 derived class to ease placement of an entry widget in
3939 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3940 end, where the selector columns are packed now.
3942 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-picker-button.c: Removed the simple _text() API.
3945 * src/hildon-picker-button.h: Likewise.
3947 * src/hildon-touch-selector.h:
3948 * src/hildon-touch-selector.c:
3949 (hildon_touch_selector_new_text),
3950 (hildon_touch_selector_append_text),
3951 (hildon_touch_selector_prepend_text),
3952 (hildon_touch_selector_insert_text):
3954 Moved the simple _text() API from HildonPickerButton to
3955 HildonTouchPicker, to provide better escalability and not to tie
3956 that API to HildonPickerButton.
3958 * examples/hildon-picker-button-example.c: (main): Example updated.
3960 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-button.c: Updated documentation.
3964 * examples/hildon-button-example.c: Add the posibility to create
3965 the buttons using horizontal layout for title and value.
3967 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3969 * src/hildon-app-menu-private.h
3970 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3971 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3972 GtkSizeGroup for the filters, use the 'homogeneous' property of
3975 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3977 * examples/hildon-button-example.c: Updated example.
3979 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3981 * doc/hildon-docs.sgml:
3984 Update documentation.
3986 * examples/Makefile.am: Update renamed examples.
3988 * examples/hildon-picker-button-multicolumn-example.c:
3989 (create_touch_selector), (main): Update after the rename.
3991 * examples/hildon-touch-picker-example.c: Removed.
3992 * examples/hildon-touch-selector-example.c: (value_changed),
3993 (create_selector), (get_visible_content), (main): Renamed from
3994 hildon-touch-picker-example.c
3996 * src/Makefile.am: Updated renamed files.
3998 * src/hildon-date-button.c: (hildon_date_button_init),
3999 (hildon_date_button_get_date), (hildon_date_button_set_date):
4000 * src/hildon-date-selector.c: (hildon_date_selector_init),
4001 (_custom_print_func), (_update_day_model),
4002 (_manage_selector_change_cb),
4003 (hildon_date_selector_select_current_date),
4004 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4005 * src/hildon-date-selector.h:
4006 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4007 (hildon_picker_button_set_property),
4008 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4009 (hildon_picker_button_init), (hildon_picker_button_new_text),
4010 (hildon_picker_button_append_text),
4011 (hildon_picker_button_prepend_text),
4012 (hildon_picker_button_insert_text),
4013 (hildon_picker_button_set_selector),
4014 (hildon_picker_button_get_selector):
4015 * src/hildon-picker-button.h:
4016 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4017 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4018 (_update_title_on_selector_changed_cb), (requires_done_button),
4019 (_hildon_picker_dialog_set_selector),
4020 (hildon_picker_dialog_set_selector),
4021 (hildon_picker_dialog_get_selector):
4022 * src/hildon-picker-dialog.h:
4023 * src/hildon-time-button.c: (hildon_time_button_init),
4024 (hildon_time_button_get_time), (hildon_time_button_set_time):
4025 * src/hildon-time-selector.c: (hildon_time_selector_init),
4026 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4027 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4028 * src/hildon-time-selector.h:
4031 Massive code updates after the rename.
4033 * src/hildon-touch-picker.c: Removed.
4034 * src/hildon-touch-picker.h: Removed.
4036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4037 (hildon_touch_selector_init), (hildon_touch_selector_map),
4038 (hildon_touch_selector_remove), (_default_print_func),
4039 (_selection_changed_cb), (_create_new_column),
4040 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4041 (hildon_touch_selector_append_text_column),
4042 (hildon_touch_selector_remove_column),
4043 (hildon_touch_selector_set_column_attributes),
4044 (hildon_touch_selector_insert_column),
4045 (hildon_touch_selector_get_num_columns),
4046 (hildon_touch_selector_get_column_selection_mode),
4047 (hildon_touch_selector_set_column_selection_mode),
4048 (hildon_touch_selector_set_print_func),
4049 (hildon_touch_selector_get_print_func),
4050 (hildon_touch_selector_get_active_iter),
4051 (hildon_touch_selector_set_active_iter),
4052 (hildon_touch_selector_get_selected_rows),
4053 (hildon_touch_selector_get_model),
4054 (hildon_touch_selector_set_model),
4055 (hildon_touch_selector_get_current_text),
4056 (_hildon_touch_selector_center_on_selected_items):
4057 * src/hildon-touch-selector.h: Renamed from
4058 hildon-touch-picker.[ch]
4060 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4061 references, code examples, and related documentation.
4063 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4065 * doc/hildon-docs.sgml
4068 * src/hildon-toggle-button.c
4069 * src/hildon-toggle-button.h
4070 * src/hildon.h: New HildonToggleButton widget.
4072 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-button.c: Add API documentation.
4075 (hildon_button_set_size_groups): Check input parameters
4077 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4079 * src/hildon-pannable-area.c
4080 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4081 effect after reaching the movement thredshold. This way we start
4082 using the distance after passing the thredshold.
4084 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-button.c: (hildon_button_set_property): Use the
4087 appropriate g_value_get_flags() method.
4089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4091 * doc/hildon-docs.sgml:
4094 Add the touch pickers, picker dialogs, and picker button widgets
4095 to the documentation.
4097 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-button.c: (hildon_button_set_property),
4100 (hildon_button_class_init): Make "arrangement-flags" a proper
4101 G_TYPE_FLAGS derived property.
4103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4105 * examples/Makefile.am: Add below examples.
4106 * examples/hildon-date-button-example.c:
4107 * examples/hildon-picker-button-example.c:
4108 * examples/hildon-picker-button-multicolumn-example.c:
4109 * examples/hildon-time-button-example.c:
4110 * examples/hildon-touch-picker-example.c:
4112 Add examples for the recently added touch pickers,
4113 picker dialogs, and picker button widgets.
4115 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-button.c: Add some API documentation
4119 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-button.h
4122 * src/hildon-button.c
4124 (hildon_button_new_with_text): New constructor to create a button
4125 with no text at all.
4126 (hildon_button_init, hildon_button_set_arrangement)
4127 (hildon_button_set_title, hildon_button_set_value)
4128 (hildon_button_set_text)
4129 (hildon_button_construct_child): Hide the value when it's not used
4130 so the rest of the text is properly aligned.
4131 Allow creating buttons with arbitrary widgets inside (not just
4132 title/value labels).
4134 * examples/hildon-button-example.c (vertical_buttons_window)
4135 (horizontal_buttons_window): Update example to use new API.
4137 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/Makefile.am: Added HildonTimeButton.
4140 * src/hildon-time-button.c: Added missing LGPL header.
4141 * src/hildon-time-button.h: Added missing LGPL header.
4142 * src/hildon.h: Add hildon-time-button.h
4144 Copied HildonTimeButton from sandbox to trunk. Future work on this
4145 widget must take place in trunk.
4147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4149 * src/Makefile.am: Added HildonDateButton.
4150 * src/hildon-date-button.c: Update includes.
4151 * src/hildon.h: Add hildon-date-button.h
4153 Copied HildonDateButton from sandbox to trunk. Future work on this
4154 widget must take place in trunk.
4156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/Makefile.am: Added HildonPickerButton.
4159 * src/hildon-picker-button.h: Update includes.
4160 * src/hildon.h: Add hildon-picker-button.h
4162 Copied HildonPickerButton from sandbox to trunk. Future work on
4163 this widget must take place in trunk.
4165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/Makefile.am: Added HildonPickerDialog.
4168 * src/hildon-picker-dialog.c: Update includes.
4169 * src/hildon.h: Add hildon-picker-dialog.h
4171 Copied HildonPickerDialog from sandbox to trunk. Future work
4172 on this widget must take place in trunk.
4174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4176 * src/Makefile.am: Added HildonTimeSelector.
4177 * src/hildon.h: Add hildon-time-selector.h
4179 Copied HildonTimeSelector widget from sandbox to trunk. Future
4180 work on this widget must happen in trunk.
4182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/Makefile.am: Added HildonDateSelector.
4185 * src/hildon.h: Add hildon-date-selector.h
4187 Copied HildonDateSelector widget from sandbox to trunk. Future
4188 work on this widget must happen in trunk.
4190 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/Makefile.am: Added HildonTouchPicker.
4193 * src/hildon-touch-picker.c: Update includes.
4194 * src/hildon.h: Add hildon-touch-picker.h
4196 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4197 on this widget must happen in trunk.
4199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4201 * src/hildon-pannable-area.c:
4202 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4204 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4206 * examples/hildon-app-menu-example.c (main): Let the window
4209 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4211 * src/hildon-pannable-area.c
4212 (hildon_pannable_area_class_init): Set the min value of the
4213 overshoot properties to zero, which points out that not
4214 overshooting allowed.
4216 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4218 Modified the procedure to get the widget at a point inside the
4219 pannable area when using the movement type signals. Now the user
4220 has to call a function to get the child, that way we just
4221 calculate the child in case the user really want to use it and not
4224 * src/hildon-marshalers.list: Modified the marshallers, now we do
4225 not have the widget as a parameter.
4227 * src/hildon-pannable-area.c
4228 (hildon_pannable_area_motion_notify_cb),
4229 (hildon_pannable_area_class_init),
4230 (hildon_pannable_get_child_widget_at): Removed the widget
4231 parameter from the signal callback. We have also refactored the
4232 emission of the signals.
4234 * src/hildon-pannable-area.h: Added a new method to the API to
4235 calculate a widget at a point inside the pannable area,
4236 hildon_pannable_get_child_widget_at.
4238 * examples/hildon-pannable-area-example-4.c
4239 (horizontal_movement): Modified the example to use the new API,
4240 added condition to control which widget is under the event. This
4241 way we can avoid scrolling laterally over other widgets.
4243 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4245 * src/hildon-pannable-area.c
4246 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4247 modes, we stop getting the pointer events due to returning the
4248 callback without properly calling the get pointer again. Fixed
4249 also an error using the hscroll and vscroll.
4251 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-app-menu-private.h
4254 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4255 (hildon_app_menu_button_release, hildon_app_menu_init)
4256 (hildon_app_menu_class_init): Don't hide the menu on button
4257 release if the user didn't press outside first.
4259 * src/hildon-window.h
4260 * src/hildon-window.c (hildon_window_toggle_menu)
4261 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4262 hildon_window_toggle_menu a virtual function for the stackable
4263 window to override it.
4265 * src/hildon-stackable-window.h
4266 * src/hildon-stackable-window-private.h
4267 * src/hildon-stackable-window.c
4268 (hildon_stackable_window_realize)
4269 (hildon_stackable_window_finalize)
4270 (hildon_stackable_window_class_init)
4271 (hildon_stackable_window_init)
4272 (hildon_stackable_window_set_main_menu): New function to set the
4273 app menu of a HildonStackableWindow.
4275 * examples/hildon-app-menu-example.c: Remove the button to show
4276 the app menu, now it'll be shown when clicking on the title bar
4279 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4282 set the widget name if the arrangement flags do not specify
4285 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4287 * src/hildon-button.c: (hildon_button_set_property),
4288 (hildon_button_class_init), (hildon_button_new_full),
4289 (hildon_button_set_arrangement): Added "arrangement-flags"
4292 Make the HildonButtonFlags a construction-only property, to allow
4293 subclasses to set them properly.
4295 2008-07-21 Tim Janik <timj@imendio.com>
4297 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4298 insertion position after backspace, so additional digits are appended,
4301 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4303 * src/hildon-pannable-area.c,
4304 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4305 TODO list, it was complete and removed the g_debug and g_print
4308 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4310 Added the movement modes to the hildon-pannable-area, with this
4311 modes the developers can control in which directions the widget
4312 can scroll. They can also connect to signals in order to do
4313 something when that happens, allowing applications scroll. There
4314 is an example uploaded showing how to use it.
4316 * examples/Makefile.am:
4317 * examples/hildon-pannable-area-example-4.c: Added this example of
4318 an application using the modes.
4320 * src/hildon-marshalers.list: Added a new marshaller for the new
4323 * src/hildon-pannable-area.h: Added new enumerations and flags in
4324 order to control the movement modes and the new signals to warn
4325 about the movements in the area.
4327 * src/hildon-pannable-area.c:
4328 (hildon_pannable_axis_scroll),
4329 (hildon_pannable_area_scroll),
4330 (hildon_pannable_area_motion_notify_cb),
4331 (hildon_pannable_area_get_property),
4332 (hildon_pannable_area_set_property),
4333 (hildon_pannable_area_map),
4334 (hildon_pannable_area_class_init),
4335 (hildon_pannable_area_init),
4336 (hildon_pannable_area_jump_to): Added the modes to control the
4337 movement in the widget. We have added properties to control it,
4338 signals to warn about the movements and refactored some code.
4340 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4342 Changes required in order to allow vfast_factor set to zero to
4345 * src/hildon-pannable-area.c:
4346 (hildon_pannable_area_button_press_cb): Changed the condition, it
4347 is required for not allowing click when vfast_factor is zero.
4348 (hildon_pannable_area_timeout): Initialized velocity variables
4349 when we stop moving, it was less than 1 but not zero and we need
4350 to check zero in some situations.
4351 (hildon_pannable_area_class_init): Changed the default value of
4352 the speed factor, now the button_press is just sent in case the
4353 speed is 2 per cent of the max speed.
4354 (hildon_pannable_area_init): Initialization with 0.
4356 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4358 * src/hildon-pannable-area.c,
4359 (hildon_pannable_area_get_topmost): replaced
4360 gdk_window_get_children with gdk_window_peek_children, this way we
4361 do not have to free the list because it is not a copy.
4363 (hildon_pannable_axis_scroll),
4364 (hildon_pannable_area_scroll),
4365 (hildon_pannable_area_timeout),
4366 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4367 two parameters that were only used inside the
4368 hildon_pannable_area_scroll function.
4370 * examples/hildon-pannable-area-example.c,
4371 (get_sawtooth_label): Fixed small memory leak.
4373 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4375 More checks for the case where the overshoot is bigger than the
4378 * src/hildon-pannable-area.c:
4379 (hildon_pannable_draw_vscroll),
4380 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4381 to draw the slider of the scrollbar under the other scrollbar.
4382 (hildon_pannable_area_expose_event): added new checks to control
4383 the drawing of the overshooting area rectangle, in case it is too
4384 big for the area of the widget.
4385 (hildon_pannable_area_size_allocate): add more checks to avoid
4386 setting a position to the child widget outside the area.
4388 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4390 * src/hildon-pannable-area.c
4391 (hildon_pannable_area_size_allocate): Added conditions to control
4392 when overshooting is bigger than the allocated space for the
4393 children, this avoids negative allocations.
4395 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4397 * doc/hildon-docs.sgml
4399 * examples/Makefile.am
4400 * examples/hildon-button-example.c
4402 * src/hildon-button.c
4403 * src/hildon-button.h
4404 * src/hildon.h: Initial version of the new HildonButton widget,
4407 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-pannable-area.c:
4410 (hildon_pannable_area_button_press_cb),
4411 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4412 (hildon_pannable_area_motion_notify_cb),
4413 (hildon_pannable_area_button_release_cb),
4414 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4415 (hildon_pannable_area_jump_to_child):
4417 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4419 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4421 * examples/Makefile.am
4422 * examples/hildon-pannable-area-touch-grid-example.c
4423 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4424 the Hildon Touch List and Hildon Touch Grid using the
4425 HildonPannableArea widget.
4427 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4429 * src/hildon-pannable-area.c,
4430 (hildon_pannable_area_button_press_cb),
4431 (hildon_pannable_area_refresh),
4432 (hildon_pannable_area_scroll),
4433 (hildon_pannable_area_motion_notify_cb),
4434 (hildon_pannable_area_button_release_cb),
4435 (hildon_pannable_area_expose_event),
4436 (hildon_pannable_area_add),
4437 (hildon_pannable_area_remove),
4438 (hildon_pannable_area_realize),
4439 (hildon_pannable_area_size_allocate),
4440 (hildon_pannable_area_class_init),
4441 (hildon_pannable_area_init),
4442 (hildon_pannable_area_scroll_to_child),
4443 (hildon_pannable_area_jump_to_child): Fixed the problem of
4444 removing the child from the GtkBin, we have rearranged the widget
4445 hierarchy, now there is no GtkAlignment which was not doing
4446 anything interesting but breaking some of the assumptions of
4447 GtkContainer. Now developers if they want to add a GtkAlignment
4448 they could, but it is not inside the area.
4450 We had to review the whole allocation/expose process, now it is
4451 improved and we save at least three signals which would be saving
4452 some time when rendering the widget. The allocation of the
4453 scrollbars is now made in the allocate method as usual.
4455 We have also added some conditions in order to control when there
4456 is no child of the pannable area. Maybe we will need more work
4459 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4461 * src/hildon-pannable-area.c,
4462 (hildon_pannable_area_dispose): Released the fade-out timeout when
4463 disposing the widget.
4465 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4467 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4468 zero, we are going to use that property in order to deactivate the
4470 (hildon_pannable_axis_scroll),
4471 (hildon_pannable_area_size_allocate): Added conditions to control
4472 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4473 call, now it is called in all situations and we can remove calls
4474 in the allocate method.
4475 (hildon_pannable_area_map): Control the situation when
4476 overshoot_max is zero, we do not need the timeout.
4477 (hildon_pannable_area_class_init): Added documentation in order to
4478 point out that setting zero to overshoot_max means deactivate
4481 NOTE: removed trailing whitespaces from my previous comments of
4484 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-pannable-area.c
4487 (hildon_pannable_area_get_property),
4488 (hildon_pannable_area_set_property),
4489 (hildon_pannable_area_map),
4490 (hildon_pannable_area_class_init),
4491 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4492 to cause the widget give a hint about its panning abilities upon
4495 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-pannable-area.c: Several documentation improvements.
4499 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4501 * src/hildon-program.c
4502 * src/hildon-stackable-window.c: Update documentation.
4504 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4506 * src/hildon-stackable-window.c (get_previous_window_if_last):
4507 Renamed get_last_window()
4508 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4509 (hildon_stackable_window_unset_program):
4511 (get_previous_window_if_last):
4512 Detect if the window hasn't been added to a HildonProgram.
4514 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4516 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-pannable-area.c
4519 (hildon_pannable_area_button_press_cb),
4520 (hildon_pannable_axis_scroll),
4521 (hildon_pannable_area_scroll),
4522 (hildon_pannable_area_timeout),
4523 (hildon_pannable_calculate_vel_factor),
4524 (hildon_pannable_area_get_property),
4525 (hildon_pannable_area_set_property),
4526 (hildon_pannable_area_class_init),
4527 (hildon_pannable_area_init),
4528 (hildon_pannable_area_scroll_to),
4529 (hildon_pannable_area_jump_to),
4530 (hildon_pannable_area_scroll_to_child),
4531 (hildon_pannable_area_jump_to_child):
4532 * src/hildon-pannable-area.h: Added the new API functions:
4533 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4534 hildon_pannable_area_scroll_to_child,
4535 hildon_pannable_area_jump_to_child
4538 * examples/Makefile.am
4539 * examples/hildon-pannable-area-example-2.c
4540 * examples/hildon-pannable-area-example-3.c: Added these two new
4541 examples in order to test and show how the new APIs work.
4543 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4545 * examples/hildon-stackable-window-example.c (new_window):
4546 * src/Makefile.am (noinst_HEADERS):
4547 * src/hildon-program.c (hildon_program_go_to_root_window):
4548 * src/hildon-program.h:
4549 * src/hildon-stackable-window-private.h:
4550 * src/hildon-stackable-window.c:
4551 * src/hildon-stackable-window.h:
4552 Create hildon-stackable-window-private.h
4553 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4555 * examples/hildon-app-menu-example.c (create_menu):
4556 * examples/hildon-hvolumebar-insensitive-example.c (main):
4557 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4558 * examples/hildon-toolbar-seekbar-example.c (main):
4559 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4560 * src/hildon-banner.c (hildon_banner_set_property):
4561 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4562 Fix compilation warnings
4564 * src/hildon-window.c:
4567 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4569 * src/hildon-stackable-window.c
4570 (hildon_stackable_window_unset_program):
4571 Calculate correctly whether to show the previous window if the
4572 last one is removed from the stack.
4573 (hildon_stackable_window_go_to_root_window):
4574 Send delete events starting from the topmost window.
4575 Stop if one of the windows is not destroyed.
4577 (hildon_stackable_window_delete_event)
4578 (hildon_stackable_window_class_init):
4579 Ignore the delete event if the window is not the topmost one.
4581 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4583 * src/hildon-pannable-area.c
4584 (hildon_pannable_area_expose_event): Fixed a problem when
4585 selecting the background color of the scrollbars.
4587 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4589 * examples/hildon-stackable-window-example.c
4590 * src/hildon-stackable-window.c
4591 * src/hildon-stackable-window.h
4592 hildon_stackable_window_go_home() renamed to
4593 hildon_stackable_window_go_to_root_window()
4594 Send delete events to windows rather than closing them with
4595 gtk_widget_destroy()
4597 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4599 * src/hildon-pannable-area.c
4600 (hildon_pannable_area_button_release_cb): Fix overshooting in
4603 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4605 * src/hildon-pannable-area.c
4606 (hildon_pannable_area_init): Initially show the scroll indicators.
4607 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4609 Add initial effect showing the widget is pannable.
4611 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4613 * src/hildon-pannable-area.c
4614 (hildon_pannable_area_class_init)
4615 (hildon_pannable_area_set_property)
4616 (hildon_pannable_area_get_property)
4617 (hildon_pannable_area_button_press_cb):
4618 New 'velocity_fast_factor' property to decide which velocity is
4621 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-pannable-area.c
4624 (hildon_pannable_draw_hscroll)
4625 (hildon_pannable_draw_vscroll):
4626 Use float variables to calculate the size of the scrollbars to
4627 avoid error propagation and resizing during scrolling.
4629 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-pannable-area.c
4632 (hildon_pannable_draw_vscroll)
4633 (hildon_pannable_draw_hscroll):
4634 Define a minimum size for the scroll bars
4636 * src/hildon-stackable-window.c
4637 (hildon_stackable_window_go_home): Fix compilation warning
4638 (get_last_window): Minor optimizations
4639 (hildon_stackable_window_class_init): Fix initialization of
4642 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-stackable-window.c: Fixed typos in doc
4646 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4648 * src/hildon-pannable-area.c
4649 (hildon_pannable_area_scroll):
4650 Calculate here whether we need to scroll instead of using the booleans
4651 that tell us whether to /draw/ the scrolling bars.
4653 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4655 * src/hildon-app-menu.h
4657 * src/hildon-app-menu.c
4658 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4659 multiple filter groups related code and API. Now we support only
4661 * examples/hildon-app-menu-example.c:
4663 Update to reflect API changes.
4665 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4667 * src/hildon-stackable-window.c
4668 (hildon_stackable_window_class_init):
4669 Add hildon_stackable_window_realize.
4670 (hildon_stackable_window_realize):
4671 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4672 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4673 to apply theming and behavior specific to HildonStackableWindow
4676 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-note.c (hildon_note_button_release):
4679 Close information notes also when tapping on them
4681 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4683 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4684 ELASTICITY, refactor and review, fix some issues with drawing
4687 * src/hildon-pannable-area.c:
4688 (hildon_pannable_area_button_press_cb): removed the conditions to
4689 avoid clicks when overshooting. It is not required
4691 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4692 define. Refatored and reviewed the code, now we do not need to
4693 manage velocity in motion_notify.
4695 (hildon_pannable_area_motion_notify_cb): We have moved the code
4696 that controls the area_scroll to the axis_scroll function and get
4697 rid of duplicated code.
4699 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4701 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4703 (hildon_pannable_draw_vscroll),
4704 (hildon_pannable_draw_hscroll): Fixed the problems with the
4705 scrollbar drawing, now we do not use two surfaces, it is easier
4706 and saves resources.
4708 (hildon_pannable_area_get_property): Style modification.
4710 (hildon_pannable_area_class_init): Changed some default values.
4712 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4714 * src/hildon-stackable-window.c: Fix some typos in the
4717 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-dialog.c:
4720 Change indentation style
4723 (hildon_note_button_release):
4724 Use root coordinates to check if the release event happened
4727 * src/hildon-app-menu.c
4728 (hildon_app_menu_button_release):
4729 Remove unnecessary check
4731 * examples/hildon-app-menu-example.c
4733 Add cast to fix warning
4735 * src/hildon-app-menu.c
4736 (hildon_app_menu_class_init):
4737 New inner-border style property.
4738 Set all default spacings to 16
4739 (hildon_app_menu_init):
4740 Use vertical-spacing to set the space between filter buttons and
4741 regular menu buttons.
4742 Set the default container border using the inner-border value.
4744 * examples/hildon-app-menu-example.c
4746 Don't set the menu border explicitly, now we have the inner-border
4747 style property for that.
4749 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4751 * src/hildon-app-menu.c (hildon_app_menu_init):
4752 Make the window modal
4754 * src/hildon-note.c (hildon_note_map)
4755 * src/hildon-app-menu.c (hildon_app_menu_map):
4756 Destroy the grab window if we're unable to grab the pointer
4758 * src/hildon-app-menu-private.h
4759 * src/hildon-app-menu.c
4760 (hildon_app_menu_init, hildon_app_menu_finalize)
4761 (hildon_app_menu_map, hildon_app_menu_unmap)
4762 (hildon_app_menu_button_release)
4763 (grab_transfer_window_get):
4764 Bring back the grab window
4765 (hildon_app_menu_realize):
4766 Decorate the window, set WM hint for Matchbox
4768 * src/hildon-note.c (hildon_note_realize):
4769 * src/hildon-banner.c (hildon_banner_realize):
4770 Add WM hints for Matchbox
4772 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-app-menu-private.h
4775 * src/hildon-app-menu.c
4776 (hildon_app_menu_init, hildon_app_menu_finalize)
4777 (hildon_app_menu_map, hildon_app_menu_unmap)
4778 (hildon_app_menu_button_release):
4779 Remove the grab window, it's not needed anymore
4781 * src/hildon-program.c
4782 Fixed typo in documentation
4784 * src/hildon-app-menu.h
4785 * src/hildon-app-menu.c
4786 * examples/hildon-app-menu-example.c
4787 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4789 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4792 Added new transfer_window and close_if_pressed_outside private
4794 (hildon_note_rebuild):
4795 Don't add a cancel button to the information note. It will be
4796 closed when tapping outside
4797 Remove the comment about the OK button in the documentation
4798 (hildon_note_realize):
4799 Set the notification type hint
4800 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4801 Grab/ungrab pointer and keyboard if the note has to be closed when
4803 (hildon_note_button_release):
4804 Close the note when tapping outside (if applicable)
4806 * src/hildon-app-menu.c
4807 Grab/ungrab pointer and keyboard on map/unmap
4808 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4809 Close the menu on button release, not button press
4811 * src/hildon-banner.c
4812 (hildon_banner_set_property)
4813 (hildon_banner_check_position):
4814 Make the banner use the full width of the screen
4815 (hildon_banner_show_information)
4816 (hildon_banner_show_information_with_markup):
4817 Don't display an icon by default
4819 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4821 Added fading scrollbars and adapted all the overshooting code to
4822 horizontal scrolling. We have also fixed bugs with overshooting
4823 and current fading implementation.
4825 * src/hildon-pannable-area.c
4826 (hildon_pannable_area_scroll_indicator_fade): Time out function
4827 used to change the transparency of the scrollbars.
4829 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4830 control and fixed a problem with fading, we now remove the fade
4831 timeout before adding a new one.
4833 (hildon_pannable_axis_scroll):
4834 (hildon_pannable_area_scroll):
4835 (hildon_pannable_area_timeout): Added this functions so we can use
4836 the scroll code both for vertical and horizontal.
4838 (hildon_pannable_area_motion_notify_cb):
4839 (hildon_pannable_area_button_release_cb): Added the horizontal
4840 scrolling control, fixed a problem with the overshooting timeout.
4842 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4843 painting of the scrolls.
4845 (hildon_pannable_draw_vscroll):
4846 (hildon_pannable_draw_hscroll):
4847 (hildon_pannable_area_expose_event):
4848 Draw both scrollbars and rectangles in the overshooting area.
4850 (hildon_pannable_area_get_property):
4851 (hildon_pannable_area_set_property):
4852 Modified the overshoot property to overshoot_max
4854 (hildon_pannable_area_map):
4855 Replaced the comments symbols.
4857 (hildon_pannable_area_size_allocate):
4858 (hildon_pannable_area_class_init):
4859 (hildon_pannable_area_init): Added horizontal scroll, fading
4860 effect properties, fixed a problem when overshooting in the bottom
4863 * examples/hildon-pannable-area-example.c:
4864 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4865 looks better in the example.
4867 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-window.c
4870 * src/hildon-window.h
4871 (hildon_window_class_init)
4872 (hildon_window_unset_program)
4873 (hildon_window_unset_program_real):
4874 Make unset_program a virtual function
4876 * src/hildon-stackable-window.c
4877 * src/hildon-stackable-window.h
4878 Added hildon_stackable_window_go_home()
4880 * examples/Makefile.am
4881 * examples/hildon-stackable-window-example.c
4882 HildonStackableWindow example
4884 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4886 * hildon-pannable-area.c: Added the overshoot property and removed
4887 the OVERSHOOT define. Fixed an indent style error.
4888 (hildon_pannable_area_motion_notify_cb):
4889 (hildon_pannable_area_get_property):
4890 (hildon_pannable_area_set_property): Add overshoot property.
4892 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4895 (hildon_pannable_area_class_init): Installed the new property.
4897 * hildon-pannable-area-example.c: Added a sawtooth function, this
4898 way it is easier to check the movement in the pannable.
4899 (get_sawtooth_label): Added this function.
4900 (main): Now we get the labels from the new get_sawtooth_label
4903 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-app-menu.h
4906 * src/hildon-app-menu.c
4907 Renamed API variables for consistency
4909 (hildon_app_menu_popup): Use also the default window size to
4910 decide where to place the menu
4912 (hildon_app_menu_init, hildon_app_menu_class_init): New
4913 external-border style property
4915 2008-05-26 Michael Natterer <mitch@imendio.com>
4917 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4918 widget_class->tap_and_hold_setup signal slot doesn't exist any
4919 longer, stop overriding it.
4921 (hildon_time_editor_init): g_signal_connect() to the
4922 tap-and-hold-setup signal instead.
4924 (hildon_time_editor_entry_keypress): add cast to fix warning.
4926 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4928 * doc/hildon-docs.sgml
4930 * examples/Makefile.am
4931 * examples/hildon-app-menu-example.c
4933 * src/hildon-app-menu-private.h
4934 * src/hildon-app-menu.c
4935 * src/hildon-app-menu.h
4937 New HildonAppMenu widget
4939 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4941 Rearranged the inheritance of the pannable area, now it inherits
4942 from GtkBin. This will allow us to control the event_window and
4943 the allocation process of the widget, required for some effects.
4945 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4946 GtkBin structures. * src/hildon-pannable-area.c: Added the
4947 event_window variable.
4948 (hildon_pannable_area_button_press_cb):
4949 (hildon_pannable_area_button_release_cb):
4950 (hildon_pannable_area_motion_notify_cb):
4951 Changed the signature of the method, now we override the event
4952 callback instead of connecting to the signal.
4954 (hildon_pannable_area_realize):
4955 (hildon_pannable_area_unrealize):
4956 (hildon_pannable_area_map):
4957 (hildon_pannable_area_unmap):
4958 (hildon_pannable_area_size_allocate):
4959 Added functions to control the widget construction. We add a
4960 INPUT_ONLY window and we put it over the widgets inside the
4961 container, this event_window handles the events.
4963 (hildon_pannable_area_class_init):
4964 Replaced the signal connections with overrides of the event
4967 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4969 Bouncing effect added when touching the borders, you can change
4970 the elasticity of the border changing the ELASTICITY define.
4972 * src/hildon-pannable-area.c: Added ELASTICITY define.
4973 (hildon_pannable_area_timeout): Added inverse velocity when
4974 touching the border of the child widget, that causes a bounce.
4976 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4978 Improved performance, we now do not go to the X server in order to
4979 get the list of window children. Apparently the effect is the
4980 same, we have to be careful and check if this breaks something in
4983 * src/hildon-pannable-area.c:
4984 (get_ordered_children): Removed this function.
4985 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4986 the children windows function with gdk_window_get_children.
4988 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4990 * src/hildon-pannable-area.c:
4991 (hildon_pannable_area_dispose): Fixed a crash when closing the
4992 window and kinetics is activated.
4994 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-pannable-area.h
4997 * src/hildon-pannable-area.c
4998 Changed indentation style to meet the one used in Hildon
5000 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5002 Reviewed the interaction of the AUTO mode, now we use the time
5003 attribute of the events and calculate the velocity in the motion,
5004 doing a gimp like calculation. The velocity is calculated in each
5005 motion event using the last velocity and the current one, the
5006 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5008 * src/hildon-pannable-area.c: Replaced the time based algorithm
5010 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5011 timeout for the AUTO mode when we are still moving the cursor. We
5012 added also the velocity calculation in this function.
5013 (hildon_pannable_area_button_release_cb): launch the timeout in
5014 case we are in AUTO mode. There are still some constants here that
5015 come from the old implementation that should be reviewed and
5018 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5020 * doc/hildon-docs.sgml
5023 * src/hildon-stackable-window.c
5024 * src/hildon-stackable-window.h
5026 New HildonStackableWindow widget
5028 * examples/hildon-dialog-example.c
5029 * examples/hildon-pannable-area-example.c
5032 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-dialog.c
5035 (hildon_dialog_new_with_buttons): New constructor.
5037 * examples/hildon-dialog-example.c
5038 (main): Update the example to use the new
5039 hildon_dialog_new_with_buttons().
5041 * examples/hildon-pannable-area-example.c
5042 (main): Update example.
5044 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5046 * doc/hildon-docs.sgml
5048 Added HildonPannableArea to the documentation.
5050 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5052 * doc/visual_index.xml
5053 Fix reference to HildonLoginDialog in documentation
5055 * doc/hildon-docs.sgml
5057 * examples/Makefile.am
5058 * examples/hildon-dialog-example.c
5060 * src/hildon-dialog.c
5061 * src/hildon-dialog.h
5063 New HildonDialog widget.
5065 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5067 * src/hildon-pannable-area.c
5068 Merge latest changes (r4318, r4342) from libmokoui trunk
5070 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5072 * examples/Makefile.am
5073 * examples/hildon-pannable-area-example.c
5075 * src/hildon-pannable-area.c
5076 * src/hildon-pannable-area.h
5078 New HildonPannableArea widget.
5080 2008-04-15 18:05:19 <timj@imendio.com>
5082 * src/hildon-banner.c: revert the recent change, that introduced
5083 gtk_window_present() calls. this reopens:
5084 Bug 78481 - [freetest] information banners are hidden under browser menu
5085 But resolves another variant of:
5086 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5088 2008-04-15 13:21:13 <timj@imendio.com>
5090 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5091 recreated its layout, spotted by Kris. this fixes all remaining
5092 artefacts and stability issues with the banner code. in particular:
5093 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5095 2008-04-14 16:52:59 <timj@imendio.com>
5097 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5098 operating on unrealized widgets, fixes:
5099 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5101 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5103 2008-04-09 Kristian Rietveld <kris@imendio.com>
5105 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5106 makes banner disappear.
5107 Fixes: NB#79182: info banner flickering with certain message lengts.
5109 * src/hildon-banner.c (hildon_banner_constructor),
5110 (hildon_banner_init), (hildon_banner_set_text),
5111 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5112 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5113 FALSE, reset size requests of label and banner,
5114 (force_to_wrap_truncated): when the text is too wide, always enforce
5115 the maximum possible width instead of recalculating it from the
5116 layout; enforce the maximum banner height of 3 lines,
5117 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5118 nicer wrapping and no truncated chars if space gets tight.
5120 * src/hildon-banner-private.h: add has_been_wrapped and
5121 has_been_truncated fields.
5123 2008-04-07 Sven Herzberg <sven@imendio.com>
5125 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5126 local values in hildon_date_editor_size_allocate
5128 * src/hildon-date-editor.c: moved the real allocation code into the
5131 2008-04-07 Sven Herzberg <sven@imendio.com>
5133 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5134 local values in hildon_date_editor_size_allocate
5136 * src/hildon-date-editor.c: merged the two if() branches together
5138 2008-04-07 Sven Herzberg <sven@imendio.com>
5140 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5141 local values in hildon_date_editor_size_allocate
5143 * src/hildon-date-editor.c: changed the arguments of the if()
5146 2008-04-07 Sven Herzberg <sven@imendio.com>
5148 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5149 local values in hildon_date_editor_size_allocate
5151 * src/hildon-date-editor.c: split the calculation of the allocation
5152 from the real allocation
5154 2008-03-27 Michael Natterer <mitch@imendio.com>
5156 Fixes: NB#81696: The passcode is not overwritten even after
5159 * src/hildon-code-dialog.c
5160 (hildon_code_dialog_button_clicked)
5161 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5162 because that doesn't overwrite selected text. Instead, emit the
5163 "commit" signal on the entry's im_context so the entry's normal
5164 insert logic is triggered. Set the cursor to the end of the entry
5165 after each insert operation so that we *only* insert in the middle
5166 of the text if something was selected.
5168 2008-03-27 Michael Natterer <mitch@imendio.com>
5170 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5171 selector cannot be opened
5173 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5174 when the popup color selector is created. Please connect to this
5175 signal in order to set the dialog's help ID.
5177 2008-03-25 Sven Herzberg <sven@imendio.com>
5179 Fixes: MB#1212: Hide info banners (infoprints) on click
5181 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5182 extracted the close event simulation into an extra function
5183 (hildon_banner_button_press_event): simulate a close event and destroy
5184 the widget if the event wasn't handled
5185 (hildon_banner_class_init): added the button_press_event handler
5186 (hildon_banner_init): added button-press events to the widget
5188 2008-03-25 Sven Herzberg <sven@imendio.com>
5190 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5191 Patch from: Mohammad Anwari <mdamt@maemo.org>
5193 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5194 instead of the right in RTL mode
5195 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5196 breadcrumb button list in RTL mode
5197 * src/hildon-caption.c: mirror the appearance of the caption widget in
5199 * src/hildon-date-editor.c: mirror appearance of the date editor in
5201 * src/hildon-time-editor.c: mirror appearance of the time editor in
5203 * src/hildon-window.c: fix the position of the popup in RTL mode
5205 2008-03-25 Sven Herzberg <sven@imendio.com>
5207 Amendment to the fix of NB#22072. Fix compilation.
5209 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5211 2008-03-19 Sven Herzberg <sven@imendio.com>
5213 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5216 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5217 timeout id properly when the timeout will disappear this leaves no
5218 artifacts around in the destroy(); there will only be the timeout
5219 created by hildon_banner_ensure_timeout() and adding a new timeout
5220 will also work if the timeout gets removed because the timeout_handler
5223 2008-03-19 Michael Natterer <mitch@imendio.com>
5225 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5227 * src/hildon-volumebar.c
5228 * src/hildon-vvolumebar.c
5229 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5230 the widget becomes focussable at all.
5232 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5233 set the focus to wither the mute button or the volumebar.
5235 Remove own "can-focus" property and instead listen to
5236 notify::can-focus in order to update the widget's state.
5238 Implement GtkWidget::focus() and make sure we can also *leave* the
5239 widget, not only enter it, depending on volumebar orientation and
5240 requested focus direction.
5242 Clean up set_mute() to cooperate nicely with all the above.
5244 2008-03-04 Michael Natterer <mitch@imendio.com>
5246 Fixes: NB#78481: information banners are hidden under browser menu
5248 * src/hildon-banner.c: call gtk_window_present() on the banners so
5249 they are risen if they are already visible.
5251 2008-03-03 Sven Herzberg <sven@imendio.com>
5253 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5255 * examples/hildon-window-menu-example.c: (main): extended the window
5256 menu example to serve as a testcase for automatically added
5257 accelerator groups, too
5258 * src/hildon-window.c: (hildon_window_add_accel_group),
5259 (hildon_window_set_menu): added patch by Tommi Komulainen
5261 2008-03-03 Sven Herzberg <sven@imendio.com>
5263 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5265 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5266 knowledge about the border allocators used within GTK+
5268 2008-02-26 Sven Herzberg <sven@imendio.com>
5270 Fixes: MB#2981: Build with asserts broken
5272 * src/hildon-date-editor.c,
5273 * src/hildon-number-editor.c,
5274 * src/hildon-time-editor.c,
5275 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5276 the proper GType instance check
5278 2008-02-25 Sven Herzberg <sven@imendio.com>
5280 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5282 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5283 * examples/hildon-window-menu-example.c: (main): explicitly show
5285 * src/hildon-window.c:
5286 (hildon_window_set_main_menu): moved most of the code from set_menu()
5287 to this place; skipped the call to gtk_widget_show_all(); also didn't
5288 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5289 (hildon_window_set_menu): removed most of the code, just keep the
5290 questionable gtk_widget_show_all()
5291 * src/hildon-window.h: added the new function and deprecate the old
5294 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5300 * debian/changelog: Updating.
5302 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5305 * pkgconfig/Makefile.am:
5306 * pkgconfig/hildon.pc.in:
5309 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5310 use newly created API_MAJOR_VERSION.
5312 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5318 * debian/changelog: Updating.
5320 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5322 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5324 Add outer_border style property, we use it but don't define it (!).
5328 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5330 * examples/hildon-bread-crumb-trail-example.c (main):
5334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5336 Fix logic for the bread crumb trail node removal.
5340 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5346 * debian/changelog: Updating.
5348 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5350 Patch by Alejandro to get/set passwords dialogs accesibility.
5352 * hildon-1/src/hildon-get-password-dialog.c:
5353 * hildon-1/src/hildon-set-password-dialog.c:
5354 Set atk_set_name to the passwd entries in order to allow
5355 accessibility by name on this entries.
5357 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5362 * debian/control: Updating gtk dep.
5364 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5366 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5367 USE_MAEMO_GTK is enabled.
5369 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5371 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5372 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5374 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5380 * debian/changelog: Updating.
5382 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5384 * examples/Makefile.am:
5385 * examples/hildon-logical-color-example.c:
5386 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5387 applied + adding a test case. Fixes: NB#71660.
5389 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5391 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5392 to be visible, fixes warning on map for windows without toolbars.
5394 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5396 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5397 2.11.0, add a check for that besides the MAEMO_GTK check.
5399 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5405 * debian/changelog: Updating.
5407 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5409 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5410 visibility. Fixes: NB#70842 and MB#615.
5412 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5414 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5415 set the separator as no-show-all so it doesn't unintentionally appear when
5416 someone does a show_all.
5418 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5420 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5421 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5422 toplevel item. Fixes: NB#62031
5424 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5426 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5427 fix the name of the function in the docs.
5429 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5435 * debian/changelog: Updating.
5437 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5439 * examples/hildon-banner-long-example.c: Adding a test-case for long
5442 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5444 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5446 * src/hildon-color-chooser-dialog.c:
5447 * src/hildon-color-chooser.c:
5448 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5449 memory leaks in font selector and color selector. Fixes: NB#70499 and
5452 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5454 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5456 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5458 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5459 little bit bigger. Fixes: #NB63694.
5461 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5467 * debian/changelog: Updating.
5469 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5472 * doc/hildon-docs.sgml:
5473 * doc/images/bread-crumb-trail.png:
5474 * doc/images/calendar-popup.png:
5475 * doc/images/caption.png:
5476 * doc/images/code-dialog.png:
5477 * doc/images/color-button.png:
5478 * doc/images/color-chooser-dialog.png:
5479 * doc/images/color-chooser.png:
5480 * doc/images/controlbar.png:
5481 * doc/images/date-editor.png:
5482 * doc/images/font-selection-dialog.png:
5483 * doc/images/get-password-dialog.png:
5484 * doc/images/hvolumebar.png:
5485 * doc/images/login-dialog.png:
5486 * doc/images/note.png:
5487 * doc/images/number-editor.png:
5488 * doc/images/range-editor.png:
5489 * doc/images/seekbar.png:
5490 * doc/images/set-password-dialog.png:
5491 * doc/images/sort-dialog.png:
5492 * doc/images/time-editor.png:
5493 * doc/images/time-picker.png:
5494 * doc/images/vvolumebar.png:
5495 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5496 Adding the bread-crumb-trial and helpers to the documentation.
5498 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5500 * examples/hildon-find-toolbar-example.c:
5501 * src/hildon-find-toolbar.c:
5502 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5503 actually continue firing the other handlers if connected. Adding a new
5505 hildon_find_toolbar_get_last_index that gets the index of the most
5506 recently added (last) item. Fixes: NB#52301.
5508 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5510 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5511 behaviour. Fixes: NB#68610.
5513 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5515 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5518 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5520 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5521 when realizing the banner. Should make the infonbanner effect a bit more
5524 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5526 * src/hildon-volumebar.c:
5527 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5528 hildon_volumebar_set_range_insensitive_message and
5529 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5531 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5533 * src/hildon-window.c: Fixing the border freeing on destroy.
5535 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5537 * src/hildon-code-dialog-private.h:
5538 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5539 kw keyboard support in HildonCodeDialog.
5541 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5547 * debian/changelog: Updating.
5549 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5551 * src/hildon-date-editor.c:
5552 * src/hildon-number-editor.c:
5553 * src/hildon-private.c:
5554 * src/hildon-private.h:
5555 * src/hildon-time-editor.c:
5556 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5557 handling in subclassed composite widgets. Fixes: NB#66628.
5559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5561 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5562 from destroy_ callback as it introduces problems in async dbus signal
5563 handlers. Fixes NB#66673.
5565 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5567 * examples/hildon-hvolumebar-example.c:
5568 * src/hildon-volumebar.c: Improving the focus handling in the
5569 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5570 set_property accessor so that "mute" property can be actually set. I'm
5571 scared that nobody noticed it's totally broken.
5573 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5575 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5578 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5580 * src/hildon-calendar.c:
5581 * src/hildon-number-editor.c:
5582 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5583 matches the spec of 6 chars per second. Fixes: NB#60489.
5585 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5587 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5588 gtk_style_lookup_color sometime returns FALSE even though color was
5589 found and values were filled properly. Weird. Removing the warning for the
5592 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5594 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5595 expand vertically. Adding some extra space to the find toolbar buttons to
5596 make them thumbable. Fixes NB#66060.
5598 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5600 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5601 popup with "Ok" and "Cancel". Fixes NB#59299.
5603 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5605 * src/hildon-calendar.c: Process all window updates before executing next
5606 timeout. Fixes: NB#54146.
5608 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5614 * debian/changelog: Updating.
5616 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5618 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5619 the client event and ignore it, since we use the delete event to close
5622 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5624 * src/hildon-helper.c: Remove the bogus warning about color not being
5625 found. Fixes NB#58352.
5627 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5629 * examples/Makefile.am:
5630 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5631 HildonSeekbar widget inside a toolbar.
5633 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5635 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5636 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5637 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5638 don't want to be closed by non-temporary windows on map.
5640 Also use G_DEFINE_TYPE instead of manually typed code.
5642 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5649 * debian/rules: Updating.
5651 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5653 * examples/Makefile.am:
5654 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5655 bug NB#61128. Strangely it works.
5657 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5659 * src/hildon-date-editor.c: When the date editor entry has been changed
5660 but the numbers of characters < max, turn off the skip validation flag.
5661 Prevents a situation when we enter first a valid year and later re-write
5662 it with an invalid one. Fixes NB#60154.
5664 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5666 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5667 code dialog. Fixes NB#64355.
5669 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5671 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5672 switching the page. Fixes NB#49374.
5674 * examples/Makefile.am:
5675 * examples/hildon-wizard-dialog-example.c: Adding an example for
5676 HildonWizardDialog that shows how to handle manual sensitivity setting on
5679 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5683 * src/hildon-version.h.in:
5684 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5686 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5688 * src/hildon-volumebar.c: Updating the docs.
5690 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * debian/changelog: Updating.
5698 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5700 * src/hildon-find-toolbar.c:
5701 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5702 selected item: hildon_find_toolbar_set_active,
5703 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5704 hildon_find_toolbar_get_active_iter . They correspond to respective
5705 GtkComboBox functions.
5707 * examples/Makefile.am:
5708 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5711 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5713 * examples/Makefile.am:
5714 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5717 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5718 when font size > 32 and we pack a focusable widget inside. Actually using
5719 the default response would work too, but since we don't show default
5720 response state in any way (no theming) it would not be visible to the
5721 user. Fixes NB#63430.
5723 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5725 * src/hildon-date-editor.c: Adding the missing variable setter in the
5726 set_property handler. Fixes NB#54182.
5728 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5730 * src/hildon-window.h: Changing the long key press time from 1500ms to
5731 800ms as requested in NB#63700. I have a bad feeling about this, let's
5732 see... Fixes NB#63700.
5734 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5736 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5737 hildon_time_picker_map, hildon_time_picker_realize,
5738 hildon_time_picker_style_set): Split the contents of map to more
5739 appropriate functions; set window decorations on realize and update
5740 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5742 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5747 * debian/changelog: Updating.
5749 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5751 * src/Makefile.am: fixed installation of the header files
5753 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5759 * debian/changelog: Updating.
5761 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5763 * configure.ac: Removing some remaining of --enable-xan.
5765 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5767 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5768 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5770 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5771 2.10.12-osso6 because the move-focus signal needs to be available in
5774 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5776 * examples/Makefile.am:
5777 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5778 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5779 fine. Prolly NB#61128 is fixed now.
5781 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5783 * src/hildon-volumebar.c:
5784 * src/hildon-volumebar.h: Adding the
5785 hildon_volumebar_set_range_insensitive_message and
5786 hildon_volumebar_set_range_insensitive_messagef functions to set
5787 insensitive message on the slider of the volumebar. Fixes NB#61129.
5789 * examples/Makefile.am:
5790 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5791 test the new insensitive messsage functionality on HildonVolumebar.
5793 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5795 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5798 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5800 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5801 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5802 button on after clearing the trail.
5804 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5806 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5808 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5810 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5811 by splitting the installed headers in generated and non-generated groups. Use
5812 only the non-generated headers to create the hildon-enum-types.h file.
5814 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5816 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-window.c: Hide the window before performing the destroy.
5819 Should make the app closing a little tiny bit more snappy.
5821 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5823 * src/hildon-seekbar.c: add gtkrange.h header
5824 * src/hildon-caption.c: remove unused variable
5826 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5828 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5831 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5837 * debian/changelog: Updating.
5839 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5841 * src/hildon-window.c (hildon_window_window_state_event,
5842 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5843 escape timeout on focus-out-event rather than notify::is-topmost; the
5844 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5846 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5848 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5849 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5851 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5853 * src/hildon-window: actually, you need to use the macro always, there's
5854 no private pointer in the instance structure. We should have cleaned this up
5855 when we had the chance...
5857 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5859 * src/hildon-window.c: do not get the private date from HildonWindow before
5860 it passes the g_return_if_fail check. Once it's passed the test, there's no
5861 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5862 if you are only going to access the data once. Whitespace cleanups.
5864 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5866 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5867 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5869 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5875 * debian/changelog: Updating.
5877 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5879 * src/hildon-window.c: When destroying the window, remove (if exists) the
5880 escape timeout handler. Fixes #NB59276.
5882 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5884 * src/hildon-banner.c: When realizing the widget, set the window
5885 transiency. Setting the transiency in the gobject constructor is not
5886 good, as the widget is not realized at that point. Fixes: #NB56624.
5888 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5890 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5891 Add padding for future expansions.
5893 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5895 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5896 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5897 will fake an activation on the previous to the last item of the trail, so
5898 the effect can be overrided by the developer as usual.
5899 Also change the callback for the back button to do the same thing, so its
5900 effect can be overrided too. Fixes: NB#58982
5902 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5904 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5905 HildonCaption. Fixes NB#52379.
5907 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5909 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5910 the internal state of the trail after the user has had the chance of executing
5911 his handler for the signal. Specifically, it may happen that the activated button
5912 is removed and the user still lets the default handler run. This would segfault
5915 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5917 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5918 scrollbar to the preview dialog. Fixes NB#54147.
5920 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5922 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5923 max/min year properties can be altered, so the client can modify it
5924 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5926 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5928 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5929 hildonlike by default. Fixing a problem with disappearing arrows when
5930 scrolling through months and years. Fixes NB#54127.
5932 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5934 * examples/hildon-date-editor-example.c: Adding error callback to the date
5937 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5943 * configure.ac: Updating.
5945 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5947 * configure.ac: Adding a special '--enable-xan' configure option that
5948 turns off the -Werror compilation setting. Usefull for development.
5950 * src/hildon-calendar.c:
5951 * src/hildon-number-editor.c:
5952 * src/hildon-time-picker.c: Adding the 5* multiplier to
5955 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5957 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5958 instead of g_object_ref + gtk_object_sink.
5960 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * debian/changelog: Updating.
5968 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * src/hildon-color-chooser-dialog.c:
5971 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5972 straight from Tommi labs.
5974 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5976 * examples/hildon-finger-example.c: Correcting the header file path.
5978 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5979 the changed signal. Fixes a small memory leak.
5981 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5985 * src/hildon-banner.c: Importing several usefull fixes from the
5986 ubuntu-mobile branch.
5988 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5990 * examples/Makefile.am:
5991 * examples/hildon-finger-example.c: Adding a finger-checking code
5994 * src/hildon-font-selection-dialog.c: Do not allocate the color
5995 structure using the g_new. Fixes NB#54061.
5997 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5999 * src/hildon-helper.c: Correcting tabs in file.
6001 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6003 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6004 control the visibility of the children.
6006 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6008 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6014 * debian/changelog: Updating.
6016 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6018 * src/hildon-bread-crumb-trail.c:
6019 (hildon_bread_crumb_trail_size_allocate):
6021 Make the back button always a square.
6023 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6025 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6026 from the .c file as it's a private file.
6028 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6030 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6031 uses slightly bigger height.
6033 * src/hildon-font-selection-dialog.c: Adding some checks before
6034 freeing memory in the font selection dialog.
6036 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6038 * src/hildon-font-selection-dialog.c: Adding a small check when
6041 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6042 buttons sensitivity on page switching.
6044 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6046 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6047 internal details of adding a bread crumb to the trail.
6049 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6055 * debian/changelog: Updating.
6057 * src/hildon-bread-crumb-trail.h:
6058 * src/hildon-bread-crumb.h: Changing the API guard to
6059 HILDON_ENABLE_UNSTABLE_API.
6061 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6069 * src/hildon-helper.h: Updating.
6071 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6079 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6083 * src/hildon-helper.h: Small fix to make the package actually compile.
6085 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6087 * src/hildon-bread-crumb-trail.h:
6088 * src/hildon-bread-crumb.h:
6090 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6091 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6093 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6095 * examples/hildon-bread-crumb-trail-example.c:
6097 * src/hildon-bread-crumb-trail.c:
6098 * src/hildon-bread-crumb-trail.h:
6099 * src/hildon-bread-crumb.c:
6100 * src/hildon-bread-crumb.h:
6101 * src/hildon-marshalers.list:
6102 * src/hildon-bread-crumb-widget.c:
6103 * src/hildon-bread-crumb-widget.h:
6105 Slight change in the widget design. The bread crumb trail API is
6106 unchanged, but HildonBreadCrumb is now an interface. A *private*
6107 implementation, hildon-bread-crumb-widget, is provided and used
6108 internally by the trail for the push_text/push_icon functions.
6110 The generic push API is still available, so anyone can implement
6111 and use its own bread crumb widget.
6113 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6115 * debian/rules: Fixing the shlibs.
6117 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6119 * src/hildon-banner.c: Fixing a problem with timed banners having
6120 their parrent destroyed before they are.
6122 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6124 * src/hildon-bread-crumb.c:
6125 * src/hildon-bread-crumb.h:
6127 Make the get_natural_size function a vfunc.
6129 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6131 * src/hildon-bread-crumb.c:
6132 * src/hildon-bread-crumb-trail.c:
6136 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6143 * debian/changelog: Updating for release.
6145 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6147 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6148 don't leak the pango layout.
6150 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6153 * examples/hildon-bread-crumb-trail-example.c:
6157 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6159 * debian/changelog: Removing the bug-fixed entries that were actually
6160 resolved as WONTFIX.
6162 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6165 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6167 * src/hildon-bread-crumb-trail.c:
6168 * src/hildon-bread-crumb-trail.h:
6169 * src/hildon-bread-crumb.c:
6170 * src/hildon-bread-crumb.h:
6174 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6176 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6177 until it's passed the type check.
6179 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6181 * examples/hildon-bread-crumb-trail-example.c
6185 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6187 * examples/Makefile.am
6188 * examples/hildon-bread-crumb-trail-example.c
6190 * src/hildon-bread-crumb-trail.c
6191 * src/hildon-bread-crumb-trail.h
6192 * src/hildon-bread-crumb.c
6193 * src/hildon-bread-crumb.h
6195 New HildonBreadCrumbTrail widget.
6197 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6199 * src/hildon-range-editor.c (hildon_range_editor_init),
6200 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6201 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6202 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6203 hildon_time_editor_class_init, hildon_time_editor_init),
6204 src/hildon-get-password-dialog.c (invalid_input,
6205 hildon_get_password_set_property, hildon_get_password_get_property,
6206 create_contents, hildon_get_password_dialog_set_max_characters),
6207 src/hildon-set-password-dialog.c (create_contents),
6208 src/hildon-date-editor.c (hildon_date_editor_init),
6209 src/hildon-login-dialog.c (hildon_login_dialog_init),
6210 src/hildon-number-editor.c (hildon_number_editor_init),
6211 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6212 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6213 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6214 configure option and adding the respective checks in the code.
6215 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6216 hildon_calendar_drag_data_received): fixed some build warnings.
6218 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * debian/changelog: A 1.0.0 release notes.