1 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
3 * examples/hildon-pannable-area-touch-list-example.c
4 * examples/hildon-pannagle-area-touch-grid-example.c
5 * examples/hildon-edit-toolbar-example.c
6 * examples/hildon-touch-selector-multi-cells-example.c
7 Removed the call to gtk_rc_parse_string, as it is not required since
10 2009-03-17 Alejandro G. Castro <alex@igalia.com>
12 * src/hildon-pannable-area.c,
13 (hildon_pannable_area_class_init): Modified the default panning
14 threshold of the widget to 6px.
16 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
17 than the threshold value ) within the button is not sending the
20 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
22 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
23 for the treeview in the new column. This way, the touch list will never
26 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
27 be selected manually for the HW keys to work)
29 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
31 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
32 comparison instead of using strcmp(). Fixes a compiler warning as well.
34 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
36 * doc/hildon-docs.sgml: Do not set the library version in the
37 document title, use the releaseinfo tag for that purpose instead.
39 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
41 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
42 Do not jump to the first item if the text in the entry is removed.
44 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: Bump version.
50 * debian/changelog: Updates.
52 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
54 * src/hildon-entry.c (hildon_entry_refresh_contents):
55 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
56 Use "ReversedSecondaryTextColor" for the placeholder text.
58 2009-03-12 Alberto Garcia <agarcia@igalia.com>
60 * src/hildon-text-view.c: Fix compilation warning.
62 2009-03-12 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-button.c (hildon_button_class_init): Don't make
65 "title" and "value" construction properties, to prevent them from
66 overwriting labels set from derived classes.
68 * src/hildon-picker-button.c
69 (hildon_picker_button_set_selector): Allow setting a NULL selector.
70 (hildon_picker_button_class_init): Make touch-selector a
71 construction property.
73 * src/hildon-date-button.c (hildon_date_button_class_init)
74 (+hildon_date_button_constructed): Add a default date selector if
77 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
79 * src/hildon-touch-selector.c: Small documentation fixes.
81 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
83 Based on a patch by Daniel Borgmann (danielb@openismus.com)
85 * src/hildon-entry.c (hildon_entry_refresh_contents),
86 (hildon_entry_get_text), (hildon_entry_init): Do not use the
87 widget name, set the logical color directly instead and a boolean
88 showing_placeholder instead.
89 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
90 use the widget name here either.
92 Fixes: NB#105678 (HildonTextView should use logical colours
93 instead of setting widget name)
95 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
97 Patch by Daniel Elster (danielk@openismus.com)
99 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
100 Add user_data parameter.
101 (hildon_touch_selector_set_print_func_full): New function akin
102 hildon_touch_selector_set_print_func() but with support for user
103 data and a destroy callback.
104 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
105 to clean up the print function user data.
106 (hildon_touch_selector_class_init): Install dispose function.
107 (HildonTouchSelectorPrivate::print_user_data),
108 (HildonTouchSelectorPrivate::print_destroy_func): New private
110 (hildon_touch_selector_init): Initialize new private members.
111 (hildon_touch_selector_get_current_text): Pass along user data
112 to the print function.
113 (_default_print_func): Add dummy user_data to parameter list.
114 * hildon-date-selector.c (_custom_print_func): ditto,
115 * hildon-time-selector.c (_custom_print_func): ditto,
116 * hildon-touch-selector-entry.c
117 (hildon_touch_selector_entry_print_func): ditto.
119 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
121 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
123 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
125 2009-03-12 Alejandro G. Castro <alex@igalia.com>
127 * src/hildon-pannable-area.c,
128 (hildon_pannable_area_init),
129 (hildon_pannable_area_button_press_cb),
130 (hildon_pannable_area_motion_notify_cb): We have added code to
131 handle the leave and enter events when using the motion events.
133 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
135 2009-03-11 Alberto Garcia <agarcia@igalia.com>
137 * src/hildon-date-button.c (hildon_date_button_get_date)
138 (hildon_date_button_set_date): Make sure that the button has a
141 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
143 2009-03-11 Alejandro G. Castro <alex@igalia.com>
145 * src/hildon-pannable-area.c,
146 (hildon_pannable_area_class_init),
147 (hildon_pannable_area_calculate_velocity): Modify the use of the
148 force and adapt the value.
150 2009-03-10 Alberto Garcia <agarcia@igalia.com>
152 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
153 (hildon_app_menu_class_init): Hide the menu if it receives a
154 delete-event, but don't destroy it
156 Fixes: NB#104485 (Not able to address the call when application
157 menu is opened at background)
159 2009-03-10 Alberto Garcia <agarcia@igalia.com>
161 * src/hildon-app-menu.c
162 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
163 Remove the "external-border" style property, let the menu take its
164 natural size (or the one set by the window manager)
165 (hildon_app_menu_repack_items):
166 Don't reshow the menu, avoid flickers.
168 Partially fixes NB#94957 (Smoothly opened application menu)
170 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
175 * configure.ac: Bump version.
176 * debian/changelog: Updates.
178 2009-03-10 Alejandro G. Castro <alex@igalia.com>
180 * src/hildon-pannable-area.c,
181 (hildon_pannable_area_motion_notify_cb): We control that the
182 direction error margin is used just in case the movement is
183 allowed in the other direction.
185 Fixes: NB#105012 (buttons inside a pannable area not getting
186 release event when dragging/releasing)
188 2009-03-10 Alejandro G. Castro <alex@igalia.com>
190 * src/hildon-pannable-area.c,
191 (hildon_pannable_area_class_init),
192 (hildon_pannable_area_get_property),
193 (hildon_pannable_area_set_property),
194 (hildon_pannable_area_initial_effect),
195 (hildon_pannable_axis_scroll),
196 (hildon_pannable_area_button_release_cb): Reviewed the
197 overshooting effect, now it has its own max
198 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
201 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: Bump version.
207 * debian/changelog: Updates.
209 2009-03-09 Alejandro G. Castro <alex@igalia.com>
211 * src/hildon-pannable-area.c,
212 (hildon_pannable_area_class_init): Changed the max speed, now
213 users can launch the widget very fast. Reduced the default force,
214 that way it is easier to control the launch speed.
216 2009-03-09 Alejandro G. Castro <alex@igalia.com>
218 * src/hildon-pannable-area.c,
219 (hildon_pannable_area_button_release_cb): Removed this check
220 because it causes problems when the device is overloaded.
222 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
224 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
225 add a current_text field to store the text entered in the
226 touch selector entry.
227 (_clean_current_selection): clean up the current text as well.
228 (_save_current_selection), (_restore_current_selection):
229 Save/restore the text in the entry if the selector is a
230 HildonTouchSelectorEntry.
232 Fixes: NB#102541 (value entered in the touch selector entry is not
233 shown when opened for second time)
235 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
237 * doc/hildon-sections.txt:
238 * src/hildon-touch-selector-entry.c
239 (+hildon_touch_selector_entry_get_entry):
240 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
242 Fixes: NB#104815 (I need accessor to the entry inside
243 HildonTouchSelectorEntry)
245 2009-03-06 Alberto Garcia <agarcia@igalia.com>
247 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
248 (hildon_app_menu_class_init):
249 New "filter-vertical-spacing" style property.
251 2009-03-06 Alberto Garcia <agarcia@igalia.com>
253 * src/hildon-find-toolbar.c
254 (hildon_find_toolbar_emit_close)
255 (hildon_find_toolbar_emit_invalid_input)
256 (hildon_find_toolbar_entry_activate):
257 Use g_signal_emit() instead of g_signal_emit_by_name()
259 2009-03-06 Alberto Garcia <agarcia@igalia.com>
261 Patch by Mox Soini (ext-mox.soini@nokia.com)
263 * tests/TEST-CASES.txt
264 * tests/check-hildon-banner.c
265 * tests/check-hildon-note.c
266 * src/hildon-banner.c
267 * src/hildon-code-dialog.c
268 * src/hildon-date-editor.c (real_set_calendar_icon_state)
269 * src/hildon-time-editor.c
270 * examples/hildon-lookup-example.c (main):
271 Replace obsolete icon names with new ones.
273 * src/hildon-find-toolbar-private.h:
274 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
275 (-hildon_find_toolbar_emit_search):
276 Remove find button and change icon of close button.
278 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
280 2009-03-05 Alberto Garcia <agarcia@igalia.com>
282 * src/hildon-time-button.c (hildon_time_button_new_step):
283 Use the "touch-selector" property to set the selector directly
284 when creating the object.
286 2009-03-05 Alejandro G. Castro <alex@igalia.com>
288 Added a new example application that allows tuning the pannable
289 area and replaced defines with properties in order to simplify the
290 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
291 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
292 PROP_DIRECTION_ERROR_MARGIN.
294 * examples/hildon-pannable-area-tuning-example.c: New example
296 * src/hildon-pannable-area.c,
297 (hildon_pannable_area_class_init),
298 (hildon_pannable_area_init),
299 (hildon_pannable_area_get_property),
300 (hildon_pannable_area_set_property),
301 (hildon_pannable_area_launch_fade_timeout),
302 (hildon_pannable_area_adjust_value_changed),
303 (hildon_pannable_axis_scroll),
304 (hildon_pannable_area_motion_notify_cb),
305 (hildon_pannable_area_scroll_cb),
306 (hildon_pannable_area_button_release_cb): We have converted some
307 of the defines that control the widget to properties to simplify
310 2009-03-05 Alberto Garcia <agarcia@igalia.com>
312 * src/hildon-app-menu.c (hildon_app_menu_map)
313 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
314 so it's closed if a new window appears.
316 Fixes: NB#104485 (Not able to address the call when application
317 menu is opened at background)
319 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
321 * src/hildon-color-button.c (hildon_color_button_get_property):Add
322 missing 'break' statement in in 'case' construct to avoid
325 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
327 * src/hildon-touch-selector-entry.c
328 (hildon_touch_selector_entry_get_property),
329 (hildon_touch_selector_entry_set_property): Add missing 'break'
330 statements in in 'case' constructs to avoid incorrect warnings.
332 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
334 * src/hildon-time-editor.c
335 (hildon_time_editor_get_time_separators): Do not crash if
336 the first label is NULL.
338 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
340 * src/hildon-date-selector.c (_month_days): Check for month to be
341 strictly less than 12, since otherwise we may overrun the array.
343 2009-03-04 Alberto Garcia <agarcia@igalia.com>
345 * src/hildon-date-button.c (+hildon_date_button_new_full)
346 (hildon_date_button_new, hildon_date_button_new_with_year_range)
347 (hildon_date_button_init): Set the date selector using a
348 construction property, to make it happen after HildonButton's
349 "value" property is set.
351 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
352 current date by default)
354 2009-03-04 Alberto Garcia <agarcia@igalia.com>
356 * doc/hildon-sections.txt
357 * src/hildon-program.c
358 * src/hildon-stackable-window.c
359 * src/hildon-window.c:
360 Documentation updates
362 2009-03-04 Alberto Garcia <agarcia@igalia.com>
364 * src/hildon-window-stack.c (hildon_window_stack_get_default)
365 (hildon_window_stack_new, +hildon_window_stack_set_property)
366 (+hildon_window_stack_get_property)
367 (hildon_window_stack_class_init)
368 (+hildon_window_stack_set_window_group)
369 (+hildon_window_stack_get_window_group):
370 Make the window group a construction property.
372 2009-03-04 Alberto Garcia <agarcia@igalia.com>
374 * doc/hildon-sections.txt
375 * src/hildon-stackable-window-private.h
376 * src/hildon-stackable-window.h
377 * src/hildon-stackable-window.c
378 (-hildon_stackable_window_set_app_menu)
379 (-hildon_stackable_window_get_app_menu)
380 (-hildon_stackable_window_toggle_menu)
381 (-hildon_stackable_window_finalize)
382 (hildon_stackable_window_class_init)
383 (hildon_stackable_window_init)
384 * src/hildon-window-private.h
385 * src/hildon-window.h
386 * src/hildon-window.c (hildon_window_init)
387 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
388 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
389 (hildon_window_get_main_menu, hildon_window_set_main_menu)
390 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
391 Moved all HildonAppMenu code to HildonWindow. The menu does not
392 require a HildonStackableWindow anymore.
394 * src/hildon-app-menu.c
395 * src/hildon-program.c
396 * examples/hildon-app-menu-example.c (main):
397 Update examples and documentation to reflect HildonAppMenu
400 2009-03-04 Alberto Garcia <agarcia@igalia.com>
402 * src/hildon-remote-texture.c
403 * src/hildon-animation-actor.c:
404 Don't include unused private headers.
406 2009-03-04 Alberto Garcia <agarcia@igalia.com>
408 * src/hildon-program-private.h
409 * src/hildon-program.c
410 (hildon_program_set_common_menu)
411 (hildon_program_get_common_menu)
412 (hildon_program_set_common_app_menu)
413 (hildon_program_get_common_app_menu):
414 Change common menu pointers from GtkWidget* to GtkMenu* and
415 HildonAppMenu* to avoid unnecessary casts.
417 2009-03-03 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-window.c (hildon_window_set_main_menu):
420 Removed incorrect 'Since:' tag
422 2009-03-03 Alejandro G. Castro <alex@igalia.com>
424 * src/hildon-pannable-area.c,
425 (hildon_pannable_area_calculate_velocity): We use now the
426 RATIO_TOLERANCE here to check the distance, fixed typo in the
428 (hildon_pannable_area_motion_notify_cb): We have to set the type
429 and time even if we are not sending the motion.
431 2009-03-02 Alberto Garcia <agarcia@igalia.com>
433 * doc/hildon-sections.txt
434 * src/hildon-app-menu.h
435 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
436 (+hildon_app_menu_get_filters): New methods to get the contents of
439 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
442 2009-03-02 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-app-menu.c (hildon_app_menu_popup):
447 2009-03-02 Alberto Garcia <agarcia@igalia.com>
449 * src/hildon-window.h
450 * src/hildon-window.c (+hildon_window_get_main_menu)
451 (hildon_window_get_menu): Created hildon_window_get_main_menu()
452 and deprecated hildon_window_get_menu().
454 * src/hildon-stackable-window.h
455 * src/hildon-stackable-window.c
456 (+hildon_stackable_window_set_app_menu)
457 (+hildon_stackable_window_get_app_menu)
458 (hildon_stackable_window_set_main_menu): Created
459 hildon_stackable_window_{get,set}_app_menu() and deprecated
460 hildon_stackable_window_set_main_menu().
462 * doc/hildon-sections.txt
463 * examples/hildon-app-menu-example.c (main)
464 * src/hildon-app-menu.c
465 * src/hildon-program.c:
466 Updated examples and documentation.
468 Fixes: NB#103758 (No way to obtain a menu from a
469 HildonStackableWindow)
471 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: Bump version.
477 * debian/changelog: Updates.
479 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
481 * examples/hildon-remote-texture-example.c: Include
482 hildon-remote-texture.h explicitely.
483 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
484 applications not defining _XOPEN_SOURCE which don't require this header.
486 2009-02-27 Alberto Garcia <agarcia@igalia.com>
488 * doc/hildon-sections.txt
489 * src/hildon-app-menu.h
490 * src/hildon-app-menu.c (+hildon_app_menu_popup):
491 New function to pop up a HildonAppMenu
493 * src/hildon-stackable-window.c
494 (hildon_stackable_window_toggle_menu):
495 Use hildon_app_menu_popup() to show the menu.
497 2009-02-27 Alberto Garcia <agarcia@igalia.com>
499 * src/hildon-app-menu.c (hildon_app_menu_show)
500 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
501 menu if there's another window between it and its parent window.
503 Fixes: NB#100468 (Application menu window is launched even when a
504 new secondary-window/dialog is pending to be shown/realized)
506 2009-02-27 Alberto Garcia <agarcia@igalia.com>
508 * src/hildon-window-stack.c (hildon_window_stack_push)
509 (hildon_window_stack_pop_and_push):
510 Don't forget to push/pop the first window.
511 Reverse the window list before calling _push_list()
513 2009-02-27 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-picker-button.h
516 * src/hildon-picker-button.c (hildon_picker_button_class_init):
517 Remove "value_changed" slot to avoid ABI breakage
519 2009-02-26 Alejandro G. Castro <alex@igalia.com>
521 * src/hildon-pannable-area.c,
522 (hildon_pannable_area_realize),
523 (hildon_pannable_area_unrealize),
524 (hildon_pannable_draw_vscroll),
525 (hildon_pannable_draw_hscroll): Changed the method to handle the
526 GC used to draw the transparent scrollbar, this way we avoid
527 creating the GC all the time when drawing the scrollbars.
529 2009-02-26 Alejandro G. Castro <alex@igalia.com>
531 * src/hildon-pannable-area.c,
532 (hildon_pannable_area_init),
533 (hildon_pannable_area_remove): Removed some unnecessary casts.
534 (hildon_pannable_area_dispose): Disconnected some signals before
535 releasing the adjustments.
537 2009-02-26 Alberto Garcia <agarcia@igalia.com>
539 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
540 Make sure that all widgets contained in the toolbar are shown.
542 2009-02-25 Alberto Garcia <agarcia@igalia.com>
544 * doc/hildon-sections.txt
545 * src/hildon-picker-button.h
546 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
547 (_selection_changed, hildon_picker_button_on_dialog_response)
548 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
549 New hildon_picker_button_value_changed() method.
552 * src/hildon-picker-button-private.h
553 * src/hildon-picker-button.c (hildon_picker_button_init)
554 (+hildon_picker_button_disable_value_changed): Add protected
555 function for disabling the "value-changed" signal.
557 * src/hildon-date-button.c (hildon_date_button_set_date):
558 Don't emit "value-changed" for each one of the three columns.
560 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
561 before actual change of values)
563 2009-02-24 Alejandro G. Castro <alex@igalia.com>
565 * src/hildon-pannable-area.c,
566 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
567 for the treeview overshooting.
569 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
571 * src/hildon-banner.c (+hildon_banner_bind_style):
572 Renamed from hildon_banner_bind_label_style(), now naming the
573 banner itself as well.
574 (hildon_banner_show_information),
575 (hildon_banner_show_information_with_markup),
576 (hildon_banner_show_animation), (hildon_banner_show_progress):
577 Name the widgets and labels, based on their type.
579 See NB#98597 (Hildon Note and Hildon Banner should use themeable
582 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-note.c (hildon_note_set_property): call
585 hildon_note_rename() on HildonNote:note-type set.
586 (hildon_note_rename): Name the note and its label, based on the
587 HildonNote:note-type property.
589 See NB#98597 (Hildon Note and Hildon Banner should use themeable
592 2009-02-24 Alejandro G. Castro <alex@igalia.com>
594 * src/hildon-pannable-area.c,
595 (hildon_pannable_area_class_init),
596 (hildon_pannable_area_motion_notify_cb): Reviewed the default
597 panning parameters, increased SPS and deceleration factor. Added
598 also a margin to control fake directions.
600 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
602 Patch by Sven Herzberg (sven@imendio.com)
604 * configure.ac: Add missing AM_PROG_CC_C_0
605 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
607 See NB#101420 (Update unit tests and fix make check)
609 2009-02-23 Alejandro G. Castro <alex@igalia.com>
611 This patch was applied before but reverted because it caused
612 problems, we have changed the main condition and tested the
613 regressions we detected before and they work ok. We have done a
614 complete review of the topmost algorithm in order to get a more
617 * src/hildon-pannable-area.c,
618 (hildon_pannable_area_get_topmost): Added a new parameter to
619 filter the the windows that do not include those events.
620 (hildon_pannable_area_button_press_cb),
621 (hildon_pannable_area_button_release_cb),
622 (hildon_pannable_get_child_widget_at): Reviewed the call the the
623 topmost function, we have added the new parameter.
625 Fixes: NB#97458 (Pannable area prevents propagation of button
628 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
630 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
631 if all columns in the selector have an item selected.
632 (_on_dialog_response): Stop "response" signal emission if there is
633 any selector column without selected items.
635 Fixes: NB#101889 (Picker dialog should not close when nothing is
636 selected in multiple selection list)
638 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
640 * src/hildon-font-selection-dialog.c
641 (hildon_font_selection_dialog_class_init),
642 (hildon_font_selection_dialog_init): Remove the preview
643 button and dialog, since previewing with default theming is likely
644 to be overcomplicated. The :preview property has now no effect.
645 Update documentation blurbs to inform about this.
647 Fixes: NB#92297 (Preview content is not clearly visible for
650 2009-02-20 Alejandro G. Castro <alex@igalia.com>
652 Reviewed the geometry that handles the children size and
653 scrollbar, now it tries a size and reviews the results depending
654 on the scrollbars visibility.
656 * src/hildon-pannable-area.c,
657 (hildon_pannable_area_realize): Fixed a typo.
658 (hildon_pannable_area_child_allocate_calculate): Added this
659 function to calculate the child allocation.
660 (hildon_pannable_area_size_allocate): Reviewed the allocation
662 (hildon_pannable_area_check_scrollbars),
663 (hildon_pannable_area_refresh): Refactored refresh function, this
664 way we can call the code handling the scrollbars without causing a
665 size_request, it is interesting in the allocate.
666 (hildon_pannable_area_init): Replace the callbacks of the
667 value_changed and changed signals to propertly deal with the
669 (hildon_pannable_area_grab_notify),
670 (hildon_pannable_area_initial_effect),
671 (hildon_pannable_area_launch_fade_timeout),
672 (hildon_pannable_area_adjust_changed),
673 (hildon_pannable_area_adjust_value_changed),
674 (hildon_pannable_area_redraw),
675 (hildon_pannable_area_button_press_cb),
676 (hildon_pannable_area_button_release_cb),
677 (hildon_pannable_area_scroll_cb),
678 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
679 code and use the new functions adjust_changed and
680 adjust_value_changed.
682 Fixes: NB#101603 (Focus is not even for the text entry boxes in
683 Contact editor dialog)
685 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
690 * configure.ac: Bump version.
691 * debian/changelog: Updates.
693 2009-02-20 Alejandro G. Castro <alex@igalia.com>
695 * src/hildon-pannable-area.c,
696 (hildon_pannable_area_get_topmost),
697 (hildon_pannable_area_button_press_cb),
698 (hildon_pannable_area_button_release_cb),
699 (hildon_pannable_get_child_widget_at): Reverted the patch for the
700 topmost function adding the event mask. We have to try a
701 differente approach because it is still causing problems (NB#9745,
704 2009-02-19 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-banner.c:
707 Update the maximum width of timed banners.
708 (force_to_wrap_truncated): Enforce the maximum text width if the
711 Fixes: NB#102413 (The text margins (wrapping) in information
712 banner should be HILDON_MARGIN_TRIPLE)
714 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
716 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
718 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
719 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
720 bound when calculating the scroll indicator position.
722 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
723 treat ->lower correctly)
725 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
727 * src/hildon-caption.c (hildon_caption_class_init): Remove the
728 expose event handling, since it is not necessary to draw the focus
731 Fixes: NB#102467 (Do not show highlight on the text in
734 2009-02-18 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
737 full height of the toolbar for the button and the label.
739 2009-02-18 Alberto Garcia <agarcia@igalia.com>
741 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
742 padding before the label and after the button.
744 2009-02-18 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
748 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
749 Add a GtkVSeparator between the button and the back arrow.
750 Let the button have automatic size.
751 Set a name to the widget for theming handling.
753 Fixes: NB#101793 (Make edit toolbar the same height as window
754 title bar (use title area theming))
756 2009-02-18 Alberto Garcia <agarcia@igalia.com>
758 * src/hildon-helper.c (attach_new_color_element): Fix memory
761 Fixes: NB#102262 (memory leak in hildon_button_set_style())
763 2009-02-18 Alberto Garcia <agarcia@igalia.com>
765 * examples/hildon-button-example.c (common_buttons_window): Don't
768 2009-02-18 Alberto Garcia <agarcia@igalia.com>
770 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
771 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
773 2009-02-18 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-gtk.c: Check that the window is realized.
777 Fixes: NB#102225 (Crash setting the progress indicator to a non
780 2009-02-17 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
783 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
784 instead of modifying the one in the widget style.
786 Fixes: NB#101043 (Second row of all the command button are
787 displayed in transparent mode.)
789 2009-02-17 Alberto Garcia <agarcia@igalia.com>
791 * src/hildon-date-button.c
792 * src/hildon-time-button.c: Add gettext macros
794 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-date-button.c (hildon_date_button_new):
797 * src/hildon-time-button.c (hildon_time_button_new_step):
798 Use new logical strings to set the button default title.
800 Fixes: NB#99915 (Date and Time options are not localised in Date
803 2009-02-16 Alejandro G. Castro <alex@igalia.com>
805 * src/hildon-pannable-area.c
806 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
807 the PANNING_THRESHOLD.
809 2009-02-16 Alejandro G. Castro <alex@igalia.com>
811 * src/hildon-pannable-area.c,
812 (hildon_pannable_area_class_init): Increased the maximum speed.
813 (hildon_pannable_area_get_property),
814 (hildon_pannable_area_set_property),
815 (hildon_pannable_area_timeout): Added a new low friction mode, it
816 allows the user avoid friction when launching the widget fast
817 enough. It is interesting to traverse long lists.
819 2009-02-16 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
822 (+hildon_stackable_window_delete_event): Ignore delete events if
823 the window is not the topmost one.
825 Fixes: NB#101698 (Back button long press and delete-event handling)
827 2009-02-16 Alejandro G. Castro <alex@igalia.com>
829 * src/hildon-pannable-area.c,
830 (hildon_pannable_area_motion_notify_cb): Removed the use of the
831 gtk-dnd-drag-threshold, it was too big. We have defined our own
832 dnd define and set a smaller value: PANNIG_THRESHOLD.
834 2009-02-16 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
837 user-defined icons, use always the default one.
839 Fixes: NB#101916 (Do not allow custom icons on animation banner)
841 2009-02-13 Alejandro G. Castro <alex@igalia.com>
843 This patch was applied before but reverted because it caused
844 problems, we have changed the main condition and tested the
845 regressions we detected before and they work ok.
847 * src/hildon-pannable-area.c,
848 (hildon_pannable_area_get_topmost): Added a new parameter to
849 filter the the windows that do not include those events. Added
850 also a condition when finding the window to filter windows that do
851 not ask for those events.
852 (hildon_pannable_area_button_press_cb),
853 (hildon_pannable_area_button_release_cb),
854 (hildon_pannable_get_child_widget_at): Reviewed the call the the
855 topmost function, we have added the new parameter.
857 Fixes: NB#97458 (Pannable area prevents propagation of button
860 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
862 * tests/check-hildon-color-button.c (START_TEST): do not leak
865 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
867 * src/hildon-font-selection-dialog.c
868 (hildon_font_selection_dialog_get_preview_text): Return NULL
869 instead of FALSE on the g_return_val_if_fail().
871 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
873 * src/hildon-time-selector.c (hildon_time_selector_set_time):
874 * src/hildon-date-selector.c
875 (hildon_date_selector_select_current_date):
876 Do not compare unsigned integers to be greater than or equal 0,
877 because it's always TRUE.
879 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
882 (hildon_date_selector_constructor): Do not select the current
883 date until we are handle the "changed" signal, to avoid having bogus
884 elements in the days model.
886 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
888 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
889 for num_days, since _month_days() can return a negative value.
891 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-caption.c (hildon_caption_size_allocate):
894 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
895 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
897 Initialize allocation variables to 0, to avoid eventually using
898 unitialized variables.
900 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
902 * src/hildon-bread-crumb-trail.c
903 (hildon_bread_crumb_trail_size_allocate):
904 * src/hildon-calendar.c (hildon_calendar_set_background):
905 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
906 * src/hildon-range-editor.c (hildon_range_editor_get_range):
907 * src/hildon-seekbar.c (hildon_seekbar_init):
908 * src/hildon-time-editor.c (hildon_time_editor_get_time):
909 * src/hildon-time-selector.c (hildon_time_selector_finalize):
910 * src/hildon-touch-selector-entry.c
911 (hildon_touch_selector_get_text_from_model):
912 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
913 * src/hildon-window.c (hildon_window_finalize):
915 Remove many unused variables.
917 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
919 * src/hildon-seekbar.c: (hildon_seekbar_init),
920 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
922 Remove unnecessary g_assert() calls.
924 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
926 * src/hildon-caption.c: (hildon_caption_expose),
927 (hildon_caption_set_property), (hildon_caption_init),
928 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
929 (hildon_caption_size_request), (hildon_caption_size_allocate),
930 (hildon_caption_forall), (hildon_caption_set_separator),
931 (hildon_caption_activate), (hildon_caption_set_child_expand),
932 (hildon_caption_set_label_text),
933 (hildon_caption_get_label_alignment):
935 Remove unnecessary g_assert() calls.
937 2009-02-12 Alberto Garcia <agarcia@igalia.com>
939 * src/hildon-banner.c
940 (hildon_banner_map, hildon_banner_init): Make banner temporary
941 before mapping it to avoid closing other temporary windows, but
942 make it non-temporary afterwards to avoid being closed by other
943 non-temporary windows.
944 (-hildon_banner_client_event, hildon_banner_init):
945 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
947 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
950 2009-02-11 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
955 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
957 * src/hildon-remote-texture.c
958 * src/hildon-remote-texture.h
959 * src/hildon-remote-texture-private.h
960 * examples/hildon-remote-texture-example.c:
961 Updates/fixes to remote-texture and its example.
963 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
965 Patch by Mox Soini (ext-mox.soini@nokia.com)
967 * src/hildon-code-dialog.c: Update logical id.
968 * src/hildon-set-password-dialog.c: Update logical id.
970 Fixes: NB#100646 (Logical strings is shown for ok in set
971 password,Password needed dialogs)
973 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
976 * src/hildon-remote-texture.c
977 * src/hildon-remote-texture.h
978 * src/hildon-remote-texture-private.h
980 Added remote texture widget (for Clutter shared memory textures)
982 * examples/hildon-remote-texture-example.c
983 * examples/Makefile.am
984 Added example file for remote texture usage
986 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
988 * configure.ac: post release version bump.
989 * debian/changelog: version bump.
991 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: Bump version.
997 * debian/changelog: Updates.
999 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-date-selector.c (hildon_date_selector_init)
1002 (hildon_date_selector_constructor): Don't connect to the "changed"
1003 signal until the selector is completely constructed.
1005 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-touch-selector.c: (_create_new_column),
1008 (hildon_touch_selector_append_column),
1009 (hildon_touch_selector_set_column_selection_mode),
1010 (hildon_touch_selector_set_active),
1011 (hildon_touch_selector_select_iter):
1012 Emit the HildonTouchSelector::changed signal every time selection
1013 is changed in any of the methods above. This behavior was already
1014 documented but not fully functional.
1016 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1017 selection is programmatically changed)
1019 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1021 * doc/hildon-sections.txt: Remove obsolete icon
1022 sizes from here as well.
1024 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1026 * examples/hildon-stackable-window-example.c (add_window): Remove
1029 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1031 * src/hildon-app-menu.c
1032 (hildon_app_menu_show): Check whether the parent window of a menu
1033 is topmost before popping it up.
1035 Fixes: NB#100468 (Application menu window is launched even when a
1036 new secondary-window/dialog is pending to be shown/realized.)
1038 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1040 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1043 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1045 Patch by Mox Soini (ext-mox.soini@nokia.com)
1047 * src/hildon-banner.c: (hildon_banner_show_animation):
1048 use stylus size instead of obsolete note size.
1049 * src/hildon-defines.h: Update icon sizes.
1051 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-touch-selector-entry.c:
1054 (hildon_touch_selector_entry_init): Disable unsupported
1056 (hildon_touch_selector_entry_get_text_column): Emit a warning
1057 if an unsupported input modes is used and explicitile state
1058 these modes in the documentation.
1060 Fixes: NB#99802 (Hildon touch selector entry not working properly
1061 for some of the input modes)
1063 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1065 * src/hildon-pannable-area.c,
1066 (hildon_pannable_area_init): Added the changed signal handlers of
1069 Fixes: NB#100320 (HildonPannableArea does not listen to
1070 GtkAdjustment "change" signals)
1072 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1074 * doc/hildon-sections.txt
1075 * src/hildon-window-private.h
1076 * src/hildon-window.h
1077 * src/hildon-window.c (hildon_window_init)
1078 (hildon_window_realize, hildon_window_unrealize)
1079 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1080 (hildon_window_size_request, hildon_window_size_allocate)
1081 (hildon_window_forall, hildon_window_show_all)
1082 (hildon_window_destroy, +paint_edit_toolbar)
1083 (+hildon_window_set_edit_toolbar):
1084 New hildon_window_set_edit_toolbar() method, to add a
1085 HildonEditToolbar to a window without having to pack it manually.
1087 Reorganize hildon_window_size_allocate()
1089 * src/hildon-edit-toolbar.c: Update documentation.
1091 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1092 example to use the new API.
1094 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1096 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1098 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1099 Remove from stack before calling parent's hide.
1101 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1104 window is removed from the middle of the stack, update the
1105 transiency of the previous one.
1107 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1110 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1112 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1113 block/unblock the signal handler if it's not actually being used.
1114 Fixes some critical warnings.
1116 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1118 Based on a patch by Iván Gómez (igomez@igalia.com)
1120 * src/hildon-banner.c
1124 * src/hildon-pannable-area.c
1125 * src/hildon-picker-dialog.c
1126 * src/hildon-wizard-dialog.h
1127 * src/hildon-wizard-dialog.c: Documentation updates.
1129 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1130 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1132 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1134 * configure.ac: post release version bump.
1135 * debian/changelog: version bump.
1137 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1142 * configure.ac: Bump version.
1143 * debian/changelog: Updates.
1145 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1147 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1148 a stock icon nor change the relief of the back arrow.
1150 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1151 graphics from theme)
1153 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-button.c (hildon_button_set_alignment): Use
1156 priv->alignment if the button has no child yet.
1158 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1160 * src/hildon-button.c: (hildon_button_init): Set the
1161 button style during initialization to give it the proper
1164 Fixes: NB#99713 (HildonButton value label color is wrong)
1166 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-touch-selector.c: Document
1169 hildon_touch_selector_center_on_selected()
1171 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1173 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1174 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1175 all menu items, but not the menu itself.
1176 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1177 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1178 items after adding them to the menu so keyboard accelerators work.
1179 (hildon_app_menu_show): Don't show the menu if it contains items
1180 but none of them are visible.
1182 * examples/hildon-app-menu-example.c (create_menu): Use
1183 gtk_widget_show_all() to show all menu items.
1185 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/hildon-picker-dialog.c:
1188 (-_update_title_on_selector_changed_cb),
1189 (-_dialog_update_title): Removed.
1190 (_select_on_selector_changed_cb), (_on_dialog_response),
1191 (on_selector_columns_changed): Do not update the dialog title.
1192 (setup_interaction_mode): Do not connect to
1193 HildonTouchSelector::changed signal if there's a "done" button, as
1194 the dialog title doesn't need to be updated.
1196 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1199 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1201 Patch by Kristian Rietveld (kris@imendio.com)
1203 * src/hildon-touch-selector.c: (_create_new_column): Use new
1204 GtkTreeView::hildon-row-tapped signal to react to user interactions
1205 instead of ::changed.
1207 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1208 with some dynamic tree model)
1210 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1213 (+screen_size_changed, +label_size_request)
1214 (hildon_note_class_init): Make the Hildon information note have a
1215 minimum height, and make its text hvae a maximum width.
1217 Fixes: NB#98614 (Hildon information note (background) should have
1218 minimum height and maximum text width)
1220 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-banner.h
1223 * src/hildon-banner.c (hildon_banner_show_information)
1224 (hildon_banner_show_informationf)
1225 (hildon_banner_show_information_with_markup): Update documentation
1226 to reflect that the icon_name parameter is not used anymore.
1227 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1228 Remove all code from these functions and mark them as deprecated.
1229 (hildon_banner_show_progress): Mark as deprecated.
1231 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1233 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_class_init),
1237 (tranparency_color),
1238 (hildon_pannable_draw_vscroll),
1239 (hildon_pannable_draw_hscroll),
1240 (hildon_pannable_area_expose_event): Added a new way to render the
1241 scrollbars of the pannable area avoiding using cairo at all. This
1242 way we improve the performance of the pannable area rendering. The
1243 cairo rendering procedure is still in the code, we can control
1244 which one to use changing the value of the define
1245 USE_CAIRO_SCROLLBARS.
1247 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1249 * configure.ac: post release version bump.
1250 * debian/changelog: version bump.
1252 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: Bump version.
1258 * debian/changelog: Updates.
1260 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1263 banners instead of destroying them when they receive a button
1266 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1268 Reverted commit 34028, it was causing regressions, probably the
1269 topmost condition is not correct, we have to check it in more
1270 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1271 propagation of button press events)
1273 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1276 that the selection is not empty before attempting to retrieve the
1277 current ampm selection.
1279 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-picker-button.c:
1282 (hildon_picker_button_on_dialog_response): Directly update the
1283 button contents when required instead of calling _selection_changed.
1285 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-program.c (hildon_program_update_top_most): Update
1288 'is-topmost' property also when wm_hints is not set.
1290 Fixes: NB#98383 (is-topmost signal is not emitted when task
1291 switcher is clicked.)
1293 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1295 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1299 * src/hildon-animation-actor.c,
1300 * src/hildon-animation-actor.h: Added the animation actor class,
1301 this widget represents an animation actor for WM-assisted
1302 animation effects in the Hildon framework.
1304 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-window-stack-private.h
1307 * src/hildon-window-stack.c
1308 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1309 Avoid calling gtk_widget_show() again indirectly from
1310 hildon_stackable_window_show()
1312 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1317 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1319 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1320 (hildon_time_selector_init): Move the construction of the hours and
1321 ampm columns to the constructor to preserve the order the columns
1324 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1326 * src/hildon-picker-dialog.c:
1327 (hildon_picker_dialog_class_init): Connect a realize method.
1328 (+hildon_picker_dialog_realize): Setup the interaction mode here
1330 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1331 yet, do it during the realize instead.
1332 (_on_dialog_response):
1333 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1334 if the widget is not realized, to avoid the dialog response before it
1337 Avoid premature responses in the HildonPickerDialog that can cause it
1338 to be hidden before it's even shown.
1340 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1343 (on_selector_columns_changed), (requires_done_button),
1344 (+prepare_action_area), (setup_interaction_mode),
1345 (_hildon_picker_dialog_set_selector):
1347 Split the interaction mode setup into preparation of the
1348 action area (prepare_action_area()) and the connection of
1349 the signals in setup_interaction_mode() and update the code to
1352 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1354 * src/hildon-pannable-area.c,
1355 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1356 per second to 15, we will check if this is ok regarding
1359 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1361 * src/hildon-pannable-area.c,
1362 (hildon_pannable_axis_scroll): Avoid resize if we already have
1363 reached overshoot_max.
1365 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1367 * src/hildon-pannable-area.c,
1368 (hildon_pannable_area_init),
1369 (hildon_pannable_area_realize),
1370 (hildon_pannable_area_size_allocate),
1371 (hildon_pannable_area_map),
1372 (hildon_pannable_area_unmap),
1373 (hildon_pannable_draw_vscroll),
1374 (hildon_pannable_draw_hscroll),
1375 (hildon_pannable_area_expose_event),
1376 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1377 pannable are to avoid the expose events go to the window and
1378 redraw the window. We save this way that part of the stack and the
1379 paint_boxes. We had to change the positions of the elements when
1382 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1384 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1385 * src/hildon-color-chooser-dialog.c:
1386 (hildon_color_chooser_dialog_init):
1387 * src/hildon-font-selection-dialog.c:
1388 (hildon_font_selection_dialog_init),
1389 (hildon_font_selection_dialog_show_preview):
1390 * src/hildon-get-password-dialog.c:
1391 * src/hildon-login-dialog.c:
1392 * src/hildon-set-password-dialog.c:
1393 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1394 * src/hildon-time-picker.c: (hildon_time_picker_init):
1396 Remove obsolete logical string IDs and update to the appropriate ones.
1398 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1400 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1403 that happens if the window hasn't been realized yet.
1405 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1406 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1408 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1411 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1414 Fixes: NB#98537 (Device hangs in account settings dialog)
1416 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1418 * configure.ac: post release version bump.
1419 * debian/changelog: version bump
1421 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1426 * configure.ac: Bump version.
1427 * debian/changelog: Updates.
1429 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1431 Added a new function to the HildonTimeButton widget that allows to
1432 change the step of the minutes in the selector associated with the
1433 button: hildon_time_button_new_step
1435 * src/hildon-time-button.c,
1436 (hildon_time_button_init),
1437 (hildon_time_button_new),
1438 (hildon_time_button_new_step):
1439 * src/hildon-time-button.h: Added the new function and refactored
1441 * examples/hildon-time-button-example.c,
1442 (main): We have replaced the function without parameters with the
1443 function with the steps set to 5
1445 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1447 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1449 * src/hildon-time-selector.c,
1450 (hildon_time_selector_class_init),
1451 (hildon_time_selector_constructor),
1452 (hildon_time_selector_get_property),
1453 (hildon_time_selector_set_property),
1454 (_create_minutes_model),
1455 (hildon_time_selector_new_step),
1456 (hildon_time_selector_set_time),
1457 * src/hildon-time-selector.h: Added a new property to the
1458 HildonTimeSelector (minutes-step), we use that property to control
1459 the steps between the minutes in the list of the selector. We have
1460 added a new function to the API to create a widget changing the
1461 step: hildon_time_selector_new_step.
1463 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1465 * src/hildon-time-selector.c,
1466 (hildon_time_selector_class_init),
1467 (hildon_time_selector_constructor),
1468 (hildon_time_selector_init): Overrided the construct function when
1469 creating the time selector object. We have moved the minutes model
1470 handling code from the init to the new construction function:
1471 hildon_time_selector_constructor.
1473 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1475 * examples/hildon-date-button-example.c: (main): Use the new
1476 hildon_date_button_new_with_year_range() method in the example.
1477 * src/hildon-date-button.c:
1478 (+hildon_date_button_new_with_year_range): New public method
1479 to conveniently create a HildonDateButton with a custom year range
1480 in its HildonDateSelector.
1481 * src/hildon-date-button.h: Add the new public method definition.
1483 Fixes: NB#97908 (Not possible to change the year range in
1484 HildonDateSelector/HildonDateButton)
1486 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-date-selector.c:
1489 (+hildon_date_selector_set_property),
1490 (+hildon_date_selector_get_property),
1491 (hildon_date_selector_class_init): Install new properties "min-year"
1492 and "max-year" to define boundaries for the year column.
1493 (_create_year_model): Use the boundary properties to populate the model.
1494 (+hildon_date_selector_new_with_year_range): New public method to
1495 create a HildonDateSelector with a user defined year range.
1496 (hildon_date_selector_select_current_date): Use the new boundaries to
1497 calculate the iterator of current year.
1498 * src/hildon-date-selector.h: Add the new public method definition.
1500 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1502 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1503 Install a constructor method.
1504 (+hildon_date_selector_construct_ui): construct the widget.
1505 (+hildon_date_selector_constructor): new constructor.
1506 (+hildon_date_selector_init): move out widget construction code to
1507 the new constructor.
1509 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1512 that there's actually a month or year selected before obtaining them.
1513 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1514 of the HildonTouchSelector::changed signal, as it was emitted on every
1515 single item selection.
1517 Fix some warnings and possible crashers due to the selection restoring.
1519 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1521 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1522 the signal handlers only after creating the dialog instead of on every
1525 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-button.c (hildon_button_init)
1528 * src/hildon-check-button.c (hildon_check_button_init)
1529 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1530 focus when clicked by default.
1532 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1534 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1537 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1539 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1540 Alejandro G. Castro (alex@igalia.com)
1542 * src/hildon-picker-dialog.c:
1543 (hildon_picker_dialog_class_init): install new "center-on-show"
1545 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1546 (hildon_picker_dialog_set_property): add setter code for the new
1548 (hildon_picker_dialog_get_property): add getter code for the new
1550 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1551 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1554 Fixes: NB#92849 (Selected item is not always visible when
1555 HildonTouchSelector is shown)
1557 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1559 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1560 Alejandro G. Castro (alex@igalia.com)
1562 * src/hildon-touch-selector.c:
1563 (_create_new_column): Do not connect to the "realize" signal of the
1565 (hildon_touch_selector_append_column): center on the selected items
1566 when a new column is appended.
1567 (hildon_touch_selector_select_iter): Factor out the code to select a
1568 column to hildon_touch_selector_scroll_to().
1569 (+search_nearest_element): Method to retrieve the nearest selected
1570 element to the visible area of the pannable area in a column.
1571 (+on_realize_cb): scroll to the initially selected item.
1572 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1573 the pannable area is realized, otherwise delay this until it is.
1574 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1575 selected items of a given column.
1576 (+hildon_touch_selector_center_on_selected): Public method to center
1577 all columns on the nearest selected item.
1578 * src/hildon-touch-selector.h: Add definition for
1579 hildon_touch_selector_center_on_selected().
1581 Implement public API to ensure visibility of all selected items in
1582 a HildonTouchSelector.
1584 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1586 Fixed a problem in the fading when calling the scroll_to API, and
1587 improve scrollbar fading handling.
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_grab_notify): avoid the timeout when the
1592 (hildon_pannable_area_button_press_cb),
1593 (hildon_pannable_area_motion_notify_cb): Code style changes.
1594 (hildon_pannable_area_button_release_cb): Review the conditions
1595 when releasing the mouse button to avoid unrequired fading
1597 (hildon_pannable_area_scroll_to): Do not calculate and set the
1598 velocity if the scroll is not required.
1600 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1603 Don't check whether the new selector is NULL: it cannot be.
1604 Hold a reference to the selector while doing the replacement.
1606 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1609 unnecessary size_request in a removed widget.
1611 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1613 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1614 an unnecessary reference tracking that was leaking.
1616 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1618 Added delayed motion notify event handling, this way we can
1619 discard redrawing if more than 25 events arrive per second.
1621 * src/hildon-pannable-area.c,
1622 (hildon_pannable_area_init): Initialized the new private atributes
1623 controlling this timeout
1624 (hildon_pannable_area_dispose): Remove the timeout that controls
1625 the motion notify events.
1626 (hildon_pannable_area_scroll): Added a condition to control the
1627 use of the acceleration.
1628 (hildon_pannable_area_motion_event_scroll_timeout),
1629 (hildon_pannable_area_motion_event_scroll): Added this two
1630 functions, they handle the motion notify events inside the
1632 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1633 to the scroll method with the new function.
1634 (hildon_pannable_area_button_release_cb): We have to remove the
1635 timeout handler and move to the last position if the last motion
1636 events were not handled.
1638 Fixes: NB#97028 (Pannable area updates on every motion event)
1640 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1642 * src/hildon-pannable-area.c,
1643 (hildon_pannable_area_get_topmost): Added a new parameter to
1644 filter the the windows that do not include those events. Added
1645 also a condition when finding the window to filter windows that do
1646 not ask for those events.
1647 (hildon_pannable_area_button_press_cb),
1648 (hildon_pannable_area_button_release_cb),
1649 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1650 topmost function, we have added the new parameter.
1652 Fixes: NB#97458 (Pannable area prevents propagation of button
1655 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 (hildon_pannable_area_initial_effect): Added controls before
1659 launching the timeout and the idle functions.
1660 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1661 of the method, in some situations it can return with TRUE and 0 in
1663 (hildon_pannable_area_button_press_cb): We do not need to set
1664 DELAY for fading out here.
1666 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1668 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1670 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1671 post-cleaning if the selection is not NULL.
1673 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1676 all items before restoring the selection.
1678 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-touch-selector.c:
1681 (+hildon_touch_selector_unselect_all):
1682 * src/hildon-touch-selector.h: New API to unselect all items in a
1683 column of the touch selector.
1685 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1687 * src/hildon-pannable-area.c,
1688 (hildon_pannable_area_redraw): Added a call to the refresh
1689 function inside the redraw because apparently in some cases the
1690 change in the adjustment does not imply a size allocate.
1692 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1693 despite the view not being scrollable)
1695 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1698 leak. Check for NULL before attempting to set the window title.
1700 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1703 whether to show or not the 'Done' button each time the dialog is
1704 shown, as it depends on the HildonTouchSelector selection mode.
1706 Fixes: NB#96226 (In multiple selection mode Done button is shown
1707 sometimes in listpicker)
1709 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1711 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1712 for the number of columns in the HildonTouchSelector more than once.
1714 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-touch-selector.c: Minor documentation fixes.
1718 * src/hildon-picker-dialog.c (+_dialog_update_title)
1719 (_select_on_selector_changed_cb)
1720 (_update_title_on_selector_changed_cb)
1721 (on_selector_columns_changed): Update dialog title when there's no
1722 'Done' button and also when the number of columns in the selector
1726 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1727 (+_selection_changed, hildon_picker_button_on_dialog_response)
1728 (hildon_picker_button_selector_selection_changed)
1729 (+hildon_picker_button_selector_columns_changed)
1730 (hildon_picker_button_set_selector): Update button value and emit
1731 'value-changed' when the number of columns in the selector
1735 Fixes: NB#96225 (Dialog titles are not shown according to the
1736 values selected in the list picker)
1738 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1741 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1742 New "arrow-width" and "arrow-height" style properties to set the
1743 size of the arrow button.
1744 Set name of arrow button ("hildon-edit-toolbar-arrow").
1746 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1747 graphics from theme)
1749 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-picker-button.c:
1752 (hildon_picker_button_selector_selection_changed): Use
1753 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1754 the dialog is present.
1756 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1757 the selection is accepted in the dialog)
1759 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-color-chooser.h
1762 * src/hildon-color-chooser-dialog.h:
1763 Added G_BEGIN_DECLS and G_END_DECLS
1765 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1767 (_clean_current_selection): plug a leak in the list.
1769 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-picker-dialog.c:
1772 (+free_path_list): Method to free a GList of GtkTreePaths.
1773 (_clean_current_selection), (_save_current_selection),
1774 (_restore_current_selection): Save the current selection in
1775 as a list of lists, to support multiple selection properly.
1777 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1779 patch by Claudio Saavedra (csaavedra@igalia.com)
1781 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1782 Store the press position.
1783 (+hildon_text_view_button_release_event): If the release position is
1784 close enough to the press position, move the cursor here. Otherwise,
1786 (hildon_text_view_class_init): Override GtkTextView press, release, and
1787 motion event handlers, disabling this way text selection through
1788 pointer interaction, and allowing the container widget to handle the
1791 Fixes: NB#95828 (HildonTextView functionality)
1793 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1795 Based on a patch by Iván Gómez (igomez@igalia.com)
1797 * src/hildon-button.[ch]
1798 * src/hildon-calendar.c
1799 * src/hildon-check-button.c
1800 * src/hildon-date-editor.c
1801 * src/hildon-date-selector.c
1802 * src/hildon-picker-button.c
1803 * src/hildon-time-editor.c
1804 * src/hildon-time-selector.c
1805 * src/hildon-touch-selector.[ch]:
1806 Documentation updates
1808 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1810 * src/hildon-pannable-area.c,
1811 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1812 threshold, it was required due to X events handling.
1814 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1816 * src/hildon-pannable-area.c,
1817 (hildon_pannable_area_grab_notify),
1818 (hildon_pannable_area_initial_effect),
1819 (hildon_pannable_area_button_press_cb),
1820 (hildon_pannable_area_button_release_cb),
1821 (hildon_pannable_area_scroll_cb),
1822 (hildon_pannable_area_scroll_to): Review the timeout management of
1823 the scrollbar, the frecuency was incorrectly set.
1825 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-picker-button.c:
1828 (+hildon_picker_button_on_dialog_response),
1829 (hildon_picker_button_clicked): Present the dialog instead of
1830 running it with gtk_dialog_run().
1832 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1835 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1838 (hildon_app_menu_finalize): When a window is hidden it doesn't
1839 emit notify::is-topmost, so make sure than the menu also
1840 disappears in that case.
1841 (parent_window_topmost_notify): Renamed from parent_window_hidden
1843 Fixes: NB#94460 (stackable window's menu is not closed when its
1846 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-touch-selector-entry.c:
1849 (+hildon_touch_selector_entry_set_input_mode),
1850 (+hildon_touch_selector_entry_get_input_mode):
1851 * src/hildon-touch-selector-entry.h: New methods to access the input
1852 mode in the selector's entry.
1854 Fixes: NB#93410 (API required for setting IM mode in
1855 HildonTouchSelectorEntry)
1857 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1859 * configure.ac: post release version bump.
1860 * debian/changelog: version bump
1862 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: Bump version.
1868 * debian/changelog: Updates.
1870 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-touch-selector.c:
1873 (_hildon_touch_selector_has_multiple_selection): No need
1874 to initialize the variables here.
1876 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-note-private.h
1879 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1880 (hildon_note_finalize, hildon_note_rebuild): Close information
1881 notes when they receive a button press.
1883 Fixes: NB#89890 (Information notes does not get disappeared after
1886 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1888 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1889 mark from the wizard title, as it's not really necessary. Also,
1890 do not display the page title if not set.
1892 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1895 (parent_window_hidden): Use the window's "is-topmost" property to
1896 detect when to hide the menu.
1898 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1901 (hildon_app_menu_finalize): If the parent window of the menu is
1902 hidden, hide the menu too.
1904 Fixes: NB#94460 (stackable window's menu is not closed when its
1907 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1910 * debian/libhildon1-examples.install
1912 * examples/Makefile.am:
1913 Use dh_install to install all examples.
1914 Use DEB_SRCDIR instead of defining SOURCE_DIR
1916 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1918 * configure.ac: post release version bump.
1919 * debian/changelog: version bump
1921 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1926 * configure.ac: bump version
1927 * debian/changelog: updates
1928 * debian/control: bump gtk+ dependency
1930 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1932 patch by Christian Dywan (christian@imendio.com)
1934 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1935 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1937 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-check-button.c (hildon_check_button_init)
1940 (hildon_check_button_class_init, hildon_check_button_style_set)
1941 (hildon_check_button_apply_style):
1942 New "checkbox-size" style property.
1944 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1945 larger / configurable size)
1947 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1949 * configure.ac: post release version bump.
1950 * debian/changelog: version bump
1952 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1957 * configure.ac: bump version
1958 * debian/changelog: updates
1960 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1962 * doc/hildon-sections.txt
1963 * src/hildon-pannable-area.c
1964 * src/hildon-program.c
1965 * src/hildon-time-editor.c
1966 * src/hildon-touch-selector-entry.c:
1968 More documentation updates.
1970 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1972 * doc/hildon-sections.txt
1973 * src/hildon-caption.c
1974 * src/hildon-code-dialog.c
1975 * src/hildon-color-button.c
1976 * src/hildon-controlbar.c
1977 * src/hildon-date-editor.c
1978 * src/hildon-date-selector.c
1979 * src/hildon-edit-toolbar.c
1980 * src/hildon-find-toolbar.c
1981 * src/hildon-font-selection-dialog.c
1983 * src/hildon-program.c
1984 * src/hildon-range-editor.c
1985 * src/hildon-seekbar.c
1986 * src/hildon-time-editor.c
1987 * src/hildon-time-selector.c
1988 * src/hildon-volumebar-range.c
1989 * src/hildon-volumebar.c
1990 * src/hildon-vvolumebar.c
1991 * src/hildon-weekday-picker.c
1992 * src/hildon-window.c
1993 * src/hildon-wizard-dialog.c:
1995 Lots of documentation fixes.
1997 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1999 Patch contributed by Iván Gómez (igomez@igalia.com)
2001 * src/hildon-check-button.c:
2002 * src/hildon-date-button.c:
2003 * src/hildon-date-selector.c:
2004 * src/hildon-dialog.c:
2005 * src/hildon-edit-toolbar.c:
2006 * src/hildon-entry.c:
2007 * src/hildon-picker-button.c:
2008 * src/hildon-program.c:
2009 * src/hildon-text-view.c:
2010 * src/hildon-time-button.c:
2011 * src/hildon-touch-selector-entry.c:
2012 * src/hildon-window-stack.c:
2014 Add more "since" tags to the new API.
2016 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2018 * doc/hildon-sections.txt: Add below method.
2019 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2020 version for the hildonized scale.
2021 * src/hildon-gtk.h: Add the definition.
2023 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2027 * doc/hildon-sections.txt: Add missing entries for new methods.
2029 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2031 Added API to pannable are in order to get its adjustments. We
2032 added two properties to manage the values we had in the private
2035 * src/hildon-pannable-area.c:
2036 (hildon_pannable_area_class_init): Added hadjustment and
2037 vadjustment properties in order to expose horizontal and vertical
2039 (hildon_pannable_area_get_property),
2040 (hildon_pannable_area_set_property): Added code to handle the new
2042 (hildon_pannable_area_get_hadjustment),
2043 (hildon_pannable_area_get_vadjustment): API functions to get the
2045 * src/hildon-pannable-area.h:
2046 (hildon_pannable_area_get_hadjustment),
2047 (hildon_pannable_area_get_vadjustment): API functions to get the
2050 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2052 Fixed some leaks, after valgrinding.
2054 * src/hildon-touch-selector.c:
2055 (_default_print_func): Fixed a leak.
2056 (hildon_touch_selector_append_column): Fixed a leak.
2057 * src/hildon-date-button.c:
2058 (hildon_date_button_init): Fixed a leak.
2059 * src/hildon-date-selector.c
2060 (hildon_date_selector_finalize): Fixed a leak.
2062 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2064 Based on a patch by Christian Dywan (christian@imendio.com)
2066 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2068 * src/hildon-gtk.h: Add definition.
2070 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2072 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-picker-button.c: (hildon_picker_button_init),
2075 (hildon_picker_button_new): Set the HildonButton::style property
2076 in the init method, to propagate the value to the derived classes.
2078 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-button.c: (hildon_button_class_init): Do not make
2081 the "style" property a construct property.
2083 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2085 * src/hildon-wizard-dialog.h
2086 * src/hildon-wizard-dialog.c
2087 (hildon_wizard_dialog_set_forward_page_func)
2088 * src/hildon-pannable-area.h
2089 * src/hildon-pannable-area.c
2090 (hildon_pannable_area_set_size_request_policy):
2091 Documentation fixes.
2093 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2095 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2097 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2099 * doc/hildon-sections.txt: Added sections file.
2101 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/*.[ch]: Updates.
2106 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2108 * examples/hildon-progress-indicator-example.c: new file
2109 * examples/Makefile.am: include the new example program
2111 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2115 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2117 * configure.ac: post release version bump
2118 * debian/changelog: version bump
2120 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: bump version
2126 * debian/changelog: updates
2127 * debian/control: bump gtk+ dependency
2129 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-dialog.c: Mark as deprecated.
2132 * src/hildon-dialog.h: Mark as deprecated.
2133 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2134 from HildonDialog and still work, even if
2135 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2136 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2138 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2139 maemo changes) instead)
2141 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2143 * src/hildon-pannable_area.h:
2144 * src/hildon-pannable_area.c:
2145 (hildon_pannable_area_class_init),
2146 (hildon_pannable_area_set_property),
2147 (hildon_pannable_area_get_property),
2148 (hildon_pannable_area_size_request),
2149 (hildon_pannable_area_get_size_request_policy),
2150 (hildon_pannable_area_set_size_request_policy): Added new API
2151 allowing applications to control the request policy. Now they can
2152 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2153 children allocation (HILDON_MOVEMENT_CHILDREN).
2155 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2159 (hildon_gtk_tree_view_set_ui_mode)
2160 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2161 mode of treeviews and iconviews.
2163 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2165 * src/hildon-touch-selector-entry.c:
2166 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2167 of a GtkEntry to get proper theming.
2169 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2170 widget, not GtkEntry)
2172 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2175 no HildonWizardDialogPageFunc.
2177 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2179 Patch contributed by Iván Gómez (igomez@igalia.com)
2181 * src/hildon-app-menu.c:
2182 * src/hildon-button.c:
2183 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2184 * src/hildon-stackable-window.c:
2185 * src/hildon-time-selector.c:
2186 * src/hildon-touch-selector.c:
2187 * src/hildon-window.c:
2189 Add more "since" tags to the new API in hildon 2.2.
2191 2008-12-05 Tim Janik <timj@imendio.com>
2193 Patch contributed by Christian Dywan (christian@imendio.com)
2195 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2196 HildonSizeType, which are supplied by Gtk+ now.
2198 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2200 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2201 (with maemo changes) instead)
2203 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2205 Patch contributed by Iván Gómez (igomez@igalia.com)
2207 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2210 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2212 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2213 (some_page_func), (main): Update the example to use a
2214 HildonWizardDialogPageFunc function.
2216 * src/hildon-wizard-dialog-private.h: Add private data for
2217 the HildonWizardDialogPageFunc function usage.
2219 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2220 (destroy), (hildon_wizard_dialog_init), (response),
2221 (hildon_wizard_dialog_set_forward_page_func):
2222 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2223 that applications can use to stop a HildonWizardDialog to jump to
2226 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2229 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-program.h
2232 * src/hildon-program-private.h
2233 * src/hildon-program.c (hildon_program_init)
2234 (hildon_program_set_common_app_menu)
2235 (hildon_program_get_common_app_menu):
2236 New API for setting a common HildonAppMenu for all
2237 HildonStackableWindows registered with the HildonProgram.
2239 * src/hildon-stackable-window.c
2240 (hildon_stackable_window_toggle_menu):
2241 Use the common HildonAppMenu if a window doesn't have a specific
2244 * src/hildon-app-menu-private.h
2245 * src/hildon-app-menu.c
2246 (hildon_app_menu_get_parent_window):
2247 Function to obtain the window a HildonAppMenu is attached to.
2248 (hildon_app_menu_set_parent_window):
2249 Hide the menu if the parent window is set to NULL.
2251 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2253 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2254 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2255 search widget to popup.
2257 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2259 * configure.ac: post release version bump
2260 * debian/changelog: version bump
2262 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2267 * configure.ac: bump version
2268 * debian/changelog: updates
2270 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2272 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2274 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2275 (hildon_window_stack_window_realized)
2276 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2277 Set the leader GdkWindow when a window is stacked and realized,
2278 unset it when it's unstacked.
2279 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2281 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2283 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-stackable-window.h
2286 * src/hildon-window-stack.h:
2287 Protect definition of HildonWindowStack using the preprocessor.
2289 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2292 Fix warning if all menu items are hidden.
2294 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2296 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2298 * src/hildon-controlbar.c:
2299 * src/hildon-hvolumebar.c:
2300 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2301 Multiple scale size defines updates.
2303 Fixes: NB#94322 (Scale Updates)
2305 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2307 * examples/hildon-app-menu-example.c (create_menu)
2308 Show items after adding them to the menu, as in the future the
2309 menu will no longer call gtk_widget_show() on the added items.
2311 * src/hildon-app-menu.c:
2312 Update example as explained above.
2314 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-app-menu.c
2317 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2318 Make sure that all menu items have finger height.
2320 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2322 * src/hildon-picker-dialog.c:
2323 (_on_dialog_response), (_save_current_selection),
2324 (_restore_current_selection), (_clean_current_selection),
2325 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2326 Defined new functions in order to save the current internal selector
2327 selection previous open the dialog, in case that the use cancel the
2328 interaction, so the widget restores the previous selection.
2330 Fixes: NB#92032 (In calendar application, date values in 'new event'
2333 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2335 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-button.c: Add a reference to the button examples in
2338 hildon-button-example.c
2340 * examples/hildon-button-example.c: Added examples of the most
2341 common button layouts.
2343 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-app-menu.c (hildon_app_menu_show)
2346 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2348 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2350 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-picker-dialog.c:
2353 (hildon_picker_dialog_init): Initialize the signal id for
2354 HildonTouchSelector::columns-changed.
2355 (+on_selector_columns_changed): Set up the interaction mode everytime a
2356 column is added or removed from the HildonTouchSelector.
2357 (_hildon_picker_dialog_set_selector): Connect to
2358 HildonTouchSelector::columns-changed and keep track of it.
2360 Make sure to update the interaction mode of the dialog everytime a
2361 column is added or removed in the HildonTouchSelector.
2363 Fixes: NB#93228 (Done button is not shown always in listpicker)
2365 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2367 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2368 a new ::columns-changed signal.
2369 (hildon_touch_selector_append_column): Emit ::columns-changed.
2370 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2372 Add a ::columns-changed signal, emitted when the number of columns in a
2373 HildonTouchSelector changes.
2375 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2378 (_hildon_picker_dialog_set_selector): Factor out the code
2379 to set up the dialog interaction mode.
2381 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2384 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2385 to signal_changed_id.
2387 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2392 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2394 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2395 Updated the logical ids related to ampm format, as now it is required to
2396 show it correctly localized even on languages with no default
2397 abbreviations for am or pm
2398 (_check_am_pm_format): check correctly the 24h format gconf property
2400 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2402 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2404 * src/hildon-button.c: Documentation updates.
2406 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2409 * src/hildon-caption.c: (hildon_caption_class_init):
2410 * src/hildon-color-button.c: (hildon_color_button_class_init):
2411 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2412 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2413 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2414 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2416 Remove deprecated GTK+ marshalers and replace them with the ones
2417 provided by GLib, for those available, add a marshaler for
2418 BOOLEAN:VOID, which is not available in GLib, and use it.
2420 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2423 the text from the previous column if there is no
2424 HildonTouchSelectorColumn::text-property set.
2426 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-button.h
2429 * src/hildon-button.c (hildon_button_set_property)
2430 (hildon_button_get_property, hildon_button_class_init)
2431 (hildon_button_set_style, hildon_button_get_style):
2432 New "style" property to change the visual appearance of the
2435 * src/hildon-picker-button.c (hildon_picker_button_new):
2436 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2438 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2439 HildonButton look like PickerButton)
2441 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2444 column while building the default string.
2446 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2449 scroll indicator by default.
2451 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2453 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-main.c: Fix the documentation for hildon_init()
2457 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2459 * doc/hildon-docs.sgml
2463 * src/hildon-window-stack-private.h
2464 * src/hildon-window-stack.h
2465 * src/hildon-window-stack.c:
2466 New HildonWindowStack object, that adds support for multiple
2467 stacks of windows per process.
2469 * src/hildon-stackable-window-private.h
2470 * src/hildon-stackable-window.h
2471 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2472 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2473 (hildon_stackable_window_show, hildon_stackable_window_hide)
2474 (hildon_stackable_window_class_init)
2475 (hildon_stackable_window_init):
2476 Use HildonWindowStack for stack management.
2478 * src/hildon-program.c (hildon_program_pop_window_stack)
2479 (hildon_program_peek_window_stack)
2480 (hildon_program_go_to_root_window):
2481 Add a fallback implementation to the deprecated functions using
2484 * examples/hildon-stackable-window-example.c:
2485 Use the new HildonWindowStack API.
2487 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-stackable-window-private.h
2490 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2491 (hildon_stackable_window_hide, hildon_stackable_window_init):
2492 Remove all window stack management.
2494 * src/hildon-program-private.h
2495 * src/hildon-program.h
2496 * src/hildon-program.c (hildon_program_init)
2497 (hildon_program_pop_window_stack)
2498 (hildon_program_peek_window_stack)
2499 (hildon_program_go_to_root_window):
2500 Remove all window stack management and mark functions as
2503 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu.c (hildon_app_menu_realize):
2506 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2508 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2510 * configure.ac: post release version bump
2511 * debian/changelog: version bump
2513 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2518 * configure.ac: bump version
2519 * debian/changelog: updates
2521 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2523 Based on initial code by Christian Dywan (christian@imendio.com)
2525 * doc/hildon-docs.sgml: Add section for hildon-main.
2526 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2527 * src/Makefile.am: Add new hildon-main.[ch]
2528 * src/hildon-defines.h: Update the icon sizes.
2529 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2530 new library initialization files and register icon sizes.
2531 * src/hildon-main.h: New declarations.
2532 * src/hildon.h: Include hildon-main.h
2534 Add new initialization functions to the library. These methods
2535 will register the hildon specific icon sizes and can be used in the
2536 future for other hildon specific bits.
2538 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2540 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2542 * src/hildon-window.c: (hildon_window_realize),
2543 (hildon_window_notify), (-hildon_window_update_title): Do not set
2544 the application name in the window title.
2546 Fixes: NB#89754 (Applications shouldn't display their names in the
2549 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-note-private.h:
2552 * src/hildon-note.c: (hildon_note_set_property),
2553 (hildon_note_get_property), (hildon_note_class_init),
2554 (hildon_note_init), (hildon_note_finalize),
2555 (hildon_note_new_confirmation_with_icon_name),
2556 (hildon_note_new_information_with_icon_name):
2558 No need to mark as deprecated the actual code. Revert
2559 to avoid missing symbols in widgets using deprecated API.
2561 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2563 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2565 * src/hildon-volumebar.h
2566 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2567 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2569 * src/hildon-helper.h
2570 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2571 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2573 * examples/Makefile.am:
2574 Deprecate hildon-insensitive-example
2576 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2578 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2580 * examples/hildon-pannable-area-buttons-scroll-example.c:
2581 Make all buttons finger height
2583 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2585 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2587 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2588 update the day model only if it is really required, and to avoid the
2589 full-reconstruction aproach. Now it only add or remove the required days.
2591 The purpose of this is avoid superfluous HildonTouchSelector::changed
2594 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2595 with strange parameters)
2597 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2599 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2601 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2602 the WINDOW_TYPE property.
2604 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2606 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2609 Fix dependency to allow parallel compilation with make -jX
2611 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2613 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2614 color frame and some minor tweaks to make it more consistent with
2617 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2618 highlighted but not visible)
2620 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2622 * examples/Makefile.am: Fixed typo in the Makefile.am.
2624 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2626 Reviewed the use of MAEMO_GTK define, now we add the define in the
2627 compilation line, and we also add it to the pc file.
2629 * configure.ac: Added MAEMO_GTK define to the compilation command
2630 and removed it from the config.h.
2632 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2633 do not have to take care about this define if the library was
2637 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2639 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2641 * examples/Makefile.am,
2642 * examples/hildon-pannable-area-buttons-scroll-example.c,
2643 * examples/hildon-pannable-area-gesture-signals-example.c,
2644 * examples/hildon-pannable-area-scroll-jump-example.c,
2645 * examples/hildon-pannable-area-tree-view-example.c:
2646 Renamed the pannable area examples, now they have more meaningful
2649 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2651 * src/hildon-touch-selector.c:
2652 (hildon_touch_selector_set_column_selection_mode): Used of
2653 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2654 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2655 to avoid re-seting the same selection mode.
2657 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2658 breaks HildonPickerDialog)
2660 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2662 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2663 conditional in the Makefile.am
2665 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2668 Remove unused methods.
2670 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2672 * src/hildon-button.c (hildon_button_init):
2673 Make button images center-aligned by default
2675 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2678 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2679 activated, we have to think about how to deal with both defines
2680 MAEMO_GTK and MAEMO_CHANGES.
2682 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2684 * examples/hildon-app-menu-example.c (create_menu): Make all
2685 buttons finger size.
2687 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2689 Fixed the compilation without maemo gtk adding ifdefs with
2690 MAEMO_GTK define to the code, we have to check this version more
2693 * examples/Makefile.am: Added control to avoid some examples that
2694 just make sense with maemo gtk.
2697 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2698 hildon modes with the define.
2700 * examples/hildon-edit-toolbar-example.c,
2701 (create_icon_view): Create the icon view without hildon-gtk
2702 helpers if we are not using maemo gtk.
2704 * src/hildon-touch-selector.c,
2705 (_create_new_column): Create the treeview without hildon-gtk
2706 helpers if we are not using maemo gtk.
2708 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2710 * src/hildon-pnnable-area.c,
2711 (hildon_pannable_area_dispose),
2712 (hildon_pannable_area_button_press_cb),
2713 (hildon_pannable_area_child_mapped),
2714 (hildon_pannable_area_add),
2715 (hildon_pannable_area_remove): Added code to control the position
2716 of the event_window when adding and removing children from the
2717 pannable. We have to raise the event window when the child is
2720 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2721 selection mode using custom widget inside pannable)
2723 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2725 * configure.ac: post release version bump
2726 * debian/changelog: version bump
2728 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2733 * configure.ac: bump version
2734 * debian/changelog: updates
2736 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2738 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2739 search mode, in order to avoid lose the focus on the treeview when
2740 a hw key (like enter) is pressed.
2742 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2743 in HildonDateSelector dialog)
2745 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2747 * debian/rules: Added --enable-maintainer-mode
2748 * Makefile.am: Added ACLOCAL_AMFLAGS
2750 This allows to properly regenerate the Makefiles if you modify the
2751 configure.ac or any Makefile.am.
2753 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2755 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2756 properties, not needed at all.
2758 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2762 * src/hildon-note.c: (hildon_note_set_property),
2763 (hildon_note_get_property), (hildon_note_class_init),
2764 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2765 (hildon_note_new_confirmation_add_buttons): Remove icons.
2766 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2767 (hildon_note_new_information_with_icon_name): Deprecate.
2768 (hildon_note_new_confirmation): Act directly, without calling
2769 the deprecated constructor.
2770 (hildon_note_new_information): Act directly, without calling
2771 the deprecated constructor.
2772 * src/hildon-note.h: Mark deprecate methods as such.
2773 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2774 not run tests on the deprecated methods if built with deprecation
2777 Fixes: NB#91688 (Never show icons in information notes/confirmation
2780 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2782 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2783 (hildon_app_menu_key_press): Remove leftover usage of the
2784 private structure in HildonAppMenu struct.
2785 * src/hildon-app-menu.h: Remove leftover private structure
2786 from the HildonAppMenu struct.
2788 Fixes a crasher when using the HildonAppMenu.
2790 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-picker-dialog.c: Use appropriate logical id
2793 for the default "Done" text.
2795 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2797 * configure.ac: post release version bump
2798 * debian/changelog: version bump
2800 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2802 Modified the way to scroll to the current selection just when the touch
2803 selector is shown on the screen, avoiding a g_idle. Added too a property
2804 to configure this behaviour. See hildon_pannable_area_jump_to_child
2805 documentation for more information.
2807 * src/hildon-touch-selector.c
2808 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2809 Added 'initial-scroll' property
2810 (hildon_touch_selector_set_property): Added
2811 (hildon_touch_selector_map): Removed as not required anymore
2812 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2813 only a concrete column, instead of iterate along all the columns
2815 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2820 * configure.ac: bump version
2821 * debian/changelog: updates
2823 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2826 compilation time warnings.
2828 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2830 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2831 the default value for HildonPannableArea::mov-mode to
2832 HILDON_PANNABLE_AREA_MODE_VERT.
2834 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2836 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2838 Reverting following commit:
2840 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-app-menu-private.h
2843 * src/hildon-app-menu.[ch]
2844 * src/hildon-button.[ch]
2845 * src/hildon-check-button.[ch]
2846 * src/hildon-entry.[ch]
2847 * src/hildon-pannable-area.[ch]
2848 * src/hildon-text-view.[ch]:
2849 Added private field to the object's structure.
2851 because it causes an ABI breakage. We will need to introduce these
2852 changes later at some point. See NB#91636 for an extensive
2853 explanation and status.
2855 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2857 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2859 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2860 remove special cases that are no longer necessary.
2862 Fixes: NB#91016 (Change toolbar sizes, simplification)
2864 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2867 is shown in the cancel note.
2869 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2872 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2873 (hildon_seekbar_init): Remove steppers, remove expose event.
2874 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2876 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2878 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2881 label font to "SmallSystemFont" for vertically arranged buttons.
2883 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2886 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-check-button.c
2889 (hildon_check_button_set_active, hildon_check_button_clicked):
2890 Don't access private parts directly, use getters instead.
2892 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-check-button.c (hildon_check_button_new):
2895 Align the contents of the check button to the left.
2897 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2899 * src/hildon-pannable-area.c,
2900 (hildon_pannable_area_scroll_to),
2901 (hildon_pannable_area_jump_to),
2902 (hildon_pannable_area_scroll_to_child),
2903 (hildon_pannable_area_jump_to_child): Replace the mapped
2904 precondition of these functions with the realized, it is the
2905 correct state of the widget in this case. Changed the
2906 documentation according to this modification.
2908 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2910 Added a new EXTRA_CFLAGS option to add the deprecated define to
2911 the compilation command. This way we can avoid using the define in
2912 the documentation compilation.
2914 * configure.ac: Defined EXTRA_CFLAGS.
2916 * examples/Makefile.am:
2918 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2920 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2922 * src/hildon-picker-dialog.c:
2923 Defined a utility macro with the desired touch selector height
2924 Removed currently unused separator, and title_label variables from
2926 (hildon_picker_dialog_init): Removed code related to the creation
2927 of unused private variables title_label and separator.
2928 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2929 to ensure correct visualization of the touch selector inside the dialog.
2930 * src/hildon-touch-selector.c
2931 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2932 ensure a concrete height of the widget.
2934 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2937 * tests/Makefile.am:
2939 Remove spurious whitespaces.
2941 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2944 compilation warning after the cancel button removal.
2946 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2948 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2950 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2951 Makefile.am, that way we can choose not to compile some examples
2952 and tests of the deprecated widgets.
2954 * examples/Makefile.am: Divided the sources in deprecated and
2957 * src/Makefile.am: Added undef statement of the deprecated
2958 symbol to the enums file generation process.
2960 * src/hildon-color-chooser-dialog.c
2961 * src/hildon-color-chooser-dialog.h
2962 * src/hildon-color-button.c
2963 * src/hildon-color-button.h
2964 * src/hildon-color-chooser.c
2965 * src/hildon-color-chooser.h
2966 * src/hildon-controlbar.c
2967 * src/hildon-controlbar.h
2968 * src/hildon-date-editor.c
2969 * src/hildon-date-editor.h
2970 * src/hildon-hvolumebar.c
2971 * src/hildon-hvolumebar.h
2972 * src/hildon-private.c
2973 * src/hildon-private.h
2974 * src/hildon-range-editor.c
2975 * src/hildon-range-editor.h
2976 * src/hildon-seekbar.c
2977 * src/hildon-seekbar.h
2978 * src/hildon-time-editor.c
2979 * src/hildon-time-editor.h
2980 * src/hildon-time-picker.c
2981 * src/hildon-time-picker.h
2982 * src/hildon-volumebar.c
2983 * src/hildon-volumebar.h
2984 * src/hildon-vvolumebar.c
2985 * src/hildon-vvolumebar.h
2986 * src/hildon-bread-crumb-trail.h
2987 * src/hildon-bread-crumb-trail.c
2988 * src/hildon-calendar-popup.c
2989 * src/hildon-calendar-popup.h
2990 * src/hildon-weekday-picker.c:
2991 * src/hildon-weekday-picker.h:
2992 * src/hildon-bread-crumb-widget.c:
2993 * src/hildon-bread-crumb-widget.h:
2994 * src/hildon-bread-crumb.c:
2995 * src/hildon-bread-crumb.h:
2996 * src/hildon-calendar.c:
2997 * src/hildon-calendar.h:
2998 * src/hildon-caption.c:
2999 * src/hildon-code-dialog.c:
3000 * src/hildon-code-dialog.h:
3001 * src/hildon-font-selection-dialog.c:
3002 * src/hildon-font-selection-dialog.h:
3003 * src/hildon-get-password-dialog.c:
3004 * src/hildon-get-password-dialog.h:
3005 * src/hildon-login-dialog.c:
3006 * src/hildon-login-dialog.h:
3007 * src/hildon-number-editor.c:
3008 * src/hildon-number-editor.h:
3009 * src/hildon-set-password-dialog.c:
3010 * src/hildon-set-password-dialog.h:
3011 * src/hildon-sort-dialog.c:
3012 * src/hildon-sort-dialog.h: This is the list of deprecated
3015 * src/hildon-touch-selector.c:
3016 * src/hildon-window.c: Added undef statement to avoid compilation
3019 * tests/Makefile.am: Divided the sources in deprecated and
3022 * tests/check_test.c,
3023 (configure_tests): Marked the deprecated code that was adding
3024 suites with deprecated tests.
3026 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3028 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-touch-selector.c: (_default_print_func): Do not
3031 duplicate a string returned by gtk_tree_model_get(), it is already
3034 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3037 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3039 * src/hildon-pannable-area.c
3040 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3041 method, it had problems when adding a widget with viewport the
3042 second time. Now checks if it already has a viewport and uses it.
3044 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3047 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3049 * src/hildon-pannable-area.c,
3050 (hildon_pannable_area_scroll_to),
3051 (hildon_pannable_area_jump_to),
3052 (hildon_pannable_area_scroll_to_child),
3053 (hildon_pannable_area_jump_to_child): Added a precondition to the
3054 scroll and jump to functions: the widget must be mapped before we
3055 can safely call these functions. We have also added documentation
3056 to the functions to explain how to use them in this situation.
3059 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3061 Reviewed the threading handling of the pannable widget, we have
3062 used the gdk_threads_add_timeout function instead of the usual
3063 glib handlers. This avoids some problems with the threads.
3065 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3066 (hildon_pannable_area_initial_effect),
3067 (hildon_pannable_area_scroll_indicator_fade),
3068 (hildon_pannable_area_button_press_cb),
3069 (hildon_pannable_area_timeout),
3070 (hildon_pannable_area_motion_notify_cb),
3071 (hildon_pannable_area_button_release_cb),
3072 (hildon_pannable_area_scroll_cb),
3073 (hildon_pannable_area_scroll_to): Removed the
3074 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3075 gdk_threads_add_timeout.
3077 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3079 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3084 * configure.ac: bump version
3085 * debian/changelog: updates
3087 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3090 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3091 * src/hildon-color-chooser-dialog.c:
3092 (hildon_color_chooser_dialog_init):
3093 * src/hildon-font-selection-dialog.c:
3094 (hildon_font_selection_dialog_init):
3095 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3097 Remove all cancel/close-like dialogs, as these are not going to be
3100 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-note.c: (hildon_note_rebuild),
3103 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3106 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3108 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3111 sure all buttons are shown, even the Cancel/Close-like ones.
3113 Fixes: NB#90861 (Custom Confirmation dialogs should be
3114 protected from cancel button removal)
3116 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3118 * debian/control: Change libhildon1-examples dependency from libhildon1
3120 * debian/libhildon1-examples.install
3122 * Makefile.am: Modified the final install directory for the examples on
3123 package libhildon1-examples
3124 * Makefile.static: Update clean target in order to remove all the binary
3127 Changes suggested by Claudio after review new libhildon1-examples package
3129 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3132 * src/hildon-touch-selector.c: Ditto.
3134 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3136 * debian/control: Added new package libhildon1-examples, in order to pack
3137 the current hildon examples as documentation
3138 * debian/rules: Not to compress .c files, modify some includes on the
3139 examples (as normally are compiled locally, but when installed it will
3140 require to include the installed libhildon1 library), and rename
3142 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3143 install all the example files on the new example package
3144 * examples/Makefile.static: Added static makefile that can be used to
3145 compile the examples, once installed the new example package
3146 * examples: Most of the examples were modified in order to grant that
3147 all use only '#include "hildon.h"', in order to be easy to prepare
3148 it on the example package
3150 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3153 * debian/libhildon1-dev.install
3154 * debian/libhildon1-doc.install:
3155 Move all gtk-doc files to a separate libhildon1-doc package.
3157 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3159 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3163 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3165 * debian/rules: Fixed a error in order to avoid unnecessary calls
3166 to autogen.sh on package building
3168 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3170 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3172 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3177 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3179 * src/hildon-picker-button.c
3180 (hildon_picker_button_finalize):
3181 Free priv->done_button_text
3183 * src/hildon-time-button.c
3184 (hildon_time_button_set_time)
3185 * src/hildon-picker-button.c
3186 (hildon_picker_button_clicked)
3187 (hildon_picker_button_selector_selection_changed)
3188 (hildon_picker_button_set_selector)
3189 * src/hildon-date-button.c
3190 (hildon_date_button_set_date):
3191 Free strings returned by hildon_touch_selector_get_current_text()
3193 * src/hildon-button.c (hildon_button_construct_child):
3194 Fix leaks in priv->image and priv->label_box
3196 Fixes: NB#90535 (Memory leak in picker button)
3198 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-button.c: (hildon_button_get_property): Do not access
3201 private elements directly, use getters instead.
3203 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-app-menu-private.h
3206 * src/hildon-app-menu.c
3207 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3208 Store the menu's parent window.
3210 * src/hildon-stackable-window.c
3211 (hildon_stackable_window_toggle_menu)
3212 (hildon_stackable_window_finalize):
3213 Set the menu's parent window when the menu is shown, unset it when
3216 * src/hildon-app-menu.c
3217 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3218 (hildon_app_menu_class_init):
3219 Send unhandled keyboard accelerators to the parent window.
3221 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-stackable-window.c
3224 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3226 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3228 * configure.ac: post release version bump
3230 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: Bump version
3234 * debian/changelog: Updates
3235 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3238 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3240 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3243 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3244 GtkMenu with Hildon style.
3246 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-picker-button.c:
3249 (hildon_picker_button_set_done_button_text): Set the dialog's
3250 done button text here as well.
3252 Fixes: NB#90232 (Picker button does not set the label on done button
3253 for the second time)
3255 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3260 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-app-menu.c (hildon_app_menu_insert)
3263 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3264 the HildonAppMenu to be activatable using keyboard accelerators
3265 when the menu is not being shown.
3267 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3269 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-stackable-window.c
3272 (hildon_stackable_window_show):
3273 Don't hide old windows automatically when new windows are shown:
3274 this is now a task for the window manager.
3275 (hildon_stackable_window_class_init)
3276 (hildon_stackable_window_hide):
3277 Remove windows from the stack everytime they're hidden.
3278 (hildon_stackable_window_realize):
3279 Don't change the _NET_WM_WINDOW_TYPE property. Use
3280 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3281 it as a stackable window.
3283 * src/hildon-program.c
3284 (hildon_program_pop_window_stack):
3285 Just hide the window to remove it from the stack.
3286 (hildon_program_go_to_root_window):
3287 Don't call gtk_widget_show(), this is now a task for the window
3290 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3292 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3294 * src/hildon-button.c
3295 (hildon_button_construct_child):
3296 Don't pack anything in the button until text or image are
3297 set. This allows adding a custom child after creating the button
3298 with hildon_button_new().
3299 (hildon_button_finalize, hildon_button_class_init)
3300 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3301 alignment and the label box even when they're not packed in the
3304 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3306 * src/hildon-touch-selector.h:
3307 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3308 currently the type definition was using GTK_TYPE_VBOX
3309 * src/hildon-touch-selector.c:
3310 Added some implementation notes in order to clarify that any other widget
3311 added without the column related API will not be included on the
3312 selection logic, and how the widget is freed, as some people ask about
3314 (hildon_touch_selector_remove): Reimplemented in order to free properly
3315 the column related data when you remove the private hbox.
3316 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3317 to get a proper HildonTouchSelectorColumn documentation
3319 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-touch-selector-entry.c:
3322 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3323 text in the GtkEntry and there is no item selected. Fixes a
3326 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-app-menu-private.h
3329 * src/hildon-app-menu.[ch]
3330 * src/hildon-button.[ch]
3331 * src/hildon-check-button.[ch]
3332 * src/hildon-entry.[ch]
3333 * src/hildon-pannable-area.[ch]
3334 * src/hildon-text-view.[ch]:
3335 Added private field to the object's structure.
3337 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3339 * configure.ac: post-release version bump
3341 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3345 * configure.ac: pre-release version bump
3347 * debian/changelog: updates.
3349 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3352 Disconnect the handler for HildonTouchSelector::changed.
3354 (hildon_picker_button_selector_selection_changed): Update the button
3355 value if the selection change was not triggered by the
3358 (hildon_picker_button_set_selector): connect to
3359 HildonTouchSelector::changed.
3361 Fixes: NB#89650 (Picker button is not updated, when selection in
3362 selector has changed)
3364 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3366 * src/hildon-picker-dialog.c
3367 (hildon_picker_dialog_realize): Removed as not required
3368 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3369 * src/hildon-picker-button.c
3370 (_current_selector_empty): New function, checks if the selector is empty
3371 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3372 if the current selector is empty, in order to avoid to show the dialog
3373 close the dialog in this case (and shows a g_warning).
3375 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3377 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3379 * src/hildon-pannable-area.c,
3380 (hildon_pannable_area_scroll): Added clause to stop movement when
3381 the child of pannable is smaller than one page.
3382 (hildon_pannable_area_scroll_to): Added conditions to avoid
3383 starting the scrolling movement if the child is smaller than one
3384 page, the complete child is in the screen, we do not have to move.
3386 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3388 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3391 this is managed automatically by the widget when the size of the
3394 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-picker-button.c
3397 (hildon_picker_button_set_done_button_text): Make a copy of the
3398 text, and free the previous value.
3400 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3402 * src/hildon-touch-selector-entry.c:
3403 (hildon_touch_selector_entry_print_func): Return the selected row's
3404 text if the entry is empty.
3406 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3409 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3413 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-check-button.h
3417 * src/hildon-check-button.c
3418 * examples/hildon-check-button-example.c:
3419 HildonCheckButton is now a new widget. 'toggled' signal added.
3421 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3423 * src/hildon-program-private.h
3424 * src/hildon-program.c (hildon_program_init)
3425 (hildon_program_finalize): Removed unused variables group_leader
3426 and name from HildonProgramPrivate.
3428 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-check-button.c (hildon_check_button_set_active)
3431 (hildon_check_button_get_active, hildon_check_button_new): Use
3432 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3434 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3436 * src/hildon-touch-selector.h
3437 (hildon_touch_selector_set_column_attributes): added deprecation
3438 guard HILDON_DISABLE_DEPRECATED
3439 * src/hildon-time-selector.c
3440 (hildon_time_selector_set_time)
3441 (hildon_time_selector_get_time): Fixed a typo on documentation
3442 * src/hildon-touch-selector.c: update HildonTouchSelector and
3443 HildonTouchSelectorColumn documentation
3444 * src/hildon-touch-selector-entry.c: update "text-column" property
3446 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3447 to be added to the general documentation.
3449 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3451 * examples/hildon-pannable-area-example-4.c,
3453 * examples/hildon-pannable-area-example.c,
3454 (main): Modified the code in order to use the container add, with
3455 viewport treeviews could have problems if they are really big.
3457 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3459 * src/hildon-weekday-picker.c,
3460 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3461 the agreement regarding deprecation in the library.
3463 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3465 * examples/hildon-picker-button-multicolumn-example.c:
3466 (main): Use custom "done" button text.
3468 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3469 (hildon_picker_button_set_property),
3470 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3471 (hildon_picker_button_init),
3472 (+hildon_picker_button_get_done_button_text),
3473 (+hildon_picker_button_set_done_button_text): New methods to customize
3474 the "done" button label in the launched HildonPickerDialog. Also,
3477 * src/hildon-picker-button.h: add the public API.
3479 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-date-selector.h:
3482 * src/hildon-picker-dialog.h:
3483 * src/hildon-time-selector.h:
3484 * src/hildon-touch-selector-column.h:
3485 * src/hildon-touch-selector.h:
3487 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3488 declarations. Fixes gtk-doc warnings.
3490 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-picker-dialog.h
3493 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3494 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3496 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3497 long text is set as label for done button)
3499 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-dialog.c (hildon_dialog_add_button):
3502 Set fixed width to all buttons in the HildonDialog.
3504 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3506 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3508 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3509 Set widget name using class name plus "-finger" or "-thumb".
3511 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3514 'clicked' when the state of the button is manually changed.
3516 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-app-menu.c (hildon_app_menu_realize)
3519 (hildon_app_menu_unrealize, hildon_app_menu_init)
3520 (hildon_app_menu_class_init, item_visibility_changed):
3521 Change the menu layout when the size of the screen changes.
3522 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3523 Show warning only when changing the number of colums using the
3526 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3528 * debian/compat: Set to 5
3529 * debian/control: Update dependencies.
3530 * debian/libhildon1-dbg.install: Remove.
3531 * debian/libhildon1-dev.install: Update according to cdbs paths.
3532 * debian/libhildon1.install: Update according to cdbs paths.
3533 * debian/rules: Switch to cdbs.
3535 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3537 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3538 'item' variable renamed to 'filter'
3540 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-app-menu.c (hildon_app_menu_insert)
3543 (hildon_app_menu_add_filter, remove_item_from_list)
3544 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3545 Don't leak hidden items when the menu is destroyed.
3547 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3549 * src/hildon-app-menu.c (hildon_app_menu_insert)
3550 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3551 (hildon_app_menu_set_columns, item_visibility_changed)
3552 (filter_visibility_changed, hildon_app_menu_repack_filters)
3553 (hildon_app_menu_repack_items):
3554 Repack items and filters separately.
3556 Don't repack all items, change only the ones that are needed to
3559 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3561 * src/Makefile.am: added hildon-touch-selector-column.h
3563 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3565 * src/hildon-touch-selector.c: added the property "text-column" to the
3566 class HildonTouchSelectorColumn, and related get/set functions
3567 (_default_printf_func): updated to use "text-column" property
3568 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3569 "text-column" in his documentation, as this is now included on
3570 HildonTouchSelectorColumn. The get/set_property can still be used,
3571 working as a wrapper to the concrete column "text-column" property
3572 (_text_column_modified): callback added in order to handle the signal
3573 "notify::text-column" of the concrete HildonTouchSelectorColumn
3574 (hildon_touch_selector_entry_get_text_column)
3575 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3576 modified in order to use the HildonTouchSelectorColumn "text-column"
3578 * src/hildon-time-selector.c:
3579 * src/hildon-date-selector.c:
3580 * examples/hildon-touch-selector-example.c
3581 * examples/hildon-touch-selector-multi-cells-example.c
3582 * examples/hildon-picker-button-multicolumn-example.c
3583 Set the right value to "text-column" property on the creation of a new
3584 column using hildon_touch_selector_append_column()
3586 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3588 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-app-menu.c
3591 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3592 updating the layout of the menu, don't create all widgets again,
3593 just repack the items in their new places.
3595 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3597 * src/hildon-time-selector.c
3598 (hildon_time_selector_get_time)
3599 (hildon_time_selector_set_time)
3600 Added documentation of these public methods
3602 * src/hildon-date-button.h
3603 * src/hildon-touch-selector-column.h
3604 * src/hildon-time-button.h
3605 * src/hildon-picker-dialog.h
3606 * src/hildon-time-selector.h
3607 * src/hildon-picker-button.h
3608 * src/hildon-touch-selector.h
3609 * src/hildon-time-picker.h
3610 * src/hildon-date-selector.h
3611 * src/hildon-touch-selector-entry.h
3612 Modified in order to use hildon-widgets code style
3614 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3616 Added deprecated support to the compilation process using
3617 HILDON_DISABLE_DEPRECATED
3619 * configure.ac: Added the --disable-deprecated to the configure
3622 * src/hildon-weekday-picker.c:
3623 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3624 to use the deprecated support. We will update the other deprecated
3625 widgets status in a new patch.
3627 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3629 * configure.ac: Fixed typo with fatal warnings support, the
3630 variable name was not correct
3632 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-app-menu.c
3635 * src/hildon-program.c: Update documentation.
3637 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3639 * configure.ac: Post-release version bump.
3641 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3646 * configure.ac: Pre-release version bump.
3647 * debian/changelog: Updates.
3649 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3651 * NEWS: Update news for previous releases.
3653 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3655 * examples/hildon-touch-selector-multi-cells-example.c:
3656 (create_selector): Update the example to use
3657 hildon_touch_selector_append_column() with a NULL renderer and set
3658 the renderers later.
3659 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3660 passed a NULL renderer. This is documented behavior now.
3662 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3663 This must be used if the developer wants full control on the layout of
3664 the renderers to be added to the column.
3666 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3668 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3670 * src/hildon-touch-selector.c: Documentation fixes.
3672 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-wizard-dialog-private.h: Remove image and box.
3675 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3676 (hildon_wizard_dialog_set_property), (response): Completely remove
3677 image/icon support, and the containers required for the layout.
3679 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3681 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-app-menu.c: Updated documentation.
3685 * src/hildon-stackable-window.c
3686 (hildon_stackable_window_set_main_menu): Unref the old menu after
3687 ref'ing the new one.
3689 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-stackable-window.c
3692 (hildon_stackable_window_set_main_menu): Unref the previous menu
3693 instead of destroying it.
3695 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3696 floating reference and set has_user_ref_count to FALSE to make
3697 HildonAppMenu act like a normal ref-counted widget and not a
3700 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3703 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3705 * src/hildon-touch-selector-column.h: new file
3706 * src/hildon-touch-selector.h
3707 * src/hildon-touch-selector.c
3708 Implemented GtkCellLayout interface, in order to allow to configure
3709 the cell layout on each individual selector column
3710 (hildon_touch_selector_set_column_attributes): marked as deprecated
3711 * examples/hildon-touch-selector-multi-cells-example.c
3712 Example of how to use the GtkCellLayout interface on the selector
3714 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3716 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3718 * src/hildon-app-menu.h
3719 * src/hildon-app-menu.c
3720 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3721 (hildon_app_menu_append, hildon_app_menu_prepend):
3722 New methods to prepend, insert and move items in the menu.
3724 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-wizard-dialog.c:
3728 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3730 (create_title): Update logical IDs and related code.
3731 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3733 * src/hildon-wizard-dialog.h: Note that
3734 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3735 point, as it is not used anymore.
3737 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3739 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-note.c:
3742 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3743 shown. Do not display an icon in confirmation notes nor information
3745 (hildon_note_set_button_text): Update logical ID for cancel button.
3747 Fixes: NB#88850 (Update HildonNote button strings + signals)
3749 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-stackable-window.c
3752 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3754 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-app-menu-private.h
3757 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3758 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3759 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3760 temporary property 'columns' to change the number of columns.
3762 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3764 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3766 * examples/hildon-note-example.c: (on_information_clicked),
3767 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3768 debugging information.
3769 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3771 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3772 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3773 in order to close: this will be handled by the WM from now on.
3775 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3777 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-app-menu-private.h
3780 * src/hildon-app-menu.c
3781 (hildon_app_menu_append, hildon_app_menu_add_filter)
3782 (button_visibility_changed, hildon_app_menu_apply_style)
3783 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3784 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3785 layout everytime a button (item or filter) is shown or hidden.
3787 * src/hildon-stackable-window.c
3788 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3791 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3793 * src/hildon-touch-selector.c:
3794 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3795 that the treeview inside the touch selector is in fremantle hildon mode
3796 * examples/hildon-date-button-example.c
3797 * examples/hildon-picker-button-multicolumn-example.c
3798 * examples/hildon-touch-selector-entry-example.c
3799 * examples/hildon-touch-selector-example.c
3800 * examples/hildon-time-button-example.c
3801 * examples/hildon-picker-button-example.c:
3802 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3804 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3806 * examples/hildon-text-view-example.c: (main): Remove the
3807 gtkrc bits, now handled by the theme.
3809 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3814 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3816 * po/Makefile.am: Install properly the mo files.
3817 * po/en_GB.po: Update translation, to ease testing purposes.
3819 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3821 * examples/hildon-picker-button-example.c: (main): Select an item
3822 in the selector before setting it to the button.
3824 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3827 Update button's value if the selector has an item active.
3829 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3830 'value' with the selector)
3832 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3834 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3835 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3836 (hildon_picker_button_class_init): Plug the finalize method.
3837 (hildon_picker_button_set_selector): If there's a previously set
3838 selector, unref'it before setting a new one.
3840 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3841 HildonTouchSelector)
3843 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-touch-selector-entry.c:
3846 (hildon_touch_selector_entry_changed): Check if there is no text
3847 selected before setting the entry text.
3850 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-touch-selector.h
3853 * src/hildon-touch-selector.c
3854 (hildon_touch_selector_get_active)
3855 (hildon_touch_selector_set_active): New methods to set/get the
3856 index of the selected item.
3858 * src/hildon-picker-button.h
3859 * src/hildon-picker-button.c
3860 (hildon_picker_button_get_active)
3861 (hildon_picker_button_set_active): New methods to set/get the
3862 index of the selected item.
3864 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3866 * configure.ac: post-release version bump.
3868 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3872 * configure.ac: Pre-release version bump.
3873 * debian/changelog: Updates.
3874 * debian/control: Add myself as maintainer and depend on l10n
3877 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-window.c
3880 (hildon_window_set_main_menu)
3881 * src/hildon-stackable-window.c
3882 (hildon_stackable_window_set_main_menu):
3883 Updated documentation.
3885 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3888 Don't free selector->priv manually.
3891 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3894 (hildon_gtk_window_set_progress_indicator):
3895 * src/hildon-gtk.h: Added the new API
3896 hildon_gtk_window_set_progress_indicator, it changes the state of
3897 the window progress hint.
3899 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3901 * src/hildon-button.c
3902 * src/hildon-stackable-window.c: Minor documentation updates.
3904 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3906 * src/hildon-stackable-window.c: Updated documentation.
3908 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3910 * src/hildon-defines.h: Update margins definitions
3911 to the Fremantle sizes.
3914 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3916 * src/hildon-touch-selector.c,
3917 (_hildon_touch_selector_set_model): Cleaning the code after
3918 review, removed g_print and #if 0 from the code.
3920 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-edit-toolbar.c: Update documentation.
3924 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3926 * src/hildon-check-button.h
3927 * src/hildon-check-button.c
3928 (hildon_check_button_set_label, hildon_check_button_get_label)
3929 * examples/hildon-check-button-example.c
3930 (button_clicked_cb):
3931 Removed deprecated methods.
3933 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-text-view.c:
3936 Add sample code to the documentation.
3938 * src/hildon-entry.h
3939 * src/hildon-text-view.h:
3940 Minor cosmetic changes.
3942 * src/hildon-entry.c:
3943 Add sample code to the documentation.
3944 (hildon_entry_init, hildon_entry_refresh_contents):
3945 Don't allow NULL values in the placeholder.
3947 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3949 * doc/hildon-docs.sgml
3951 * examples/Makefile.am
3952 * examples/hildon-text-view-example.c
3954 * src/hildon-text-view.c
3955 * src/hildon-text-view.h
3957 New HildonTextView widget, with example.
3959 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3961 * po/POTFILES.in: Add missing files with translatable strings.
3962 Partially fixes NB#88287.
3964 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3966 * examples/hildon-pannable-area-example-2.c: (main): No need to
3967 set the cellrenderer height inside hildon touch lists, the theme does
3970 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3972 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3973 they are integrated in the theme.
3975 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3977 * examples/hildon-entry-example.c: Update the example adding
3978 widgets to modify the text and the placeholder of the HildonEntry.
3980 * src/hildon-entry.c: Show the placeholder everytime the widget
3981 is empty and loses the focus.
3983 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3985 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3987 * src/hildon-pannable-area.c,
3988 (hildon_pannable_area_size_request): Fixed bug in height
3989 requisition, avoid increasing size and add border twice.
3991 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3993 * configure.ac: postrelease version bump.
3995 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3999 * configure.ac: Prerelease version bump.
4000 * debian/changelog: update.
4001 * debian/rules: make -dbg package contain useful debugging symbols.
4003 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4005 * src/hildon-dialog.h
4006 * src/hildon-dialog.c
4007 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4008 New methods to add buttons with finger size.
4009 (hildon_dialog_new_with_buttons):
4010 Create buttons with finger size.
4012 * examples/hildon-dialog-example.c (main): Use HildonDialog
4013 methods to add buttons.
4015 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4017 * src/hildon-entry.c: Updated HildonButton documentation.
4019 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4021 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4022 button value label with (FALSE, FALSE) to prevent NB#88126 from
4025 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4027 * examples/hildon-pannable-area-example.c,
4028 (main): Removed examples panning a vbox inside a pannable
4029 area. Check bug NB#87965
4031 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4033 Patch contributed by Kris Rietveld (kris@imendio.com)
4035 * src/hildon-pannable-area.c,
4036 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4037 get_size and get_position, this saves an X server roundtrip.
4039 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4041 * doc/hildon-docs.sgml
4043 * examples/Makefile.am
4044 * examples/hildon-entry-example.c
4046 * src/hildon-entry.c
4047 * src/hildon-entry.h
4049 New HildonEntry widget, with example.
4051 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-button.c (hildon_button_construct_child): Pack the
4054 image with expand == fill == FALSE. This is a workaround for a bug
4057 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4059 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4060 labels for the text column, to make it more look more dynamic.
4062 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4064 * src/hildon-time-selector.c
4065 Define gettext auxiliar macro N_
4066 (_create_minutes_model)
4067 (_create_hours_model)
4068 (_create_ampm_model): use of strftime in order to fill the model
4069 * src/hildon-date-selector.c
4070 (hildon_date_selector_finalize):
4071 (_locales_init): remove the logic related to get the name of the months
4072 using nl_langinfo, as it is not required anymore
4074 (_create_year_model)
4075 (_create_month_model)
4076 (_update_day_model): use of strftime in order to fill the model properly
4079 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4081 * src/hildon-button.h
4082 * src/hildon-button.c (hildon_button_get_image): New method to
4085 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4087 * src/hildon-touch-selector.c:
4088 (hildon_touch_selector_remove_column): Remove from the correct parent
4089 and also remove the list element and free it.
4092 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4094 * src/hildon-time-selector.c
4095 (_create_hours_model): change the range on 12h ampm format in order to use
4096 a 12-11 range instead of previous 01-12 range
4097 (hildon_time_selector_set_time): change the way to select the current time
4098 on 12h ampm format, due the change on the range
4099 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4102 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4104 * src/hildon-touch-selector.c
4105 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4106 in order to allow use this function on multiple row selection mode if
4107 the column is different that the first one
4110 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4113 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4115 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4117 * src/hildon-date-selector.h: clean some comments, now on the .c
4118 * src/hildon-date-selector.c
4119 (hildon_date_selector_select_month): first implementation
4120 (hildon_date_selector_select_day): added documentation, reimplemented
4121 using hildon_date_selector_select_current_date to avoid repeat code
4124 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4126 Reviewed interaction logic based on device experiences, refactored
4129 * src/hildon-pannable-area.c,
4130 (hildon_pannable_area_class_init): Updated default vmax speed.
4131 (hildon_pannable_area_calculate_velocity): Added this function, it
4132 avoids duplicate valocity calculation. Adjusted calculation to
4133 avoid problems with zero dist events.
4135 (hildon_pannable_area_motion_notify_cb): Now we use the
4136 calculate_velocity function.
4138 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4140 * src/hildon-date-selector.c
4141 (hildon_date_selector_select_current_date): fix the day range check
4142 as it failed using the last day of the current month
4145 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4147 * src/hildon-touch-selector.c
4148 (hildon_touch_selector_get_num_columns): added a parameter validation
4151 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4153 * examples/Makefile.am
4154 * examples/hildon-edit-toolbar-example.c: Example of the
4155 HildonEditToolbar widget.
4157 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4159 * configure.ac: postrelease version bump.
4161 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4165 * configure.ac: prerelease version bump.
4166 * debian/changelog: update.
4168 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4170 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4171 renderer to display stock icons in the touch list. Also, set the sizes
4172 to the recommended in the style guide.
4174 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4175 * src/hildon-touch-selector.h
4176 (hildon_touch_selector_set_active_iter): renamed, now is
4177 hildon_touch_selector_select_iter
4178 (hildon_touch_selector_get_active_iter): renamed, now is
4179 hildon_touch_selector_get_selected
4180 (hildon_touch_selector_unselect_iter): added
4181 * src/hildon-touch-selector.c
4182 Update after API modification (methods renamed)
4183 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4184 order to avoid problems selecting multiple elements on the column
4185 (hildon_touch_selector_unselect_iter): added the implementation
4186 * src/hildon-time-selector.c
4187 * src/hildon-date-selector.c
4188 * src/hildon-touch-selector-entry.c
4189 Update methods calls after hildon-touch-selector.h API modification (methods
4192 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-stackable-window.c
4195 (hildon_stackable_window_finalize): Call the parent class's finalize.
4197 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4199 * examples/hildon-touch-selector-example.c: (create_selector): Use
4200 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4203 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4205 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4206 set a cell background color, to respect theming.
4208 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4210 * doc/hildon-docs.sgml
4213 * src/hildon-edit-toolbar.c
4214 * src/hildon-edit-toolbar.h
4215 * src/hildon.h: New HildonEditToolbar widget.
4217 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4219 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4222 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4223 * src/hildon-touch-selector.c
4224 (_create_new_column): use g_object_set instead of two g_object_set_property
4226 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4227 * src/hildon-touch-selector.c
4228 (_create_new_column): use of hildon_gtk_tree_view_new to create
4229 the treeview, instead of use directly g_object_new
4230 (_create_new_column): update the property name "vindicator-mode" for the
4231 new one "vscrollbar-policy"
4232 * examples/hildon-date-button-example.c
4233 * examples/hildon-picker-button-multicolumn-example.c
4234 * examples/hildon-touch-selector-entry-example.c
4235 * examples/hildon-touch-selector-example.c
4236 * examples/hildon-time-button-example.c
4237 * examples/hildon-picker-button-example.c
4238 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4239 to all the treeviews inside a pannable area.
4241 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4243 * src/hildon-button.h
4244 * src/hildon-button.c (hildon_button_init)
4245 (hildon_button_set_arrangement, hildon_button_set_alignment)
4246 (hildon_button_set_title_alignment)
4247 (hildon_button_set_value_alignment)
4248 (hildon_button_set_image_alignment)
4249 (hildon_button_construct_child): New methods to set the alignment
4250 of the individual components of the button (title, value,
4251 image). Also, new method to alter the xscale and yscale properties
4252 of the GtkAlignment inside the button, so more complex layouts can
4255 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4257 * src/hildon-button.c (hildon_button_style_set)
4258 (hildon_button_class_init, hildon_button_set_arrangement)
4259 (hildon_button_construct_child): Apply style properties
4260 correctly. Use the 'image-spacing' style property too.
4262 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4265 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4268 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4270 * src/hildon-pannable-area.c,
4271 (hildon_pannable_area_size_request): Fixed problem with
4272 pannable-area size_request.
4274 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4276 Added management for the grab-focus to a child widget, like a
4277 range, we need to fade out the scrollbar when releasing.
4279 * src/hildon-pannable-area.c,
4280 (hildon_pannable_area_init): Connected the grab-focus signal to
4282 (hildon_pannable_area_grab_notify): Added this function in order
4283 to manage the situation when the grab-focus ends. We have to
4284 fade-out the scrollbar.
4286 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4288 * src/hildon-app-menu.c: Minor documentation update.
4290 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-app-menu.c
4293 * examples/hildon-app-menu-example.c (create_menu): Update
4294 examples and documentation to explain how to connect callbacks.
4296 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4298 * examples/hildon-button-example.c
4299 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4300 hildon_stackable_window_new instead of gtk_window_new
4302 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4304 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4305 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4306 (hildon_pannable_area_set_property),
4307 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4308 (hildon_pannable_area_unrealize),
4309 (hildon_pannable_area_size_request),
4310 (hildon_pannable_area_size_allocate),
4311 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4312 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4313 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4314 (hildon_pannable_area_initial_effect),
4315 (hildon_pannable_area_redraw),
4316 (hildon_pannable_area_scroll_indicator_fade),
4317 (hildon_pannable_area_expose_event),
4318 (hildon_pannable_area_get_topmost), (synth_crossing),
4319 (hildon_pannable_area_button_press_cb),
4320 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4321 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4322 (hildon_pannable_area_motion_notify_cb),
4323 (hildon_pannable_area_button_release_cb),
4324 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4325 (hildon_pannable_area_remove),
4326 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4327 chage the code layout to a more GtkWidget like. Review the use of
4330 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4332 * examples/hildon-pannable-area-example-4.c,
4333 (main): Modified the name of the hindicator_mode to
4336 * src/hildon-pannable-area.c,
4337 (hildon_pannable_area_class_init),
4338 (hildon_pannable_area_motion_notify_cb),
4339 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4340 we have reduced the amount of signals and managed reviewed its
4341 rationale. Changed the default decelerate value.
4343 (hildon_pannable_area_add),
4344 (hildon_pannable_area_redraw): Refactored functions.
4346 (hildon_pannable_area_init),
4347 (hildon_pannable_area_get_property),
4348 (hildon_pannable_area_set_property):
4349 (hildon_pannable_draw_vscroll),
4350 (hildon_pannable_draw_hscroll),
4351 (hildon_pannable_area_initial_effect),
4352 (hildon_pannable_area_expose_event),
4353 (hildon_pannable_area_scroll),
4354 (hildon_pannable_area_button_press_cb),
4355 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4356 and vindicator_mode with hscrollbar_policy and
4357 vscrollbar_policy. Replaced hscroll and vscroll with
4358 hscroll_visible and vscroll_visible.
4360 (hildon_pannable_area_refresh): Refactor the function, remove
4361 variables and check the calls to this function, added resize
4362 conditions in case the children change their layout.
4364 (hildon_pannable_area_size_request): Added more detailed
4365 size_request calculation.
4368 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4370 * src/hildon-color-chooser.c
4371 (init_borders): use the correct gtk_border_free instead of g_free, to
4372 avoid a crash when this widget is used (ie: the three color selection
4375 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4377 * src/hildon-check-button.c,
4378 (hildon_check_button_set_active): Fixed problem when setting the
4379 active value, the widget was not redrawn.
4381 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4383 * src/hildon-pannable-area.c,
4384 (hildon_pannable_area_refresh),
4385 (hildon_pannable_area_scroll),
4386 (hildon_pannable_area_motion_notify_cb): Small code style change.
4388 (hildon_pannable_area_class_init): Default initial_hint set to
4389 FALSE, it is not in the specs.
4391 (hildon_pannable_area_initial_effect),
4392 (hildon_pannable_area_expose_event),
4393 (hildon_pannable_area_map),
4394 (hildon_pannable_area_init): Moved the launching point of the
4395 initial effect, it was in map but the sizes where not correct in
4396 that method so we do not know if we have the reproduce it. Now it
4397 is placed in the expose_event method and uses a variable to
4398 reproduce it just once.
4400 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4402 * src/hildon-pannable-area.c,
4403 (hildon_pannable_draw_vscroll),
4404 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4405 position allowed for the scrollbars.
4407 (hildon_pannable_area_size_allocate): Small style change.
4409 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4411 * src/hildon-pannable-area.c,
4412 (hildon_pannable_area_scroll_indicator_fade),
4413 (hildon_pannable_area_button_press_cb),
4414 (hildon_pannable_area_button_release_cb),
4415 (hildon_pannable_area_scroll_cb),
4416 (hildon_pannable_area_expose_event),
4417 (hildon_pannable_area_init): Added the define parameter
4418 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4419 and refactor the fade variable.
4421 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4423 * src/hildon-pannable-area.c,
4424 (hildon_pannable_area_redraw),
4425 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4426 lines, we were reimplemeting the redraw code.
4428 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4430 * src/hildon-pannable-area.c,
4431 (hildon_pannable_area_scroll_cb),
4432 (hildon_pannable_area_realize),
4433 (hildon_pannable_area_class_init): Added scroll_event management
4434 for pannable area, now we can scroll the usual desktop method.
4436 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4437 initialization of the parameters should depend on idle_id.
4439 (hildon_pannable_area_init),
4440 (hildon_pannable_area_map): Small code style modifications
4442 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4444 * src/hildon-pannable-area.c
4445 (hildon_pannable_area_button_press_cb),
4446 (hildon_pannable_area_motion_notify_cb),
4447 (hildon_pannable_area_button_release_cb),
4448 (hildon_pannable_area_size_allocate),
4449 (hildon_pannable_area_scroll_to): Improved the timeouts
4450 management, we avoid creating them each time.
4452 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4454 * src/hildon-pannable-area.c:
4455 (hildon_pannable_area_refresh),
4456 (hildon_pannable_area_motion_notify_cb),
4457 (hildon_pannable_area_class_init):
4458 * src/hildon-pannable-area.h:
4459 * src/hildon-touch-selector.c
4460 (_create_new_column):
4461 * examples/hildon-pannable-area-example-4.c:
4462 (horizontal_movement),
4463 (vertical_movement),
4465 Replaced the names of enums in the HildonPannableArea:
4466 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4467 HILDON_MOVEMENT_MODE_*
4468 - HILDON_PANNABLE_AREA_MOV_* ->
4470 - Removed HildonPannableAreaIndicatorMode, now we
4473 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4475 * examples/hildon-pannable-area-touch-grid-example.c
4476 * examples/hildon-pannable-area-touch-list-example.c: Fix
4477 compilation warnings.
4479 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-gtk.c (hildon_gtk_button_new)
4482 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4483 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4484 images overriding the value of the "gtk-button-images" setting.
4486 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4488 * src/hildon-check-button.c (hildon_check_button_new):
4489 Instead of using a custom container, display the label and the
4490 checkbox using the standard GtkButton API.
4492 * examples/hildon-check-button-example.c (main): Don't use
4493 hildon_check_button_set_label() anymore
4495 * src/hildon-check-button.h
4496 * src/hildon-check-button.c
4497 (hildon_check_button_set_label, hildon_check_button_get_label):
4498 Set as deprecated, now we're using gtk_button_{get,set}_label()
4500 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4502 * src/hildon-pannable-area.c,
4503 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4504 GtkTreeview first line we detected it after the inclusion of the
4505 GtkWindowImpl in gtk+. We now check if the window is visible, not
4506 just if the pointer is over the window.
4507 (hildon_pannable_axis_scroll),
4508 (hildon_pannable_area_expose_event): Small style changes.
4510 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4512 * src/hildon-button.c: Update documentation.
4514 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4516 * examples/hildon-button-example.c: Add a switch to show images in
4519 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4521 * doc/hildon-docs.sgml: Some docs reorganization.
4523 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4525 * examples/hildon-pannable-area-touch-list-example.c
4527 * examples/hildon-pannable-area-touch-grid-example.c
4528 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4529 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4530 Fix memory leak when setting the tree model.
4532 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4536 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4538 * doc/hildon.types: Remove duplicated hildon_window_get_type
4539 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4540 documentation comment.
4542 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4544 * doc/Makefile.am: Complete list of private headers.
4546 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4548 * doc/hildon-docs.sgml
4549 * src/hildon-app-menu.c
4550 * src/hildon-bread-crumb.c
4551 * src/hildon-button.c
4553 * src/hildon-program.c
4554 * src/hildon-stackable-window.c
4555 * src/hildon-window.c: Lots of documentation updates.
4557 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4559 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4561 * configure.ac: Require Gtk+ 2.12.9 at least
4563 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4565 * src/hildon-pannable-area.c
4566 (hildon_pannable_area_scroll_indicator_fade),
4567 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4568 to protect the return of this timeout callbacks, avoiding deadlocks.
4570 2008-08-12 Christian Dywan <christian@imendio.com>
4573 * src/hildon-*.h: Ensure a consistent include order,
4574 include <gtk/gtk.h> instead of particular files and
4575 only include the topmost header in the gtk stack. See NB #39857
4577 2008-08-12 Christian Dywan <christian@imendio.com>
4579 * src/hildon-picker-dialog.c
4580 * src/hildon-touch-selector.c: Fix warnings about unused and
4581 uninitialized variables.
4583 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4585 * examples/Makefile.am
4586 * examples/hildon-check-button-example.c: Example of the hildon
4589 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-window.h
4592 * src/hildon-window.c (hildon_window_class_init)
4593 (hildon_window_unset_program): Don't make
4594 hildon_window_unset_program a virtual function anymore.
4596 * src/hildon-stackable-window.c: Update documentation
4598 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4601 * doc/hildon-docs.sgml
4602 * doc/visual_index.xml
4603 * src/hildon-defines.c
4605 * src/hildon-helper.c
4606 * src/hildon-range-editor.c: Lots of documentation fixes.
4608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4610 * examples/hildon-picker-button-multicolumn-example.c
4611 (create_touch_selector): Fix compilation warning.
4613 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4615 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4616 (hildon_pannable_area_button_release_cb)
4617 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4619 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4624 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-bread-crumb-trail.h
4627 * src/hildon-date-editor.c
4628 * src/hildon-date-selector.c
4629 * src/hildon-pannable-area.c
4630 * src/hildon-picker-dialog.c
4631 * src/hildon-time-selector.c
4632 * src/hildon-touch-selector-entry.c
4633 * src/hildon-touch-selector.c
4634 * src/hildon-touch-selector.h: Misc documentation fixes
4636 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4638 * examples/hildon-date-editor-example.c (main): Updated date
4641 * examples/hildon-note-example.c (on_confirmation_clicked):
4642 Updated confirmation note example.
4644 * src/hildon-date-editor.c
4645 * src/hildon-note.c: Updated sample programs in documentation.
4648 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4650 * src/hildon-date-button.h:
4651 * src/hildon-picker-button.h:
4652 * src/hildon-time-button.c:
4653 * src/hildon-time-button.h:
4655 Some declarations changes to allow gtk-doc to document the widgets
4658 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4660 * src/hildon-date-button.c: Document the widget.
4661 * src/hildon-time-button.c: Document the widget.
4663 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-picker-button.c: Document the widget.
4666 * src/hildon-touch-selector-entry.c: Document the widget.
4668 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4670 * doc/hildon-docs.sgml
4673 * src/hildon-check-button.h
4674 * src/hildon-check-button.c: New functions to create the Hildon
4678 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4680 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4682 * src/hildon-button.h
4683 * src/hildon-button.c
4684 (hildon_button_add_title_size_group)
4685 (hildon_button_add_value_size_group)
4686 (hildon_button_add_image_size_group)
4687 (hildon_button_add_size_groups): New functions to set size groups
4688 for the button labels and image.
4689 (hildon_button_new_full): Removed
4691 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4693 * src/hildon-time-selector.c
4694 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4695 in order to avoid a crash if gconf is not available
4697 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-button.c (hildon_button_set_arrangement)
4700 (hildon_button_construct_child): Don't construct the button child
4701 before setting the arrangement.
4703 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4705 * src/hildon-program-private.h
4706 * src/hildon-program.c
4707 * src/hildon-program.h
4708 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4709 (hildon_program_peek_window_stack)
4710 (hildon_program_pop_window_stack)
4711 (hildon_program_go_to_root_window): HildonProgram now has a
4712 separate list for stackable windows. Functions are provided to
4713 manage that list with a stack-like API.
4715 * src/hildon-stackable-window.c: Stackable window management is
4716 now much simpler with the new HildonProgram API. Windows no
4717 longer need to be manually added to the program, they're
4718 automatically pushed to the top of the stack when shown.
4720 * examples/hildon-stackable-window-example.c: Updated example to
4721 reflect the API changes.
4723 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4725 * src/hildon-touch-selector.c: Comment out unimplemented
4726 hildon_touch_selector_insert_column() to avoid a compile warning.
4728 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4731 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4732 (hildon_touch_selector_set_column_selection_mode),
4733 (_hildon_touch_selector_set_model),
4734 (hildon_touch_selector_set_model):
4736 Complete review of HildonTouchSelector documentation.
4738 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4740 * doc/hildon-docs.sgml
4744 * src/hildon-gtk.c: Convenience functions for standard Gtk
4745 widgets, used to easily perform frequent operations.
4747 * src/hildon-button-helpers.h
4748 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4750 * src/hildon-helper.h
4751 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4752 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4754 * src/hildon-button.h
4755 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4757 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4759 * src/hildon-button.c (hildon_button_init)
4760 (hildon_button_set_arrangement, hildon_button_construct_child):
4761 Pack the image and the labels inside the same GtkAlignment so
4762 gtk_button_set_alignment() can be used
4764 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-button.h
4767 * src/hildon-button.c
4768 (hildon_button_init, hildon_button_set_image)
4769 (hildon_button_set_image_position)
4770 (hildon_button_construct_child): New functions to add an image to
4773 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4775 * src/hildon-date-button.c
4776 * src/hildon-picker-button.c
4777 * src/hildon-time-button.c
4778 * src/hildon-button.c:
4779 (hildon_button_class_init): "size-flags" renamed to "size"
4780 (hildon_button_set_title): Hide the title label if set to NULL.
4782 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4784 HildonButtonFlags split into HildonButtonArrangement (to set the
4785 button layout) and HildonSizeType (which can be used for any
4788 * src/hildon-button.h
4789 * src/hildon-button.c
4790 (hildon_button_class_init)
4791 (hildon_button_set_arrangement)
4792 (hildon_button_set_property): New "size-flags"
4793 property. "arrangement-flags" renamed to "arrangement".
4794 (hildon_button_new, hildon_button_new_with_text)
4795 (hildon_button_new_full): Constructors updated to reflect type changes.
4797 * src/hildon-helper.h
4798 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4799 to set the size of a widget.
4803 * src/hildon-button-helpers.c
4804 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4806 * src/hildon-date-button.c
4807 * src/hildon-date-button.h
4808 * src/hildon-picker-button.c
4809 * src/hildon-picker-button.h
4810 * src/hildon-time-button.c
4811 * src/hildon-time-button.h: Updated widgets to reflect
4812 HildonButton API changes.
4814 * examples/hildon-button-example.c
4815 * examples/hildon-date-button-example.c
4816 * examples/hildon-picker-button-example.c
4817 * examples/hildon-picker-button-multicolumn-example.c
4818 * examples/hildon-time-button-example.c
4819 * examples/hildon-touch-selector-entry-example.c
4820 * examples/hildon-touch-selector-example.c: Updated examples to
4821 reflect HildonButton API changes.
4823 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4825 * doc/hildon-docs.sgml:
4827 * examples/Makefile.am:
4828 * examples/hildon-touch-selector-entry-example.c:
4830 * src/hildon-touch-selector-entry.c:
4831 * src/hildon-touch-selector-entry.h:
4834 Moved HildonTouchSelectorEntry from sandbox. Added its
4835 documentation and examples.
4837 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-touch-selector.h:
4840 * examples/hildon-picker-button-multicolumn-example.c:
4841 (hildon_touch_selector_append_text_column): Add a gboolean
4842 parameter to determine if text must be centered in the column.
4844 * src/hildon-date-selector.c: (hildon_date_selector_init):
4845 * src/hildon-time-selector.c: (hildon_time_selector_init):
4846 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4847 (create_touch_selector): Update widgets and example to reflect
4850 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-touch-selector.c:
4853 (hildon_touch_selector_set_active_iter): Set also the cursor in
4856 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4858 * doc/hildon-docs.sgml
4861 * src/hildon-toggle-button.c
4862 * src/hildon-toggle-button.h
4863 * src/hildon.h: Removed HildonToggleButton widget, a derived
4864 class is not necessary for this.
4866 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4868 * src/hildon-pannable-area.c,
4869 (hildon_pannable_area_realize),
4870 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4873 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4876 "done" button the default widget for the dialog.
4878 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-touch-selector.c:
4881 (hildon_touch_selector_class_init),
4882 (hildon_touch_selector_get_property),
4883 (_hildon_touch_selector_set_model),
4884 (_hildon_touch_selector_has_multiple_selection),
4885 (hildon_touch_selector_has_multiple_selection):
4886 Add a "has-multiple-selection" property with a virtual
4887 has_multiple_selection() method to allow derived classes to
4888 override the default value for it. See the method and property
4889 documentation for details.
4891 * src/hildon-touch-selector.h: Add the new API.
4893 * src/hildon-picker-dialog.c: (requires_done_button): Call
4894 hildon_touch_selector_has_multiple_selection() instead of
4895 determining the need for a button itself.
4897 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4900 (_hildon_touch_selector_set_model),
4901 (hildon_touch_selector_set_model): Move working code to
4902 _hildon_touch_selector_set_mode(). Call the class method instead.
4904 * src/hildon-touch-selector.h: Add (*set_model) to
4905 HildonTouchSelectorClass.
4907 Make hildon_touch_selector_set_model() a virtual method, so that
4908 derived classes can extend it and do fancy stuff with the model.
4910 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4912 * configure.ac: Set back the tarname in AC_INIT to hildon.
4914 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4918 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4919 instead of libesd (NB#86876). Volume handling is still an open issue.
4921 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4924 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4926 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4927 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4928 derived class to ease placement of an entry widget in
4929 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4930 end, where the selector columns are packed now.
4932 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4934 * src/hildon-picker-button.c: Removed the simple _text() API.
4935 * src/hildon-picker-button.h: Likewise.
4937 * src/hildon-touch-selector.h:
4938 * src/hildon-touch-selector.c:
4939 (hildon_touch_selector_new_text),
4940 (hildon_touch_selector_append_text),
4941 (hildon_touch_selector_prepend_text),
4942 (hildon_touch_selector_insert_text):
4944 Moved the simple _text() API from HildonPickerButton to
4945 HildonTouchPicker, to provide better escalability and not to tie
4946 that API to HildonPickerButton.
4948 * examples/hildon-picker-button-example.c: (main): Example updated.
4950 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4952 * src/hildon-button.c: Updated documentation.
4954 * examples/hildon-button-example.c: Add the posibility to create
4955 the buttons using horizontal layout for title and value.
4957 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-app-menu-private.h
4960 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4961 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4962 GtkSizeGroup for the filters, use the 'homogeneous' property of
4965 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4967 * examples/hildon-button-example.c: Updated example.
4969 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4971 * doc/hildon-docs.sgml:
4974 Update documentation.
4976 * examples/Makefile.am: Update renamed examples.
4978 * examples/hildon-picker-button-multicolumn-example.c:
4979 (create_touch_selector), (main): Update after the rename.
4981 * examples/hildon-touch-picker-example.c: Removed.
4982 * examples/hildon-touch-selector-example.c: (value_changed),
4983 (create_selector), (get_visible_content), (main): Renamed from
4984 hildon-touch-picker-example.c
4986 * src/Makefile.am: Updated renamed files.
4988 * src/hildon-date-button.c: (hildon_date_button_init),
4989 (hildon_date_button_get_date), (hildon_date_button_set_date):
4990 * src/hildon-date-selector.c: (hildon_date_selector_init),
4991 (_custom_print_func), (_update_day_model),
4992 (_manage_selector_change_cb),
4993 (hildon_date_selector_select_current_date),
4994 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4995 * src/hildon-date-selector.h:
4996 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4997 (hildon_picker_button_set_property),
4998 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4999 (hildon_picker_button_init), (hildon_picker_button_new_text),
5000 (hildon_picker_button_append_text),
5001 (hildon_picker_button_prepend_text),
5002 (hildon_picker_button_insert_text),
5003 (hildon_picker_button_set_selector),
5004 (hildon_picker_button_get_selector):
5005 * src/hildon-picker-button.h:
5006 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5007 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5008 (_update_title_on_selector_changed_cb), (requires_done_button),
5009 (_hildon_picker_dialog_set_selector),
5010 (hildon_picker_dialog_set_selector),
5011 (hildon_picker_dialog_get_selector):
5012 * src/hildon-picker-dialog.h:
5013 * src/hildon-time-button.c: (hildon_time_button_init),
5014 (hildon_time_button_get_time), (hildon_time_button_set_time):
5015 * src/hildon-time-selector.c: (hildon_time_selector_init),
5016 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5017 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5018 * src/hildon-time-selector.h:
5021 Massive code updates after the rename.
5023 * src/hildon-touch-picker.c: Removed.
5024 * src/hildon-touch-picker.h: Removed.
5026 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5027 (hildon_touch_selector_init), (hildon_touch_selector_map),
5028 (hildon_touch_selector_remove), (_default_print_func),
5029 (_selection_changed_cb), (_create_new_column),
5030 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5031 (hildon_touch_selector_append_text_column),
5032 (hildon_touch_selector_remove_column),
5033 (hildon_touch_selector_set_column_attributes),
5034 (hildon_touch_selector_insert_column),
5035 (hildon_touch_selector_get_num_columns),
5036 (hildon_touch_selector_get_column_selection_mode),
5037 (hildon_touch_selector_set_column_selection_mode),
5038 (hildon_touch_selector_set_print_func),
5039 (hildon_touch_selector_get_print_func),
5040 (hildon_touch_selector_get_active_iter),
5041 (hildon_touch_selector_set_active_iter),
5042 (hildon_touch_selector_get_selected_rows),
5043 (hildon_touch_selector_get_model),
5044 (hildon_touch_selector_set_model),
5045 (hildon_touch_selector_get_current_text),
5046 (_hildon_touch_selector_center_on_selected_items):
5047 * src/hildon-touch-selector.h: Renamed from
5048 hildon-touch-picker.[ch]
5050 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5051 references, code examples, and related documentation.
5053 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5055 * doc/hildon-docs.sgml
5058 * src/hildon-toggle-button.c
5059 * src/hildon-toggle-button.h
5060 * src/hildon.h: New HildonToggleButton widget.
5062 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5064 * src/hildon-button.c: Add API documentation.
5065 (hildon_button_set_size_groups): Check input parameters
5067 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5069 * src/hildon-pannable-area.c
5070 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5071 effect after reaching the movement thredshold. This way we start
5072 using the distance after passing the thredshold.
5074 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5076 * src/hildon-button.c: (hildon_button_set_property): Use the
5077 appropriate g_value_get_flags() method.
5079 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5081 * doc/hildon-docs.sgml:
5084 Add the touch pickers, picker dialogs, and picker button widgets
5085 to the documentation.
5087 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5089 * src/hildon-button.c: (hildon_button_set_property),
5090 (hildon_button_class_init): Make "arrangement-flags" a proper
5091 G_TYPE_FLAGS derived property.
5093 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5095 * examples/Makefile.am: Add below examples.
5096 * examples/hildon-date-button-example.c:
5097 * examples/hildon-picker-button-example.c:
5098 * examples/hildon-picker-button-multicolumn-example.c:
5099 * examples/hildon-time-button-example.c:
5100 * examples/hildon-touch-picker-example.c:
5102 Add examples for the recently added touch pickers,
5103 picker dialogs, and picker button widgets.
5105 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5107 * src/hildon-button.c: Add some API documentation
5109 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5111 * src/hildon-button.h
5112 * src/hildon-button.c
5114 (hildon_button_new_with_text): New constructor to create a button
5115 with no text at all.
5116 (hildon_button_init, hildon_button_set_arrangement)
5117 (hildon_button_set_title, hildon_button_set_value)
5118 (hildon_button_set_text)
5119 (hildon_button_construct_child): Hide the value when it's not used
5120 so the rest of the text is properly aligned.
5121 Allow creating buttons with arbitrary widgets inside (not just
5122 title/value labels).
5124 * examples/hildon-button-example.c (vertical_buttons_window)
5125 (horizontal_buttons_window): Update example to use new API.
5127 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/Makefile.am: Added HildonTimeButton.
5130 * src/hildon-time-button.c: Added missing LGPL header.
5131 * src/hildon-time-button.h: Added missing LGPL header.
5132 * src/hildon.h: Add hildon-time-button.h
5134 Copied HildonTimeButton from sandbox to trunk. Future work on this
5135 widget must take place in trunk.
5137 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5139 * src/Makefile.am: Added HildonDateButton.
5140 * src/hildon-date-button.c: Update includes.
5141 * src/hildon.h: Add hildon-date-button.h
5143 Copied HildonDateButton from sandbox to trunk. Future work on this
5144 widget must take place in trunk.
5146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5148 * src/Makefile.am: Added HildonPickerButton.
5149 * src/hildon-picker-button.h: Update includes.
5150 * src/hildon.h: Add hildon-picker-button.h
5152 Copied HildonPickerButton from sandbox to trunk. Future work on
5153 this widget must take place in trunk.
5155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/Makefile.am: Added HildonPickerDialog.
5158 * src/hildon-picker-dialog.c: Update includes.
5159 * src/hildon.h: Add hildon-picker-dialog.h
5161 Copied HildonPickerDialog from sandbox to trunk. Future work
5162 on this widget must take place in trunk.
5164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5166 * src/Makefile.am: Added HildonTimeSelector.
5167 * src/hildon.h: Add hildon-time-selector.h
5169 Copied HildonTimeSelector widget from sandbox to trunk. Future
5170 work on this widget must happen in trunk.
5172 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5174 * src/Makefile.am: Added HildonDateSelector.
5175 * src/hildon.h: Add hildon-date-selector.h
5177 Copied HildonDateSelector widget from sandbox to trunk. Future
5178 work on this widget must happen in trunk.
5180 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5182 * src/Makefile.am: Added HildonTouchPicker.
5183 * src/hildon-touch-picker.c: Update includes.
5184 * src/hildon.h: Add hildon-touch-picker.h
5186 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5187 on this widget must happen in trunk.
5189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5191 * src/hildon-pannable-area.c:
5192 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5194 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5196 * examples/hildon-app-menu-example.c (main): Let the window
5199 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5201 * src/hildon-pannable-area.c
5202 (hildon_pannable_area_class_init): Set the min value of the
5203 overshoot properties to zero, which points out that not
5204 overshooting allowed.
5206 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5208 Modified the procedure to get the widget at a point inside the
5209 pannable area when using the movement type signals. Now the user
5210 has to call a function to get the child, that way we just
5211 calculate the child in case the user really want to use it and not
5214 * src/hildon-marshalers.list: Modified the marshallers, now we do
5215 not have the widget as a parameter.
5217 * src/hildon-pannable-area.c
5218 (hildon_pannable_area_motion_notify_cb),
5219 (hildon_pannable_area_class_init),
5220 (hildon_pannable_get_child_widget_at): Removed the widget
5221 parameter from the signal callback. We have also refactored the
5222 emission of the signals.
5224 * src/hildon-pannable-area.h: Added a new method to the API to
5225 calculate a widget at a point inside the pannable area,
5226 hildon_pannable_get_child_widget_at.
5228 * examples/hildon-pannable-area-example-4.c
5229 (horizontal_movement): Modified the example to use the new API,
5230 added condition to control which widget is under the event. This
5231 way we can avoid scrolling laterally over other widgets.
5233 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5235 * src/hildon-pannable-area.c
5236 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5237 modes, we stop getting the pointer events due to returning the
5238 callback without properly calling the get pointer again. Fixed
5239 also an error using the hscroll and vscroll.
5241 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5243 * src/hildon-app-menu-private.h
5244 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5245 (hildon_app_menu_button_release, hildon_app_menu_init)
5246 (hildon_app_menu_class_init): Don't hide the menu on button
5247 release if the user didn't press outside first.
5249 * src/hildon-window.h
5250 * src/hildon-window.c (hildon_window_toggle_menu)
5251 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5252 hildon_window_toggle_menu a virtual function for the stackable
5253 window to override it.
5255 * src/hildon-stackable-window.h
5256 * src/hildon-stackable-window-private.h
5257 * src/hildon-stackable-window.c
5258 (hildon_stackable_window_realize)
5259 (hildon_stackable_window_finalize)
5260 (hildon_stackable_window_class_init)
5261 (hildon_stackable_window_init)
5262 (hildon_stackable_window_set_main_menu): New function to set the
5263 app menu of a HildonStackableWindow.
5265 * examples/hildon-app-menu-example.c: Remove the button to show
5266 the app menu, now it'll be shown when clicking on the title bar
5269 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5272 set the widget name if the arrangement flags do not specify
5275 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5277 * src/hildon-button.c: (hildon_button_set_property),
5278 (hildon_button_class_init), (hildon_button_new_full),
5279 (hildon_button_set_arrangement): Added "arrangement-flags"
5282 Make the HildonButtonFlags a construction-only property, to allow
5283 subclasses to set them properly.
5285 2008-07-21 Tim Janik <timj@imendio.com>
5287 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5288 insertion position after backspace, so additional digits are appended,
5291 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5293 * src/hildon-pannable-area.c,
5294 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5295 TODO list, it was complete and removed the g_debug and g_print
5298 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5300 Added the movement modes to the hildon-pannable-area, with this
5301 modes the developers can control in which directions the widget
5302 can scroll. They can also connect to signals in order to do
5303 something when that happens, allowing applications scroll. There
5304 is an example uploaded showing how to use it.
5306 * examples/Makefile.am:
5307 * examples/hildon-pannable-area-example-4.c: Added this example of
5308 an application using the modes.
5310 * src/hildon-marshalers.list: Added a new marshaller for the new
5313 * src/hildon-pannable-area.h: Added new enumerations and flags in
5314 order to control the movement modes and the new signals to warn
5315 about the movements in the area.
5317 * src/hildon-pannable-area.c:
5318 (hildon_pannable_axis_scroll),
5319 (hildon_pannable_area_scroll),
5320 (hildon_pannable_area_motion_notify_cb),
5321 (hildon_pannable_area_get_property),
5322 (hildon_pannable_area_set_property),
5323 (hildon_pannable_area_map),
5324 (hildon_pannable_area_class_init),
5325 (hildon_pannable_area_init),
5326 (hildon_pannable_area_jump_to): Added the modes to control the
5327 movement in the widget. We have added properties to control it,
5328 signals to warn about the movements and refactored some code.
5330 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5332 Changes required in order to allow vfast_factor set to zero to
5335 * src/hildon-pannable-area.c:
5336 (hildon_pannable_area_button_press_cb): Changed the condition, it
5337 is required for not allowing click when vfast_factor is zero.
5338 (hildon_pannable_area_timeout): Initialized velocity variables
5339 when we stop moving, it was less than 1 but not zero and we need
5340 to check zero in some situations.
5341 (hildon_pannable_area_class_init): Changed the default value of
5342 the speed factor, now the button_press is just sent in case the
5343 speed is 2 per cent of the max speed.
5344 (hildon_pannable_area_init): Initialization with 0.
5346 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5348 * src/hildon-pannable-area.c,
5349 (hildon_pannable_area_get_topmost): replaced
5350 gdk_window_get_children with gdk_window_peek_children, this way we
5351 do not have to free the list because it is not a copy.
5353 (hildon_pannable_axis_scroll),
5354 (hildon_pannable_area_scroll),
5355 (hildon_pannable_area_timeout),
5356 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5357 two parameters that were only used inside the
5358 hildon_pannable_area_scroll function.
5360 * examples/hildon-pannable-area-example.c,
5361 (get_sawtooth_label): Fixed small memory leak.
5363 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5365 More checks for the case where the overshoot is bigger than the
5368 * src/hildon-pannable-area.c:
5369 (hildon_pannable_draw_vscroll),
5370 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5371 to draw the slider of the scrollbar under the other scrollbar.
5372 (hildon_pannable_area_expose_event): added new checks to control
5373 the drawing of the overshooting area rectangle, in case it is too
5374 big for the area of the widget.
5375 (hildon_pannable_area_size_allocate): add more checks to avoid
5376 setting a position to the child widget outside the area.
5378 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5380 * src/hildon-pannable-area.c
5381 (hildon_pannable_area_size_allocate): Added conditions to control
5382 when overshooting is bigger than the allocated space for the
5383 children, this avoids negative allocations.
5385 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5387 * doc/hildon-docs.sgml
5389 * examples/Makefile.am
5390 * examples/hildon-button-example.c
5392 * src/hildon-button.c
5393 * src/hildon-button.h
5394 * src/hildon.h: Initial version of the new HildonButton widget,
5397 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5399 * src/hildon-pannable-area.c:
5400 (hildon_pannable_area_button_press_cb),
5401 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5402 (hildon_pannable_area_motion_notify_cb),
5403 (hildon_pannable_area_button_release_cb),
5404 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5405 (hildon_pannable_area_jump_to_child):
5407 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5409 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5411 * examples/Makefile.am
5412 * examples/hildon-pannable-area-touch-grid-example.c
5413 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5414 the Hildon Touch List and Hildon Touch Grid using the
5415 HildonPannableArea widget.
5417 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5419 * src/hildon-pannable-area.c,
5420 (hildon_pannable_area_button_press_cb),
5421 (hildon_pannable_area_refresh),
5422 (hildon_pannable_area_scroll),
5423 (hildon_pannable_area_motion_notify_cb),
5424 (hildon_pannable_area_button_release_cb),
5425 (hildon_pannable_area_expose_event),
5426 (hildon_pannable_area_add),
5427 (hildon_pannable_area_remove),
5428 (hildon_pannable_area_realize),
5429 (hildon_pannable_area_size_allocate),
5430 (hildon_pannable_area_class_init),
5431 (hildon_pannable_area_init),
5432 (hildon_pannable_area_scroll_to_child),
5433 (hildon_pannable_area_jump_to_child): Fixed the problem of
5434 removing the child from the GtkBin, we have rearranged the widget
5435 hierarchy, now there is no GtkAlignment which was not doing
5436 anything interesting but breaking some of the assumptions of
5437 GtkContainer. Now developers if they want to add a GtkAlignment
5438 they could, but it is not inside the area.
5440 We had to review the whole allocation/expose process, now it is
5441 improved and we save at least three signals which would be saving
5442 some time when rendering the widget. The allocation of the
5443 scrollbars is now made in the allocate method as usual.
5445 We have also added some conditions in order to control when there
5446 is no child of the pannable area. Maybe we will need more work
5449 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5451 * src/hildon-pannable-area.c,
5452 (hildon_pannable_area_dispose): Released the fade-out timeout when
5453 disposing the widget.
5455 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5457 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5458 zero, we are going to use that property in order to deactivate the
5460 (hildon_pannable_axis_scroll),
5461 (hildon_pannable_area_size_allocate): Added conditions to control
5462 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5463 call, now it is called in all situations and we can remove calls
5464 in the allocate method.
5465 (hildon_pannable_area_map): Control the situation when
5466 overshoot_max is zero, we do not need the timeout.
5467 (hildon_pannable_area_class_init): Added documentation in order to
5468 point out that setting zero to overshoot_max means deactivate
5471 NOTE: removed trailing whitespaces from my previous comments of
5474 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5476 * src/hildon-pannable-area.c
5477 (hildon_pannable_area_get_property),
5478 (hildon_pannable_area_set_property),
5479 (hildon_pannable_area_map),
5480 (hildon_pannable_area_class_init),
5481 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5482 to cause the widget give a hint about its panning abilities upon
5485 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-pannable-area.c: Several documentation improvements.
5489 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-program.c
5492 * src/hildon-stackable-window.c: Update documentation.
5494 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5496 * src/hildon-stackable-window.c (get_previous_window_if_last):
5497 Renamed get_last_window()
5498 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5499 (hildon_stackable_window_unset_program):
5501 (get_previous_window_if_last):
5502 Detect if the window hasn't been added to a HildonProgram.
5504 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5506 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5508 * src/hildon-pannable-area.c
5509 (hildon_pannable_area_button_press_cb),
5510 (hildon_pannable_axis_scroll),
5511 (hildon_pannable_area_scroll),
5512 (hildon_pannable_area_timeout),
5513 (hildon_pannable_calculate_vel_factor),
5514 (hildon_pannable_area_get_property),
5515 (hildon_pannable_area_set_property),
5516 (hildon_pannable_area_class_init),
5517 (hildon_pannable_area_init),
5518 (hildon_pannable_area_scroll_to),
5519 (hildon_pannable_area_jump_to),
5520 (hildon_pannable_area_scroll_to_child),
5521 (hildon_pannable_area_jump_to_child):
5522 * src/hildon-pannable-area.h: Added the new API functions:
5523 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5524 hildon_pannable_area_scroll_to_child,
5525 hildon_pannable_area_jump_to_child
5528 * examples/Makefile.am
5529 * examples/hildon-pannable-area-example-2.c
5530 * examples/hildon-pannable-area-example-3.c: Added these two new
5531 examples in order to test and show how the new APIs work.
5533 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5535 * examples/hildon-stackable-window-example.c (new_window):
5536 * src/Makefile.am (noinst_HEADERS):
5537 * src/hildon-program.c (hildon_program_go_to_root_window):
5538 * src/hildon-program.h:
5539 * src/hildon-stackable-window-private.h:
5540 * src/hildon-stackable-window.c:
5541 * src/hildon-stackable-window.h:
5542 Create hildon-stackable-window-private.h
5543 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5545 * examples/hildon-app-menu-example.c (create_menu):
5546 * examples/hildon-hvolumebar-insensitive-example.c (main):
5547 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5548 * examples/hildon-toolbar-seekbar-example.c (main):
5549 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5550 * src/hildon-banner.c (hildon_banner_set_property):
5551 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5552 Fix compilation warnings
5554 * src/hildon-window.c:
5557 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-stackable-window.c
5560 (hildon_stackable_window_unset_program):
5561 Calculate correctly whether to show the previous window if the
5562 last one is removed from the stack.
5563 (hildon_stackable_window_go_to_root_window):
5564 Send delete events starting from the topmost window.
5565 Stop if one of the windows is not destroyed.
5567 (hildon_stackable_window_delete_event)
5568 (hildon_stackable_window_class_init):
5569 Ignore the delete event if the window is not the topmost one.
5571 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5573 * src/hildon-pannable-area.c
5574 (hildon_pannable_area_expose_event): Fixed a problem when
5575 selecting the background color of the scrollbars.
5577 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5579 * examples/hildon-stackable-window-example.c
5580 * src/hildon-stackable-window.c
5581 * src/hildon-stackable-window.h
5582 hildon_stackable_window_go_home() renamed to
5583 hildon_stackable_window_go_to_root_window()
5584 Send delete events to windows rather than closing them with
5585 gtk_widget_destroy()
5587 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-pannable-area.c
5590 (hildon_pannable_area_button_release_cb): Fix overshooting in
5593 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5595 * src/hildon-pannable-area.c
5596 (hildon_pannable_area_init): Initially show the scroll indicators.
5597 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5599 Add initial effect showing the widget is pannable.
5601 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5603 * src/hildon-pannable-area.c
5604 (hildon_pannable_area_class_init)
5605 (hildon_pannable_area_set_property)
5606 (hildon_pannable_area_get_property)
5607 (hildon_pannable_area_button_press_cb):
5608 New 'velocity_fast_factor' property to decide which velocity is
5611 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5613 * src/hildon-pannable-area.c
5614 (hildon_pannable_draw_hscroll)
5615 (hildon_pannable_draw_vscroll):
5616 Use float variables to calculate the size of the scrollbars to
5617 avoid error propagation and resizing during scrolling.
5619 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-pannable-area.c
5622 (hildon_pannable_draw_vscroll)
5623 (hildon_pannable_draw_hscroll):
5624 Define a minimum size for the scroll bars
5626 * src/hildon-stackable-window.c
5627 (hildon_stackable_window_go_home): Fix compilation warning
5628 (get_last_window): Minor optimizations
5629 (hildon_stackable_window_class_init): Fix initialization of
5632 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5634 * src/hildon-stackable-window.c: Fixed typos in doc
5636 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5638 * src/hildon-pannable-area.c
5639 (hildon_pannable_area_scroll):
5640 Calculate here whether we need to scroll instead of using the booleans
5641 that tell us whether to /draw/ the scrolling bars.
5643 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-app-menu.h
5647 * src/hildon-app-menu.c
5648 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5649 multiple filter groups related code and API. Now we support only
5651 * examples/hildon-app-menu-example.c:
5653 Update to reflect API changes.
5655 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5657 * src/hildon-stackable-window.c
5658 (hildon_stackable_window_class_init):
5659 Add hildon_stackable_window_realize.
5660 (hildon_stackable_window_realize):
5661 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5662 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5663 to apply theming and behavior specific to HildonStackableWindow
5666 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-note.c (hildon_note_button_release):
5669 Close information notes also when tapping on them
5671 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5673 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5674 ELASTICITY, refactor and review, fix some issues with drawing
5677 * src/hildon-pannable-area.c:
5678 (hildon_pannable_area_button_press_cb): removed the conditions to
5679 avoid clicks when overshooting. It is not required
5681 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5682 define. Refatored and reviewed the code, now we do not need to
5683 manage velocity in motion_notify.
5685 (hildon_pannable_area_motion_notify_cb): We have moved the code
5686 that controls the area_scroll to the axis_scroll function and get
5687 rid of duplicated code.
5689 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5691 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5693 (hildon_pannable_draw_vscroll),
5694 (hildon_pannable_draw_hscroll): Fixed the problems with the
5695 scrollbar drawing, now we do not use two surfaces, it is easier
5696 and saves resources.
5698 (hildon_pannable_area_get_property): Style modification.
5700 (hildon_pannable_area_class_init): Changed some default values.
5702 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5704 * src/hildon-stackable-window.c: Fix some typos in the
5707 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5709 * src/hildon-dialog.c:
5710 Change indentation style
5713 (hildon_note_button_release):
5714 Use root coordinates to check if the release event happened
5717 * src/hildon-app-menu.c
5718 (hildon_app_menu_button_release):
5719 Remove unnecessary check
5721 * examples/hildon-app-menu-example.c
5723 Add cast to fix warning
5725 * src/hildon-app-menu.c
5726 (hildon_app_menu_class_init):
5727 New inner-border style property.
5728 Set all default spacings to 16
5729 (hildon_app_menu_init):
5730 Use vertical-spacing to set the space between filter buttons and
5731 regular menu buttons.
5732 Set the default container border using the inner-border value.
5734 * examples/hildon-app-menu-example.c
5736 Don't set the menu border explicitly, now we have the inner-border
5737 style property for that.
5739 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-app-menu.c (hildon_app_menu_init):
5742 Make the window modal
5744 * src/hildon-note.c (hildon_note_map)
5745 * src/hildon-app-menu.c (hildon_app_menu_map):
5746 Destroy the grab window if we're unable to grab the pointer
5748 * src/hildon-app-menu-private.h
5749 * src/hildon-app-menu.c
5750 (hildon_app_menu_init, hildon_app_menu_finalize)
5751 (hildon_app_menu_map, hildon_app_menu_unmap)
5752 (hildon_app_menu_button_release)
5753 (grab_transfer_window_get):
5754 Bring back the grab window
5755 (hildon_app_menu_realize):
5756 Decorate the window, set WM hint for Matchbox
5758 * src/hildon-note.c (hildon_note_realize):
5759 * src/hildon-banner.c (hildon_banner_realize):
5760 Add WM hints for Matchbox
5762 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5764 * src/hildon-app-menu-private.h
5765 * src/hildon-app-menu.c
5766 (hildon_app_menu_init, hildon_app_menu_finalize)
5767 (hildon_app_menu_map, hildon_app_menu_unmap)
5768 (hildon_app_menu_button_release):
5769 Remove the grab window, it's not needed anymore
5771 * src/hildon-program.c
5772 Fixed typo in documentation
5774 * src/hildon-app-menu.h
5775 * src/hildon-app-menu.c
5776 * examples/hildon-app-menu-example.c
5777 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5779 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5782 Added new transfer_window and close_if_pressed_outside private
5784 (hildon_note_rebuild):
5785 Don't add a cancel button to the information note. It will be
5786 closed when tapping outside
5787 Remove the comment about the OK button in the documentation
5788 (hildon_note_realize):
5789 Set the notification type hint
5790 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5791 Grab/ungrab pointer and keyboard if the note has to be closed when
5793 (hildon_note_button_release):
5794 Close the note when tapping outside (if applicable)
5796 * src/hildon-app-menu.c
5797 Grab/ungrab pointer and keyboard on map/unmap
5798 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5799 Close the menu on button release, not button press
5801 * src/hildon-banner.c
5802 (hildon_banner_set_property)
5803 (hildon_banner_check_position):
5804 Make the banner use the full width of the screen
5805 (hildon_banner_show_information)
5806 (hildon_banner_show_information_with_markup):
5807 Don't display an icon by default
5809 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5811 Added fading scrollbars and adapted all the overshooting code to
5812 horizontal scrolling. We have also fixed bugs with overshooting
5813 and current fading implementation.
5815 * src/hildon-pannable-area.c
5816 (hildon_pannable_area_scroll_indicator_fade): Time out function
5817 used to change the transparency of the scrollbars.
5819 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5820 control and fixed a problem with fading, we now remove the fade
5821 timeout before adding a new one.
5823 (hildon_pannable_axis_scroll):
5824 (hildon_pannable_area_scroll):
5825 (hildon_pannable_area_timeout): Added this functions so we can use
5826 the scroll code both for vertical and horizontal.
5828 (hildon_pannable_area_motion_notify_cb):
5829 (hildon_pannable_area_button_release_cb): Added the horizontal
5830 scrolling control, fixed a problem with the overshooting timeout.
5832 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5833 painting of the scrolls.
5835 (hildon_pannable_draw_vscroll):
5836 (hildon_pannable_draw_hscroll):
5837 (hildon_pannable_area_expose_event):
5838 Draw both scrollbars and rectangles in the overshooting area.
5840 (hildon_pannable_area_get_property):
5841 (hildon_pannable_area_set_property):
5842 Modified the overshoot property to overshoot_max
5844 (hildon_pannable_area_map):
5845 Replaced the comments symbols.
5847 (hildon_pannable_area_size_allocate):
5848 (hildon_pannable_area_class_init):
5849 (hildon_pannable_area_init): Added horizontal scroll, fading
5850 effect properties, fixed a problem when overshooting in the bottom
5853 * examples/hildon-pannable-area-example.c:
5854 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5855 looks better in the example.
5857 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5859 * src/hildon-window.c
5860 * src/hildon-window.h
5861 (hildon_window_class_init)
5862 (hildon_window_unset_program)
5863 (hildon_window_unset_program_real):
5864 Make unset_program a virtual function
5866 * src/hildon-stackable-window.c
5867 * src/hildon-stackable-window.h
5868 Added hildon_stackable_window_go_home()
5870 * examples/Makefile.am
5871 * examples/hildon-stackable-window-example.c
5872 HildonStackableWindow example
5874 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5876 * hildon-pannable-area.c: Added the overshoot property and removed
5877 the OVERSHOOT define. Fixed an indent style error.
5878 (hildon_pannable_area_motion_notify_cb):
5879 (hildon_pannable_area_get_property):
5880 (hildon_pannable_area_set_property): Add overshoot property.
5882 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5885 (hildon_pannable_area_class_init): Installed the new property.
5887 * hildon-pannable-area-example.c: Added a sawtooth function, this
5888 way it is easier to check the movement in the pannable.
5889 (get_sawtooth_label): Added this function.
5890 (main): Now we get the labels from the new get_sawtooth_label
5893 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.h
5896 * src/hildon-app-menu.c
5897 Renamed API variables for consistency
5899 (hildon_app_menu_popup): Use also the default window size to
5900 decide where to place the menu
5902 (hildon_app_menu_init, hildon_app_menu_class_init): New
5903 external-border style property
5905 2008-05-26 Michael Natterer <mitch@imendio.com>
5907 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5908 widget_class->tap_and_hold_setup signal slot doesn't exist any
5909 longer, stop overriding it.
5911 (hildon_time_editor_init): g_signal_connect() to the
5912 tap-and-hold-setup signal instead.
5914 (hildon_time_editor_entry_keypress): add cast to fix warning.
5916 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5918 * doc/hildon-docs.sgml
5920 * examples/Makefile.am
5921 * examples/hildon-app-menu-example.c
5923 * src/hildon-app-menu-private.h
5924 * src/hildon-app-menu.c
5925 * src/hildon-app-menu.h
5927 New HildonAppMenu widget
5929 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5931 Rearranged the inheritance of the pannable area, now it inherits
5932 from GtkBin. This will allow us to control the event_window and
5933 the allocation process of the widget, required for some effects.
5935 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5936 GtkBin structures. * src/hildon-pannable-area.c: Added the
5937 event_window variable.
5938 (hildon_pannable_area_button_press_cb):
5939 (hildon_pannable_area_button_release_cb):
5940 (hildon_pannable_area_motion_notify_cb):
5941 Changed the signature of the method, now we override the event
5942 callback instead of connecting to the signal.
5944 (hildon_pannable_area_realize):
5945 (hildon_pannable_area_unrealize):
5946 (hildon_pannable_area_map):
5947 (hildon_pannable_area_unmap):
5948 (hildon_pannable_area_size_allocate):
5949 Added functions to control the widget construction. We add a
5950 INPUT_ONLY window and we put it over the widgets inside the
5951 container, this event_window handles the events.
5953 (hildon_pannable_area_class_init):
5954 Replaced the signal connections with overrides of the event
5957 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5959 Bouncing effect added when touching the borders, you can change
5960 the elasticity of the border changing the ELASTICITY define.
5962 * src/hildon-pannable-area.c: Added ELASTICITY define.
5963 (hildon_pannable_area_timeout): Added inverse velocity when
5964 touching the border of the child widget, that causes a bounce.
5966 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5968 Improved performance, we now do not go to the X server in order to
5969 get the list of window children. Apparently the effect is the
5970 same, we have to be careful and check if this breaks something in
5973 * src/hildon-pannable-area.c:
5974 (get_ordered_children): Removed this function.
5975 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5976 the children windows function with gdk_window_get_children.
5978 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5980 * src/hildon-pannable-area.c:
5981 (hildon_pannable_area_dispose): Fixed a crash when closing the
5982 window and kinetics is activated.
5984 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-pannable-area.h
5987 * src/hildon-pannable-area.c
5988 Changed indentation style to meet the one used in Hildon
5990 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5992 Reviewed the interaction of the AUTO mode, now we use the time
5993 attribute of the events and calculate the velocity in the motion,
5994 doing a gimp like calculation. The velocity is calculated in each
5995 motion event using the last velocity and the current one, the
5996 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5998 * src/hildon-pannable-area.c: Replaced the time based algorithm
6000 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6001 timeout for the AUTO mode when we are still moving the cursor. We
6002 added also the velocity calculation in this function.
6003 (hildon_pannable_area_button_release_cb): launch the timeout in
6004 case we are in AUTO mode. There are still some constants here that
6005 come from the old implementation that should be reviewed and
6008 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6010 * doc/hildon-docs.sgml
6013 * src/hildon-stackable-window.c
6014 * src/hildon-stackable-window.h
6016 New HildonStackableWindow widget
6018 * examples/hildon-dialog-example.c
6019 * examples/hildon-pannable-area-example.c
6022 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-dialog.c
6025 (hildon_dialog_new_with_buttons): New constructor.
6027 * examples/hildon-dialog-example.c
6028 (main): Update the example to use the new
6029 hildon_dialog_new_with_buttons().
6031 * examples/hildon-pannable-area-example.c
6032 (main): Update example.
6034 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6036 * doc/hildon-docs.sgml
6038 Added HildonPannableArea to the documentation.
6040 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6042 * doc/visual_index.xml
6043 Fix reference to HildonLoginDialog in documentation
6045 * doc/hildon-docs.sgml
6047 * examples/Makefile.am
6048 * examples/hildon-dialog-example.c
6050 * src/hildon-dialog.c
6051 * src/hildon-dialog.h
6053 New HildonDialog widget.
6055 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-pannable-area.c
6058 Merge latest changes (r4318, r4342) from libmokoui trunk
6060 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6062 * examples/Makefile.am
6063 * examples/hildon-pannable-area-example.c
6065 * src/hildon-pannable-area.c
6066 * src/hildon-pannable-area.h
6068 New HildonPannableArea widget.
6070 2008-04-15 18:05:19 <timj@imendio.com>
6072 * src/hildon-banner.c: revert the recent change, that introduced
6073 gtk_window_present() calls. this reopens:
6074 Bug 78481 - [freetest] information banners are hidden under browser menu
6075 But resolves another variant of:
6076 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6078 2008-04-15 13:21:13 <timj@imendio.com>
6080 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6081 recreated its layout, spotted by Kris. this fixes all remaining
6082 artefacts and stability issues with the banner code. in particular:
6083 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6085 2008-04-14 16:52:59 <timj@imendio.com>
6087 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6088 operating on unrealized widgets, fixes:
6089 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6091 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6093 2008-04-09 Kristian Rietveld <kris@imendio.com>
6095 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6096 makes banner disappear.
6097 Fixes: NB#79182: info banner flickering with certain message lengts.
6099 * src/hildon-banner.c (hildon_banner_constructor),
6100 (hildon_banner_init), (hildon_banner_set_text),
6101 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6102 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6103 FALSE, reset size requests of label and banner,
6104 (force_to_wrap_truncated): when the text is too wide, always enforce
6105 the maximum possible width instead of recalculating it from the
6106 layout; enforce the maximum banner height of 3 lines,
6107 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6108 nicer wrapping and no truncated chars if space gets tight.
6110 * src/hildon-banner-private.h: add has_been_wrapped and
6111 has_been_truncated fields.
6113 2008-04-07 Sven Herzberg <sven@imendio.com>
6115 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6116 local values in hildon_date_editor_size_allocate
6118 * src/hildon-date-editor.c: moved the real allocation code into the
6121 2008-04-07 Sven Herzberg <sven@imendio.com>
6123 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6124 local values in hildon_date_editor_size_allocate
6126 * src/hildon-date-editor.c: merged the two if() branches together
6128 2008-04-07 Sven Herzberg <sven@imendio.com>
6130 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6131 local values in hildon_date_editor_size_allocate
6133 * src/hildon-date-editor.c: changed the arguments of the if()
6136 2008-04-07 Sven Herzberg <sven@imendio.com>
6138 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6139 local values in hildon_date_editor_size_allocate
6141 * src/hildon-date-editor.c: split the calculation of the allocation
6142 from the real allocation
6144 2008-03-27 Michael Natterer <mitch@imendio.com>
6146 Fixes: NB#81696: The passcode is not overwritten even after
6149 * src/hildon-code-dialog.c
6150 (hildon_code_dialog_button_clicked)
6151 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6152 because that doesn't overwrite selected text. Instead, emit the
6153 "commit" signal on the entry's im_context so the entry's normal
6154 insert logic is triggered. Set the cursor to the end of the entry
6155 after each insert operation so that we *only* insert in the middle
6156 of the text if something was selected.
6158 2008-03-27 Michael Natterer <mitch@imendio.com>
6160 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6161 selector cannot be opened
6163 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6164 when the popup color selector is created. Please connect to this
6165 signal in order to set the dialog's help ID.
6167 2008-03-25 Sven Herzberg <sven@imendio.com>
6169 Fixes: MB#1212: Hide info banners (infoprints) on click
6171 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6172 extracted the close event simulation into an extra function
6173 (hildon_banner_button_press_event): simulate a close event and destroy
6174 the widget if the event wasn't handled
6175 (hildon_banner_class_init): added the button_press_event handler
6176 (hildon_banner_init): added button-press events to the widget
6178 2008-03-25 Sven Herzberg <sven@imendio.com>
6180 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6181 Patch from: Mohammad Anwari <mdamt@maemo.org>
6183 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6184 instead of the right in RTL mode
6185 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6186 breadcrumb button list in RTL mode
6187 * src/hildon-caption.c: mirror the appearance of the caption widget in
6189 * src/hildon-date-editor.c: mirror appearance of the date editor in
6191 * src/hildon-time-editor.c: mirror appearance of the time editor in
6193 * src/hildon-window.c: fix the position of the popup in RTL mode
6195 2008-03-25 Sven Herzberg <sven@imendio.com>
6197 Amendment to the fix of NB#22072. Fix compilation.
6199 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6201 2008-03-19 Sven Herzberg <sven@imendio.com>
6203 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6206 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6207 timeout id properly when the timeout will disappear this leaves no
6208 artifacts around in the destroy(); there will only be the timeout
6209 created by hildon_banner_ensure_timeout() and adding a new timeout
6210 will also work if the timeout gets removed because the timeout_handler
6213 2008-03-19 Michael Natterer <mitch@imendio.com>
6215 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6217 * src/hildon-volumebar.c
6218 * src/hildon-vvolumebar.c
6219 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6220 the widget becomes focussable at all.
6222 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6223 set the focus to wither the mute button or the volumebar.
6225 Remove own "can-focus" property and instead listen to
6226 notify::can-focus in order to update the widget's state.
6228 Implement GtkWidget::focus() and make sure we can also *leave* the
6229 widget, not only enter it, depending on volumebar orientation and
6230 requested focus direction.
6232 Clean up set_mute() to cooperate nicely with all the above.
6234 2008-03-04 Michael Natterer <mitch@imendio.com>
6236 Fixes: NB#78481: information banners are hidden under browser menu
6238 * src/hildon-banner.c: call gtk_window_present() on the banners so
6239 they are risen if they are already visible.
6241 2008-03-03 Sven Herzberg <sven@imendio.com>
6243 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6245 * examples/hildon-window-menu-example.c: (main): extended the window
6246 menu example to serve as a testcase for automatically added
6247 accelerator groups, too
6248 * src/hildon-window.c: (hildon_window_add_accel_group),
6249 (hildon_window_set_menu): added patch by Tommi Komulainen
6251 2008-03-03 Sven Herzberg <sven@imendio.com>
6253 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6255 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6256 knowledge about the border allocators used within GTK+
6258 2008-02-26 Sven Herzberg <sven@imendio.com>
6260 Fixes: MB#2981: Build with asserts broken
6262 * src/hildon-date-editor.c,
6263 * src/hildon-number-editor.c,
6264 * src/hildon-time-editor.c,
6265 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6266 the proper GType instance check
6268 2008-02-25 Sven Herzberg <sven@imendio.com>
6270 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6272 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6273 * examples/hildon-window-menu-example.c: (main): explicitly show
6275 * src/hildon-window.c:
6276 (hildon_window_set_main_menu): moved most of the code from set_menu()
6277 to this place; skipped the call to gtk_widget_show_all(); also didn't
6278 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6279 (hildon_window_set_menu): removed most of the code, just keep the
6280 questionable gtk_widget_show_all()
6281 * src/hildon-window.h: added the new function and deprecate the old
6284 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6290 * debian/changelog: Updating.
6292 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6295 * pkgconfig/Makefile.am:
6296 * pkgconfig/hildon.pc.in:
6299 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6300 use newly created API_MAJOR_VERSION.
6302 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6308 * debian/changelog: Updating.
6310 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6312 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6314 Add outer_border style property, we use it but don't define it (!).
6318 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6320 * examples/hildon-bread-crumb-trail-example.c (main):
6324 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6326 Fix logic for the bread crumb trail node removal.
6330 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 * debian/changelog: Updating.
6338 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6340 Patch by Alejandro to get/set passwords dialogs accesibility.
6342 * hildon-1/src/hildon-get-password-dialog.c:
6343 * hildon-1/src/hildon-set-password-dialog.c:
6344 Set atk_set_name to the passwd entries in order to allow
6345 accessibility by name on this entries.
6347 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6352 * debian/control: Updating gtk dep.
6354 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6356 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6357 USE_MAEMO_GTK is enabled.
6359 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6361 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6362 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6364 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6370 * debian/changelog: Updating.
6372 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6374 * examples/Makefile.am:
6375 * examples/hildon-logical-color-example.c:
6376 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6377 applied + adding a test case. Fixes: NB#71660.
6379 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6381 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6382 to be visible, fixes warning on map for windows without toolbars.
6384 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6386 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6387 2.11.0, add a check for that besides the MAEMO_GTK check.
6389 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6395 * debian/changelog: Updating.
6397 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6399 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6400 visibility. Fixes: NB#70842 and MB#615.
6402 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6404 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6405 set the separator as no-show-all so it doesn't unintentionally appear when
6406 someone does a show_all.
6408 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6410 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6411 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6412 toplevel item. Fixes: NB#62031
6414 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6416 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6417 fix the name of the function in the docs.
6419 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6425 * debian/changelog: Updating.
6427 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6429 * examples/hildon-banner-long-example.c: Adding a test-case for long
6432 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6434 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6436 * src/hildon-color-chooser-dialog.c:
6437 * src/hildon-color-chooser.c:
6438 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6439 memory leaks in font selector and color selector. Fixes: NB#70499 and
6442 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6444 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6446 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6449 little bit bigger. Fixes: #NB63694.
6451 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6457 * debian/changelog: Updating.
6459 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6462 * doc/hildon-docs.sgml:
6463 * doc/images/bread-crumb-trail.png:
6464 * doc/images/calendar-popup.png:
6465 * doc/images/caption.png:
6466 * doc/images/code-dialog.png:
6467 * doc/images/color-button.png:
6468 * doc/images/color-chooser-dialog.png:
6469 * doc/images/color-chooser.png:
6470 * doc/images/controlbar.png:
6471 * doc/images/date-editor.png:
6472 * doc/images/font-selection-dialog.png:
6473 * doc/images/get-password-dialog.png:
6474 * doc/images/hvolumebar.png:
6475 * doc/images/login-dialog.png:
6476 * doc/images/note.png:
6477 * doc/images/number-editor.png:
6478 * doc/images/range-editor.png:
6479 * doc/images/seekbar.png:
6480 * doc/images/set-password-dialog.png:
6481 * doc/images/sort-dialog.png:
6482 * doc/images/time-editor.png:
6483 * doc/images/time-picker.png:
6484 * doc/images/vvolumebar.png:
6485 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6486 Adding the bread-crumb-trial and helpers to the documentation.
6488 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * examples/hildon-find-toolbar-example.c:
6491 * src/hildon-find-toolbar.c:
6492 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6493 actually continue firing the other handlers if connected. Adding a new
6495 hildon_find_toolbar_get_last_index that gets the index of the most
6496 recently added (last) item. Fixes: NB#52301.
6498 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6500 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6501 behaviour. Fixes: NB#68610.
6503 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6505 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6508 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6510 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6511 when realizing the banner. Should make the infonbanner effect a bit more
6514 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6516 * src/hildon-volumebar.c:
6517 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6518 hildon_volumebar_set_range_insensitive_message and
6519 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6521 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6523 * src/hildon-window.c: Fixing the border freeing on destroy.
6525 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6527 * src/hildon-code-dialog-private.h:
6528 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6529 kw keyboard support in HildonCodeDialog.
6531 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6537 * debian/changelog: Updating.
6539 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6541 * src/hildon-date-editor.c:
6542 * src/hildon-number-editor.c:
6543 * src/hildon-private.c:
6544 * src/hildon-private.h:
6545 * src/hildon-time-editor.c:
6546 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6547 handling in subclassed composite widgets. Fixes: NB#66628.
6549 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6551 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6552 from destroy_ callback as it introduces problems in async dbus signal
6553 handlers. Fixes NB#66673.
6555 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6557 * examples/hildon-hvolumebar-example.c:
6558 * src/hildon-volumebar.c: Improving the focus handling in the
6559 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6560 set_property accessor so that "mute" property can be actually set. I'm
6561 scared that nobody noticed it's totally broken.
6563 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6565 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6568 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6570 * src/hildon-calendar.c:
6571 * src/hildon-number-editor.c:
6572 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6573 matches the spec of 6 chars per second. Fixes: NB#60489.
6575 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6577 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6578 gtk_style_lookup_color sometime returns FALSE even though color was
6579 found and values were filled properly. Weird. Removing the warning for the
6582 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6584 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6585 expand vertically. Adding some extra space to the find toolbar buttons to
6586 make them thumbable. Fixes NB#66060.
6588 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6590 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6591 popup with "Ok" and "Cancel". Fixes NB#59299.
6593 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6595 * src/hildon-calendar.c: Process all window updates before executing next
6596 timeout. Fixes: NB#54146.
6598 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6604 * debian/changelog: Updating.
6606 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6608 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6609 the client event and ignore it, since we use the delete event to close
6612 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6614 * src/hildon-helper.c: Remove the bogus warning about color not being
6615 found. Fixes NB#58352.
6617 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * examples/Makefile.am:
6620 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6621 HildonSeekbar widget inside a toolbar.
6623 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6625 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6626 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6627 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6628 don't want to be closed by non-temporary windows on map.
6630 Also use G_DEFINE_TYPE instead of manually typed code.
6632 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 * debian/rules: Updating.
6641 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6643 * examples/Makefile.am:
6644 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6645 bug NB#61128. Strangely it works.
6647 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6649 * src/hildon-date-editor.c: When the date editor entry has been changed
6650 but the numbers of characters < max, turn off the skip validation flag.
6651 Prevents a situation when we enter first a valid year and later re-write
6652 it with an invalid one. Fixes NB#60154.
6654 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6656 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6657 code dialog. Fixes NB#64355.
6659 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6661 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6662 switching the page. Fixes NB#49374.
6664 * examples/Makefile.am:
6665 * examples/hildon-wizard-dialog-example.c: Adding an example for
6666 HildonWizardDialog that shows how to handle manual sensitivity setting on
6669 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * src/hildon-version.h.in:
6674 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6676 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6678 * src/hildon-volumebar.c: Updating the docs.
6680 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6686 * debian/changelog: Updating.
6688 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6690 * src/hildon-find-toolbar.c:
6691 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6692 selected item: hildon_find_toolbar_set_active,
6693 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6694 hildon_find_toolbar_get_active_iter . They correspond to respective
6695 GtkComboBox functions.
6697 * examples/Makefile.am:
6698 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6701 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6703 * examples/Makefile.am:
6704 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6707 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6708 when font size > 32 and we pack a focusable widget inside. Actually using
6709 the default response would work too, but since we don't show default
6710 response state in any way (no theming) it would not be visible to the
6711 user. Fixes NB#63430.
6713 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6715 * src/hildon-date-editor.c: Adding the missing variable setter in the
6716 set_property handler. Fixes NB#54182.
6718 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6720 * src/hildon-window.h: Changing the long key press time from 1500ms to
6721 800ms as requested in NB#63700. I have a bad feeling about this, let's
6722 see... Fixes NB#63700.
6724 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6726 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6727 hildon_time_picker_map, hildon_time_picker_realize,
6728 hildon_time_picker_style_set): Split the contents of map to more
6729 appropriate functions; set window decorations on realize and update
6730 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6732 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6737 * debian/changelog: Updating.
6739 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6741 * src/Makefile.am: fixed installation of the header files
6743 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6749 * debian/changelog: Updating.
6751 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6753 * configure.ac: Removing some remaining of --enable-xan.
6755 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6757 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6758 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6760 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6761 2.10.12-osso6 because the move-focus signal needs to be available in
6764 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6766 * examples/Makefile.am:
6767 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6768 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6769 fine. Prolly NB#61128 is fixed now.
6771 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6773 * src/hildon-volumebar.c:
6774 * src/hildon-volumebar.h: Adding the
6775 hildon_volumebar_set_range_insensitive_message and
6776 hildon_volumebar_set_range_insensitive_messagef functions to set
6777 insensitive message on the slider of the volumebar. Fixes NB#61129.
6779 * examples/Makefile.am:
6780 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6781 test the new insensitive messsage functionality on HildonVolumebar.
6783 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6785 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6788 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6790 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6791 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6792 button on after clearing the trail.
6794 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6796 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6798 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6800 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6801 by splitting the installed headers in generated and non-generated groups. Use
6802 only the non-generated headers to create the hildon-enum-types.h file.
6804 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6806 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6808 * src/hildon-window.c: Hide the window before performing the destroy.
6809 Should make the app closing a little tiny bit more snappy.
6811 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6813 * src/hildon-seekbar.c: add gtkrange.h header
6814 * src/hildon-caption.c: remove unused variable
6816 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6818 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6821 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6827 * debian/changelog: Updating.
6829 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6831 * src/hildon-window.c (hildon_window_window_state_event,
6832 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6833 escape timeout on focus-out-event rather than notify::is-topmost; the
6834 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6836 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6838 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6839 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6841 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6843 * src/hildon-window: actually, you need to use the macro always, there's
6844 no private pointer in the instance structure. We should have cleaned this up
6845 when we had the chance...
6847 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6849 * src/hildon-window.c: do not get the private date from HildonWindow before
6850 it passes the g_return_if_fail check. Once it's passed the test, there's no
6851 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6852 if you are only going to access the data once. Whitespace cleanups.
6854 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6856 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6857 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6859 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6865 * debian/changelog: Updating.
6867 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6869 * src/hildon-window.c: When destroying the window, remove (if exists) the
6870 escape timeout handler. Fixes #NB59276.
6872 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6874 * src/hildon-banner.c: When realizing the widget, set the window
6875 transiency. Setting the transiency in the gobject constructor is not
6876 good, as the widget is not realized at that point. Fixes: #NB56624.
6878 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6880 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6881 Add padding for future expansions.
6883 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6885 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6886 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6887 will fake an activation on the previous to the last item of the trail, so
6888 the effect can be overrided by the developer as usual.
6889 Also change the callback for the back button to do the same thing, so its
6890 effect can be overrided too. Fixes: NB#58982
6892 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6894 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6895 HildonCaption. Fixes NB#52379.
6897 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6899 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6900 the internal state of the trail after the user has had the chance of executing
6901 his handler for the signal. Specifically, it may happen that the activated button
6902 is removed and the user still lets the default handler run. This would segfault
6905 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6907 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6908 scrollbar to the preview dialog. Fixes NB#54147.
6910 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6912 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6913 max/min year properties can be altered, so the client can modify it
6914 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6916 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6918 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6919 hildonlike by default. Fixing a problem with disappearing arrows when
6920 scrolling through months and years. Fixes NB#54127.
6922 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * examples/hildon-date-editor-example.c: Adding error callback to the date
6927 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6933 * configure.ac: Updating.
6935 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6937 * configure.ac: Adding a special '--enable-xan' configure option that
6938 turns off the -Werror compilation setting. Usefull for development.
6940 * src/hildon-calendar.c:
6941 * src/hildon-number-editor.c:
6942 * src/hildon-time-picker.c: Adding the 5* multiplier to
6945 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6947 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6948 instead of g_object_ref + gtk_object_sink.
6950 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6956 * debian/changelog: Updating.
6958 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6960 * src/hildon-color-chooser-dialog.c:
6961 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6962 straight from Tommi labs.
6964 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6966 * examples/hildon-finger-example.c: Correcting the header file path.
6968 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6969 the changed signal. Fixes a small memory leak.
6971 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6975 * src/hildon-banner.c: Importing several usefull fixes from the
6976 ubuntu-mobile branch.
6978 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6980 * examples/Makefile.am:
6981 * examples/hildon-finger-example.c: Adding a finger-checking code
6984 * src/hildon-font-selection-dialog.c: Do not allocate the color
6985 structure using the g_new. Fixes NB#54061.
6987 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6989 * src/hildon-helper.c: Correcting tabs in file.
6991 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6993 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6994 control the visibility of the children.
6996 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6998 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7004 * debian/changelog: Updating.
7006 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7008 * src/hildon-bread-crumb-trail.c:
7009 (hildon_bread_crumb_trail_size_allocate):
7011 Make the back button always a square.
7013 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7015 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7016 from the .c file as it's a private file.
7018 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7020 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7021 uses slightly bigger height.
7023 * src/hildon-font-selection-dialog.c: Adding some checks before
7024 freeing memory in the font selection dialog.
7026 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7028 * src/hildon-font-selection-dialog.c: Adding a small check when
7031 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7032 buttons sensitivity on page switching.
7034 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7036 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7037 internal details of adding a bread crumb to the trail.
7039 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7045 * debian/changelog: Updating.
7047 * src/hildon-bread-crumb-trail.h:
7048 * src/hildon-bread-crumb.h: Changing the API guard to
7049 HILDON_ENABLE_UNSTABLE_API.
7051 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * src/hildon-helper.h: Updating.
7061 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7069 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7073 * src/hildon-helper.h: Small fix to make the package actually compile.
7075 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7077 * src/hildon-bread-crumb-trail.h:
7078 * src/hildon-bread-crumb.h:
7080 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7081 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7083 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7085 * examples/hildon-bread-crumb-trail-example.c:
7087 * src/hildon-bread-crumb-trail.c:
7088 * src/hildon-bread-crumb-trail.h:
7089 * src/hildon-bread-crumb.c:
7090 * src/hildon-bread-crumb.h:
7091 * src/hildon-marshalers.list:
7092 * src/hildon-bread-crumb-widget.c:
7093 * src/hildon-bread-crumb-widget.h:
7095 Slight change in the widget design. The bread crumb trail API is
7096 unchanged, but HildonBreadCrumb is now an interface. A *private*
7097 implementation, hildon-bread-crumb-widget, is provided and used
7098 internally by the trail for the push_text/push_icon functions.
7100 The generic push API is still available, so anyone can implement
7101 and use its own bread crumb widget.
7103 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * debian/rules: Fixing the shlibs.
7107 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7109 * src/hildon-banner.c: Fixing a problem with timed banners having
7110 their parrent destroyed before they are.
7112 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7114 * src/hildon-bread-crumb.c:
7115 * src/hildon-bread-crumb.h:
7117 Make the get_natural_size function a vfunc.
7119 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7121 * src/hildon-bread-crumb.c:
7122 * src/hildon-bread-crumb-trail.c:
7126 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 * debian/changelog: Updating for release.
7135 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7137 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7138 don't leak the pango layout.
7140 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7143 * examples/hildon-bread-crumb-trail-example.c:
7147 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7149 * debian/changelog: Removing the bug-fixed entries that were actually
7150 resolved as WONTFIX.
7152 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7155 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7157 * src/hildon-bread-crumb-trail.c:
7158 * src/hildon-bread-crumb-trail.h:
7159 * src/hildon-bread-crumb.c:
7160 * src/hildon-bread-crumb.h:
7164 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7166 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7167 until it's passed the type check.
7169 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7171 * examples/hildon-bread-crumb-trail-example.c
7175 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7177 * examples/Makefile.am
7178 * examples/hildon-bread-crumb-trail-example.c
7180 * src/hildon-bread-crumb-trail.c
7181 * src/hildon-bread-crumb-trail.h
7182 * src/hildon-bread-crumb.c
7183 * src/hildon-bread-crumb.h
7185 New HildonBreadCrumbTrail widget.
7187 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7189 * src/hildon-range-editor.c (hildon_range_editor_init),
7190 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7191 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7192 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7193 hildon_time_editor_class_init, hildon_time_editor_init),
7194 src/hildon-get-password-dialog.c (invalid_input,
7195 hildon_get_password_set_property, hildon_get_password_get_property,
7196 create_contents, hildon_get_password_dialog_set_max_characters),
7197 src/hildon-set-password-dialog.c (create_contents),
7198 src/hildon-date-editor.c (hildon_date_editor_init),
7199 src/hildon-login-dialog.c (hildon_login_dialog_init),
7200 src/hildon-number-editor.c (hildon_number_editor_init),
7201 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7202 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7203 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7204 configure option and adding the respective checks in the code.
7205 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7206 hildon_calendar_drag_data_received): fixed some build warnings.
7208 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7210 * debian/changelog: A 1.0.0 release notes.