1 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-03-19 Alejandro G. Castro <alex@igalia.com>
11 Patch by Alberto Garcia (agarcia@igalia.com)
13 * src/hildon-date-button.c,
14 (hildon_date_button_class_init),
15 (hildon_date_button_init): Removed the construct property handling
16 and created a default selector in the init method.
17 * src/hildon-picker-button.c,
18 (hildon_picker_button_class_init): Removed the construct flag of the
21 2009-03-18 Alberto Garcia <agarcia@igalia.com>
23 * src/hildon-main.c (hildon_init):
24 Don't allow hildon_init() to be called more than once.
26 Fixes: NB#106607 (hildon_init should issue error message upon
29 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
31 * examples/hildon-pannable-area-touch-list-example.c
32 * examples/hildon-pannagle-area-touch-grid-example.c
33 * examples/hildon-edit-toolbar-example.c
34 * examples/hildon-touch-selector-multi-cells-example.c
35 Removed the call to gtk_rc_parse_string, as it is not required since
38 2009-03-17 Alejandro G. Castro <alex@igalia.com>
40 * src/hildon-pannable-area.c,
41 (hildon_pannable_area_class_init): Modified the default panning
42 threshold of the widget to 6px.
44 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
45 than the threshold value ) within the button is not sending the
48 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
50 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
51 for the treeview in the new column. This way, the touch list will never
54 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
55 be selected manually for the HW keys to work)
57 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
59 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
60 comparison instead of using strcmp(). Fixes a compiler warning as well.
62 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
64 * doc/hildon-docs.sgml: Do not set the library version in the
65 document title, use the releaseinfo tag for that purpose instead.
67 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
69 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
70 Do not jump to the first item if the text in the entry is removed.
72 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
77 * configure.ac: Bump version.
78 * debian/changelog: Updates.
80 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
82 * src/hildon-entry.c (hildon_entry_refresh_contents):
83 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
84 Use "ReversedSecondaryTextColor" for the placeholder text.
86 2009-03-12 Alberto Garcia <agarcia@igalia.com>
88 * src/hildon-text-view.c: Fix compilation warning.
90 2009-03-12 Alberto Garcia <agarcia@igalia.com>
92 * src/hildon-button.c (hildon_button_class_init): Don't make
93 "title" and "value" construction properties, to prevent them from
94 overwriting labels set from derived classes.
96 * src/hildon-picker-button.c
97 (hildon_picker_button_set_selector): Allow setting a NULL selector.
98 (hildon_picker_button_class_init): Make touch-selector a
99 construction property.
101 * src/hildon-date-button.c (hildon_date_button_class_init)
102 (+hildon_date_button_constructed): Add a default date selector if
105 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
107 * src/hildon-touch-selector.c: Small documentation fixes.
109 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
111 Based on a patch by Daniel Borgmann (danielb@openismus.com)
113 * src/hildon-entry.c (hildon_entry_refresh_contents),
114 (hildon_entry_get_text), (hildon_entry_init): Do not use the
115 widget name, set the logical color directly instead and a boolean
116 showing_placeholder instead.
117 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
118 use the widget name here either.
120 Fixes: NB#105678 (HildonTextView should use logical colours
121 instead of setting widget name)
123 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
125 Patch by Daniel Elster (danielk@openismus.com)
127 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
128 Add user_data parameter.
129 (hildon_touch_selector_set_print_func_full): New function akin
130 hildon_touch_selector_set_print_func() but with support for user
131 data and a destroy callback.
132 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
133 to clean up the print function user data.
134 (hildon_touch_selector_class_init): Install dispose function.
135 (HildonTouchSelectorPrivate::print_user_data),
136 (HildonTouchSelectorPrivate::print_destroy_func): New private
138 (hildon_touch_selector_init): Initialize new private members.
139 (hildon_touch_selector_get_current_text): Pass along user data
140 to the print function.
141 (_default_print_func): Add dummy user_data to parameter list.
142 * hildon-date-selector.c (_custom_print_func): ditto,
143 * hildon-time-selector.c (_custom_print_func): ditto,
144 * hildon-touch-selector-entry.c
145 (hildon_touch_selector_entry_print_func): ditto.
147 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
149 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
151 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
153 2009-03-12 Alejandro G. Castro <alex@igalia.com>
155 * src/hildon-pannable-area.c,
156 (hildon_pannable_area_init),
157 (hildon_pannable_area_button_press_cb),
158 (hildon_pannable_area_motion_notify_cb): We have added code to
159 handle the leave and enter events when using the motion events.
161 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
163 2009-03-11 Alberto Garcia <agarcia@igalia.com>
165 * src/hildon-date-button.c (hildon_date_button_get_date)
166 (hildon_date_button_set_date): Make sure that the button has a
169 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
171 2009-03-11 Alejandro G. Castro <alex@igalia.com>
173 * src/hildon-pannable-area.c,
174 (hildon_pannable_area_class_init),
175 (hildon_pannable_area_calculate_velocity): Modify the use of the
176 force and adapt the value.
178 2009-03-10 Alberto Garcia <agarcia@igalia.com>
180 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
181 (hildon_app_menu_class_init): Hide the menu if it receives a
182 delete-event, but don't destroy it
184 Fixes: NB#104485 (Not able to address the call when application
185 menu is opened at background)
187 2009-03-10 Alberto Garcia <agarcia@igalia.com>
189 * src/hildon-app-menu.c
190 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
191 Remove the "external-border" style property, let the menu take its
192 natural size (or the one set by the window manager)
193 (hildon_app_menu_repack_items):
194 Don't reshow the menu, avoid flickers.
196 Partially fixes NB#94957 (Smoothly opened application menu)
198 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
203 * configure.ac: Bump version.
204 * debian/changelog: Updates.
206 2009-03-10 Alejandro G. Castro <alex@igalia.com>
208 * src/hildon-pannable-area.c,
209 (hildon_pannable_area_motion_notify_cb): We control that the
210 direction error margin is used just in case the movement is
211 allowed in the other direction.
213 Fixes: NB#105012 (buttons inside a pannable area not getting
214 release event when dragging/releasing)
216 2009-03-10 Alejandro G. Castro <alex@igalia.com>
218 * src/hildon-pannable-area.c,
219 (hildon_pannable_area_class_init),
220 (hildon_pannable_area_get_property),
221 (hildon_pannable_area_set_property),
222 (hildon_pannable_area_initial_effect),
223 (hildon_pannable_axis_scroll),
224 (hildon_pannable_area_button_release_cb): Reviewed the
225 overshooting effect, now it has its own max
226 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
229 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
234 * configure.ac: Bump version.
235 * debian/changelog: Updates.
237 2009-03-09 Alejandro G. Castro <alex@igalia.com>
239 * src/hildon-pannable-area.c,
240 (hildon_pannable_area_class_init): Changed the max speed, now
241 users can launch the widget very fast. Reduced the default force,
242 that way it is easier to control the launch speed.
244 2009-03-09 Alejandro G. Castro <alex@igalia.com>
246 * src/hildon-pannable-area.c,
247 (hildon_pannable_area_button_release_cb): Removed this check
248 because it causes problems when the device is overloaded.
250 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
252 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
253 add a current_text field to store the text entered in the
254 touch selector entry.
255 (_clean_current_selection): clean up the current text as well.
256 (_save_current_selection), (_restore_current_selection):
257 Save/restore the text in the entry if the selector is a
258 HildonTouchSelectorEntry.
260 Fixes: NB#102541 (value entered in the touch selector entry is not
261 shown when opened for second time)
263 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
265 * doc/hildon-sections.txt:
266 * src/hildon-touch-selector-entry.c
267 (+hildon_touch_selector_entry_get_entry):
268 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
270 Fixes: NB#104815 (I need accessor to the entry inside
271 HildonTouchSelectorEntry)
273 2009-03-06 Alberto Garcia <agarcia@igalia.com>
275 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
276 (hildon_app_menu_class_init):
277 New "filter-vertical-spacing" style property.
279 2009-03-06 Alberto Garcia <agarcia@igalia.com>
281 * src/hildon-find-toolbar.c
282 (hildon_find_toolbar_emit_close)
283 (hildon_find_toolbar_emit_invalid_input)
284 (hildon_find_toolbar_entry_activate):
285 Use g_signal_emit() instead of g_signal_emit_by_name()
287 2009-03-06 Alberto Garcia <agarcia@igalia.com>
289 Patch by Mox Soini (ext-mox.soini@nokia.com)
291 * tests/TEST-CASES.txt
292 * tests/check-hildon-banner.c
293 * tests/check-hildon-note.c
294 * src/hildon-banner.c
295 * src/hildon-code-dialog.c
296 * src/hildon-date-editor.c (real_set_calendar_icon_state)
297 * src/hildon-time-editor.c
298 * examples/hildon-lookup-example.c (main):
299 Replace obsolete icon names with new ones.
301 * src/hildon-find-toolbar-private.h:
302 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
303 (-hildon_find_toolbar_emit_search):
304 Remove find button and change icon of close button.
306 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
308 2009-03-05 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-time-button.c (hildon_time_button_new_step):
311 Use the "touch-selector" property to set the selector directly
312 when creating the object.
314 2009-03-05 Alejandro G. Castro <alex@igalia.com>
316 Added a new example application that allows tuning the pannable
317 area and replaced defines with properties in order to simplify the
318 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
319 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
320 PROP_DIRECTION_ERROR_MARGIN.
322 * examples/hildon-pannable-area-tuning-example.c: New example
324 * src/hildon-pannable-area.c,
325 (hildon_pannable_area_class_init),
326 (hildon_pannable_area_init),
327 (hildon_pannable_area_get_property),
328 (hildon_pannable_area_set_property),
329 (hildon_pannable_area_launch_fade_timeout),
330 (hildon_pannable_area_adjust_value_changed),
331 (hildon_pannable_axis_scroll),
332 (hildon_pannable_area_motion_notify_cb),
333 (hildon_pannable_area_scroll_cb),
334 (hildon_pannable_area_button_release_cb): We have converted some
335 of the defines that control the widget to properties to simplify
338 2009-03-05 Alberto Garcia <agarcia@igalia.com>
340 * src/hildon-app-menu.c (hildon_app_menu_map)
341 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
342 so it's closed if a new window appears.
344 Fixes: NB#104485 (Not able to address the call when application
345 menu is opened at background)
347 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
349 * src/hildon-color-button.c (hildon_color_button_get_property):Add
350 missing 'break' statement in in 'case' construct to avoid
353 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
355 * src/hildon-touch-selector-entry.c
356 (hildon_touch_selector_entry_get_property),
357 (hildon_touch_selector_entry_set_property): Add missing 'break'
358 statements in in 'case' constructs to avoid incorrect warnings.
360 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-time-editor.c
363 (hildon_time_editor_get_time_separators): Do not crash if
364 the first label is NULL.
366 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
368 * src/hildon-date-selector.c (_month_days): Check for month to be
369 strictly less than 12, since otherwise we may overrun the array.
371 2009-03-04 Alberto Garcia <agarcia@igalia.com>
373 * src/hildon-date-button.c (+hildon_date_button_new_full)
374 (hildon_date_button_new, hildon_date_button_new_with_year_range)
375 (hildon_date_button_init): Set the date selector using a
376 construction property, to make it happen after HildonButton's
377 "value" property is set.
379 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
380 current date by default)
382 2009-03-04 Alberto Garcia <agarcia@igalia.com>
384 * doc/hildon-sections.txt
385 * src/hildon-program.c
386 * src/hildon-stackable-window.c
387 * src/hildon-window.c:
388 Documentation updates
390 2009-03-04 Alberto Garcia <agarcia@igalia.com>
392 * src/hildon-window-stack.c (hildon_window_stack_get_default)
393 (hildon_window_stack_new, +hildon_window_stack_set_property)
394 (+hildon_window_stack_get_property)
395 (hildon_window_stack_class_init)
396 (+hildon_window_stack_set_window_group)
397 (+hildon_window_stack_get_window_group):
398 Make the window group a construction property.
400 2009-03-04 Alberto Garcia <agarcia@igalia.com>
402 * doc/hildon-sections.txt
403 * src/hildon-stackable-window-private.h
404 * src/hildon-stackable-window.h
405 * src/hildon-stackable-window.c
406 (-hildon_stackable_window_set_app_menu)
407 (-hildon_stackable_window_get_app_menu)
408 (-hildon_stackable_window_toggle_menu)
409 (-hildon_stackable_window_finalize)
410 (hildon_stackable_window_class_init)
411 (hildon_stackable_window_init)
412 * src/hildon-window-private.h
413 * src/hildon-window.h
414 * src/hildon-window.c (hildon_window_init)
415 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
416 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
417 (hildon_window_get_main_menu, hildon_window_set_main_menu)
418 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
419 Moved all HildonAppMenu code to HildonWindow. The menu does not
420 require a HildonStackableWindow anymore.
422 * src/hildon-app-menu.c
423 * src/hildon-program.c
424 * examples/hildon-app-menu-example.c (main):
425 Update examples and documentation to reflect HildonAppMenu
428 2009-03-04 Alberto Garcia <agarcia@igalia.com>
430 * src/hildon-remote-texture.c
431 * src/hildon-animation-actor.c:
432 Don't include unused private headers.
434 2009-03-04 Alberto Garcia <agarcia@igalia.com>
436 * src/hildon-program-private.h
437 * src/hildon-program.c
438 (hildon_program_set_common_menu)
439 (hildon_program_get_common_menu)
440 (hildon_program_set_common_app_menu)
441 (hildon_program_get_common_app_menu):
442 Change common menu pointers from GtkWidget* to GtkMenu* and
443 HildonAppMenu* to avoid unnecessary casts.
445 2009-03-03 Alberto Garcia <agarcia@igalia.com>
447 * src/hildon-window.c (hildon_window_set_main_menu):
448 Removed incorrect 'Since:' tag
450 2009-03-03 Alejandro G. Castro <alex@igalia.com>
452 * src/hildon-pannable-area.c,
453 (hildon_pannable_area_calculate_velocity): We use now the
454 RATIO_TOLERANCE here to check the distance, fixed typo in the
456 (hildon_pannable_area_motion_notify_cb): We have to set the type
457 and time even if we are not sending the motion.
459 2009-03-02 Alberto Garcia <agarcia@igalia.com>
461 * doc/hildon-sections.txt
462 * src/hildon-app-menu.h
463 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
464 (+hildon_app_menu_get_filters): New methods to get the contents of
467 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
470 2009-03-02 Alberto Garcia <agarcia@igalia.com>
472 * src/hildon-app-menu.c (hildon_app_menu_popup):
475 2009-03-02 Alberto Garcia <agarcia@igalia.com>
477 * src/hildon-window.h
478 * src/hildon-window.c (+hildon_window_get_main_menu)
479 (hildon_window_get_menu): Created hildon_window_get_main_menu()
480 and deprecated hildon_window_get_menu().
482 * src/hildon-stackable-window.h
483 * src/hildon-stackable-window.c
484 (+hildon_stackable_window_set_app_menu)
485 (+hildon_stackable_window_get_app_menu)
486 (hildon_stackable_window_set_main_menu): Created
487 hildon_stackable_window_{get,set}_app_menu() and deprecated
488 hildon_stackable_window_set_main_menu().
490 * doc/hildon-sections.txt
491 * examples/hildon-app-menu-example.c (main)
492 * src/hildon-app-menu.c
493 * src/hildon-program.c:
494 Updated examples and documentation.
496 Fixes: NB#103758 (No way to obtain a menu from a
497 HildonStackableWindow)
499 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
504 * configure.ac: Bump version.
505 * debian/changelog: Updates.
507 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
509 * examples/hildon-remote-texture-example.c: Include
510 hildon-remote-texture.h explicitely.
511 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
512 applications not defining _XOPEN_SOURCE which don't require this header.
514 2009-02-27 Alberto Garcia <agarcia@igalia.com>
516 * doc/hildon-sections.txt
517 * src/hildon-app-menu.h
518 * src/hildon-app-menu.c (+hildon_app_menu_popup):
519 New function to pop up a HildonAppMenu
521 * src/hildon-stackable-window.c
522 (hildon_stackable_window_toggle_menu):
523 Use hildon_app_menu_popup() to show the menu.
525 2009-02-27 Alberto Garcia <agarcia@igalia.com>
527 * src/hildon-app-menu.c (hildon_app_menu_show)
528 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
529 menu if there's another window between it and its parent window.
531 Fixes: NB#100468 (Application menu window is launched even when a
532 new secondary-window/dialog is pending to be shown/realized)
534 2009-02-27 Alberto Garcia <agarcia@igalia.com>
536 * src/hildon-window-stack.c (hildon_window_stack_push)
537 (hildon_window_stack_pop_and_push):
538 Don't forget to push/pop the first window.
539 Reverse the window list before calling _push_list()
541 2009-02-27 Alberto Garcia <agarcia@igalia.com>
543 * src/hildon-picker-button.h
544 * src/hildon-picker-button.c (hildon_picker_button_class_init):
545 Remove "value_changed" slot to avoid ABI breakage
547 2009-02-26 Alejandro G. Castro <alex@igalia.com>
549 * src/hildon-pannable-area.c,
550 (hildon_pannable_area_realize),
551 (hildon_pannable_area_unrealize),
552 (hildon_pannable_draw_vscroll),
553 (hildon_pannable_draw_hscroll): Changed the method to handle the
554 GC used to draw the transparent scrollbar, this way we avoid
555 creating the GC all the time when drawing the scrollbars.
557 2009-02-26 Alejandro G. Castro <alex@igalia.com>
559 * src/hildon-pannable-area.c,
560 (hildon_pannable_area_init),
561 (hildon_pannable_area_remove): Removed some unnecessary casts.
562 (hildon_pannable_area_dispose): Disconnected some signals before
563 releasing the adjustments.
565 2009-02-26 Alberto Garcia <agarcia@igalia.com>
567 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
568 Make sure that all widgets contained in the toolbar are shown.
570 2009-02-25 Alberto Garcia <agarcia@igalia.com>
572 * doc/hildon-sections.txt
573 * src/hildon-picker-button.h
574 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
575 (_selection_changed, hildon_picker_button_on_dialog_response)
576 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
577 New hildon_picker_button_value_changed() method.
580 * src/hildon-picker-button-private.h
581 * src/hildon-picker-button.c (hildon_picker_button_init)
582 (+hildon_picker_button_disable_value_changed): Add protected
583 function for disabling the "value-changed" signal.
585 * src/hildon-date-button.c (hildon_date_button_set_date):
586 Don't emit "value-changed" for each one of the three columns.
588 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
589 before actual change of values)
591 2009-02-24 Alejandro G. Castro <alex@igalia.com>
593 * src/hildon-pannable-area.c,
594 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
595 for the treeview overshooting.
597 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-banner.c (+hildon_banner_bind_style):
600 Renamed from hildon_banner_bind_label_style(), now naming the
601 banner itself as well.
602 (hildon_banner_show_information),
603 (hildon_banner_show_information_with_markup),
604 (hildon_banner_show_animation), (hildon_banner_show_progress):
605 Name the widgets and labels, based on their type.
607 See NB#98597 (Hildon Note and Hildon Banner should use themeable
610 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-note.c (hildon_note_set_property): call
613 hildon_note_rename() on HildonNote:note-type set.
614 (hildon_note_rename): Name the note and its label, based on the
615 HildonNote:note-type property.
617 See NB#98597 (Hildon Note and Hildon Banner should use themeable
620 2009-02-24 Alejandro G. Castro <alex@igalia.com>
622 * src/hildon-pannable-area.c,
623 (hildon_pannable_area_class_init),
624 (hildon_pannable_area_motion_notify_cb): Reviewed the default
625 panning parameters, increased SPS and deceleration factor. Added
626 also a margin to control fake directions.
628 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
630 Patch by Sven Herzberg (sven@imendio.com)
632 * configure.ac: Add missing AM_PROG_CC_C_0
633 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
635 See NB#101420 (Update unit tests and fix make check)
637 2009-02-23 Alejandro G. Castro <alex@igalia.com>
639 This patch was applied before but reverted because it caused
640 problems, we have changed the main condition and tested the
641 regressions we detected before and they work ok. We have done a
642 complete review of the topmost algorithm in order to get a more
645 * src/hildon-pannable-area.c,
646 (hildon_pannable_area_get_topmost): Added a new parameter to
647 filter the the windows that do not include those events.
648 (hildon_pannable_area_button_press_cb),
649 (hildon_pannable_area_button_release_cb),
650 (hildon_pannable_get_child_widget_at): Reviewed the call the the
651 topmost function, we have added the new parameter.
653 Fixes: NB#97458 (Pannable area prevents propagation of button
656 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
659 if all columns in the selector have an item selected.
660 (_on_dialog_response): Stop "response" signal emission if there is
661 any selector column without selected items.
663 Fixes: NB#101889 (Picker dialog should not close when nothing is
664 selected in multiple selection list)
666 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
668 * src/hildon-font-selection-dialog.c
669 (hildon_font_selection_dialog_class_init),
670 (hildon_font_selection_dialog_init): Remove the preview
671 button and dialog, since previewing with default theming is likely
672 to be overcomplicated. The :preview property has now no effect.
673 Update documentation blurbs to inform about this.
675 Fixes: NB#92297 (Preview content is not clearly visible for
678 2009-02-20 Alejandro G. Castro <alex@igalia.com>
680 Reviewed the geometry that handles the children size and
681 scrollbar, now it tries a size and reviews the results depending
682 on the scrollbars visibility.
684 * src/hildon-pannable-area.c,
685 (hildon_pannable_area_realize): Fixed a typo.
686 (hildon_pannable_area_child_allocate_calculate): Added this
687 function to calculate the child allocation.
688 (hildon_pannable_area_size_allocate): Reviewed the allocation
690 (hildon_pannable_area_check_scrollbars),
691 (hildon_pannable_area_refresh): Refactored refresh function, this
692 way we can call the code handling the scrollbars without causing a
693 size_request, it is interesting in the allocate.
694 (hildon_pannable_area_init): Replace the callbacks of the
695 value_changed and changed signals to propertly deal with the
697 (hildon_pannable_area_grab_notify),
698 (hildon_pannable_area_initial_effect),
699 (hildon_pannable_area_launch_fade_timeout),
700 (hildon_pannable_area_adjust_changed),
701 (hildon_pannable_area_adjust_value_changed),
702 (hildon_pannable_area_redraw),
703 (hildon_pannable_area_button_press_cb),
704 (hildon_pannable_area_button_release_cb),
705 (hildon_pannable_area_scroll_cb),
706 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
707 code and use the new functions adjust_changed and
708 adjust_value_changed.
710 Fixes: NB#101603 (Focus is not even for the text entry boxes in
711 Contact editor dialog)
713 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
718 * configure.ac: Bump version.
719 * debian/changelog: Updates.
721 2009-02-20 Alejandro G. Castro <alex@igalia.com>
723 * src/hildon-pannable-area.c,
724 (hildon_pannable_area_get_topmost),
725 (hildon_pannable_area_button_press_cb),
726 (hildon_pannable_area_button_release_cb),
727 (hildon_pannable_get_child_widget_at): Reverted the patch for the
728 topmost function adding the event mask. We have to try a
729 differente approach because it is still causing problems (NB#9745,
732 2009-02-19 Alberto Garcia <agarcia@igalia.com>
734 * src/hildon-banner.c:
735 Update the maximum width of timed banners.
736 (force_to_wrap_truncated): Enforce the maximum text width if the
739 Fixes: NB#102413 (The text margins (wrapping) in information
740 banner should be HILDON_MARGIN_TRIPLE)
742 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
744 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
746 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
747 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
748 bound when calculating the scroll indicator position.
750 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
751 treat ->lower correctly)
753 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-caption.c (hildon_caption_class_init): Remove the
756 expose event handling, since it is not necessary to draw the focus
759 Fixes: NB#102467 (Do not show highlight on the text in
762 2009-02-18 Alberto Garcia <agarcia@igalia.com>
764 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
765 full height of the toolbar for the button and the label.
767 2009-02-18 Alberto Garcia <agarcia@igalia.com>
769 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
770 padding before the label and after the button.
772 2009-02-18 Alberto Garcia <agarcia@igalia.com>
774 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
776 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
777 Add a GtkVSeparator between the button and the back arrow.
778 Let the button have automatic size.
779 Set a name to the widget for theming handling.
781 Fixes: NB#101793 (Make edit toolbar the same height as window
782 title bar (use title area theming))
784 2009-02-18 Alberto Garcia <agarcia@igalia.com>
786 * src/hildon-helper.c (attach_new_color_element): Fix memory
789 Fixes: NB#102262 (memory leak in hildon_button_set_style())
791 2009-02-18 Alberto Garcia <agarcia@igalia.com>
793 * examples/hildon-button-example.c (common_buttons_window): Don't
796 2009-02-18 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
799 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
801 2009-02-18 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-gtk.c: Check that the window is realized.
805 Fixes: NB#102225 (Crash setting the progress indicator to a non
808 2009-02-17 Alberto Garcia <agarcia@igalia.com>
810 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
811 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
812 instead of modifying the one in the widget style.
814 Fixes: NB#101043 (Second row of all the command button are
815 displayed in transparent mode.)
817 2009-02-17 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-date-button.c
820 * src/hildon-time-button.c: Add gettext macros
822 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
824 * src/hildon-date-button.c (hildon_date_button_new):
825 * src/hildon-time-button.c (hildon_time_button_new_step):
826 Use new logical strings to set the button default title.
828 Fixes: NB#99915 (Date and Time options are not localised in Date
831 2009-02-16 Alejandro G. Castro <alex@igalia.com>
833 * src/hildon-pannable-area.c
834 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
835 the PANNING_THRESHOLD.
837 2009-02-16 Alejandro G. Castro <alex@igalia.com>
839 * src/hildon-pannable-area.c,
840 (hildon_pannable_area_class_init): Increased the maximum speed.
841 (hildon_pannable_area_get_property),
842 (hildon_pannable_area_set_property),
843 (hildon_pannable_area_timeout): Added a new low friction mode, it
844 allows the user avoid friction when launching the widget fast
845 enough. It is interesting to traverse long lists.
847 2009-02-16 Alberto Garcia <agarcia@igalia.com>
849 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
850 (+hildon_stackable_window_delete_event): Ignore delete events if
851 the window is not the topmost one.
853 Fixes: NB#101698 (Back button long press and delete-event handling)
855 2009-02-16 Alejandro G. Castro <alex@igalia.com>
857 * src/hildon-pannable-area.c,
858 (hildon_pannable_area_motion_notify_cb): Removed the use of the
859 gtk-dnd-drag-threshold, it was too big. We have defined our own
860 dnd define and set a smaller value: PANNIG_THRESHOLD.
862 2009-02-16 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
865 user-defined icons, use always the default one.
867 Fixes: NB#101916 (Do not allow custom icons on animation banner)
869 2009-02-13 Alejandro G. Castro <alex@igalia.com>
871 This patch was applied before but reverted because it caused
872 problems, we have changed the main condition and tested the
873 regressions we detected before and they work ok.
875 * src/hildon-pannable-area.c,
876 (hildon_pannable_area_get_topmost): Added a new parameter to
877 filter the the windows that do not include those events. Added
878 also a condition when finding the window to filter windows that do
879 not ask for those events.
880 (hildon_pannable_area_button_press_cb),
881 (hildon_pannable_area_button_release_cb),
882 (hildon_pannable_get_child_widget_at): Reviewed the call the the
883 topmost function, we have added the new parameter.
885 Fixes: NB#97458 (Pannable area prevents propagation of button
888 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
890 * tests/check-hildon-color-button.c (START_TEST): do not leak
893 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
895 * src/hildon-font-selection-dialog.c
896 (hildon_font_selection_dialog_get_preview_text): Return NULL
897 instead of FALSE on the g_return_val_if_fail().
899 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
901 * src/hildon-time-selector.c (hildon_time_selector_set_time):
902 * src/hildon-date-selector.c
903 (hildon_date_selector_select_current_date):
904 Do not compare unsigned integers to be greater than or equal 0,
905 because it's always TRUE.
907 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
909 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
910 (hildon_date_selector_constructor): Do not select the current
911 date until we are handle the "changed" signal, to avoid having bogus
912 elements in the days model.
914 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
917 for num_days, since _month_days() can return a negative value.
919 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
921 * src/hildon-caption.c (hildon_caption_size_allocate):
922 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
923 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
925 Initialize allocation variables to 0, to avoid eventually using
926 unitialized variables.
928 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-bread-crumb-trail.c
931 (hildon_bread_crumb_trail_size_allocate):
932 * src/hildon-calendar.c (hildon_calendar_set_background):
933 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
934 * src/hildon-range-editor.c (hildon_range_editor_get_range):
935 * src/hildon-seekbar.c (hildon_seekbar_init):
936 * src/hildon-time-editor.c (hildon_time_editor_get_time):
937 * src/hildon-time-selector.c (hildon_time_selector_finalize):
938 * src/hildon-touch-selector-entry.c
939 (hildon_touch_selector_get_text_from_model):
940 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
941 * src/hildon-window.c (hildon_window_finalize):
943 Remove many unused variables.
945 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-seekbar.c: (hildon_seekbar_init),
948 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
950 Remove unnecessary g_assert() calls.
952 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
954 * src/hildon-caption.c: (hildon_caption_expose),
955 (hildon_caption_set_property), (hildon_caption_init),
956 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
957 (hildon_caption_size_request), (hildon_caption_size_allocate),
958 (hildon_caption_forall), (hildon_caption_set_separator),
959 (hildon_caption_activate), (hildon_caption_set_child_expand),
960 (hildon_caption_set_label_text),
961 (hildon_caption_get_label_alignment):
963 Remove unnecessary g_assert() calls.
965 2009-02-12 Alberto Garcia <agarcia@igalia.com>
967 * src/hildon-banner.c
968 (hildon_banner_map, hildon_banner_init): Make banner temporary
969 before mapping it to avoid closing other temporary windows, but
970 make it non-temporary afterwards to avoid being closed by other
971 non-temporary windows.
972 (-hildon_banner_client_event, hildon_banner_init):
973 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
975 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
978 2009-02-11 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
983 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
985 * src/hildon-remote-texture.c
986 * src/hildon-remote-texture.h
987 * src/hildon-remote-texture-private.h
988 * examples/hildon-remote-texture-example.c:
989 Updates/fixes to remote-texture and its example.
991 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
993 Patch by Mox Soini (ext-mox.soini@nokia.com)
995 * src/hildon-code-dialog.c: Update logical id.
996 * src/hildon-set-password-dialog.c: Update logical id.
998 Fixes: NB#100646 (Logical strings is shown for ok in set
999 password,Password needed dialogs)
1001 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1004 * src/hildon-remote-texture.c
1005 * src/hildon-remote-texture.h
1006 * src/hildon-remote-texture-private.h
1008 Added remote texture widget (for Clutter shared memory textures)
1010 * examples/hildon-remote-texture-example.c
1011 * examples/Makefile.am
1012 Added example file for remote texture usage
1014 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: post release version bump.
1017 * debian/changelog: version bump.
1019 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-date-selector.c (hildon_date_selector_init)
1030 (hildon_date_selector_constructor): Don't connect to the "changed"
1031 signal until the selector is completely constructed.
1033 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1035 * src/hildon-touch-selector.c: (_create_new_column),
1036 (hildon_touch_selector_append_column),
1037 (hildon_touch_selector_set_column_selection_mode),
1038 (hildon_touch_selector_set_active),
1039 (hildon_touch_selector_select_iter):
1040 Emit the HildonTouchSelector::changed signal every time selection
1041 is changed in any of the methods above. This behavior was already
1042 documented but not fully functional.
1044 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1045 selection is programmatically changed)
1047 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1049 * doc/hildon-sections.txt: Remove obsolete icon
1050 sizes from here as well.
1052 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1054 * examples/hildon-stackable-window-example.c (add_window): Remove
1057 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-app-menu.c
1060 (hildon_app_menu_show): Check whether the parent window of a menu
1061 is topmost before popping it up.
1063 Fixes: NB#100468 (Application menu window is launched even when a
1064 new secondary-window/dialog is pending to be shown/realized.)
1066 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1068 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1071 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1073 Patch by Mox Soini (ext-mox.soini@nokia.com)
1075 * src/hildon-banner.c: (hildon_banner_show_animation):
1076 use stylus size instead of obsolete note size.
1077 * src/hildon-defines.h: Update icon sizes.
1079 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-touch-selector-entry.c:
1082 (hildon_touch_selector_entry_init): Disable unsupported
1084 (hildon_touch_selector_entry_get_text_column): Emit a warning
1085 if an unsupported input modes is used and explicitile state
1086 these modes in the documentation.
1088 Fixes: NB#99802 (Hildon touch selector entry not working properly
1089 for some of the input modes)
1091 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1093 * src/hildon-pannable-area.c,
1094 (hildon_pannable_area_init): Added the changed signal handlers of
1097 Fixes: NB#100320 (HildonPannableArea does not listen to
1098 GtkAdjustment "change" signals)
1100 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1102 * doc/hildon-sections.txt
1103 * src/hildon-window-private.h
1104 * src/hildon-window.h
1105 * src/hildon-window.c (hildon_window_init)
1106 (hildon_window_realize, hildon_window_unrealize)
1107 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1108 (hildon_window_size_request, hildon_window_size_allocate)
1109 (hildon_window_forall, hildon_window_show_all)
1110 (hildon_window_destroy, +paint_edit_toolbar)
1111 (+hildon_window_set_edit_toolbar):
1112 New hildon_window_set_edit_toolbar() method, to add a
1113 HildonEditToolbar to a window without having to pack it manually.
1115 Reorganize hildon_window_size_allocate()
1117 * src/hildon-edit-toolbar.c: Update documentation.
1119 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1120 example to use the new API.
1122 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1124 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1126 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1127 Remove from stack before calling parent's hide.
1129 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1132 window is removed from the middle of the stack, update the
1133 transiency of the previous one.
1135 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1138 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1141 block/unblock the signal handler if it's not actually being used.
1142 Fixes some critical warnings.
1144 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1146 Based on a patch by Iván Gómez (igomez@igalia.com)
1148 * src/hildon-banner.c
1152 * src/hildon-pannable-area.c
1153 * src/hildon-picker-dialog.c
1154 * src/hildon-wizard-dialog.h
1155 * src/hildon-wizard-dialog.c: Documentation updates.
1157 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1158 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1160 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1162 * configure.ac: post release version bump.
1163 * debian/changelog: version bump.
1165 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1170 * configure.ac: Bump version.
1171 * debian/changelog: Updates.
1173 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1176 a stock icon nor change the relief of the back arrow.
1178 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1179 graphics from theme)
1181 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1183 * src/hildon-button.c (hildon_button_set_alignment): Use
1184 priv->alignment if the button has no child yet.
1186 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-button.c: (hildon_button_init): Set the
1189 button style during initialization to give it the proper
1192 Fixes: NB#99713 (HildonButton value label color is wrong)
1194 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-touch-selector.c: Document
1197 hildon_touch_selector_center_on_selected()
1199 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1202 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1203 all menu items, but not the menu itself.
1204 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1205 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1206 items after adding them to the menu so keyboard accelerators work.
1207 (hildon_app_menu_show): Don't show the menu if it contains items
1208 but none of them are visible.
1210 * examples/hildon-app-menu-example.c (create_menu): Use
1211 gtk_widget_show_all() to show all menu items.
1213 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-picker-dialog.c:
1216 (-_update_title_on_selector_changed_cb),
1217 (-_dialog_update_title): Removed.
1218 (_select_on_selector_changed_cb), (_on_dialog_response),
1219 (on_selector_columns_changed): Do not update the dialog title.
1220 (setup_interaction_mode): Do not connect to
1221 HildonTouchSelector::changed signal if there's a "done" button, as
1222 the dialog title doesn't need to be updated.
1224 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1227 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1229 Patch by Kristian Rietveld (kris@imendio.com)
1231 * src/hildon-touch-selector.c: (_create_new_column): Use new
1232 GtkTreeView::hildon-row-tapped signal to react to user interactions
1233 instead of ::changed.
1235 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1236 with some dynamic tree model)
1238 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1241 (+screen_size_changed, +label_size_request)
1242 (hildon_note_class_init): Make the Hildon information note have a
1243 minimum height, and make its text hvae a maximum width.
1245 Fixes: NB#98614 (Hildon information note (background) should have
1246 minimum height and maximum text width)
1248 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-banner.h
1251 * src/hildon-banner.c (hildon_banner_show_information)
1252 (hildon_banner_show_informationf)
1253 (hildon_banner_show_information_with_markup): Update documentation
1254 to reflect that the icon_name parameter is not used anymore.
1255 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1256 Remove all code from these functions and mark them as deprecated.
1257 (hildon_banner_show_progress): Mark as deprecated.
1259 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1261 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1263 * src/hildon-pannable-area.c,
1264 (hildon_pannable_area_class_init),
1265 (tranparency_color),
1266 (hildon_pannable_draw_vscroll),
1267 (hildon_pannable_draw_hscroll),
1268 (hildon_pannable_area_expose_event): Added a new way to render the
1269 scrollbars of the pannable area avoiding using cairo at all. This
1270 way we improve the performance of the pannable area rendering. The
1271 cairo rendering procedure is still in the code, we can control
1272 which one to use changing the value of the define
1273 USE_CAIRO_SCROLLBARS.
1275 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1277 * configure.ac: post release version bump.
1278 * debian/changelog: version bump.
1280 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1285 * configure.ac: Bump version.
1286 * debian/changelog: Updates.
1288 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1291 banners instead of destroying them when they receive a button
1294 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1296 Reverted commit 34028, it was causing regressions, probably the
1297 topmost condition is not correct, we have to check it in more
1298 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1299 propagation of button press events)
1301 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1303 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1304 that the selection is not empty before attempting to retrieve the
1305 current ampm selection.
1307 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1309 * src/hildon-picker-button.c:
1310 (hildon_picker_button_on_dialog_response): Directly update the
1311 button contents when required instead of calling _selection_changed.
1313 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1315 * src/hildon-program.c (hildon_program_update_top_most): Update
1316 'is-topmost' property also when wm_hints is not set.
1318 Fixes: NB#98383 (is-topmost signal is not emitted when task
1319 switcher is clicked.)
1321 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1323 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1327 * src/hildon-animation-actor.c,
1328 * src/hildon-animation-actor.h: Added the animation actor class,
1329 this widget represents an animation actor for WM-assisted
1330 animation effects in the Hildon framework.
1332 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-window-stack-private.h
1335 * src/hildon-window-stack.c
1336 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1337 Avoid calling gtk_widget_show() again indirectly from
1338 hildon_stackable_window_show()
1340 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1345 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1348 (hildon_time_selector_init): Move the construction of the hours and
1349 ampm columns to the constructor to preserve the order the columns
1352 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-picker-dialog.c:
1355 (hildon_picker_dialog_class_init): Connect a realize method.
1356 (+hildon_picker_dialog_realize): Setup the interaction mode here
1358 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1359 yet, do it during the realize instead.
1360 (_on_dialog_response):
1361 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1362 if the widget is not realized, to avoid the dialog response before it
1365 Avoid premature responses in the HildonPickerDialog that can cause it
1366 to be hidden before it's even shown.
1368 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1370 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1371 (on_selector_columns_changed), (requires_done_button),
1372 (+prepare_action_area), (setup_interaction_mode),
1373 (_hildon_picker_dialog_set_selector):
1375 Split the interaction mode setup into preparation of the
1376 action area (prepare_action_area()) and the connection of
1377 the signals in setup_interaction_mode() and update the code to
1380 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1382 * src/hildon-pannable-area.c,
1383 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1384 per second to 15, we will check if this is ok regarding
1387 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1389 * src/hildon-pannable-area.c,
1390 (hildon_pannable_axis_scroll): Avoid resize if we already have
1391 reached overshoot_max.
1393 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1395 * src/hildon-pannable-area.c,
1396 (hildon_pannable_area_init),
1397 (hildon_pannable_area_realize),
1398 (hildon_pannable_area_size_allocate),
1399 (hildon_pannable_area_map),
1400 (hildon_pannable_area_unmap),
1401 (hildon_pannable_draw_vscroll),
1402 (hildon_pannable_draw_hscroll),
1403 (hildon_pannable_area_expose_event),
1404 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1405 pannable are to avoid the expose events go to the window and
1406 redraw the window. We save this way that part of the stack and the
1407 paint_boxes. We had to change the positions of the elements when
1410 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1413 * src/hildon-color-chooser-dialog.c:
1414 (hildon_color_chooser_dialog_init):
1415 * src/hildon-font-selection-dialog.c:
1416 (hildon_font_selection_dialog_init),
1417 (hildon_font_selection_dialog_show_preview):
1418 * src/hildon-get-password-dialog.c:
1419 * src/hildon-login-dialog.c:
1420 * src/hildon-set-password-dialog.c:
1421 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1422 * src/hildon-time-picker.c: (hildon_time_picker_init):
1424 Remove obsolete logical string IDs and update to the appropriate ones.
1426 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1428 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1431 that happens if the window hasn't been realized yet.
1433 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1434 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1436 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1439 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1442 Fixes: NB#98537 (Device hangs in account settings dialog)
1444 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1446 * configure.ac: post release version bump.
1447 * debian/changelog: version bump
1449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1454 * configure.ac: Bump version.
1455 * debian/changelog: Updates.
1457 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1459 Added a new function to the HildonTimeButton widget that allows to
1460 change the step of the minutes in the selector associated with the
1461 button: hildon_time_button_new_step
1463 * src/hildon-time-button.c,
1464 (hildon_time_button_init),
1465 (hildon_time_button_new),
1466 (hildon_time_button_new_step):
1467 * src/hildon-time-button.h: Added the new function and refactored
1469 * examples/hildon-time-button-example.c,
1470 (main): We have replaced the function without parameters with the
1471 function with the steps set to 5
1473 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1475 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1477 * src/hildon-time-selector.c,
1478 (hildon_time_selector_class_init),
1479 (hildon_time_selector_constructor),
1480 (hildon_time_selector_get_property),
1481 (hildon_time_selector_set_property),
1482 (_create_minutes_model),
1483 (hildon_time_selector_new_step),
1484 (hildon_time_selector_set_time),
1485 * src/hildon-time-selector.h: Added a new property to the
1486 HildonTimeSelector (minutes-step), we use that property to control
1487 the steps between the minutes in the list of the selector. We have
1488 added a new function to the API to create a widget changing the
1489 step: hildon_time_selector_new_step.
1491 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1493 * src/hildon-time-selector.c,
1494 (hildon_time_selector_class_init),
1495 (hildon_time_selector_constructor),
1496 (hildon_time_selector_init): Overrided the construct function when
1497 creating the time selector object. We have moved the minutes model
1498 handling code from the init to the new construction function:
1499 hildon_time_selector_constructor.
1501 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1503 * examples/hildon-date-button-example.c: (main): Use the new
1504 hildon_date_button_new_with_year_range() method in the example.
1505 * src/hildon-date-button.c:
1506 (+hildon_date_button_new_with_year_range): New public method
1507 to conveniently create a HildonDateButton with a custom year range
1508 in its HildonDateSelector.
1509 * src/hildon-date-button.h: Add the new public method definition.
1511 Fixes: NB#97908 (Not possible to change the year range in
1512 HildonDateSelector/HildonDateButton)
1514 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1516 * src/hildon-date-selector.c:
1517 (+hildon_date_selector_set_property),
1518 (+hildon_date_selector_get_property),
1519 (hildon_date_selector_class_init): Install new properties "min-year"
1520 and "max-year" to define boundaries for the year column.
1521 (_create_year_model): Use the boundary properties to populate the model.
1522 (+hildon_date_selector_new_with_year_range): New public method to
1523 create a HildonDateSelector with a user defined year range.
1524 (hildon_date_selector_select_current_date): Use the new boundaries to
1525 calculate the iterator of current year.
1526 * src/hildon-date-selector.h: Add the new public method definition.
1528 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1531 Install a constructor method.
1532 (+hildon_date_selector_construct_ui): construct the widget.
1533 (+hildon_date_selector_constructor): new constructor.
1534 (+hildon_date_selector_init): move out widget construction code to
1535 the new constructor.
1537 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1540 that there's actually a month or year selected before obtaining them.
1541 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1542 of the HildonTouchSelector::changed signal, as it was emitted on every
1543 single item selection.
1545 Fix some warnings and possible crashers due to the selection restoring.
1547 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1549 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1550 the signal handlers only after creating the dialog instead of on every
1553 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-button.c (hildon_button_init)
1556 * src/hildon-check-button.c (hildon_check_button_init)
1557 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1558 focus when clicked by default.
1560 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1562 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1565 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1567 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1568 Alejandro G. Castro (alex@igalia.com)
1570 * src/hildon-picker-dialog.c:
1571 (hildon_picker_dialog_class_init): install new "center-on-show"
1573 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1574 (hildon_picker_dialog_set_property): add setter code for the new
1576 (hildon_picker_dialog_get_property): add getter code for the new
1578 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1579 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1582 Fixes: NB#92849 (Selected item is not always visible when
1583 HildonTouchSelector is shown)
1585 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1587 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1588 Alejandro G. Castro (alex@igalia.com)
1590 * src/hildon-touch-selector.c:
1591 (_create_new_column): Do not connect to the "realize" signal of the
1593 (hildon_touch_selector_append_column): center on the selected items
1594 when a new column is appended.
1595 (hildon_touch_selector_select_iter): Factor out the code to select a
1596 column to hildon_touch_selector_scroll_to().
1597 (+search_nearest_element): Method to retrieve the nearest selected
1598 element to the visible area of the pannable area in a column.
1599 (+on_realize_cb): scroll to the initially selected item.
1600 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1601 the pannable area is realized, otherwise delay this until it is.
1602 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1603 selected items of a given column.
1604 (+hildon_touch_selector_center_on_selected): Public method to center
1605 all columns on the nearest selected item.
1606 * src/hildon-touch-selector.h: Add definition for
1607 hildon_touch_selector_center_on_selected().
1609 Implement public API to ensure visibility of all selected items in
1610 a HildonTouchSelector.
1612 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1614 Fixed a problem in the fading when calling the scroll_to API, and
1615 improve scrollbar fading handling.
1617 * src/hildon-pannable-area.c,
1618 (hildon_pannable_area_grab_notify): avoid the timeout when the
1620 (hildon_pannable_area_button_press_cb),
1621 (hildon_pannable_area_motion_notify_cb): Code style changes.
1622 (hildon_pannable_area_button_release_cb): Review the conditions
1623 when releasing the mouse button to avoid unrequired fading
1625 (hildon_pannable_area_scroll_to): Do not calculate and set the
1626 velocity if the scroll is not required.
1628 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1631 Don't check whether the new selector is NULL: it cannot be.
1632 Hold a reference to the selector while doing the replacement.
1634 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1637 unnecessary size_request in a removed widget.
1639 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1642 an unnecessary reference tracking that was leaking.
1644 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1646 Added delayed motion notify event handling, this way we can
1647 discard redrawing if more than 25 events arrive per second.
1649 * src/hildon-pannable-area.c,
1650 (hildon_pannable_area_init): Initialized the new private atributes
1651 controlling this timeout
1652 (hildon_pannable_area_dispose): Remove the timeout that controls
1653 the motion notify events.
1654 (hildon_pannable_area_scroll): Added a condition to control the
1655 use of the acceleration.
1656 (hildon_pannable_area_motion_event_scroll_timeout),
1657 (hildon_pannable_area_motion_event_scroll): Added this two
1658 functions, they handle the motion notify events inside the
1660 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1661 to the scroll method with the new function.
1662 (hildon_pannable_area_button_release_cb): We have to remove the
1663 timeout handler and move to the last position if the last motion
1664 events were not handled.
1666 Fixes: NB#97028 (Pannable area updates on every motion event)
1668 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1670 * src/hildon-pannable-area.c,
1671 (hildon_pannable_area_get_topmost): Added a new parameter to
1672 filter the the windows that do not include those events. Added
1673 also a condition when finding the window to filter windows that do
1674 not ask for those events.
1675 (hildon_pannable_area_button_press_cb),
1676 (hildon_pannable_area_button_release_cb),
1677 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1678 topmost function, we have added the new parameter.
1680 Fixes: NB#97458 (Pannable area prevents propagation of button
1683 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1685 * src/hildon-pannable-area.c,
1686 (hildon_pannable_area_initial_effect): Added controls before
1687 launching the timeout and the idle functions.
1688 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1689 of the method, in some situations it can return with TRUE and 0 in
1691 (hildon_pannable_area_button_press_cb): We do not need to set
1692 DELAY for fading out here.
1694 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1696 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1698 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1699 post-cleaning if the selection is not NULL.
1701 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1703 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1704 all items before restoring the selection.
1706 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1708 * src/hildon-touch-selector.c:
1709 (+hildon_touch_selector_unselect_all):
1710 * src/hildon-touch-selector.h: New API to unselect all items in a
1711 column of the touch selector.
1713 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1715 * src/hildon-pannable-area.c,
1716 (hildon_pannable_area_redraw): Added a call to the refresh
1717 function inside the redraw because apparently in some cases the
1718 change in the adjustment does not imply a size allocate.
1720 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1721 despite the view not being scrollable)
1723 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1726 leak. Check for NULL before attempting to set the window title.
1728 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1731 whether to show or not the 'Done' button each time the dialog is
1732 shown, as it depends on the HildonTouchSelector selection mode.
1734 Fixes: NB#96226 (In multiple selection mode Done button is shown
1735 sometimes in listpicker)
1737 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1740 for the number of columns in the HildonTouchSelector more than once.
1742 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-touch-selector.c: Minor documentation fixes.
1746 * src/hildon-picker-dialog.c (+_dialog_update_title)
1747 (_select_on_selector_changed_cb)
1748 (_update_title_on_selector_changed_cb)
1749 (on_selector_columns_changed): Update dialog title when there's no
1750 'Done' button and also when the number of columns in the selector
1754 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1755 (+_selection_changed, hildon_picker_button_on_dialog_response)
1756 (hildon_picker_button_selector_selection_changed)
1757 (+hildon_picker_button_selector_columns_changed)
1758 (hildon_picker_button_set_selector): Update button value and emit
1759 'value-changed' when the number of columns in the selector
1763 Fixes: NB#96225 (Dialog titles are not shown according to the
1764 values selected in the list picker)
1766 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1769 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1770 New "arrow-width" and "arrow-height" style properties to set the
1771 size of the arrow button.
1772 Set name of arrow button ("hildon-edit-toolbar-arrow").
1774 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1775 graphics from theme)
1777 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1779 * src/hildon-picker-button.c:
1780 (hildon_picker_button_selector_selection_changed): Use
1781 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1782 the dialog is present.
1784 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1785 the selection is accepted in the dialog)
1787 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-color-chooser.h
1790 * src/hildon-color-chooser-dialog.h:
1791 Added G_BEGIN_DECLS and G_END_DECLS
1793 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1795 (_clean_current_selection): plug a leak in the list.
1797 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-picker-dialog.c:
1800 (+free_path_list): Method to free a GList of GtkTreePaths.
1801 (_clean_current_selection), (_save_current_selection),
1802 (_restore_current_selection): Save the current selection in
1803 as a list of lists, to support multiple selection properly.
1805 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1807 patch by Claudio Saavedra (csaavedra@igalia.com)
1809 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1810 Store the press position.
1811 (+hildon_text_view_button_release_event): If the release position is
1812 close enough to the press position, move the cursor here. Otherwise,
1814 (hildon_text_view_class_init): Override GtkTextView press, release, and
1815 motion event handlers, disabling this way text selection through
1816 pointer interaction, and allowing the container widget to handle the
1819 Fixes: NB#95828 (HildonTextView functionality)
1821 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1823 Based on a patch by Iván Gómez (igomez@igalia.com)
1825 * src/hildon-button.[ch]
1826 * src/hildon-calendar.c
1827 * src/hildon-check-button.c
1828 * src/hildon-date-editor.c
1829 * src/hildon-date-selector.c
1830 * src/hildon-picker-button.c
1831 * src/hildon-time-editor.c
1832 * src/hildon-time-selector.c
1833 * src/hildon-touch-selector.[ch]:
1834 Documentation updates
1836 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-pannable-area.c,
1839 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1840 threshold, it was required due to X events handling.
1842 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1844 * src/hildon-pannable-area.c,
1845 (hildon_pannable_area_grab_notify),
1846 (hildon_pannable_area_initial_effect),
1847 (hildon_pannable_area_button_press_cb),
1848 (hildon_pannable_area_button_release_cb),
1849 (hildon_pannable_area_scroll_cb),
1850 (hildon_pannable_area_scroll_to): Review the timeout management of
1851 the scrollbar, the frecuency was incorrectly set.
1853 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1855 * src/hildon-picker-button.c:
1856 (+hildon_picker_button_on_dialog_response),
1857 (hildon_picker_button_clicked): Present the dialog instead of
1858 running it with gtk_dialog_run().
1860 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1863 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1866 (hildon_app_menu_finalize): When a window is hidden it doesn't
1867 emit notify::is-topmost, so make sure than the menu also
1868 disappears in that case.
1869 (parent_window_topmost_notify): Renamed from parent_window_hidden
1871 Fixes: NB#94460 (stackable window's menu is not closed when its
1874 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1876 * src/hildon-touch-selector-entry.c:
1877 (+hildon_touch_selector_entry_set_input_mode),
1878 (+hildon_touch_selector_entry_get_input_mode):
1879 * src/hildon-touch-selector-entry.h: New methods to access the input
1880 mode in the selector's entry.
1882 Fixes: NB#93410 (API required for setting IM mode in
1883 HildonTouchSelectorEntry)
1885 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1887 * configure.ac: post release version bump.
1888 * debian/changelog: version bump
1890 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1895 * configure.ac: Bump version.
1896 * debian/changelog: Updates.
1898 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-touch-selector.c:
1901 (_hildon_touch_selector_has_multiple_selection): No need
1902 to initialize the variables here.
1904 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-note-private.h
1907 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1908 (hildon_note_finalize, hildon_note_rebuild): Close information
1909 notes when they receive a button press.
1911 Fixes: NB#89890 (Information notes does not get disappeared after
1914 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1917 mark from the wizard title, as it's not really necessary. Also,
1918 do not display the page title if not set.
1920 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1923 (parent_window_hidden): Use the window's "is-topmost" property to
1924 detect when to hide the menu.
1926 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1929 (hildon_app_menu_finalize): If the parent window of the menu is
1930 hidden, hide the menu too.
1932 Fixes: NB#94460 (stackable window's menu is not closed when its
1935 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1938 * debian/libhildon1-examples.install
1940 * examples/Makefile.am:
1941 Use dh_install to install all examples.
1942 Use DEB_SRCDIR instead of defining SOURCE_DIR
1944 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1946 * configure.ac: post release version bump.
1947 * debian/changelog: version bump
1949 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: bump version
1955 * debian/changelog: updates
1956 * debian/control: bump gtk+ dependency
1958 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1960 patch by Christian Dywan (christian@imendio.com)
1962 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1963 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1965 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-check-button.c (hildon_check_button_init)
1968 (hildon_check_button_class_init, hildon_check_button_style_set)
1969 (hildon_check_button_apply_style):
1970 New "checkbox-size" style property.
1972 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1973 larger / configurable size)
1975 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1977 * configure.ac: post release version bump.
1978 * debian/changelog: version bump
1980 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1985 * configure.ac: bump version
1986 * debian/changelog: updates
1988 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1990 * doc/hildon-sections.txt
1991 * src/hildon-pannable-area.c
1992 * src/hildon-program.c
1993 * src/hildon-time-editor.c
1994 * src/hildon-touch-selector-entry.c:
1996 More documentation updates.
1998 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2000 * doc/hildon-sections.txt
2001 * src/hildon-caption.c
2002 * src/hildon-code-dialog.c
2003 * src/hildon-color-button.c
2004 * src/hildon-controlbar.c
2005 * src/hildon-date-editor.c
2006 * src/hildon-date-selector.c
2007 * src/hildon-edit-toolbar.c
2008 * src/hildon-find-toolbar.c
2009 * src/hildon-font-selection-dialog.c
2011 * src/hildon-program.c
2012 * src/hildon-range-editor.c
2013 * src/hildon-seekbar.c
2014 * src/hildon-time-editor.c
2015 * src/hildon-time-selector.c
2016 * src/hildon-volumebar-range.c
2017 * src/hildon-volumebar.c
2018 * src/hildon-vvolumebar.c
2019 * src/hildon-weekday-picker.c
2020 * src/hildon-window.c
2021 * src/hildon-wizard-dialog.c:
2023 Lots of documentation fixes.
2025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2027 Patch contributed by Iván Gómez (igomez@igalia.com)
2029 * src/hildon-check-button.c:
2030 * src/hildon-date-button.c:
2031 * src/hildon-date-selector.c:
2032 * src/hildon-dialog.c:
2033 * src/hildon-edit-toolbar.c:
2034 * src/hildon-entry.c:
2035 * src/hildon-picker-button.c:
2036 * src/hildon-program.c:
2037 * src/hildon-text-view.c:
2038 * src/hildon-time-button.c:
2039 * src/hildon-touch-selector-entry.c:
2040 * src/hildon-window-stack.c:
2042 Add more "since" tags to the new API.
2044 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2046 * doc/hildon-sections.txt: Add below method.
2047 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2048 version for the hildonized scale.
2049 * src/hildon-gtk.h: Add the definition.
2051 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2053 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2055 * doc/hildon-sections.txt: Add missing entries for new methods.
2057 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2059 Added API to pannable are in order to get its adjustments. We
2060 added two properties to manage the values we had in the private
2063 * src/hildon-pannable-area.c:
2064 (hildon_pannable_area_class_init): Added hadjustment and
2065 vadjustment properties in order to expose horizontal and vertical
2067 (hildon_pannable_area_get_property),
2068 (hildon_pannable_area_set_property): Added code to handle the new
2070 (hildon_pannable_area_get_hadjustment),
2071 (hildon_pannable_area_get_vadjustment): API functions to get the
2073 * src/hildon-pannable-area.h:
2074 (hildon_pannable_area_get_hadjustment),
2075 (hildon_pannable_area_get_vadjustment): API functions to get the
2078 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2080 Fixed some leaks, after valgrinding.
2082 * src/hildon-touch-selector.c:
2083 (_default_print_func): Fixed a leak.
2084 (hildon_touch_selector_append_column): Fixed a leak.
2085 * src/hildon-date-button.c:
2086 (hildon_date_button_init): Fixed a leak.
2087 * src/hildon-date-selector.c
2088 (hildon_date_selector_finalize): Fixed a leak.
2090 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2092 Based on a patch by Christian Dywan (christian@imendio.com)
2094 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2096 * src/hildon-gtk.h: Add definition.
2098 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2100 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-picker-button.c: (hildon_picker_button_init),
2103 (hildon_picker_button_new): Set the HildonButton::style property
2104 in the init method, to propagate the value to the derived classes.
2106 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-button.c: (hildon_button_class_init): Do not make
2109 the "style" property a construct property.
2111 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-wizard-dialog.h
2114 * src/hildon-wizard-dialog.c
2115 (hildon_wizard_dialog_set_forward_page_func)
2116 * src/hildon-pannable-area.h
2117 * src/hildon-pannable-area.c
2118 (hildon_pannable_area_set_size_request_policy):
2119 Documentation fixes.
2121 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2123 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2125 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2127 * doc/hildon-sections.txt: Added sections file.
2129 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/*.[ch]: Updates.
2134 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2136 * examples/hildon-progress-indicator-example.c: new file
2137 * examples/Makefile.am: include the new example program
2139 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2143 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2145 * configure.ac: post release version bump
2146 * debian/changelog: version bump
2148 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2153 * configure.ac: bump version
2154 * debian/changelog: updates
2155 * debian/control: bump gtk+ dependency
2157 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-dialog.c: Mark as deprecated.
2160 * src/hildon-dialog.h: Mark as deprecated.
2161 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2162 from HildonDialog and still work, even if
2163 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2164 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2166 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2167 maemo changes) instead)
2169 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2171 * src/hildon-pannable_area.h:
2172 * src/hildon-pannable_area.c:
2173 (hildon_pannable_area_class_init),
2174 (hildon_pannable_area_set_property),
2175 (hildon_pannable_area_get_property),
2176 (hildon_pannable_area_size_request),
2177 (hildon_pannable_area_get_size_request_policy),
2178 (hildon_pannable_area_set_size_request_policy): Added new API
2179 allowing applications to control the request policy. Now they can
2180 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2181 children allocation (HILDON_MOVEMENT_CHILDREN).
2183 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2187 (hildon_gtk_tree_view_set_ui_mode)
2188 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2189 mode of treeviews and iconviews.
2191 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-touch-selector-entry.c:
2194 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2195 of a GtkEntry to get proper theming.
2197 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2198 widget, not GtkEntry)
2200 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2202 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2203 no HildonWizardDialogPageFunc.
2205 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2207 Patch contributed by Iván Gómez (igomez@igalia.com)
2209 * src/hildon-app-menu.c:
2210 * src/hildon-button.c:
2211 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2212 * src/hildon-stackable-window.c:
2213 * src/hildon-time-selector.c:
2214 * src/hildon-touch-selector.c:
2215 * src/hildon-window.c:
2217 Add more "since" tags to the new API in hildon 2.2.
2219 2008-12-05 Tim Janik <timj@imendio.com>
2221 Patch contributed by Christian Dywan (christian@imendio.com)
2223 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2224 HildonSizeType, which are supplied by Gtk+ now.
2226 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2228 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2229 (with maemo changes) instead)
2231 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2233 Patch contributed by Iván Gómez (igomez@igalia.com)
2235 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2238 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2240 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2241 (some_page_func), (main): Update the example to use a
2242 HildonWizardDialogPageFunc function.
2244 * src/hildon-wizard-dialog-private.h: Add private data for
2245 the HildonWizardDialogPageFunc function usage.
2247 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2248 (destroy), (hildon_wizard_dialog_init), (response),
2249 (hildon_wizard_dialog_set_forward_page_func):
2250 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2251 that applications can use to stop a HildonWizardDialog to jump to
2254 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2257 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-program.h
2260 * src/hildon-program-private.h
2261 * src/hildon-program.c (hildon_program_init)
2262 (hildon_program_set_common_app_menu)
2263 (hildon_program_get_common_app_menu):
2264 New API for setting a common HildonAppMenu for all
2265 HildonStackableWindows registered with the HildonProgram.
2267 * src/hildon-stackable-window.c
2268 (hildon_stackable_window_toggle_menu):
2269 Use the common HildonAppMenu if a window doesn't have a specific
2272 * src/hildon-app-menu-private.h
2273 * src/hildon-app-menu.c
2274 (hildon_app_menu_get_parent_window):
2275 Function to obtain the window a HildonAppMenu is attached to.
2276 (hildon_app_menu_set_parent_window):
2277 Hide the menu if the parent window is set to NULL.
2279 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2281 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2282 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2283 search widget to popup.
2285 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2287 * configure.ac: post release version bump
2288 * debian/changelog: version bump
2290 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: bump version
2296 * debian/changelog: updates
2298 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2300 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2302 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2303 (hildon_window_stack_window_realized)
2304 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2305 Set the leader GdkWindow when a window is stacked and realized,
2306 unset it when it's unstacked.
2307 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2309 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2311 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-stackable-window.h
2314 * src/hildon-window-stack.h:
2315 Protect definition of HildonWindowStack using the preprocessor.
2317 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2320 Fix warning if all menu items are hidden.
2322 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2324 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2326 * src/hildon-controlbar.c:
2327 * src/hildon-hvolumebar.c:
2328 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2329 Multiple scale size defines updates.
2331 Fixes: NB#94322 (Scale Updates)
2333 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2335 * examples/hildon-app-menu-example.c (create_menu)
2336 Show items after adding them to the menu, as in the future the
2337 menu will no longer call gtk_widget_show() on the added items.
2339 * src/hildon-app-menu.c:
2340 Update example as explained above.
2342 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2344 * src/hildon-app-menu.c
2345 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2346 Make sure that all menu items have finger height.
2348 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2350 * src/hildon-picker-dialog.c:
2351 (_on_dialog_response), (_save_current_selection),
2352 (_restore_current_selection), (_clean_current_selection),
2353 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2354 Defined new functions in order to save the current internal selector
2355 selection previous open the dialog, in case that the use cancel the
2356 interaction, so the widget restores the previous selection.
2358 Fixes: NB#92032 (In calendar application, date values in 'new event'
2361 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2363 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-button.c: Add a reference to the button examples in
2366 hildon-button-example.c
2368 * examples/hildon-button-example.c: Added examples of the most
2369 common button layouts.
2371 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-app-menu.c (hildon_app_menu_show)
2374 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2376 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2378 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-picker-dialog.c:
2381 (hildon_picker_dialog_init): Initialize the signal id for
2382 HildonTouchSelector::columns-changed.
2383 (+on_selector_columns_changed): Set up the interaction mode everytime a
2384 column is added or removed from the HildonTouchSelector.
2385 (_hildon_picker_dialog_set_selector): Connect to
2386 HildonTouchSelector::columns-changed and keep track of it.
2388 Make sure to update the interaction mode of the dialog everytime a
2389 column is added or removed in the HildonTouchSelector.
2391 Fixes: NB#93228 (Done button is not shown always in listpicker)
2393 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2396 a new ::columns-changed signal.
2397 (hildon_touch_selector_append_column): Emit ::columns-changed.
2398 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2400 Add a ::columns-changed signal, emitted when the number of columns in a
2401 HildonTouchSelector changes.
2403 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2406 (_hildon_picker_dialog_set_selector): Factor out the code
2407 to set up the dialog interaction mode.
2409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2412 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2413 to signal_changed_id.
2415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2420 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2422 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2423 Updated the logical ids related to ampm format, as now it is required to
2424 show it correctly localized even on languages with no default
2425 abbreviations for am or pm
2426 (_check_am_pm_format): check correctly the 24h format gconf property
2428 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2430 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-button.c: Documentation updates.
2434 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2437 * src/hildon-caption.c: (hildon_caption_class_init):
2438 * src/hildon-color-button.c: (hildon_color_button_class_init):
2439 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2440 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2441 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2442 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2444 Remove deprecated GTK+ marshalers and replace them with the ones
2445 provided by GLib, for those available, add a marshaler for
2446 BOOLEAN:VOID, which is not available in GLib, and use it.
2448 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2451 the text from the previous column if there is no
2452 HildonTouchSelectorColumn::text-property set.
2454 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-button.h
2457 * src/hildon-button.c (hildon_button_set_property)
2458 (hildon_button_get_property, hildon_button_class_init)
2459 (hildon_button_set_style, hildon_button_get_style):
2460 New "style" property to change the visual appearance of the
2463 * src/hildon-picker-button.c (hildon_picker_button_new):
2464 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2466 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2467 HildonButton look like PickerButton)
2469 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2472 column while building the default string.
2474 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2477 scroll indicator by default.
2479 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2481 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-main.c: Fix the documentation for hildon_init()
2485 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2487 * doc/hildon-docs.sgml
2491 * src/hildon-window-stack-private.h
2492 * src/hildon-window-stack.h
2493 * src/hildon-window-stack.c:
2494 New HildonWindowStack object, that adds support for multiple
2495 stacks of windows per process.
2497 * src/hildon-stackable-window-private.h
2498 * src/hildon-stackable-window.h
2499 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2500 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2501 (hildon_stackable_window_show, hildon_stackable_window_hide)
2502 (hildon_stackable_window_class_init)
2503 (hildon_stackable_window_init):
2504 Use HildonWindowStack for stack management.
2506 * src/hildon-program.c (hildon_program_pop_window_stack)
2507 (hildon_program_peek_window_stack)
2508 (hildon_program_go_to_root_window):
2509 Add a fallback implementation to the deprecated functions using
2512 * examples/hildon-stackable-window-example.c:
2513 Use the new HildonWindowStack API.
2515 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-stackable-window-private.h
2518 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2519 (hildon_stackable_window_hide, hildon_stackable_window_init):
2520 Remove all window stack management.
2522 * src/hildon-program-private.h
2523 * src/hildon-program.h
2524 * src/hildon-program.c (hildon_program_init)
2525 (hildon_program_pop_window_stack)
2526 (hildon_program_peek_window_stack)
2527 (hildon_program_go_to_root_window):
2528 Remove all window stack management and mark functions as
2531 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-app-menu.c (hildon_app_menu_realize):
2534 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2536 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2538 * configure.ac: post release version bump
2539 * debian/changelog: version bump
2541 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2546 * configure.ac: bump version
2547 * debian/changelog: updates
2549 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2551 Based on initial code by Christian Dywan (christian@imendio.com)
2553 * doc/hildon-docs.sgml: Add section for hildon-main.
2554 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2555 * src/Makefile.am: Add new hildon-main.[ch]
2556 * src/hildon-defines.h: Update the icon sizes.
2557 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2558 new library initialization files and register icon sizes.
2559 * src/hildon-main.h: New declarations.
2560 * src/hildon.h: Include hildon-main.h
2562 Add new initialization functions to the library. These methods
2563 will register the hildon specific icon sizes and can be used in the
2564 future for other hildon specific bits.
2566 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2568 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-window.c: (hildon_window_realize),
2571 (hildon_window_notify), (-hildon_window_update_title): Do not set
2572 the application name in the window title.
2574 Fixes: NB#89754 (Applications shouldn't display their names in the
2577 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-note-private.h:
2580 * src/hildon-note.c: (hildon_note_set_property),
2581 (hildon_note_get_property), (hildon_note_class_init),
2582 (hildon_note_init), (hildon_note_finalize),
2583 (hildon_note_new_confirmation_with_icon_name),
2584 (hildon_note_new_information_with_icon_name):
2586 No need to mark as deprecated the actual code. Revert
2587 to avoid missing symbols in widgets using deprecated API.
2589 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2591 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2593 * src/hildon-volumebar.h
2594 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2595 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2597 * src/hildon-helper.h
2598 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2599 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2601 * examples/Makefile.am:
2602 Deprecate hildon-insensitive-example
2604 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2606 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2608 * examples/hildon-pannable-area-buttons-scroll-example.c:
2609 Make all buttons finger height
2611 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2613 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2615 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2616 update the day model only if it is really required, and to avoid the
2617 full-reconstruction aproach. Now it only add or remove the required days.
2619 The purpose of this is avoid superfluous HildonTouchSelector::changed
2622 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2623 with strange parameters)
2625 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2627 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2629 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2630 the WINDOW_TYPE property.
2632 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2634 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2637 Fix dependency to allow parallel compilation with make -jX
2639 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2642 color frame and some minor tweaks to make it more consistent with
2645 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2646 highlighted but not visible)
2648 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2650 * examples/Makefile.am: Fixed typo in the Makefile.am.
2652 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2654 Reviewed the use of MAEMO_GTK define, now we add the define in the
2655 compilation line, and we also add it to the pc file.
2657 * configure.ac: Added MAEMO_GTK define to the compilation command
2658 and removed it from the config.h.
2660 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2661 do not have to take care about this define if the library was
2665 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2667 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2669 * examples/Makefile.am,
2670 * examples/hildon-pannable-area-buttons-scroll-example.c,
2671 * examples/hildon-pannable-area-gesture-signals-example.c,
2672 * examples/hildon-pannable-area-scroll-jump-example.c,
2673 * examples/hildon-pannable-area-tree-view-example.c:
2674 Renamed the pannable area examples, now they have more meaningful
2677 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2679 * src/hildon-touch-selector.c:
2680 (hildon_touch_selector_set_column_selection_mode): Used of
2681 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2682 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2683 to avoid re-seting the same selection mode.
2685 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2686 breaks HildonPickerDialog)
2688 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2690 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2691 conditional in the Makefile.am
2693 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2696 Remove unused methods.
2698 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-button.c (hildon_button_init):
2701 Make button images center-aligned by default
2703 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2706 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2707 activated, we have to think about how to deal with both defines
2708 MAEMO_GTK and MAEMO_CHANGES.
2710 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2712 * examples/hildon-app-menu-example.c (create_menu): Make all
2713 buttons finger size.
2715 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2717 Fixed the compilation without maemo gtk adding ifdefs with
2718 MAEMO_GTK define to the code, we have to check this version more
2721 * examples/Makefile.am: Added control to avoid some examples that
2722 just make sense with maemo gtk.
2725 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2726 hildon modes with the define.
2728 * examples/hildon-edit-toolbar-example.c,
2729 (create_icon_view): Create the icon view without hildon-gtk
2730 helpers if we are not using maemo gtk.
2732 * src/hildon-touch-selector.c,
2733 (_create_new_column): Create the treeview without hildon-gtk
2734 helpers if we are not using maemo gtk.
2736 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2738 * src/hildon-pnnable-area.c,
2739 (hildon_pannable_area_dispose),
2740 (hildon_pannable_area_button_press_cb),
2741 (hildon_pannable_area_child_mapped),
2742 (hildon_pannable_area_add),
2743 (hildon_pannable_area_remove): Added code to control the position
2744 of the event_window when adding and removing children from the
2745 pannable. We have to raise the event window when the child is
2748 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2749 selection mode using custom widget inside pannable)
2751 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2753 * configure.ac: post release version bump
2754 * debian/changelog: version bump
2756 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2761 * configure.ac: bump version
2762 * debian/changelog: updates
2764 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2766 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2767 search mode, in order to avoid lose the focus on the treeview when
2768 a hw key (like enter) is pressed.
2770 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2771 in HildonDateSelector dialog)
2773 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2775 * debian/rules: Added --enable-maintainer-mode
2776 * Makefile.am: Added ACLOCAL_AMFLAGS
2778 This allows to properly regenerate the Makefiles if you modify the
2779 configure.ac or any Makefile.am.
2781 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2783 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2784 properties, not needed at all.
2786 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2790 * src/hildon-note.c: (hildon_note_set_property),
2791 (hildon_note_get_property), (hildon_note_class_init),
2792 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2793 (hildon_note_new_confirmation_add_buttons): Remove icons.
2794 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2795 (hildon_note_new_information_with_icon_name): Deprecate.
2796 (hildon_note_new_confirmation): Act directly, without calling
2797 the deprecated constructor.
2798 (hildon_note_new_information): Act directly, without calling
2799 the deprecated constructor.
2800 * src/hildon-note.h: Mark deprecate methods as such.
2801 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2802 not run tests on the deprecated methods if built with deprecation
2805 Fixes: NB#91688 (Never show icons in information notes/confirmation
2808 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2811 (hildon_app_menu_key_press): Remove leftover usage of the
2812 private structure in HildonAppMenu struct.
2813 * src/hildon-app-menu.h: Remove leftover private structure
2814 from the HildonAppMenu struct.
2816 Fixes a crasher when using the HildonAppMenu.
2818 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-picker-dialog.c: Use appropriate logical id
2821 for the default "Done" text.
2823 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2825 * configure.ac: post release version bump
2826 * debian/changelog: version bump
2828 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2830 Modified the way to scroll to the current selection just when the touch
2831 selector is shown on the screen, avoiding a g_idle. Added too a property
2832 to configure this behaviour. See hildon_pannable_area_jump_to_child
2833 documentation for more information.
2835 * src/hildon-touch-selector.c
2836 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2837 Added 'initial-scroll' property
2838 (hildon_touch_selector_set_property): Added
2839 (hildon_touch_selector_map): Removed as not required anymore
2840 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2841 only a concrete column, instead of iterate along all the columns
2843 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2848 * configure.ac: bump version
2849 * debian/changelog: updates
2851 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2853 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2854 compilation time warnings.
2856 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2858 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2859 the default value for HildonPannableArea::mov-mode to
2860 HILDON_PANNABLE_AREA_MODE_VERT.
2862 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2864 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2866 Reverting following commit:
2868 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-app-menu-private.h
2871 * src/hildon-app-menu.[ch]
2872 * src/hildon-button.[ch]
2873 * src/hildon-check-button.[ch]
2874 * src/hildon-entry.[ch]
2875 * src/hildon-pannable-area.[ch]
2876 * src/hildon-text-view.[ch]:
2877 Added private field to the object's structure.
2879 because it causes an ABI breakage. We will need to introduce these
2880 changes later at some point. See NB#91636 for an extensive
2881 explanation and status.
2883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2885 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2887 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2888 remove special cases that are no longer necessary.
2890 Fixes: NB#91016 (Change toolbar sizes, simplification)
2892 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2895 is shown in the cancel note.
2897 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2899 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2900 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2901 (hildon_seekbar_init): Remove steppers, remove expose event.
2902 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2904 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2906 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2908 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2909 label font to "SmallSystemFont" for vertically arranged buttons.
2911 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2914 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-check-button.c
2917 (hildon_check_button_set_active, hildon_check_button_clicked):
2918 Don't access private parts directly, use getters instead.
2920 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-check-button.c (hildon_check_button_new):
2923 Align the contents of the check button to the left.
2925 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2927 * src/hildon-pannable-area.c,
2928 (hildon_pannable_area_scroll_to),
2929 (hildon_pannable_area_jump_to),
2930 (hildon_pannable_area_scroll_to_child),
2931 (hildon_pannable_area_jump_to_child): Replace the mapped
2932 precondition of these functions with the realized, it is the
2933 correct state of the widget in this case. Changed the
2934 documentation according to this modification.
2936 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2938 Added a new EXTRA_CFLAGS option to add the deprecated define to
2939 the compilation command. This way we can avoid using the define in
2940 the documentation compilation.
2942 * configure.ac: Defined EXTRA_CFLAGS.
2944 * examples/Makefile.am:
2946 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2948 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2950 * src/hildon-picker-dialog.c:
2951 Defined a utility macro with the desired touch selector height
2952 Removed currently unused separator, and title_label variables from
2954 (hildon_picker_dialog_init): Removed code related to the creation
2955 of unused private variables title_label and separator.
2956 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2957 to ensure correct visualization of the touch selector inside the dialog.
2958 * src/hildon-touch-selector.c
2959 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2960 ensure a concrete height of the widget.
2962 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2965 * tests/Makefile.am:
2967 Remove spurious whitespaces.
2969 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2972 compilation warning after the cancel button removal.
2974 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2976 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2978 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2979 Makefile.am, that way we can choose not to compile some examples
2980 and tests of the deprecated widgets.
2982 * examples/Makefile.am: Divided the sources in deprecated and
2985 * src/Makefile.am: Added undef statement of the deprecated
2986 symbol to the enums file generation process.
2988 * src/hildon-color-chooser-dialog.c
2989 * src/hildon-color-chooser-dialog.h
2990 * src/hildon-color-button.c
2991 * src/hildon-color-button.h
2992 * src/hildon-color-chooser.c
2993 * src/hildon-color-chooser.h
2994 * src/hildon-controlbar.c
2995 * src/hildon-controlbar.h
2996 * src/hildon-date-editor.c
2997 * src/hildon-date-editor.h
2998 * src/hildon-hvolumebar.c
2999 * src/hildon-hvolumebar.h
3000 * src/hildon-private.c
3001 * src/hildon-private.h
3002 * src/hildon-range-editor.c
3003 * src/hildon-range-editor.h
3004 * src/hildon-seekbar.c
3005 * src/hildon-seekbar.h
3006 * src/hildon-time-editor.c
3007 * src/hildon-time-editor.h
3008 * src/hildon-time-picker.c
3009 * src/hildon-time-picker.h
3010 * src/hildon-volumebar.c
3011 * src/hildon-volumebar.h
3012 * src/hildon-vvolumebar.c
3013 * src/hildon-vvolumebar.h
3014 * src/hildon-bread-crumb-trail.h
3015 * src/hildon-bread-crumb-trail.c
3016 * src/hildon-calendar-popup.c
3017 * src/hildon-calendar-popup.h
3018 * src/hildon-weekday-picker.c:
3019 * src/hildon-weekday-picker.h:
3020 * src/hildon-bread-crumb-widget.c:
3021 * src/hildon-bread-crumb-widget.h:
3022 * src/hildon-bread-crumb.c:
3023 * src/hildon-bread-crumb.h:
3024 * src/hildon-calendar.c:
3025 * src/hildon-calendar.h:
3026 * src/hildon-caption.c:
3027 * src/hildon-code-dialog.c:
3028 * src/hildon-code-dialog.h:
3029 * src/hildon-font-selection-dialog.c:
3030 * src/hildon-font-selection-dialog.h:
3031 * src/hildon-get-password-dialog.c:
3032 * src/hildon-get-password-dialog.h:
3033 * src/hildon-login-dialog.c:
3034 * src/hildon-login-dialog.h:
3035 * src/hildon-number-editor.c:
3036 * src/hildon-number-editor.h:
3037 * src/hildon-set-password-dialog.c:
3038 * src/hildon-set-password-dialog.h:
3039 * src/hildon-sort-dialog.c:
3040 * src/hildon-sort-dialog.h: This is the list of deprecated
3043 * src/hildon-touch-selector.c:
3044 * src/hildon-window.c: Added undef statement to avoid compilation
3047 * tests/Makefile.am: Divided the sources in deprecated and
3050 * tests/check_test.c,
3051 (configure_tests): Marked the deprecated code that was adding
3052 suites with deprecated tests.
3054 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3056 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-touch-selector.c: (_default_print_func): Do not
3059 duplicate a string returned by gtk_tree_model_get(), it is already
3062 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3065 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3067 * src/hildon-pannable-area.c
3068 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3069 method, it had problems when adding a widget with viewport the
3070 second time. Now checks if it already has a viewport and uses it.
3072 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3075 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3077 * src/hildon-pannable-area.c,
3078 (hildon_pannable_area_scroll_to),
3079 (hildon_pannable_area_jump_to),
3080 (hildon_pannable_area_scroll_to_child),
3081 (hildon_pannable_area_jump_to_child): Added a precondition to the
3082 scroll and jump to functions: the widget must be mapped before we
3083 can safely call these functions. We have also added documentation
3084 to the functions to explain how to use them in this situation.
3087 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3089 Reviewed the threading handling of the pannable widget, we have
3090 used the gdk_threads_add_timeout function instead of the usual
3091 glib handlers. This avoids some problems with the threads.
3093 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3094 (hildon_pannable_area_initial_effect),
3095 (hildon_pannable_area_scroll_indicator_fade),
3096 (hildon_pannable_area_button_press_cb),
3097 (hildon_pannable_area_timeout),
3098 (hildon_pannable_area_motion_notify_cb),
3099 (hildon_pannable_area_button_release_cb),
3100 (hildon_pannable_area_scroll_cb),
3101 (hildon_pannable_area_scroll_to): Removed the
3102 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3103 gdk_threads_add_timeout.
3105 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3107 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3112 * configure.ac: bump version
3113 * debian/changelog: updates
3115 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3117 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3118 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3119 * src/hildon-color-chooser-dialog.c:
3120 (hildon_color_chooser_dialog_init):
3121 * src/hildon-font-selection-dialog.c:
3122 (hildon_font_selection_dialog_init):
3123 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3125 Remove all cancel/close-like dialogs, as these are not going to be
3128 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-note.c: (hildon_note_rebuild),
3131 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3134 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3136 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3139 sure all buttons are shown, even the Cancel/Close-like ones.
3141 Fixes: NB#90861 (Custom Confirmation dialogs should be
3142 protected from cancel button removal)
3144 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3146 * debian/control: Change libhildon1-examples dependency from libhildon1
3148 * debian/libhildon1-examples.install
3150 * Makefile.am: Modified the final install directory for the examples on
3151 package libhildon1-examples
3152 * Makefile.static: Update clean target in order to remove all the binary
3155 Changes suggested by Claudio after review new libhildon1-examples package
3157 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3160 * src/hildon-touch-selector.c: Ditto.
3162 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3164 * debian/control: Added new package libhildon1-examples, in order to pack
3165 the current hildon examples as documentation
3166 * debian/rules: Not to compress .c files, modify some includes on the
3167 examples (as normally are compiled locally, but when installed it will
3168 require to include the installed libhildon1 library), and rename
3170 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3171 install all the example files on the new example package
3172 * examples/Makefile.static: Added static makefile that can be used to
3173 compile the examples, once installed the new example package
3174 * examples: Most of the examples were modified in order to grant that
3175 all use only '#include "hildon.h"', in order to be easy to prepare
3176 it on the example package
3178 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3181 * debian/libhildon1-dev.install
3182 * debian/libhildon1-doc.install:
3183 Move all gtk-doc files to a separate libhildon1-doc package.
3185 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3187 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3191 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3193 * debian/rules: Fixed a error in order to avoid unnecessary calls
3194 to autogen.sh on package building
3196 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3198 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3200 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3205 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-picker-button.c
3208 (hildon_picker_button_finalize):
3209 Free priv->done_button_text
3211 * src/hildon-time-button.c
3212 (hildon_time_button_set_time)
3213 * src/hildon-picker-button.c
3214 (hildon_picker_button_clicked)
3215 (hildon_picker_button_selector_selection_changed)
3216 (hildon_picker_button_set_selector)
3217 * src/hildon-date-button.c
3218 (hildon_date_button_set_date):
3219 Free strings returned by hildon_touch_selector_get_current_text()
3221 * src/hildon-button.c (hildon_button_construct_child):
3222 Fix leaks in priv->image and priv->label_box
3224 Fixes: NB#90535 (Memory leak in picker button)
3226 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-button.c: (hildon_button_get_property): Do not access
3229 private elements directly, use getters instead.
3231 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-app-menu-private.h
3234 * src/hildon-app-menu.c
3235 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3236 Store the menu's parent window.
3238 * src/hildon-stackable-window.c
3239 (hildon_stackable_window_toggle_menu)
3240 (hildon_stackable_window_finalize):
3241 Set the menu's parent window when the menu is shown, unset it when
3244 * src/hildon-app-menu.c
3245 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3246 (hildon_app_menu_class_init):
3247 Send unhandled keyboard accelerators to the parent window.
3249 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-stackable-window.c
3252 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3254 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3256 * configure.ac: post release version bump
3258 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3261 * configure.ac: Bump version
3262 * debian/changelog: Updates
3263 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3266 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3268 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3271 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3272 GtkMenu with Hildon style.
3274 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-picker-button.c:
3277 (hildon_picker_button_set_done_button_text): Set the dialog's
3278 done button text here as well.
3280 Fixes: NB#90232 (Picker button does not set the label on done button
3281 for the second time)
3283 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3285 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3288 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-app-menu.c (hildon_app_menu_insert)
3291 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3292 the HildonAppMenu to be activatable using keyboard accelerators
3293 when the menu is not being shown.
3295 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3297 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3299 * src/hildon-stackable-window.c
3300 (hildon_stackable_window_show):
3301 Don't hide old windows automatically when new windows are shown:
3302 this is now a task for the window manager.
3303 (hildon_stackable_window_class_init)
3304 (hildon_stackable_window_hide):
3305 Remove windows from the stack everytime they're hidden.
3306 (hildon_stackable_window_realize):
3307 Don't change the _NET_WM_WINDOW_TYPE property. Use
3308 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3309 it as a stackable window.
3311 * src/hildon-program.c
3312 (hildon_program_pop_window_stack):
3313 Just hide the window to remove it from the stack.
3314 (hildon_program_go_to_root_window):
3315 Don't call gtk_widget_show(), this is now a task for the window
3318 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3320 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3322 * src/hildon-button.c
3323 (hildon_button_construct_child):
3324 Don't pack anything in the button until text or image are
3325 set. This allows adding a custom child after creating the button
3326 with hildon_button_new().
3327 (hildon_button_finalize, hildon_button_class_init)
3328 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3329 alignment and the label box even when they're not packed in the
3332 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3334 * src/hildon-touch-selector.h:
3335 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3336 currently the type definition was using GTK_TYPE_VBOX
3337 * src/hildon-touch-selector.c:
3338 Added some implementation notes in order to clarify that any other widget
3339 added without the column related API will not be included on the
3340 selection logic, and how the widget is freed, as some people ask about
3342 (hildon_touch_selector_remove): Reimplemented in order to free properly
3343 the column related data when you remove the private hbox.
3344 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3345 to get a proper HildonTouchSelectorColumn documentation
3347 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-touch-selector-entry.c:
3350 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3351 text in the GtkEntry and there is no item selected. Fixes a
3354 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-app-menu-private.h
3357 * src/hildon-app-menu.[ch]
3358 * src/hildon-button.[ch]
3359 * src/hildon-check-button.[ch]
3360 * src/hildon-entry.[ch]
3361 * src/hildon-pannable-area.[ch]
3362 * src/hildon-text-view.[ch]:
3363 Added private field to the object's structure.
3365 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3367 * configure.ac: post-release version bump
3369 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3373 * configure.ac: pre-release version bump
3375 * debian/changelog: updates.
3377 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3380 Disconnect the handler for HildonTouchSelector::changed.
3382 (hildon_picker_button_selector_selection_changed): Update the button
3383 value if the selection change was not triggered by the
3386 (hildon_picker_button_set_selector): connect to
3387 HildonTouchSelector::changed.
3389 Fixes: NB#89650 (Picker button is not updated, when selection in
3390 selector has changed)
3392 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3394 * src/hildon-picker-dialog.c
3395 (hildon_picker_dialog_realize): Removed as not required
3396 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3397 * src/hildon-picker-button.c
3398 (_current_selector_empty): New function, checks if the selector is empty
3399 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3400 if the current selector is empty, in order to avoid to show the dialog
3401 close the dialog in this case (and shows a g_warning).
3403 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3405 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3407 * src/hildon-pannable-area.c,
3408 (hildon_pannable_area_scroll): Added clause to stop movement when
3409 the child of pannable is smaller than one page.
3410 (hildon_pannable_area_scroll_to): Added conditions to avoid
3411 starting the scrolling movement if the child is smaller than one
3412 page, the complete child is in the screen, we do not have to move.
3414 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3416 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3419 this is managed automatically by the widget when the size of the
3422 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-picker-button.c
3425 (hildon_picker_button_set_done_button_text): Make a copy of the
3426 text, and free the previous value.
3428 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-touch-selector-entry.c:
3431 (hildon_touch_selector_entry_print_func): Return the selected row's
3432 text if the entry is empty.
3434 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3437 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3441 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-check-button.h
3445 * src/hildon-check-button.c
3446 * examples/hildon-check-button-example.c:
3447 HildonCheckButton is now a new widget. 'toggled' signal added.
3449 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-program-private.h
3452 * src/hildon-program.c (hildon_program_init)
3453 (hildon_program_finalize): Removed unused variables group_leader
3454 and name from HildonProgramPrivate.
3456 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-check-button.c (hildon_check_button_set_active)
3459 (hildon_check_button_get_active, hildon_check_button_new): Use
3460 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3462 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3464 * src/hildon-touch-selector.h
3465 (hildon_touch_selector_set_column_attributes): added deprecation
3466 guard HILDON_DISABLE_DEPRECATED
3467 * src/hildon-time-selector.c
3468 (hildon_time_selector_set_time)
3469 (hildon_time_selector_get_time): Fixed a typo on documentation
3470 * src/hildon-touch-selector.c: update HildonTouchSelector and
3471 HildonTouchSelectorColumn documentation
3472 * src/hildon-touch-selector-entry.c: update "text-column" property
3474 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3475 to be added to the general documentation.
3477 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3479 * examples/hildon-pannable-area-example-4.c,
3481 * examples/hildon-pannable-area-example.c,
3482 (main): Modified the code in order to use the container add, with
3483 viewport treeviews could have problems if they are really big.
3485 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3487 * src/hildon-weekday-picker.c,
3488 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3489 the agreement regarding deprecation in the library.
3491 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3493 * examples/hildon-picker-button-multicolumn-example.c:
3494 (main): Use custom "done" button text.
3496 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3497 (hildon_picker_button_set_property),
3498 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3499 (hildon_picker_button_init),
3500 (+hildon_picker_button_get_done_button_text),
3501 (+hildon_picker_button_set_done_button_text): New methods to customize
3502 the "done" button label in the launched HildonPickerDialog. Also,
3505 * src/hildon-picker-button.h: add the public API.
3507 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3509 * src/hildon-date-selector.h:
3510 * src/hildon-picker-dialog.h:
3511 * src/hildon-time-selector.h:
3512 * src/hildon-touch-selector-column.h:
3513 * src/hildon-touch-selector.h:
3515 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3516 declarations. Fixes gtk-doc warnings.
3518 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-picker-dialog.h
3521 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3522 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3524 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3525 long text is set as label for done button)
3527 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3529 * src/hildon-dialog.c (hildon_dialog_add_button):
3530 Set fixed width to all buttons in the HildonDialog.
3532 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3534 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3536 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3537 Set widget name using class name plus "-finger" or "-thumb".
3539 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3541 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3542 'clicked' when the state of the button is manually changed.
3544 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-app-menu.c (hildon_app_menu_realize)
3547 (hildon_app_menu_unrealize, hildon_app_menu_init)
3548 (hildon_app_menu_class_init, item_visibility_changed):
3549 Change the menu layout when the size of the screen changes.
3550 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3551 Show warning only when changing the number of colums using the
3554 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3556 * debian/compat: Set to 5
3557 * debian/control: Update dependencies.
3558 * debian/libhildon1-dbg.install: Remove.
3559 * debian/libhildon1-dev.install: Update according to cdbs paths.
3560 * debian/libhildon1.install: Update according to cdbs paths.
3561 * debian/rules: Switch to cdbs.
3563 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3566 'item' variable renamed to 'filter'
3568 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-app-menu.c (hildon_app_menu_insert)
3571 (hildon_app_menu_add_filter, remove_item_from_list)
3572 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3573 Don't leak hidden items when the menu is destroyed.
3575 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-app-menu.c (hildon_app_menu_insert)
3578 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3579 (hildon_app_menu_set_columns, item_visibility_changed)
3580 (filter_visibility_changed, hildon_app_menu_repack_filters)
3581 (hildon_app_menu_repack_items):
3582 Repack items and filters separately.
3584 Don't repack all items, change only the ones that are needed to
3587 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3589 * src/Makefile.am: added hildon-touch-selector-column.h
3591 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3593 * src/hildon-touch-selector.c: added the property "text-column" to the
3594 class HildonTouchSelectorColumn, and related get/set functions
3595 (_default_printf_func): updated to use "text-column" property
3596 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3597 "text-column" in his documentation, as this is now included on
3598 HildonTouchSelectorColumn. The get/set_property can still be used,
3599 working as a wrapper to the concrete column "text-column" property
3600 (_text_column_modified): callback added in order to handle the signal
3601 "notify::text-column" of the concrete HildonTouchSelectorColumn
3602 (hildon_touch_selector_entry_get_text_column)
3603 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3604 modified in order to use the HildonTouchSelectorColumn "text-column"
3606 * src/hildon-time-selector.c:
3607 * src/hildon-date-selector.c:
3608 * examples/hildon-touch-selector-example.c
3609 * examples/hildon-touch-selector-multi-cells-example.c
3610 * examples/hildon-picker-button-multicolumn-example.c
3611 Set the right value to "text-column" property on the creation of a new
3612 column using hildon_touch_selector_append_column()
3614 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3616 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-app-menu.c
3619 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3620 updating the layout of the menu, don't create all widgets again,
3621 just repack the items in their new places.
3623 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3625 * src/hildon-time-selector.c
3626 (hildon_time_selector_get_time)
3627 (hildon_time_selector_set_time)
3628 Added documentation of these public methods
3630 * src/hildon-date-button.h
3631 * src/hildon-touch-selector-column.h
3632 * src/hildon-time-button.h
3633 * src/hildon-picker-dialog.h
3634 * src/hildon-time-selector.h
3635 * src/hildon-picker-button.h
3636 * src/hildon-touch-selector.h
3637 * src/hildon-time-picker.h
3638 * src/hildon-date-selector.h
3639 * src/hildon-touch-selector-entry.h
3640 Modified in order to use hildon-widgets code style
3642 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3644 Added deprecated support to the compilation process using
3645 HILDON_DISABLE_DEPRECATED
3647 * configure.ac: Added the --disable-deprecated to the configure
3650 * src/hildon-weekday-picker.c:
3651 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3652 to use the deprecated support. We will update the other deprecated
3653 widgets status in a new patch.
3655 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3657 * configure.ac: Fixed typo with fatal warnings support, the
3658 variable name was not correct
3660 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-app-menu.c
3663 * src/hildon-program.c: Update documentation.
3665 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3667 * configure.ac: Post-release version bump.
3669 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3674 * configure.ac: Pre-release version bump.
3675 * debian/changelog: Updates.
3677 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3679 * NEWS: Update news for previous releases.
3681 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3683 * examples/hildon-touch-selector-multi-cells-example.c:
3684 (create_selector): Update the example to use
3685 hildon_touch_selector_append_column() with a NULL renderer and set
3686 the renderers later.
3687 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3688 passed a NULL renderer. This is documented behavior now.
3690 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3691 This must be used if the developer wants full control on the layout of
3692 the renderers to be added to the column.
3694 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3696 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3698 * src/hildon-touch-selector.c: Documentation fixes.
3700 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-wizard-dialog-private.h: Remove image and box.
3703 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3704 (hildon_wizard_dialog_set_property), (response): Completely remove
3705 image/icon support, and the containers required for the layout.
3707 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3709 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-app-menu.c: Updated documentation.
3713 * src/hildon-stackable-window.c
3714 (hildon_stackable_window_set_main_menu): Unref the old menu after
3715 ref'ing the new one.
3717 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-stackable-window.c
3720 (hildon_stackable_window_set_main_menu): Unref the previous menu
3721 instead of destroying it.
3723 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3724 floating reference and set has_user_ref_count to FALSE to make
3725 HildonAppMenu act like a normal ref-counted widget and not a
3728 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3731 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3733 * src/hildon-touch-selector-column.h: new file
3734 * src/hildon-touch-selector.h
3735 * src/hildon-touch-selector.c
3736 Implemented GtkCellLayout interface, in order to allow to configure
3737 the cell layout on each individual selector column
3738 (hildon_touch_selector_set_column_attributes): marked as deprecated
3739 * examples/hildon-touch-selector-multi-cells-example.c
3740 Example of how to use the GtkCellLayout interface on the selector
3742 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3744 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-app-menu.h
3747 * src/hildon-app-menu.c
3748 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3749 (hildon_app_menu_append, hildon_app_menu_prepend):
3750 New methods to prepend, insert and move items in the menu.
3752 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-wizard-dialog.c:
3756 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3758 (create_title): Update logical IDs and related code.
3759 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3761 * src/hildon-wizard-dialog.h: Note that
3762 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3763 point, as it is not used anymore.
3765 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3767 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3769 * src/hildon-note.c:
3770 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3771 shown. Do not display an icon in confirmation notes nor information
3773 (hildon_note_set_button_text): Update logical ID for cancel button.
3775 Fixes: NB#88850 (Update HildonNote button strings + signals)
3777 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-stackable-window.c
3780 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3782 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3784 * src/hildon-app-menu-private.h
3785 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3786 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3787 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3788 temporary property 'columns' to change the number of columns.
3790 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3792 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3794 * examples/hildon-note-example.c: (on_information_clicked),
3795 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3796 debugging information.
3797 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3799 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3800 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3801 in order to close: this will be handled by the WM from now on.
3803 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3805 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3807 * src/hildon-app-menu-private.h
3808 * src/hildon-app-menu.c
3809 (hildon_app_menu_append, hildon_app_menu_add_filter)
3810 (button_visibility_changed, hildon_app_menu_apply_style)
3811 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3812 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3813 layout everytime a button (item or filter) is shown or hidden.
3815 * src/hildon-stackable-window.c
3816 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3819 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3821 * src/hildon-touch-selector.c:
3822 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3823 that the treeview inside the touch selector is in fremantle hildon mode
3824 * examples/hildon-date-button-example.c
3825 * examples/hildon-picker-button-multicolumn-example.c
3826 * examples/hildon-touch-selector-entry-example.c
3827 * examples/hildon-touch-selector-example.c
3828 * examples/hildon-time-button-example.c
3829 * examples/hildon-picker-button-example.c:
3830 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3832 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3834 * examples/hildon-text-view-example.c: (main): Remove the
3835 gtkrc bits, now handled by the theme.
3837 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3842 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3844 * po/Makefile.am: Install properly the mo files.
3845 * po/en_GB.po: Update translation, to ease testing purposes.
3847 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3849 * examples/hildon-picker-button-example.c: (main): Select an item
3850 in the selector before setting it to the button.
3852 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3855 Update button's value if the selector has an item active.
3857 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3858 'value' with the selector)
3860 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3862 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3863 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3864 (hildon_picker_button_class_init): Plug the finalize method.
3865 (hildon_picker_button_set_selector): If there's a previously set
3866 selector, unref'it before setting a new one.
3868 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3869 HildonTouchSelector)
3871 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-touch-selector-entry.c:
3874 (hildon_touch_selector_entry_changed): Check if there is no text
3875 selected before setting the entry text.
3878 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-touch-selector.h
3881 * src/hildon-touch-selector.c
3882 (hildon_touch_selector_get_active)
3883 (hildon_touch_selector_set_active): New methods to set/get the
3884 index of the selected item.
3886 * src/hildon-picker-button.h
3887 * src/hildon-picker-button.c
3888 (hildon_picker_button_get_active)
3889 (hildon_picker_button_set_active): New methods to set/get the
3890 index of the selected item.
3892 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3894 * configure.ac: post-release version bump.
3896 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3900 * configure.ac: Pre-release version bump.
3901 * debian/changelog: Updates.
3902 * debian/control: Add myself as maintainer and depend on l10n
3905 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-window.c
3908 (hildon_window_set_main_menu)
3909 * src/hildon-stackable-window.c
3910 (hildon_stackable_window_set_main_menu):
3911 Updated documentation.
3913 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3916 Don't free selector->priv manually.
3919 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3922 (hildon_gtk_window_set_progress_indicator):
3923 * src/hildon-gtk.h: Added the new API
3924 hildon_gtk_window_set_progress_indicator, it changes the state of
3925 the window progress hint.
3927 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-button.c
3930 * src/hildon-stackable-window.c: Minor documentation updates.
3932 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-stackable-window.c: Updated documentation.
3936 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3938 * src/hildon-defines.h: Update margins definitions
3939 to the Fremantle sizes.
3942 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3944 * src/hildon-touch-selector.c,
3945 (_hildon_touch_selector_set_model): Cleaning the code after
3946 review, removed g_print and #if 0 from the code.
3948 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-edit-toolbar.c: Update documentation.
3952 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-check-button.h
3955 * src/hildon-check-button.c
3956 (hildon_check_button_set_label, hildon_check_button_get_label)
3957 * examples/hildon-check-button-example.c
3958 (button_clicked_cb):
3959 Removed deprecated methods.
3961 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-text-view.c:
3964 Add sample code to the documentation.
3966 * src/hildon-entry.h
3967 * src/hildon-text-view.h:
3968 Minor cosmetic changes.
3970 * src/hildon-entry.c:
3971 Add sample code to the documentation.
3972 (hildon_entry_init, hildon_entry_refresh_contents):
3973 Don't allow NULL values in the placeholder.
3975 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3977 * doc/hildon-docs.sgml
3979 * examples/Makefile.am
3980 * examples/hildon-text-view-example.c
3982 * src/hildon-text-view.c
3983 * src/hildon-text-view.h
3985 New HildonTextView widget, with example.
3987 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3989 * po/POTFILES.in: Add missing files with translatable strings.
3990 Partially fixes NB#88287.
3992 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3994 * examples/hildon-pannable-area-example-2.c: (main): No need to
3995 set the cellrenderer height inside hildon touch lists, the theme does
3998 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4000 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4001 they are integrated in the theme.
4003 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4005 * examples/hildon-entry-example.c: Update the example adding
4006 widgets to modify the text and the placeholder of the HildonEntry.
4008 * src/hildon-entry.c: Show the placeholder everytime the widget
4009 is empty and loses the focus.
4011 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4013 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4015 * src/hildon-pannable-area.c,
4016 (hildon_pannable_area_size_request): Fixed bug in height
4017 requisition, avoid increasing size and add border twice.
4019 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4021 * configure.ac: postrelease version bump.
4023 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: Prerelease version bump.
4028 * debian/changelog: update.
4029 * debian/rules: make -dbg package contain useful debugging symbols.
4031 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-dialog.h
4034 * src/hildon-dialog.c
4035 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4036 New methods to add buttons with finger size.
4037 (hildon_dialog_new_with_buttons):
4038 Create buttons with finger size.
4040 * examples/hildon-dialog-example.c (main): Use HildonDialog
4041 methods to add buttons.
4043 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4045 * src/hildon-entry.c: Updated HildonButton documentation.
4047 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4049 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4050 button value label with (FALSE, FALSE) to prevent NB#88126 from
4053 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4055 * examples/hildon-pannable-area-example.c,
4056 (main): Removed examples panning a vbox inside a pannable
4057 area. Check bug NB#87965
4059 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4061 Patch contributed by Kris Rietveld (kris@imendio.com)
4063 * src/hildon-pannable-area.c,
4064 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4065 get_size and get_position, this saves an X server roundtrip.
4067 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4069 * doc/hildon-docs.sgml
4071 * examples/Makefile.am
4072 * examples/hildon-entry-example.c
4074 * src/hildon-entry.c
4075 * src/hildon-entry.h
4077 New HildonEntry widget, with example.
4079 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4081 * src/hildon-button.c (hildon_button_construct_child): Pack the
4082 image with expand == fill == FALSE. This is a workaround for a bug
4085 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4087 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4088 labels for the text column, to make it more look more dynamic.
4090 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4092 * src/hildon-time-selector.c
4093 Define gettext auxiliar macro N_
4094 (_create_minutes_model)
4095 (_create_hours_model)
4096 (_create_ampm_model): use of strftime in order to fill the model
4097 * src/hildon-date-selector.c
4098 (hildon_date_selector_finalize):
4099 (_locales_init): remove the logic related to get the name of the months
4100 using nl_langinfo, as it is not required anymore
4102 (_create_year_model)
4103 (_create_month_model)
4104 (_update_day_model): use of strftime in order to fill the model properly
4107 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4109 * src/hildon-button.h
4110 * src/hildon-button.c (hildon_button_get_image): New method to
4113 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/hildon-touch-selector.c:
4116 (hildon_touch_selector_remove_column): Remove from the correct parent
4117 and also remove the list element and free it.
4120 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4122 * src/hildon-time-selector.c
4123 (_create_hours_model): change the range on 12h ampm format in order to use
4124 a 12-11 range instead of previous 01-12 range
4125 (hildon_time_selector_set_time): change the way to select the current time
4126 on 12h ampm format, due the change on the range
4127 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4130 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4132 * src/hildon-touch-selector.c
4133 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4134 in order to allow use this function on multiple row selection mode if
4135 the column is different that the first one
4138 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4141 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4143 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4145 * src/hildon-date-selector.h: clean some comments, now on the .c
4146 * src/hildon-date-selector.c
4147 (hildon_date_selector_select_month): first implementation
4148 (hildon_date_selector_select_day): added documentation, reimplemented
4149 using hildon_date_selector_select_current_date to avoid repeat code
4152 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4154 Reviewed interaction logic based on device experiences, refactored
4157 * src/hildon-pannable-area.c,
4158 (hildon_pannable_area_class_init): Updated default vmax speed.
4159 (hildon_pannable_area_calculate_velocity): Added this function, it
4160 avoids duplicate valocity calculation. Adjusted calculation to
4161 avoid problems with zero dist events.
4163 (hildon_pannable_area_motion_notify_cb): Now we use the
4164 calculate_velocity function.
4166 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4168 * src/hildon-date-selector.c
4169 (hildon_date_selector_select_current_date): fix the day range check
4170 as it failed using the last day of the current month
4173 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4175 * src/hildon-touch-selector.c
4176 (hildon_touch_selector_get_num_columns): added a parameter validation
4179 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4181 * examples/Makefile.am
4182 * examples/hildon-edit-toolbar-example.c: Example of the
4183 HildonEditToolbar widget.
4185 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4187 * configure.ac: postrelease version bump.
4189 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4193 * configure.ac: prerelease version bump.
4194 * debian/changelog: update.
4196 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4198 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4199 renderer to display stock icons in the touch list. Also, set the sizes
4200 to the recommended in the style guide.
4202 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4203 * src/hildon-touch-selector.h
4204 (hildon_touch_selector_set_active_iter): renamed, now is
4205 hildon_touch_selector_select_iter
4206 (hildon_touch_selector_get_active_iter): renamed, now is
4207 hildon_touch_selector_get_selected
4208 (hildon_touch_selector_unselect_iter): added
4209 * src/hildon-touch-selector.c
4210 Update after API modification (methods renamed)
4211 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4212 order to avoid problems selecting multiple elements on the column
4213 (hildon_touch_selector_unselect_iter): added the implementation
4214 * src/hildon-time-selector.c
4215 * src/hildon-date-selector.c
4216 * src/hildon-touch-selector-entry.c
4217 Update methods calls after hildon-touch-selector.h API modification (methods
4220 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4222 * src/hildon-stackable-window.c
4223 (hildon_stackable_window_finalize): Call the parent class's finalize.
4225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4227 * examples/hildon-touch-selector-example.c: (create_selector): Use
4228 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4231 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4233 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4234 set a cell background color, to respect theming.
4236 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4238 * doc/hildon-docs.sgml
4241 * src/hildon-edit-toolbar.c
4242 * src/hildon-edit-toolbar.h
4243 * src/hildon.h: New HildonEditToolbar widget.
4245 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4247 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4250 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4251 * src/hildon-touch-selector.c
4252 (_create_new_column): use g_object_set instead of two g_object_set_property
4254 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4255 * src/hildon-touch-selector.c
4256 (_create_new_column): use of hildon_gtk_tree_view_new to create
4257 the treeview, instead of use directly g_object_new
4258 (_create_new_column): update the property name "vindicator-mode" for the
4259 new one "vscrollbar-policy"
4260 * examples/hildon-date-button-example.c
4261 * examples/hildon-picker-button-multicolumn-example.c
4262 * examples/hildon-touch-selector-entry-example.c
4263 * examples/hildon-touch-selector-example.c
4264 * examples/hildon-time-button-example.c
4265 * examples/hildon-picker-button-example.c
4266 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4267 to all the treeviews inside a pannable area.
4269 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-button.h
4272 * src/hildon-button.c (hildon_button_init)
4273 (hildon_button_set_arrangement, hildon_button_set_alignment)
4274 (hildon_button_set_title_alignment)
4275 (hildon_button_set_value_alignment)
4276 (hildon_button_set_image_alignment)
4277 (hildon_button_construct_child): New methods to set the alignment
4278 of the individual components of the button (title, value,
4279 image). Also, new method to alter the xscale and yscale properties
4280 of the GtkAlignment inside the button, so more complex layouts can
4283 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-button.c (hildon_button_style_set)
4286 (hildon_button_class_init, hildon_button_set_arrangement)
4287 (hildon_button_construct_child): Apply style properties
4288 correctly. Use the 'image-spacing' style property too.
4290 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4293 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4296 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4298 * src/hildon-pannable-area.c,
4299 (hildon_pannable_area_size_request): Fixed problem with
4300 pannable-area size_request.
4302 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4304 Added management for the grab-focus to a child widget, like a
4305 range, we need to fade out the scrollbar when releasing.
4307 * src/hildon-pannable-area.c,
4308 (hildon_pannable_area_init): Connected the grab-focus signal to
4310 (hildon_pannable_area_grab_notify): Added this function in order
4311 to manage the situation when the grab-focus ends. We have to
4312 fade-out the scrollbar.
4314 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4316 * src/hildon-app-menu.c: Minor documentation update.
4318 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-app-menu.c
4321 * examples/hildon-app-menu-example.c (create_menu): Update
4322 examples and documentation to explain how to connect callbacks.
4324 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4326 * examples/hildon-button-example.c
4327 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4328 hildon_stackable_window_new instead of gtk_window_new
4330 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4332 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4333 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4334 (hildon_pannable_area_set_property),
4335 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4336 (hildon_pannable_area_unrealize),
4337 (hildon_pannable_area_size_request),
4338 (hildon_pannable_area_size_allocate),
4339 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4340 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4341 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4342 (hildon_pannable_area_initial_effect),
4343 (hildon_pannable_area_redraw),
4344 (hildon_pannable_area_scroll_indicator_fade),
4345 (hildon_pannable_area_expose_event),
4346 (hildon_pannable_area_get_topmost), (synth_crossing),
4347 (hildon_pannable_area_button_press_cb),
4348 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4349 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4350 (hildon_pannable_area_motion_notify_cb),
4351 (hildon_pannable_area_button_release_cb),
4352 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4353 (hildon_pannable_area_remove),
4354 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4355 chage the code layout to a more GtkWidget like. Review the use of
4358 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4360 * examples/hildon-pannable-area-example-4.c,
4361 (main): Modified the name of the hindicator_mode to
4364 * src/hildon-pannable-area.c,
4365 (hildon_pannable_area_class_init),
4366 (hildon_pannable_area_motion_notify_cb),
4367 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4368 we have reduced the amount of signals and managed reviewed its
4369 rationale. Changed the default decelerate value.
4371 (hildon_pannable_area_add),
4372 (hildon_pannable_area_redraw): Refactored functions.
4374 (hildon_pannable_area_init),
4375 (hildon_pannable_area_get_property),
4376 (hildon_pannable_area_set_property):
4377 (hildon_pannable_draw_vscroll),
4378 (hildon_pannable_draw_hscroll),
4379 (hildon_pannable_area_initial_effect),
4380 (hildon_pannable_area_expose_event),
4381 (hildon_pannable_area_scroll),
4382 (hildon_pannable_area_button_press_cb),
4383 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4384 and vindicator_mode with hscrollbar_policy and
4385 vscrollbar_policy. Replaced hscroll and vscroll with
4386 hscroll_visible and vscroll_visible.
4388 (hildon_pannable_area_refresh): Refactor the function, remove
4389 variables and check the calls to this function, added resize
4390 conditions in case the children change their layout.
4392 (hildon_pannable_area_size_request): Added more detailed
4393 size_request calculation.
4396 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4398 * src/hildon-color-chooser.c
4399 (init_borders): use the correct gtk_border_free instead of g_free, to
4400 avoid a crash when this widget is used (ie: the three color selection
4403 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4405 * src/hildon-check-button.c,
4406 (hildon_check_button_set_active): Fixed problem when setting the
4407 active value, the widget was not redrawn.
4409 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4411 * src/hildon-pannable-area.c,
4412 (hildon_pannable_area_refresh),
4413 (hildon_pannable_area_scroll),
4414 (hildon_pannable_area_motion_notify_cb): Small code style change.
4416 (hildon_pannable_area_class_init): Default initial_hint set to
4417 FALSE, it is not in the specs.
4419 (hildon_pannable_area_initial_effect),
4420 (hildon_pannable_area_expose_event),
4421 (hildon_pannable_area_map),
4422 (hildon_pannable_area_init): Moved the launching point of the
4423 initial effect, it was in map but the sizes where not correct in
4424 that method so we do not know if we have the reproduce it. Now it
4425 is placed in the expose_event method and uses a variable to
4426 reproduce it just once.
4428 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4430 * src/hildon-pannable-area.c,
4431 (hildon_pannable_draw_vscroll),
4432 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4433 position allowed for the scrollbars.
4435 (hildon_pannable_area_size_allocate): Small style change.
4437 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4439 * src/hildon-pannable-area.c,
4440 (hildon_pannable_area_scroll_indicator_fade),
4441 (hildon_pannable_area_button_press_cb),
4442 (hildon_pannable_area_button_release_cb),
4443 (hildon_pannable_area_scroll_cb),
4444 (hildon_pannable_area_expose_event),
4445 (hildon_pannable_area_init): Added the define parameter
4446 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4447 and refactor the fade variable.
4449 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4451 * src/hildon-pannable-area.c,
4452 (hildon_pannable_area_redraw),
4453 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4454 lines, we were reimplemeting the redraw code.
4456 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4458 * src/hildon-pannable-area.c,
4459 (hildon_pannable_area_scroll_cb),
4460 (hildon_pannable_area_realize),
4461 (hildon_pannable_area_class_init): Added scroll_event management
4462 for pannable area, now we can scroll the usual desktop method.
4464 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4465 initialization of the parameters should depend on idle_id.
4467 (hildon_pannable_area_init),
4468 (hildon_pannable_area_map): Small code style modifications
4470 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4472 * src/hildon-pannable-area.c
4473 (hildon_pannable_area_button_press_cb),
4474 (hildon_pannable_area_motion_notify_cb),
4475 (hildon_pannable_area_button_release_cb),
4476 (hildon_pannable_area_size_allocate),
4477 (hildon_pannable_area_scroll_to): Improved the timeouts
4478 management, we avoid creating them each time.
4480 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4482 * src/hildon-pannable-area.c:
4483 (hildon_pannable_area_refresh),
4484 (hildon_pannable_area_motion_notify_cb),
4485 (hildon_pannable_area_class_init):
4486 * src/hildon-pannable-area.h:
4487 * src/hildon-touch-selector.c
4488 (_create_new_column):
4489 * examples/hildon-pannable-area-example-4.c:
4490 (horizontal_movement),
4491 (vertical_movement),
4493 Replaced the names of enums in the HildonPannableArea:
4494 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4495 HILDON_MOVEMENT_MODE_*
4496 - HILDON_PANNABLE_AREA_MOV_* ->
4498 - Removed HildonPannableAreaIndicatorMode, now we
4501 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4503 * examples/hildon-pannable-area-touch-grid-example.c
4504 * examples/hildon-pannable-area-touch-list-example.c: Fix
4505 compilation warnings.
4507 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4509 * src/hildon-gtk.c (hildon_gtk_button_new)
4510 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4511 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4512 images overriding the value of the "gtk-button-images" setting.
4514 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-check-button.c (hildon_check_button_new):
4517 Instead of using a custom container, display the label and the
4518 checkbox using the standard GtkButton API.
4520 * examples/hildon-check-button-example.c (main): Don't use
4521 hildon_check_button_set_label() anymore
4523 * src/hildon-check-button.h
4524 * src/hildon-check-button.c
4525 (hildon_check_button_set_label, hildon_check_button_get_label):
4526 Set as deprecated, now we're using gtk_button_{get,set}_label()
4528 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4530 * src/hildon-pannable-area.c,
4531 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4532 GtkTreeview first line we detected it after the inclusion of the
4533 GtkWindowImpl in gtk+. We now check if the window is visible, not
4534 just if the pointer is over the window.
4535 (hildon_pannable_axis_scroll),
4536 (hildon_pannable_area_expose_event): Small style changes.
4538 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-button.c: Update documentation.
4542 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4544 * examples/hildon-button-example.c: Add a switch to show images in
4547 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4549 * doc/hildon-docs.sgml: Some docs reorganization.
4551 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4553 * examples/hildon-pannable-area-touch-list-example.c
4555 * examples/hildon-pannable-area-touch-grid-example.c
4556 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4557 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4558 Fix memory leak when setting the tree model.
4560 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4564 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4566 * doc/hildon.types: Remove duplicated hildon_window_get_type
4567 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4568 documentation comment.
4570 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4572 * doc/Makefile.am: Complete list of private headers.
4574 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4576 * doc/hildon-docs.sgml
4577 * src/hildon-app-menu.c
4578 * src/hildon-bread-crumb.c
4579 * src/hildon-button.c
4581 * src/hildon-program.c
4582 * src/hildon-stackable-window.c
4583 * src/hildon-window.c: Lots of documentation updates.
4585 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4587 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4589 * configure.ac: Require Gtk+ 2.12.9 at least
4591 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4593 * src/hildon-pannable-area.c
4594 (hildon_pannable_area_scroll_indicator_fade),
4595 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4596 to protect the return of this timeout callbacks, avoiding deadlocks.
4598 2008-08-12 Christian Dywan <christian@imendio.com>
4601 * src/hildon-*.h: Ensure a consistent include order,
4602 include <gtk/gtk.h> instead of particular files and
4603 only include the topmost header in the gtk stack. See NB #39857
4605 2008-08-12 Christian Dywan <christian@imendio.com>
4607 * src/hildon-picker-dialog.c
4608 * src/hildon-touch-selector.c: Fix warnings about unused and
4609 uninitialized variables.
4611 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4613 * examples/Makefile.am
4614 * examples/hildon-check-button-example.c: Example of the hildon
4617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-window.h
4620 * src/hildon-window.c (hildon_window_class_init)
4621 (hildon_window_unset_program): Don't make
4622 hildon_window_unset_program a virtual function anymore.
4624 * src/hildon-stackable-window.c: Update documentation
4626 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4629 * doc/hildon-docs.sgml
4630 * doc/visual_index.xml
4631 * src/hildon-defines.c
4633 * src/hildon-helper.c
4634 * src/hildon-range-editor.c: Lots of documentation fixes.
4636 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4638 * examples/hildon-picker-button-multicolumn-example.c
4639 (create_touch_selector): Fix compilation warning.
4641 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4643 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4644 (hildon_pannable_area_button_release_cb)
4645 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4652 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-bread-crumb-trail.h
4655 * src/hildon-date-editor.c
4656 * src/hildon-date-selector.c
4657 * src/hildon-pannable-area.c
4658 * src/hildon-picker-dialog.c
4659 * src/hildon-time-selector.c
4660 * src/hildon-touch-selector-entry.c
4661 * src/hildon-touch-selector.c
4662 * src/hildon-touch-selector.h: Misc documentation fixes
4664 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4666 * examples/hildon-date-editor-example.c (main): Updated date
4669 * examples/hildon-note-example.c (on_confirmation_clicked):
4670 Updated confirmation note example.
4672 * src/hildon-date-editor.c
4673 * src/hildon-note.c: Updated sample programs in documentation.
4676 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-date-button.h:
4679 * src/hildon-picker-button.h:
4680 * src/hildon-time-button.c:
4681 * src/hildon-time-button.h:
4683 Some declarations changes to allow gtk-doc to document the widgets
4686 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4688 * src/hildon-date-button.c: Document the widget.
4689 * src/hildon-time-button.c: Document the widget.
4691 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4693 * src/hildon-picker-button.c: Document the widget.
4694 * src/hildon-touch-selector-entry.c: Document the widget.
4696 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4698 * doc/hildon-docs.sgml
4701 * src/hildon-check-button.h
4702 * src/hildon-check-button.c: New functions to create the Hildon
4706 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4708 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4710 * src/hildon-button.h
4711 * src/hildon-button.c
4712 (hildon_button_add_title_size_group)
4713 (hildon_button_add_value_size_group)
4714 (hildon_button_add_image_size_group)
4715 (hildon_button_add_size_groups): New functions to set size groups
4716 for the button labels and image.
4717 (hildon_button_new_full): Removed
4719 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4721 * src/hildon-time-selector.c
4722 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4723 in order to avoid a crash if gconf is not available
4725 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4727 * src/hildon-button.c (hildon_button_set_arrangement)
4728 (hildon_button_construct_child): Don't construct the button child
4729 before setting the arrangement.
4731 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-program-private.h
4734 * src/hildon-program.c
4735 * src/hildon-program.h
4736 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4737 (hildon_program_peek_window_stack)
4738 (hildon_program_pop_window_stack)
4739 (hildon_program_go_to_root_window): HildonProgram now has a
4740 separate list for stackable windows. Functions are provided to
4741 manage that list with a stack-like API.
4743 * src/hildon-stackable-window.c: Stackable window management is
4744 now much simpler with the new HildonProgram API. Windows no
4745 longer need to be manually added to the program, they're
4746 automatically pushed to the top of the stack when shown.
4748 * examples/hildon-stackable-window-example.c: Updated example to
4749 reflect the API changes.
4751 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4753 * src/hildon-touch-selector.c: Comment out unimplemented
4754 hildon_touch_selector_insert_column() to avoid a compile warning.
4756 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4758 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4759 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4760 (hildon_touch_selector_set_column_selection_mode),
4761 (_hildon_touch_selector_set_model),
4762 (hildon_touch_selector_set_model):
4764 Complete review of HildonTouchSelector documentation.
4766 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4768 * doc/hildon-docs.sgml
4772 * src/hildon-gtk.c: Convenience functions for standard Gtk
4773 widgets, used to easily perform frequent operations.
4775 * src/hildon-button-helpers.h
4776 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4778 * src/hildon-helper.h
4779 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4780 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4782 * src/hildon-button.h
4783 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4785 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4787 * src/hildon-button.c (hildon_button_init)
4788 (hildon_button_set_arrangement, hildon_button_construct_child):
4789 Pack the image and the labels inside the same GtkAlignment so
4790 gtk_button_set_alignment() can be used
4792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4794 * src/hildon-button.h
4795 * src/hildon-button.c
4796 (hildon_button_init, hildon_button_set_image)
4797 (hildon_button_set_image_position)
4798 (hildon_button_construct_child): New functions to add an image to
4801 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-date-button.c
4804 * src/hildon-picker-button.c
4805 * src/hildon-time-button.c
4806 * src/hildon-button.c:
4807 (hildon_button_class_init): "size-flags" renamed to "size"
4808 (hildon_button_set_title): Hide the title label if set to NULL.
4810 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4812 HildonButtonFlags split into HildonButtonArrangement (to set the
4813 button layout) and HildonSizeType (which can be used for any
4816 * src/hildon-button.h
4817 * src/hildon-button.c
4818 (hildon_button_class_init)
4819 (hildon_button_set_arrangement)
4820 (hildon_button_set_property): New "size-flags"
4821 property. "arrangement-flags" renamed to "arrangement".
4822 (hildon_button_new, hildon_button_new_with_text)
4823 (hildon_button_new_full): Constructors updated to reflect type changes.
4825 * src/hildon-helper.h
4826 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4827 to set the size of a widget.
4831 * src/hildon-button-helpers.c
4832 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4834 * src/hildon-date-button.c
4835 * src/hildon-date-button.h
4836 * src/hildon-picker-button.c
4837 * src/hildon-picker-button.h
4838 * src/hildon-time-button.c
4839 * src/hildon-time-button.h: Updated widgets to reflect
4840 HildonButton API changes.
4842 * examples/hildon-button-example.c
4843 * examples/hildon-date-button-example.c
4844 * examples/hildon-picker-button-example.c
4845 * examples/hildon-picker-button-multicolumn-example.c
4846 * examples/hildon-time-button-example.c
4847 * examples/hildon-touch-selector-entry-example.c
4848 * examples/hildon-touch-selector-example.c: Updated examples to
4849 reflect HildonButton API changes.
4851 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4853 * doc/hildon-docs.sgml:
4855 * examples/Makefile.am:
4856 * examples/hildon-touch-selector-entry-example.c:
4858 * src/hildon-touch-selector-entry.c:
4859 * src/hildon-touch-selector-entry.h:
4862 Moved HildonTouchSelectorEntry from sandbox. Added its
4863 documentation and examples.
4865 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4867 * src/hildon-touch-selector.h:
4868 * examples/hildon-picker-button-multicolumn-example.c:
4869 (hildon_touch_selector_append_text_column): Add a gboolean
4870 parameter to determine if text must be centered in the column.
4872 * src/hildon-date-selector.c: (hildon_date_selector_init):
4873 * src/hildon-time-selector.c: (hildon_time_selector_init):
4874 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4875 (create_touch_selector): Update widgets and example to reflect
4878 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-touch-selector.c:
4881 (hildon_touch_selector_set_active_iter): Set also the cursor in
4884 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4886 * doc/hildon-docs.sgml
4889 * src/hildon-toggle-button.c
4890 * src/hildon-toggle-button.h
4891 * src/hildon.h: Removed HildonToggleButton widget, a derived
4892 class is not necessary for this.
4894 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4896 * src/hildon-pannable-area.c,
4897 (hildon_pannable_area_realize),
4898 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4901 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4904 "done" button the default widget for the dialog.
4906 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-touch-selector.c:
4909 (hildon_touch_selector_class_init),
4910 (hildon_touch_selector_get_property),
4911 (_hildon_touch_selector_set_model),
4912 (_hildon_touch_selector_has_multiple_selection),
4913 (hildon_touch_selector_has_multiple_selection):
4914 Add a "has-multiple-selection" property with a virtual
4915 has_multiple_selection() method to allow derived classes to
4916 override the default value for it. See the method and property
4917 documentation for details.
4919 * src/hildon-touch-selector.h: Add the new API.
4921 * src/hildon-picker-dialog.c: (requires_done_button): Call
4922 hildon_touch_selector_has_multiple_selection() instead of
4923 determining the need for a button itself.
4925 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4928 (_hildon_touch_selector_set_model),
4929 (hildon_touch_selector_set_model): Move working code to
4930 _hildon_touch_selector_set_mode(). Call the class method instead.
4932 * src/hildon-touch-selector.h: Add (*set_model) to
4933 HildonTouchSelectorClass.
4935 Make hildon_touch_selector_set_model() a virtual method, so that
4936 derived classes can extend it and do fancy stuff with the model.
4938 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4940 * configure.ac: Set back the tarname in AC_INIT to hildon.
4942 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4946 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4947 instead of libesd (NB#86876). Volume handling is still an open issue.
4949 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4952 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4955 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4956 derived class to ease placement of an entry widget in
4957 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4958 end, where the selector columns are packed now.
4960 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-picker-button.c: Removed the simple _text() API.
4963 * src/hildon-picker-button.h: Likewise.
4965 * src/hildon-touch-selector.h:
4966 * src/hildon-touch-selector.c:
4967 (hildon_touch_selector_new_text),
4968 (hildon_touch_selector_append_text),
4969 (hildon_touch_selector_prepend_text),
4970 (hildon_touch_selector_insert_text):
4972 Moved the simple _text() API from HildonPickerButton to
4973 HildonTouchPicker, to provide better escalability and not to tie
4974 that API to HildonPickerButton.
4976 * examples/hildon-picker-button-example.c: (main): Example updated.
4978 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4980 * src/hildon-button.c: Updated documentation.
4982 * examples/hildon-button-example.c: Add the posibility to create
4983 the buttons using horizontal layout for title and value.
4985 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4987 * src/hildon-app-menu-private.h
4988 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4989 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4990 GtkSizeGroup for the filters, use the 'homogeneous' property of
4993 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4995 * examples/hildon-button-example.c: Updated example.
4997 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4999 * doc/hildon-docs.sgml:
5002 Update documentation.
5004 * examples/Makefile.am: Update renamed examples.
5006 * examples/hildon-picker-button-multicolumn-example.c:
5007 (create_touch_selector), (main): Update after the rename.
5009 * examples/hildon-touch-picker-example.c: Removed.
5010 * examples/hildon-touch-selector-example.c: (value_changed),
5011 (create_selector), (get_visible_content), (main): Renamed from
5012 hildon-touch-picker-example.c
5014 * src/Makefile.am: Updated renamed files.
5016 * src/hildon-date-button.c: (hildon_date_button_init),
5017 (hildon_date_button_get_date), (hildon_date_button_set_date):
5018 * src/hildon-date-selector.c: (hildon_date_selector_init),
5019 (_custom_print_func), (_update_day_model),
5020 (_manage_selector_change_cb),
5021 (hildon_date_selector_select_current_date),
5022 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5023 * src/hildon-date-selector.h:
5024 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5025 (hildon_picker_button_set_property),
5026 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5027 (hildon_picker_button_init), (hildon_picker_button_new_text),
5028 (hildon_picker_button_append_text),
5029 (hildon_picker_button_prepend_text),
5030 (hildon_picker_button_insert_text),
5031 (hildon_picker_button_set_selector),
5032 (hildon_picker_button_get_selector):
5033 * src/hildon-picker-button.h:
5034 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5035 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5036 (_update_title_on_selector_changed_cb), (requires_done_button),
5037 (_hildon_picker_dialog_set_selector),
5038 (hildon_picker_dialog_set_selector),
5039 (hildon_picker_dialog_get_selector):
5040 * src/hildon-picker-dialog.h:
5041 * src/hildon-time-button.c: (hildon_time_button_init),
5042 (hildon_time_button_get_time), (hildon_time_button_set_time):
5043 * src/hildon-time-selector.c: (hildon_time_selector_init),
5044 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5045 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5046 * src/hildon-time-selector.h:
5049 Massive code updates after the rename.
5051 * src/hildon-touch-picker.c: Removed.
5052 * src/hildon-touch-picker.h: Removed.
5054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5055 (hildon_touch_selector_init), (hildon_touch_selector_map),
5056 (hildon_touch_selector_remove), (_default_print_func),
5057 (_selection_changed_cb), (_create_new_column),
5058 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5059 (hildon_touch_selector_append_text_column),
5060 (hildon_touch_selector_remove_column),
5061 (hildon_touch_selector_set_column_attributes),
5062 (hildon_touch_selector_insert_column),
5063 (hildon_touch_selector_get_num_columns),
5064 (hildon_touch_selector_get_column_selection_mode),
5065 (hildon_touch_selector_set_column_selection_mode),
5066 (hildon_touch_selector_set_print_func),
5067 (hildon_touch_selector_get_print_func),
5068 (hildon_touch_selector_get_active_iter),
5069 (hildon_touch_selector_set_active_iter),
5070 (hildon_touch_selector_get_selected_rows),
5071 (hildon_touch_selector_get_model),
5072 (hildon_touch_selector_set_model),
5073 (hildon_touch_selector_get_current_text),
5074 (_hildon_touch_selector_center_on_selected_items):
5075 * src/hildon-touch-selector.h: Renamed from
5076 hildon-touch-picker.[ch]
5078 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5079 references, code examples, and related documentation.
5081 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5083 * doc/hildon-docs.sgml
5086 * src/hildon-toggle-button.c
5087 * src/hildon-toggle-button.h
5088 * src/hildon.h: New HildonToggleButton widget.
5090 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-button.c: Add API documentation.
5093 (hildon_button_set_size_groups): Check input parameters
5095 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5097 * src/hildon-pannable-area.c
5098 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5099 effect after reaching the movement thredshold. This way we start
5100 using the distance after passing the thredshold.
5102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-button.c: (hildon_button_set_property): Use the
5105 appropriate g_value_get_flags() method.
5107 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5109 * doc/hildon-docs.sgml:
5112 Add the touch pickers, picker dialogs, and picker button widgets
5113 to the documentation.
5115 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-button.c: (hildon_button_set_property),
5118 (hildon_button_class_init): Make "arrangement-flags" a proper
5119 G_TYPE_FLAGS derived property.
5121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5123 * examples/Makefile.am: Add below examples.
5124 * examples/hildon-date-button-example.c:
5125 * examples/hildon-picker-button-example.c:
5126 * examples/hildon-picker-button-multicolumn-example.c:
5127 * examples/hildon-time-button-example.c:
5128 * examples/hildon-touch-picker-example.c:
5130 Add examples for the recently added touch pickers,
5131 picker dialogs, and picker button widgets.
5133 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5135 * src/hildon-button.c: Add some API documentation
5137 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-button.h
5140 * src/hildon-button.c
5142 (hildon_button_new_with_text): New constructor to create a button
5143 with no text at all.
5144 (hildon_button_init, hildon_button_set_arrangement)
5145 (hildon_button_set_title, hildon_button_set_value)
5146 (hildon_button_set_text)
5147 (hildon_button_construct_child): Hide the value when it's not used
5148 so the rest of the text is properly aligned.
5149 Allow creating buttons with arbitrary widgets inside (not just
5150 title/value labels).
5152 * examples/hildon-button-example.c (vertical_buttons_window)
5153 (horizontal_buttons_window): Update example to use new API.
5155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/Makefile.am: Added HildonTimeButton.
5158 * src/hildon-time-button.c: Added missing LGPL header.
5159 * src/hildon-time-button.h: Added missing LGPL header.
5160 * src/hildon.h: Add hildon-time-button.h
5162 Copied HildonTimeButton from sandbox to trunk. Future work on this
5163 widget must take place in trunk.
5165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5167 * src/Makefile.am: Added HildonDateButton.
5168 * src/hildon-date-button.c: Update includes.
5169 * src/hildon.h: Add hildon-date-button.h
5171 Copied HildonDateButton from sandbox to trunk. Future work on this
5172 widget must take place in trunk.
5174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5176 * src/Makefile.am: Added HildonPickerButton.
5177 * src/hildon-picker-button.h: Update includes.
5178 * src/hildon.h: Add hildon-picker-button.h
5180 Copied HildonPickerButton from sandbox to trunk. Future work on
5181 this widget must take place in trunk.
5183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5185 * src/Makefile.am: Added HildonPickerDialog.
5186 * src/hildon-picker-dialog.c: Update includes.
5187 * src/hildon.h: Add hildon-picker-dialog.h
5189 Copied HildonPickerDialog from sandbox to trunk. Future work
5190 on this widget must take place in trunk.
5192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5194 * src/Makefile.am: Added HildonTimeSelector.
5195 * src/hildon.h: Add hildon-time-selector.h
5197 Copied HildonTimeSelector widget from sandbox to trunk. Future
5198 work on this widget must happen in trunk.
5200 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5202 * src/Makefile.am: Added HildonDateSelector.
5203 * src/hildon.h: Add hildon-date-selector.h
5205 Copied HildonDateSelector widget from sandbox to trunk. Future
5206 work on this widget must happen in trunk.
5208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5210 * src/Makefile.am: Added HildonTouchPicker.
5211 * src/hildon-touch-picker.c: Update includes.
5212 * src/hildon.h: Add hildon-touch-picker.h
5214 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5215 on this widget must happen in trunk.
5217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-pannable-area.c:
5220 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5222 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5224 * examples/hildon-app-menu-example.c (main): Let the window
5227 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5229 * src/hildon-pannable-area.c
5230 (hildon_pannable_area_class_init): Set the min value of the
5231 overshoot properties to zero, which points out that not
5232 overshooting allowed.
5234 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5236 Modified the procedure to get the widget at a point inside the
5237 pannable area when using the movement type signals. Now the user
5238 has to call a function to get the child, that way we just
5239 calculate the child in case the user really want to use it and not
5242 * src/hildon-marshalers.list: Modified the marshallers, now we do
5243 not have the widget as a parameter.
5245 * src/hildon-pannable-area.c
5246 (hildon_pannable_area_motion_notify_cb),
5247 (hildon_pannable_area_class_init),
5248 (hildon_pannable_get_child_widget_at): Removed the widget
5249 parameter from the signal callback. We have also refactored the
5250 emission of the signals.
5252 * src/hildon-pannable-area.h: Added a new method to the API to
5253 calculate a widget at a point inside the pannable area,
5254 hildon_pannable_get_child_widget_at.
5256 * examples/hildon-pannable-area-example-4.c
5257 (horizontal_movement): Modified the example to use the new API,
5258 added condition to control which widget is under the event. This
5259 way we can avoid scrolling laterally over other widgets.
5261 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5263 * src/hildon-pannable-area.c
5264 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5265 modes, we stop getting the pointer events due to returning the
5266 callback without properly calling the get pointer again. Fixed
5267 also an error using the hscroll and vscroll.
5269 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-app-menu-private.h
5272 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5273 (hildon_app_menu_button_release, hildon_app_menu_init)
5274 (hildon_app_menu_class_init): Don't hide the menu on button
5275 release if the user didn't press outside first.
5277 * src/hildon-window.h
5278 * src/hildon-window.c (hildon_window_toggle_menu)
5279 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5280 hildon_window_toggle_menu a virtual function for the stackable
5281 window to override it.
5283 * src/hildon-stackable-window.h
5284 * src/hildon-stackable-window-private.h
5285 * src/hildon-stackable-window.c
5286 (hildon_stackable_window_realize)
5287 (hildon_stackable_window_finalize)
5288 (hildon_stackable_window_class_init)
5289 (hildon_stackable_window_init)
5290 (hildon_stackable_window_set_main_menu): New function to set the
5291 app menu of a HildonStackableWindow.
5293 * examples/hildon-app-menu-example.c: Remove the button to show
5294 the app menu, now it'll be shown when clicking on the title bar
5297 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5299 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5300 set the widget name if the arrangement flags do not specify
5303 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5305 * src/hildon-button.c: (hildon_button_set_property),
5306 (hildon_button_class_init), (hildon_button_new_full),
5307 (hildon_button_set_arrangement): Added "arrangement-flags"
5310 Make the HildonButtonFlags a construction-only property, to allow
5311 subclasses to set them properly.
5313 2008-07-21 Tim Janik <timj@imendio.com>
5315 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5316 insertion position after backspace, so additional digits are appended,
5319 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5321 * src/hildon-pannable-area.c,
5322 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5323 TODO list, it was complete and removed the g_debug and g_print
5326 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5328 Added the movement modes to the hildon-pannable-area, with this
5329 modes the developers can control in which directions the widget
5330 can scroll. They can also connect to signals in order to do
5331 something when that happens, allowing applications scroll. There
5332 is an example uploaded showing how to use it.
5334 * examples/Makefile.am:
5335 * examples/hildon-pannable-area-example-4.c: Added this example of
5336 an application using the modes.
5338 * src/hildon-marshalers.list: Added a new marshaller for the new
5341 * src/hildon-pannable-area.h: Added new enumerations and flags in
5342 order to control the movement modes and the new signals to warn
5343 about the movements in the area.
5345 * src/hildon-pannable-area.c:
5346 (hildon_pannable_axis_scroll),
5347 (hildon_pannable_area_scroll),
5348 (hildon_pannable_area_motion_notify_cb),
5349 (hildon_pannable_area_get_property),
5350 (hildon_pannable_area_set_property),
5351 (hildon_pannable_area_map),
5352 (hildon_pannable_area_class_init),
5353 (hildon_pannable_area_init),
5354 (hildon_pannable_area_jump_to): Added the modes to control the
5355 movement in the widget. We have added properties to control it,
5356 signals to warn about the movements and refactored some code.
5358 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5360 Changes required in order to allow vfast_factor set to zero to
5363 * src/hildon-pannable-area.c:
5364 (hildon_pannable_area_button_press_cb): Changed the condition, it
5365 is required for not allowing click when vfast_factor is zero.
5366 (hildon_pannable_area_timeout): Initialized velocity variables
5367 when we stop moving, it was less than 1 but not zero and we need
5368 to check zero in some situations.
5369 (hildon_pannable_area_class_init): Changed the default value of
5370 the speed factor, now the button_press is just sent in case the
5371 speed is 2 per cent of the max speed.
5372 (hildon_pannable_area_init): Initialization with 0.
5374 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5376 * src/hildon-pannable-area.c,
5377 (hildon_pannable_area_get_topmost): replaced
5378 gdk_window_get_children with gdk_window_peek_children, this way we
5379 do not have to free the list because it is not a copy.
5381 (hildon_pannable_axis_scroll),
5382 (hildon_pannable_area_scroll),
5383 (hildon_pannable_area_timeout),
5384 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5385 two parameters that were only used inside the
5386 hildon_pannable_area_scroll function.
5388 * examples/hildon-pannable-area-example.c,
5389 (get_sawtooth_label): Fixed small memory leak.
5391 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5393 More checks for the case where the overshoot is bigger than the
5396 * src/hildon-pannable-area.c:
5397 (hildon_pannable_draw_vscroll),
5398 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5399 to draw the slider of the scrollbar under the other scrollbar.
5400 (hildon_pannable_area_expose_event): added new checks to control
5401 the drawing of the overshooting area rectangle, in case it is too
5402 big for the area of the widget.
5403 (hildon_pannable_area_size_allocate): add more checks to avoid
5404 setting a position to the child widget outside the area.
5406 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5408 * src/hildon-pannable-area.c
5409 (hildon_pannable_area_size_allocate): Added conditions to control
5410 when overshooting is bigger than the allocated space for the
5411 children, this avoids negative allocations.
5413 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5415 * doc/hildon-docs.sgml
5417 * examples/Makefile.am
5418 * examples/hildon-button-example.c
5420 * src/hildon-button.c
5421 * src/hildon-button.h
5422 * src/hildon.h: Initial version of the new HildonButton widget,
5425 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5427 * src/hildon-pannable-area.c:
5428 (hildon_pannable_area_button_press_cb),
5429 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5430 (hildon_pannable_area_motion_notify_cb),
5431 (hildon_pannable_area_button_release_cb),
5432 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5433 (hildon_pannable_area_jump_to_child):
5435 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5437 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5439 * examples/Makefile.am
5440 * examples/hildon-pannable-area-touch-grid-example.c
5441 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5442 the Hildon Touch List and Hildon Touch Grid using the
5443 HildonPannableArea widget.
5445 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5447 * src/hildon-pannable-area.c,
5448 (hildon_pannable_area_button_press_cb),
5449 (hildon_pannable_area_refresh),
5450 (hildon_pannable_area_scroll),
5451 (hildon_pannable_area_motion_notify_cb),
5452 (hildon_pannable_area_button_release_cb),
5453 (hildon_pannable_area_expose_event),
5454 (hildon_pannable_area_add),
5455 (hildon_pannable_area_remove),
5456 (hildon_pannable_area_realize),
5457 (hildon_pannable_area_size_allocate),
5458 (hildon_pannable_area_class_init),
5459 (hildon_pannable_area_init),
5460 (hildon_pannable_area_scroll_to_child),
5461 (hildon_pannable_area_jump_to_child): Fixed the problem of
5462 removing the child from the GtkBin, we have rearranged the widget
5463 hierarchy, now there is no GtkAlignment which was not doing
5464 anything interesting but breaking some of the assumptions of
5465 GtkContainer. Now developers if they want to add a GtkAlignment
5466 they could, but it is not inside the area.
5468 We had to review the whole allocation/expose process, now it is
5469 improved and we save at least three signals which would be saving
5470 some time when rendering the widget. The allocation of the
5471 scrollbars is now made in the allocate method as usual.
5473 We have also added some conditions in order to control when there
5474 is no child of the pannable area. Maybe we will need more work
5477 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5479 * src/hildon-pannable-area.c,
5480 (hildon_pannable_area_dispose): Released the fade-out timeout when
5481 disposing the widget.
5483 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5485 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5486 zero, we are going to use that property in order to deactivate the
5488 (hildon_pannable_axis_scroll),
5489 (hildon_pannable_area_size_allocate): Added conditions to control
5490 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5491 call, now it is called in all situations and we can remove calls
5492 in the allocate method.
5493 (hildon_pannable_area_map): Control the situation when
5494 overshoot_max is zero, we do not need the timeout.
5495 (hildon_pannable_area_class_init): Added documentation in order to
5496 point out that setting zero to overshoot_max means deactivate
5499 NOTE: removed trailing whitespaces from my previous comments of
5502 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-pannable-area.c
5505 (hildon_pannable_area_get_property),
5506 (hildon_pannable_area_set_property),
5507 (hildon_pannable_area_map),
5508 (hildon_pannable_area_class_init),
5509 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5510 to cause the widget give a hint about its panning abilities upon
5513 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5515 * src/hildon-pannable-area.c: Several documentation improvements.
5517 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5519 * src/hildon-program.c
5520 * src/hildon-stackable-window.c: Update documentation.
5522 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5524 * src/hildon-stackable-window.c (get_previous_window_if_last):
5525 Renamed get_last_window()
5526 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5527 (hildon_stackable_window_unset_program):
5529 (get_previous_window_if_last):
5530 Detect if the window hasn't been added to a HildonProgram.
5532 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5534 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5536 * src/hildon-pannable-area.c
5537 (hildon_pannable_area_button_press_cb),
5538 (hildon_pannable_axis_scroll),
5539 (hildon_pannable_area_scroll),
5540 (hildon_pannable_area_timeout),
5541 (hildon_pannable_calculate_vel_factor),
5542 (hildon_pannable_area_get_property),
5543 (hildon_pannable_area_set_property),
5544 (hildon_pannable_area_class_init),
5545 (hildon_pannable_area_init),
5546 (hildon_pannable_area_scroll_to),
5547 (hildon_pannable_area_jump_to),
5548 (hildon_pannable_area_scroll_to_child),
5549 (hildon_pannable_area_jump_to_child):
5550 * src/hildon-pannable-area.h: Added the new API functions:
5551 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5552 hildon_pannable_area_scroll_to_child,
5553 hildon_pannable_area_jump_to_child
5556 * examples/Makefile.am
5557 * examples/hildon-pannable-area-example-2.c
5558 * examples/hildon-pannable-area-example-3.c: Added these two new
5559 examples in order to test and show how the new APIs work.
5561 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5563 * examples/hildon-stackable-window-example.c (new_window):
5564 * src/Makefile.am (noinst_HEADERS):
5565 * src/hildon-program.c (hildon_program_go_to_root_window):
5566 * src/hildon-program.h:
5567 * src/hildon-stackable-window-private.h:
5568 * src/hildon-stackable-window.c:
5569 * src/hildon-stackable-window.h:
5570 Create hildon-stackable-window-private.h
5571 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5573 * examples/hildon-app-menu-example.c (create_menu):
5574 * examples/hildon-hvolumebar-insensitive-example.c (main):
5575 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5576 * examples/hildon-toolbar-seekbar-example.c (main):
5577 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5578 * src/hildon-banner.c (hildon_banner_set_property):
5579 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5580 Fix compilation warnings
5582 * src/hildon-window.c:
5585 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-stackable-window.c
5588 (hildon_stackable_window_unset_program):
5589 Calculate correctly whether to show the previous window if the
5590 last one is removed from the stack.
5591 (hildon_stackable_window_go_to_root_window):
5592 Send delete events starting from the topmost window.
5593 Stop if one of the windows is not destroyed.
5595 (hildon_stackable_window_delete_event)
5596 (hildon_stackable_window_class_init):
5597 Ignore the delete event if the window is not the topmost one.
5599 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5601 * src/hildon-pannable-area.c
5602 (hildon_pannable_area_expose_event): Fixed a problem when
5603 selecting the background color of the scrollbars.
5605 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5607 * examples/hildon-stackable-window-example.c
5608 * src/hildon-stackable-window.c
5609 * src/hildon-stackable-window.h
5610 hildon_stackable_window_go_home() renamed to
5611 hildon_stackable_window_go_to_root_window()
5612 Send delete events to windows rather than closing them with
5613 gtk_widget_destroy()
5615 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-pannable-area.c
5618 (hildon_pannable_area_button_release_cb): Fix overshooting in
5621 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5623 * src/hildon-pannable-area.c
5624 (hildon_pannable_area_init): Initially show the scroll indicators.
5625 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5627 Add initial effect showing the widget is pannable.
5629 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-pannable-area.c
5632 (hildon_pannable_area_class_init)
5633 (hildon_pannable_area_set_property)
5634 (hildon_pannable_area_get_property)
5635 (hildon_pannable_area_button_press_cb):
5636 New 'velocity_fast_factor' property to decide which velocity is
5639 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5641 * src/hildon-pannable-area.c
5642 (hildon_pannable_draw_hscroll)
5643 (hildon_pannable_draw_vscroll):
5644 Use float variables to calculate the size of the scrollbars to
5645 avoid error propagation and resizing during scrolling.
5647 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-pannable-area.c
5650 (hildon_pannable_draw_vscroll)
5651 (hildon_pannable_draw_hscroll):
5652 Define a minimum size for the scroll bars
5654 * src/hildon-stackable-window.c
5655 (hildon_stackable_window_go_home): Fix compilation warning
5656 (get_last_window): Minor optimizations
5657 (hildon_stackable_window_class_init): Fix initialization of
5660 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5662 * src/hildon-stackable-window.c: Fixed typos in doc
5664 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5666 * src/hildon-pannable-area.c
5667 (hildon_pannable_area_scroll):
5668 Calculate here whether we need to scroll instead of using the booleans
5669 that tell us whether to /draw/ the scrolling bars.
5671 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5673 * src/hildon-app-menu.h
5675 * src/hildon-app-menu.c
5676 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5677 multiple filter groups related code and API. Now we support only
5679 * examples/hildon-app-menu-example.c:
5681 Update to reflect API changes.
5683 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-stackable-window.c
5686 (hildon_stackable_window_class_init):
5687 Add hildon_stackable_window_realize.
5688 (hildon_stackable_window_realize):
5689 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5690 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5691 to apply theming and behavior specific to HildonStackableWindow
5694 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5696 * src/hildon-note.c (hildon_note_button_release):
5697 Close information notes also when tapping on them
5699 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5701 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5702 ELASTICITY, refactor and review, fix some issues with drawing
5705 * src/hildon-pannable-area.c:
5706 (hildon_pannable_area_button_press_cb): removed the conditions to
5707 avoid clicks when overshooting. It is not required
5709 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5710 define. Refatored and reviewed the code, now we do not need to
5711 manage velocity in motion_notify.
5713 (hildon_pannable_area_motion_notify_cb): We have moved the code
5714 that controls the area_scroll to the axis_scroll function and get
5715 rid of duplicated code.
5717 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5719 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5721 (hildon_pannable_draw_vscroll),
5722 (hildon_pannable_draw_hscroll): Fixed the problems with the
5723 scrollbar drawing, now we do not use two surfaces, it is easier
5724 and saves resources.
5726 (hildon_pannable_area_get_property): Style modification.
5728 (hildon_pannable_area_class_init): Changed some default values.
5730 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5732 * src/hildon-stackable-window.c: Fix some typos in the
5735 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-dialog.c:
5738 Change indentation style
5741 (hildon_note_button_release):
5742 Use root coordinates to check if the release event happened
5745 * src/hildon-app-menu.c
5746 (hildon_app_menu_button_release):
5747 Remove unnecessary check
5749 * examples/hildon-app-menu-example.c
5751 Add cast to fix warning
5753 * src/hildon-app-menu.c
5754 (hildon_app_menu_class_init):
5755 New inner-border style property.
5756 Set all default spacings to 16
5757 (hildon_app_menu_init):
5758 Use vertical-spacing to set the space between filter buttons and
5759 regular menu buttons.
5760 Set the default container border using the inner-border value.
5762 * examples/hildon-app-menu-example.c
5764 Don't set the menu border explicitly, now we have the inner-border
5765 style property for that.
5767 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-app-menu.c (hildon_app_menu_init):
5770 Make the window modal
5772 * src/hildon-note.c (hildon_note_map)
5773 * src/hildon-app-menu.c (hildon_app_menu_map):
5774 Destroy the grab window if we're unable to grab the pointer
5776 * src/hildon-app-menu-private.h
5777 * src/hildon-app-menu.c
5778 (hildon_app_menu_init, hildon_app_menu_finalize)
5779 (hildon_app_menu_map, hildon_app_menu_unmap)
5780 (hildon_app_menu_button_release)
5781 (grab_transfer_window_get):
5782 Bring back the grab window
5783 (hildon_app_menu_realize):
5784 Decorate the window, set WM hint for Matchbox
5786 * src/hildon-note.c (hildon_note_realize):
5787 * src/hildon-banner.c (hildon_banner_realize):
5788 Add WM hints for Matchbox
5790 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-app-menu-private.h
5793 * src/hildon-app-menu.c
5794 (hildon_app_menu_init, hildon_app_menu_finalize)
5795 (hildon_app_menu_map, hildon_app_menu_unmap)
5796 (hildon_app_menu_button_release):
5797 Remove the grab window, it's not needed anymore
5799 * src/hildon-program.c
5800 Fixed typo in documentation
5802 * src/hildon-app-menu.h
5803 * src/hildon-app-menu.c
5804 * examples/hildon-app-menu-example.c
5805 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5807 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5810 Added new transfer_window and close_if_pressed_outside private
5812 (hildon_note_rebuild):
5813 Don't add a cancel button to the information note. It will be
5814 closed when tapping outside
5815 Remove the comment about the OK button in the documentation
5816 (hildon_note_realize):
5817 Set the notification type hint
5818 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5819 Grab/ungrab pointer and keyboard if the note has to be closed when
5821 (hildon_note_button_release):
5822 Close the note when tapping outside (if applicable)
5824 * src/hildon-app-menu.c
5825 Grab/ungrab pointer and keyboard on map/unmap
5826 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5827 Close the menu on button release, not button press
5829 * src/hildon-banner.c
5830 (hildon_banner_set_property)
5831 (hildon_banner_check_position):
5832 Make the banner use the full width of the screen
5833 (hildon_banner_show_information)
5834 (hildon_banner_show_information_with_markup):
5835 Don't display an icon by default
5837 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5839 Added fading scrollbars and adapted all the overshooting code to
5840 horizontal scrolling. We have also fixed bugs with overshooting
5841 and current fading implementation.
5843 * src/hildon-pannable-area.c
5844 (hildon_pannable_area_scroll_indicator_fade): Time out function
5845 used to change the transparency of the scrollbars.
5847 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5848 control and fixed a problem with fading, we now remove the fade
5849 timeout before adding a new one.
5851 (hildon_pannable_axis_scroll):
5852 (hildon_pannable_area_scroll):
5853 (hildon_pannable_area_timeout): Added this functions so we can use
5854 the scroll code both for vertical and horizontal.
5856 (hildon_pannable_area_motion_notify_cb):
5857 (hildon_pannable_area_button_release_cb): Added the horizontal
5858 scrolling control, fixed a problem with the overshooting timeout.
5860 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5861 painting of the scrolls.
5863 (hildon_pannable_draw_vscroll):
5864 (hildon_pannable_draw_hscroll):
5865 (hildon_pannable_area_expose_event):
5866 Draw both scrollbars and rectangles in the overshooting area.
5868 (hildon_pannable_area_get_property):
5869 (hildon_pannable_area_set_property):
5870 Modified the overshoot property to overshoot_max
5872 (hildon_pannable_area_map):
5873 Replaced the comments symbols.
5875 (hildon_pannable_area_size_allocate):
5876 (hildon_pannable_area_class_init):
5877 (hildon_pannable_area_init): Added horizontal scroll, fading
5878 effect properties, fixed a problem when overshooting in the bottom
5881 * examples/hildon-pannable-area-example.c:
5882 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5883 looks better in the example.
5885 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-window.c
5888 * src/hildon-window.h
5889 (hildon_window_class_init)
5890 (hildon_window_unset_program)
5891 (hildon_window_unset_program_real):
5892 Make unset_program a virtual function
5894 * src/hildon-stackable-window.c
5895 * src/hildon-stackable-window.h
5896 Added hildon_stackable_window_go_home()
5898 * examples/Makefile.am
5899 * examples/hildon-stackable-window-example.c
5900 HildonStackableWindow example
5902 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5904 * hildon-pannable-area.c: Added the overshoot property and removed
5905 the OVERSHOOT define. Fixed an indent style error.
5906 (hildon_pannable_area_motion_notify_cb):
5907 (hildon_pannable_area_get_property):
5908 (hildon_pannable_area_set_property): Add overshoot property.
5910 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5913 (hildon_pannable_area_class_init): Installed the new property.
5915 * hildon-pannable-area-example.c: Added a sawtooth function, this
5916 way it is easier to check the movement in the pannable.
5917 (get_sawtooth_label): Added this function.
5918 (main): Now we get the labels from the new get_sawtooth_label
5921 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-app-menu.h
5924 * src/hildon-app-menu.c
5925 Renamed API variables for consistency
5927 (hildon_app_menu_popup): Use also the default window size to
5928 decide where to place the menu
5930 (hildon_app_menu_init, hildon_app_menu_class_init): New
5931 external-border style property
5933 2008-05-26 Michael Natterer <mitch@imendio.com>
5935 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5936 widget_class->tap_and_hold_setup signal slot doesn't exist any
5937 longer, stop overriding it.
5939 (hildon_time_editor_init): g_signal_connect() to the
5940 tap-and-hold-setup signal instead.
5942 (hildon_time_editor_entry_keypress): add cast to fix warning.
5944 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5946 * doc/hildon-docs.sgml
5948 * examples/Makefile.am
5949 * examples/hildon-app-menu-example.c
5951 * src/hildon-app-menu-private.h
5952 * src/hildon-app-menu.c
5953 * src/hildon-app-menu.h
5955 New HildonAppMenu widget
5957 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5959 Rearranged the inheritance of the pannable area, now it inherits
5960 from GtkBin. This will allow us to control the event_window and
5961 the allocation process of the widget, required for some effects.
5963 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5964 GtkBin structures. * src/hildon-pannable-area.c: Added the
5965 event_window variable.
5966 (hildon_pannable_area_button_press_cb):
5967 (hildon_pannable_area_button_release_cb):
5968 (hildon_pannable_area_motion_notify_cb):
5969 Changed the signature of the method, now we override the event
5970 callback instead of connecting to the signal.
5972 (hildon_pannable_area_realize):
5973 (hildon_pannable_area_unrealize):
5974 (hildon_pannable_area_map):
5975 (hildon_pannable_area_unmap):
5976 (hildon_pannable_area_size_allocate):
5977 Added functions to control the widget construction. We add a
5978 INPUT_ONLY window and we put it over the widgets inside the
5979 container, this event_window handles the events.
5981 (hildon_pannable_area_class_init):
5982 Replaced the signal connections with overrides of the event
5985 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5987 Bouncing effect added when touching the borders, you can change
5988 the elasticity of the border changing the ELASTICITY define.
5990 * src/hildon-pannable-area.c: Added ELASTICITY define.
5991 (hildon_pannable_area_timeout): Added inverse velocity when
5992 touching the border of the child widget, that causes a bounce.
5994 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5996 Improved performance, we now do not go to the X server in order to
5997 get the list of window children. Apparently the effect is the
5998 same, we have to be careful and check if this breaks something in
6001 * src/hildon-pannable-area.c:
6002 (get_ordered_children): Removed this function.
6003 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6004 the children windows function with gdk_window_get_children.
6006 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6008 * src/hildon-pannable-area.c:
6009 (hildon_pannable_area_dispose): Fixed a crash when closing the
6010 window and kinetics is activated.
6012 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-pannable-area.h
6015 * src/hildon-pannable-area.c
6016 Changed indentation style to meet the one used in Hildon
6018 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6020 Reviewed the interaction of the AUTO mode, now we use the time
6021 attribute of the events and calculate the velocity in the motion,
6022 doing a gimp like calculation. The velocity is calculated in each
6023 motion event using the last velocity and the current one, the
6024 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6026 * src/hildon-pannable-area.c: Replaced the time based algorithm
6028 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6029 timeout for the AUTO mode when we are still moving the cursor. We
6030 added also the velocity calculation in this function.
6031 (hildon_pannable_area_button_release_cb): launch the timeout in
6032 case we are in AUTO mode. There are still some constants here that
6033 come from the old implementation that should be reviewed and
6036 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6038 * doc/hildon-docs.sgml
6041 * src/hildon-stackable-window.c
6042 * src/hildon-stackable-window.h
6044 New HildonStackableWindow widget
6046 * examples/hildon-dialog-example.c
6047 * examples/hildon-pannable-area-example.c
6050 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-dialog.c
6053 (hildon_dialog_new_with_buttons): New constructor.
6055 * examples/hildon-dialog-example.c
6056 (main): Update the example to use the new
6057 hildon_dialog_new_with_buttons().
6059 * examples/hildon-pannable-area-example.c
6060 (main): Update example.
6062 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6064 * doc/hildon-docs.sgml
6066 Added HildonPannableArea to the documentation.
6068 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6070 * doc/visual_index.xml
6071 Fix reference to HildonLoginDialog in documentation
6073 * doc/hildon-docs.sgml
6075 * examples/Makefile.am
6076 * examples/hildon-dialog-example.c
6078 * src/hildon-dialog.c
6079 * src/hildon-dialog.h
6081 New HildonDialog widget.
6083 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-pannable-area.c
6086 Merge latest changes (r4318, r4342) from libmokoui trunk
6088 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6090 * examples/Makefile.am
6091 * examples/hildon-pannable-area-example.c
6093 * src/hildon-pannable-area.c
6094 * src/hildon-pannable-area.h
6096 New HildonPannableArea widget.
6098 2008-04-15 18:05:19 <timj@imendio.com>
6100 * src/hildon-banner.c: revert the recent change, that introduced
6101 gtk_window_present() calls. this reopens:
6102 Bug 78481 - [freetest] information banners are hidden under browser menu
6103 But resolves another variant of:
6104 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6106 2008-04-15 13:21:13 <timj@imendio.com>
6108 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6109 recreated its layout, spotted by Kris. this fixes all remaining
6110 artefacts and stability issues with the banner code. in particular:
6111 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6113 2008-04-14 16:52:59 <timj@imendio.com>
6115 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6116 operating on unrealized widgets, fixes:
6117 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6119 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6121 2008-04-09 Kristian Rietveld <kris@imendio.com>
6123 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6124 makes banner disappear.
6125 Fixes: NB#79182: info banner flickering with certain message lengts.
6127 * src/hildon-banner.c (hildon_banner_constructor),
6128 (hildon_banner_init), (hildon_banner_set_text),
6129 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6130 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6131 FALSE, reset size requests of label and banner,
6132 (force_to_wrap_truncated): when the text is too wide, always enforce
6133 the maximum possible width instead of recalculating it from the
6134 layout; enforce the maximum banner height of 3 lines,
6135 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6136 nicer wrapping and no truncated chars if space gets tight.
6138 * src/hildon-banner-private.h: add has_been_wrapped and
6139 has_been_truncated fields.
6141 2008-04-07 Sven Herzberg <sven@imendio.com>
6143 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6144 local values in hildon_date_editor_size_allocate
6146 * src/hildon-date-editor.c: moved the real allocation code into the
6149 2008-04-07 Sven Herzberg <sven@imendio.com>
6151 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6152 local values in hildon_date_editor_size_allocate
6154 * src/hildon-date-editor.c: merged the two if() branches together
6156 2008-04-07 Sven Herzberg <sven@imendio.com>
6158 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6159 local values in hildon_date_editor_size_allocate
6161 * src/hildon-date-editor.c: changed the arguments of the if()
6164 2008-04-07 Sven Herzberg <sven@imendio.com>
6166 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6167 local values in hildon_date_editor_size_allocate
6169 * src/hildon-date-editor.c: split the calculation of the allocation
6170 from the real allocation
6172 2008-03-27 Michael Natterer <mitch@imendio.com>
6174 Fixes: NB#81696: The passcode is not overwritten even after
6177 * src/hildon-code-dialog.c
6178 (hildon_code_dialog_button_clicked)
6179 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6180 because that doesn't overwrite selected text. Instead, emit the
6181 "commit" signal on the entry's im_context so the entry's normal
6182 insert logic is triggered. Set the cursor to the end of the entry
6183 after each insert operation so that we *only* insert in the middle
6184 of the text if something was selected.
6186 2008-03-27 Michael Natterer <mitch@imendio.com>
6188 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6189 selector cannot be opened
6191 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6192 when the popup color selector is created. Please connect to this
6193 signal in order to set the dialog's help ID.
6195 2008-03-25 Sven Herzberg <sven@imendio.com>
6197 Fixes: MB#1212: Hide info banners (infoprints) on click
6199 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6200 extracted the close event simulation into an extra function
6201 (hildon_banner_button_press_event): simulate a close event and destroy
6202 the widget if the event wasn't handled
6203 (hildon_banner_class_init): added the button_press_event handler
6204 (hildon_banner_init): added button-press events to the widget
6206 2008-03-25 Sven Herzberg <sven@imendio.com>
6208 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6209 Patch from: Mohammad Anwari <mdamt@maemo.org>
6211 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6212 instead of the right in RTL mode
6213 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6214 breadcrumb button list in RTL mode
6215 * src/hildon-caption.c: mirror the appearance of the caption widget in
6217 * src/hildon-date-editor.c: mirror appearance of the date editor in
6219 * src/hildon-time-editor.c: mirror appearance of the time editor in
6221 * src/hildon-window.c: fix the position of the popup in RTL mode
6223 2008-03-25 Sven Herzberg <sven@imendio.com>
6225 Amendment to the fix of NB#22072. Fix compilation.
6227 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6229 2008-03-19 Sven Herzberg <sven@imendio.com>
6231 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6234 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6235 timeout id properly when the timeout will disappear this leaves no
6236 artifacts around in the destroy(); there will only be the timeout
6237 created by hildon_banner_ensure_timeout() and adding a new timeout
6238 will also work if the timeout gets removed because the timeout_handler
6241 2008-03-19 Michael Natterer <mitch@imendio.com>
6243 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6245 * src/hildon-volumebar.c
6246 * src/hildon-vvolumebar.c
6247 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6248 the widget becomes focussable at all.
6250 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6251 set the focus to wither the mute button or the volumebar.
6253 Remove own "can-focus" property and instead listen to
6254 notify::can-focus in order to update the widget's state.
6256 Implement GtkWidget::focus() and make sure we can also *leave* the
6257 widget, not only enter it, depending on volumebar orientation and
6258 requested focus direction.
6260 Clean up set_mute() to cooperate nicely with all the above.
6262 2008-03-04 Michael Natterer <mitch@imendio.com>
6264 Fixes: NB#78481: information banners are hidden under browser menu
6266 * src/hildon-banner.c: call gtk_window_present() on the banners so
6267 they are risen if they are already visible.
6269 2008-03-03 Sven Herzberg <sven@imendio.com>
6271 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6273 * examples/hildon-window-menu-example.c: (main): extended the window
6274 menu example to serve as a testcase for automatically added
6275 accelerator groups, too
6276 * src/hildon-window.c: (hildon_window_add_accel_group),
6277 (hildon_window_set_menu): added patch by Tommi Komulainen
6279 2008-03-03 Sven Herzberg <sven@imendio.com>
6281 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6283 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6284 knowledge about the border allocators used within GTK+
6286 2008-02-26 Sven Herzberg <sven@imendio.com>
6288 Fixes: MB#2981: Build with asserts broken
6290 * src/hildon-date-editor.c,
6291 * src/hildon-number-editor.c,
6292 * src/hildon-time-editor.c,
6293 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6294 the proper GType instance check
6296 2008-02-25 Sven Herzberg <sven@imendio.com>
6298 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6300 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6301 * examples/hildon-window-menu-example.c: (main): explicitly show
6303 * src/hildon-window.c:
6304 (hildon_window_set_main_menu): moved most of the code from set_menu()
6305 to this place; skipped the call to gtk_widget_show_all(); also didn't
6306 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6307 (hildon_window_set_menu): removed most of the code, just keep the
6308 questionable gtk_widget_show_all()
6309 * src/hildon-window.h: added the new function and deprecate the old
6312 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6318 * debian/changelog: Updating.
6320 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6323 * pkgconfig/Makefile.am:
6324 * pkgconfig/hildon.pc.in:
6327 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6328 use newly created API_MAJOR_VERSION.
6330 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6336 * debian/changelog: Updating.
6338 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6340 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6342 Add outer_border style property, we use it but don't define it (!).
6346 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6348 * examples/hildon-bread-crumb-trail-example.c (main):
6352 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6354 Fix logic for the bread crumb trail node removal.
6358 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6364 * debian/changelog: Updating.
6366 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6368 Patch by Alejandro to get/set passwords dialogs accesibility.
6370 * hildon-1/src/hildon-get-password-dialog.c:
6371 * hildon-1/src/hildon-set-password-dialog.c:
6372 Set atk_set_name to the passwd entries in order to allow
6373 accessibility by name on this entries.
6375 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6380 * debian/control: Updating gtk dep.
6382 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6384 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6385 USE_MAEMO_GTK is enabled.
6387 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6389 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6390 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6392 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6398 * debian/changelog: Updating.
6400 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6402 * examples/Makefile.am:
6403 * examples/hildon-logical-color-example.c:
6404 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6405 applied + adding a test case. Fixes: NB#71660.
6407 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6409 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6410 to be visible, fixes warning on map for windows without toolbars.
6412 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6414 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6415 2.11.0, add a check for that besides the MAEMO_GTK check.
6417 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6423 * debian/changelog: Updating.
6425 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6427 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6428 visibility. Fixes: NB#70842 and MB#615.
6430 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6432 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6433 set the separator as no-show-all so it doesn't unintentionally appear when
6434 someone does a show_all.
6436 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6439 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6440 toplevel item. Fixes: NB#62031
6442 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6445 fix the name of the function in the docs.
6447 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6453 * debian/changelog: Updating.
6455 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6457 * examples/hildon-banner-long-example.c: Adding a test-case for long
6460 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6462 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6464 * src/hildon-color-chooser-dialog.c:
6465 * src/hildon-color-chooser.c:
6466 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6467 memory leaks in font selector and color selector. Fixes: NB#70499 and
6470 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6472 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6474 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6476 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6477 little bit bigger. Fixes: #NB63694.
6479 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6485 * debian/changelog: Updating.
6487 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * doc/hildon-docs.sgml:
6491 * doc/images/bread-crumb-trail.png:
6492 * doc/images/calendar-popup.png:
6493 * doc/images/caption.png:
6494 * doc/images/code-dialog.png:
6495 * doc/images/color-button.png:
6496 * doc/images/color-chooser-dialog.png:
6497 * doc/images/color-chooser.png:
6498 * doc/images/controlbar.png:
6499 * doc/images/date-editor.png:
6500 * doc/images/font-selection-dialog.png:
6501 * doc/images/get-password-dialog.png:
6502 * doc/images/hvolumebar.png:
6503 * doc/images/login-dialog.png:
6504 * doc/images/note.png:
6505 * doc/images/number-editor.png:
6506 * doc/images/range-editor.png:
6507 * doc/images/seekbar.png:
6508 * doc/images/set-password-dialog.png:
6509 * doc/images/sort-dialog.png:
6510 * doc/images/time-editor.png:
6511 * doc/images/time-picker.png:
6512 * doc/images/vvolumebar.png:
6513 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6514 Adding the bread-crumb-trial and helpers to the documentation.
6516 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6518 * examples/hildon-find-toolbar-example.c:
6519 * src/hildon-find-toolbar.c:
6520 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6521 actually continue firing the other handlers if connected. Adding a new
6523 hildon_find_toolbar_get_last_index that gets the index of the most
6524 recently added (last) item. Fixes: NB#52301.
6526 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6529 behaviour. Fixes: NB#68610.
6531 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6533 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6536 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6538 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6539 when realizing the banner. Should make the infonbanner effect a bit more
6542 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6544 * src/hildon-volumebar.c:
6545 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6546 hildon_volumebar_set_range_insensitive_message and
6547 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6549 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6551 * src/hildon-window.c: Fixing the border freeing on destroy.
6553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6555 * src/hildon-code-dialog-private.h:
6556 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6557 kw keyboard support in HildonCodeDialog.
6559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6565 * debian/changelog: Updating.
6567 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6569 * src/hildon-date-editor.c:
6570 * src/hildon-number-editor.c:
6571 * src/hildon-private.c:
6572 * src/hildon-private.h:
6573 * src/hildon-time-editor.c:
6574 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6575 handling in subclassed composite widgets. Fixes: NB#66628.
6577 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6579 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6580 from destroy_ callback as it introduces problems in async dbus signal
6581 handlers. Fixes NB#66673.
6583 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6585 * examples/hildon-hvolumebar-example.c:
6586 * src/hildon-volumebar.c: Improving the focus handling in the
6587 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6588 set_property accessor so that "mute" property can be actually set. I'm
6589 scared that nobody noticed it's totally broken.
6591 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6593 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6596 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6598 * src/hildon-calendar.c:
6599 * src/hildon-number-editor.c:
6600 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6601 matches the spec of 6 chars per second. Fixes: NB#60489.
6603 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6605 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6606 gtk_style_lookup_color sometime returns FALSE even though color was
6607 found and values were filled properly. Weird. Removing the warning for the
6610 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6613 expand vertically. Adding some extra space to the find toolbar buttons to
6614 make them thumbable. Fixes NB#66060.
6616 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6618 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6619 popup with "Ok" and "Cancel". Fixes NB#59299.
6621 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6623 * src/hildon-calendar.c: Process all window updates before executing next
6624 timeout. Fixes: NB#54146.
6626 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6632 * debian/changelog: Updating.
6634 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6636 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6637 the client event and ignore it, since we use the delete event to close
6640 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6642 * src/hildon-helper.c: Remove the bogus warning about color not being
6643 found. Fixes NB#58352.
6645 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6647 * examples/Makefile.am:
6648 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6649 HildonSeekbar widget inside a toolbar.
6651 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6653 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6654 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6655 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6656 don't want to be closed by non-temporary windows on map.
6658 Also use G_DEFINE_TYPE instead of manually typed code.
6660 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6667 * debian/rules: Updating.
6669 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6671 * examples/Makefile.am:
6672 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6673 bug NB#61128. Strangely it works.
6675 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6677 * src/hildon-date-editor.c: When the date editor entry has been changed
6678 but the numbers of characters < max, turn off the skip validation flag.
6679 Prevents a situation when we enter first a valid year and later re-write
6680 it with an invalid one. Fixes NB#60154.
6682 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6684 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6685 code dialog. Fixes NB#64355.
6687 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6689 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6690 switching the page. Fixes NB#49374.
6692 * examples/Makefile.am:
6693 * examples/hildon-wizard-dialog-example.c: Adding an example for
6694 HildonWizardDialog that shows how to handle manual sensitivity setting on
6697 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6701 * src/hildon-version.h.in:
6702 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6704 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6706 * src/hildon-volumebar.c: Updating the docs.
6708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6714 * debian/changelog: Updating.
6716 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6718 * src/hildon-find-toolbar.c:
6719 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6720 selected item: hildon_find_toolbar_set_active,
6721 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6722 hildon_find_toolbar_get_active_iter . They correspond to respective
6723 GtkComboBox functions.
6725 * examples/Makefile.am:
6726 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6729 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6731 * examples/Makefile.am:
6732 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6735 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6736 when font size > 32 and we pack a focusable widget inside. Actually using
6737 the default response would work too, but since we don't show default
6738 response state in any way (no theming) it would not be visible to the
6739 user. Fixes NB#63430.
6741 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6743 * src/hildon-date-editor.c: Adding the missing variable setter in the
6744 set_property handler. Fixes NB#54182.
6746 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6748 * src/hildon-window.h: Changing the long key press time from 1500ms to
6749 800ms as requested in NB#63700. I have a bad feeling about this, let's
6750 see... Fixes NB#63700.
6752 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6754 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6755 hildon_time_picker_map, hildon_time_picker_realize,
6756 hildon_time_picker_style_set): Split the contents of map to more
6757 appropriate functions; set window decorations on realize and update
6758 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6760 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6765 * debian/changelog: Updating.
6767 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6769 * src/Makefile.am: fixed installation of the header files
6771 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6777 * debian/changelog: Updating.
6779 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6781 * configure.ac: Removing some remaining of --enable-xan.
6783 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6785 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6786 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6788 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6789 2.10.12-osso6 because the move-focus signal needs to be available in
6792 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6794 * examples/Makefile.am:
6795 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6796 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6797 fine. Prolly NB#61128 is fixed now.
6799 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * src/hildon-volumebar.c:
6802 * src/hildon-volumebar.h: Adding the
6803 hildon_volumebar_set_range_insensitive_message and
6804 hildon_volumebar_set_range_insensitive_messagef functions to set
6805 insensitive message on the slider of the volumebar. Fixes NB#61129.
6807 * examples/Makefile.am:
6808 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6809 test the new insensitive messsage functionality on HildonVolumebar.
6811 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6813 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6816 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6818 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6819 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6820 button on after clearing the trail.
6822 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6824 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6826 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6828 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6829 by splitting the installed headers in generated and non-generated groups. Use
6830 only the non-generated headers to create the hildon-enum-types.h file.
6832 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6834 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6836 * src/hildon-window.c: Hide the window before performing the destroy.
6837 Should make the app closing a little tiny bit more snappy.
6839 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6841 * src/hildon-seekbar.c: add gtkrange.h header
6842 * src/hildon-caption.c: remove unused variable
6844 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6846 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6849 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6855 * debian/changelog: Updating.
6857 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6859 * src/hildon-window.c (hildon_window_window_state_event,
6860 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6861 escape timeout on focus-out-event rather than notify::is-topmost; the
6862 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6864 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6866 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6867 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6869 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6871 * src/hildon-window: actually, you need to use the macro always, there's
6872 no private pointer in the instance structure. We should have cleaned this up
6873 when we had the chance...
6875 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6877 * src/hildon-window.c: do not get the private date from HildonWindow before
6878 it passes the g_return_if_fail check. Once it's passed the test, there's no
6879 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6880 if you are only going to access the data once. Whitespace cleanups.
6882 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6884 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6885 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6887 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6893 * debian/changelog: Updating.
6895 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6897 * src/hildon-window.c: When destroying the window, remove (if exists) the
6898 escape timeout handler. Fixes #NB59276.
6900 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6902 * src/hildon-banner.c: When realizing the widget, set the window
6903 transiency. Setting the transiency in the gobject constructor is not
6904 good, as the widget is not realized at that point. Fixes: #NB56624.
6906 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6908 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6909 Add padding for future expansions.
6911 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6913 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6914 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6915 will fake an activation on the previous to the last item of the trail, so
6916 the effect can be overrided by the developer as usual.
6917 Also change the callback for the back button to do the same thing, so its
6918 effect can be overrided too. Fixes: NB#58982
6920 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6922 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6923 HildonCaption. Fixes NB#52379.
6925 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6927 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6928 the internal state of the trail after the user has had the chance of executing
6929 his handler for the signal. Specifically, it may happen that the activated button
6930 is removed and the user still lets the default handler run. This would segfault
6933 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6935 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6936 scrollbar to the preview dialog. Fixes NB#54147.
6938 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6940 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6941 max/min year properties can be altered, so the client can modify it
6942 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6946 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6947 hildonlike by default. Fixing a problem with disappearing arrows when
6948 scrolling through months and years. Fixes NB#54127.
6950 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6952 * examples/hildon-date-editor-example.c: Adding error callback to the date
6955 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6961 * configure.ac: Updating.
6963 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6965 * configure.ac: Adding a special '--enable-xan' configure option that
6966 turns off the -Werror compilation setting. Usefull for development.
6968 * src/hildon-calendar.c:
6969 * src/hildon-number-editor.c:
6970 * src/hildon-time-picker.c: Adding the 5* multiplier to
6973 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6975 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6976 instead of g_object_ref + gtk_object_sink.
6978 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6984 * debian/changelog: Updating.
6986 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6988 * src/hildon-color-chooser-dialog.c:
6989 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6990 straight from Tommi labs.
6992 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6994 * examples/hildon-finger-example.c: Correcting the header file path.
6996 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6997 the changed signal. Fixes a small memory leak.
6999 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7003 * src/hildon-banner.c: Importing several usefull fixes from the
7004 ubuntu-mobile branch.
7006 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 * examples/Makefile.am:
7009 * examples/hildon-finger-example.c: Adding a finger-checking code
7012 * src/hildon-font-selection-dialog.c: Do not allocate the color
7013 structure using the g_new. Fixes NB#54061.
7015 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7017 * src/hildon-helper.c: Correcting tabs in file.
7019 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7021 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7022 control the visibility of the children.
7024 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7026 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7032 * debian/changelog: Updating.
7034 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7036 * src/hildon-bread-crumb-trail.c:
7037 (hildon_bread_crumb_trail_size_allocate):
7039 Make the back button always a square.
7041 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7043 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7044 from the .c file as it's a private file.
7046 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7048 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7049 uses slightly bigger height.
7051 * src/hildon-font-selection-dialog.c: Adding some checks before
7052 freeing memory in the font selection dialog.
7054 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * src/hildon-font-selection-dialog.c: Adding a small check when
7059 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7060 buttons sensitivity on page switching.
7062 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7064 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7065 internal details of adding a bread crumb to the trail.
7067 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7073 * debian/changelog: Updating.
7075 * src/hildon-bread-crumb-trail.h:
7076 * src/hildon-bread-crumb.h: Changing the API guard to
7077 HILDON_ENABLE_UNSTABLE_API.
7079 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7087 * src/hildon-helper.h: Updating.
7089 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7097 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * src/hildon-helper.h: Small fix to make the package actually compile.
7103 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7105 * src/hildon-bread-crumb-trail.h:
7106 * src/hildon-bread-crumb.h:
7108 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7109 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7111 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7113 * examples/hildon-bread-crumb-trail-example.c:
7115 * src/hildon-bread-crumb-trail.c:
7116 * src/hildon-bread-crumb-trail.h:
7117 * src/hildon-bread-crumb.c:
7118 * src/hildon-bread-crumb.h:
7119 * src/hildon-marshalers.list:
7120 * src/hildon-bread-crumb-widget.c:
7121 * src/hildon-bread-crumb-widget.h:
7123 Slight change in the widget design. The bread crumb trail API is
7124 unchanged, but HildonBreadCrumb is now an interface. A *private*
7125 implementation, hildon-bread-crumb-widget, is provided and used
7126 internally by the trail for the push_text/push_icon functions.
7128 The generic push API is still available, so anyone can implement
7129 and use its own bread crumb widget.
7131 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 * debian/rules: Fixing the shlibs.
7135 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7137 * src/hildon-banner.c: Fixing a problem with timed banners having
7138 their parrent destroyed before they are.
7140 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7142 * src/hildon-bread-crumb.c:
7143 * src/hildon-bread-crumb.h:
7145 Make the get_natural_size function a vfunc.
7147 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7149 * src/hildon-bread-crumb.c:
7150 * src/hildon-bread-crumb-trail.c:
7154 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7161 * debian/changelog: Updating for release.
7163 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7165 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7166 don't leak the pango layout.
7168 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7171 * examples/hildon-bread-crumb-trail-example.c:
7175 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7177 * debian/changelog: Removing the bug-fixed entries that were actually
7178 resolved as WONTFIX.
7180 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7183 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7185 * src/hildon-bread-crumb-trail.c:
7186 * src/hildon-bread-crumb-trail.h:
7187 * src/hildon-bread-crumb.c:
7188 * src/hildon-bread-crumb.h:
7192 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7194 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7195 until it's passed the type check.
7197 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7199 * examples/hildon-bread-crumb-trail-example.c
7203 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7205 * examples/Makefile.am
7206 * examples/hildon-bread-crumb-trail-example.c
7208 * src/hildon-bread-crumb-trail.c
7209 * src/hildon-bread-crumb-trail.h
7210 * src/hildon-bread-crumb.c
7211 * src/hildon-bread-crumb.h
7213 New HildonBreadCrumbTrail widget.
7215 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7217 * src/hildon-range-editor.c (hildon_range_editor_init),
7218 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7219 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7220 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7221 hildon_time_editor_class_init, hildon_time_editor_init),
7222 src/hildon-get-password-dialog.c (invalid_input,
7223 hildon_get_password_set_property, hildon_get_password_get_property,
7224 create_contents, hildon_get_password_dialog_set_max_characters),
7225 src/hildon-set-password-dialog.c (create_contents),
7226 src/hildon-date-editor.c (hildon_date_editor_init),
7227 src/hildon-login-dialog.c (hildon_login_dialog_init),
7228 src/hildon-number-editor.c (hildon_number_editor_init),
7229 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7230 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7231 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7232 configure option and adding the respective checks in the code.
7233 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7234 hildon_calendar_drag_data_received): fixed some build warnings.
7236 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7238 * debian/changelog: A 1.0.0 release notes.