1 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4 * src/hildon-button.c (hildon_button_init)
5 (hildon_button_set_arrangement, hildon_button_set_alignment)
6 (hildon_button_set_title_alignment)
7 (hildon_button_set_value_alignment)
8 (hildon_button_set_image_alignment)
9 (hildon_button_construct_child): New methods to set the alignment
10 of the individual components of the button (title, value,
11 image). Also, new method to alter the xscale and yscale properties
12 of the GtkAlignment inside the button, so more complex layouts can
15 2008-08-27 Alberto Garcia <agarcia@igalia.com>
17 * src/hildon-button.c (hildon_button_style_set)
18 (hildon_button_class_init, hildon_button_set_arrangement)
19 (hildon_button_construct_child): Apply style properties
20 correctly. Use the 'image-spacing' style property too.
22 2008-08-26 Alberto Garcia <agarcia@igalia.com>
24 * src/hildon-app-menu.c (hildon_app_menu_style_set)
25 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
28 2008-08-26 Alejandro G. Castro <alex@igalia.com>
30 * src/hildon-pannable-area.c,
31 (hildon_pannable_area_size_request): Fixed problem with
32 pannable-area size_request.
34 2008-08-26 Alejandro G. Castro <alex@igalia.com>
36 Added management for the grab-focus to a child widget, like a
37 range, we need to fade out the scrollbar when releasing.
39 * src/hildon-pannable-area.c,
40 (hildon_pannable_area_init): Connected the grab-focus signal to
42 (hildon_pannable_area_grab_notify): Added this function in order
43 to manage the situation when the grab-focus ends. We have to
44 fade-out the scrollbar.
46 2008-08-25 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-app-menu.c: Minor documentation update.
50 2008-08-25 Alberto Garcia <agarcia@igalia.com>
52 * src/hildon-app-menu.c
53 * examples/hildon-app-menu-example.c (create_menu): Update
54 examples and documentation to explain how to connect callbacks.
56 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
58 * examples/hildon-button-example.c
59 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
60 hildon_stackable_window_new instead of gtk_window_new
62 2008-08-22 Alejandro G. Castro <alex@igalia.com>
64 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
65 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
66 (hildon_pannable_area_set_property),
67 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
68 (hildon_pannable_area_unrealize),
69 (hildon_pannable_area_size_request),
70 (hildon_pannable_area_size_allocate),
71 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
72 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
73 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
74 (hildon_pannable_area_initial_effect),
75 (hildon_pannable_area_redraw),
76 (hildon_pannable_area_scroll_indicator_fade),
77 (hildon_pannable_area_expose_event),
78 (hildon_pannable_area_get_topmost), (synth_crossing),
79 (hildon_pannable_area_button_press_cb),
80 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
81 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
82 (hildon_pannable_area_motion_notify_cb),
83 (hildon_pannable_area_button_release_cb),
84 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
85 (hildon_pannable_area_remove),
86 (hildon_pannable_calculate_vel_factor): Widget refactorization,
87 chage the code layout to a more GtkWidget like. Review the use of
90 2008-08-21 Alejandro G. Castro <alex@igalia.com>
92 * examples/hildon-pannable-area-example-4.c,
93 (main): Modified the name of the hindicator_mode to
96 * src/hildon-pannable-area.c,
97 (hildon_pannable_area_class_init),
98 (hildon_pannable_area_motion_notify_cb),
99 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
100 we have reduced the amount of signals and managed reviewed its
101 rationale. Changed the default decelerate value.
103 (hildon_pannable_area_add),
104 (hildon_pannable_area_redraw): Refactored functions.
106 (hildon_pannable_area_init),
107 (hildon_pannable_area_get_property),
108 (hildon_pannable_area_set_property):
109 (hildon_pannable_draw_vscroll),
110 (hildon_pannable_draw_hscroll),
111 (hildon_pannable_area_initial_effect),
112 (hildon_pannable_area_expose_event),
113 (hildon_pannable_area_scroll),
114 (hildon_pannable_area_button_press_cb),
115 (hildon_pannable_area_realize): Replaced the names hindicator_mode
116 and vindicator_mode with hscrollbar_policy and
117 vscrollbar_policy. Replaced hscroll and vscroll with
118 hscroll_visible and vscroll_visible.
120 (hildon_pannable_area_refresh): Refactor the function, remove
121 variables and check the calls to this function, added resize
122 conditions in case the children change their layout.
124 (hildon_pannable_area_size_request): Added more detailed
125 size_request calculation.
128 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
130 * src/hildon-color-chooser.c
131 (init_borders): use the correct gtk_border_free instead of g_free, to
132 avoid a crash when this widget is used (ie: the three color selection
135 2008-08-20 Alejandro G. Castro <alex@igalia.com>
137 * src/hildon-check-button.c,
138 (hildon_check_button_set_active): Fixed problem when setting the
139 active value, the widget was not redrawn.
141 2008-08-20 Alejandro G. Castro <alex@igalia.com>
143 * src/hildon-pannable-area.c,
144 (hildon_pannable_area_refresh),
145 (hildon_pannable_area_scroll),
146 (hildon_pannable_area_motion_notify_cb): Small code style change.
148 (hildon_pannable_area_class_init): Default initial_hint set to
149 FALSE, it is not in the specs.
151 (hildon_pannable_area_initial_effect),
152 (hildon_pannable_area_expose_event),
153 (hildon_pannable_area_map),
154 (hildon_pannable_area_init): Moved the launching point of the
155 initial effect, it was in map but the sizes where not correct in
156 that method so we do not know if we have the reproduce it. Now it
157 is placed in the expose_event method and uses a variable to
158 reproduce it just once.
160 2008-08-19 Alejandro G. Castro <alex@igalia.com>
162 * src/hildon-pannable-area.c,
163 (hildon_pannable_draw_vscroll),
164 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
165 position allowed for the scrollbars.
167 (hildon_pannable_area_size_allocate): Small style change.
169 2008-08-19 Alejandro G. Castro <alex@igalia.com>
171 * src/hildon-pannable-area.c,
172 (hildon_pannable_area_scroll_indicator_fade),
173 (hildon_pannable_area_button_press_cb),
174 (hildon_pannable_area_button_release_cb),
175 (hildon_pannable_area_scroll_cb),
176 (hildon_pannable_area_expose_event),
177 (hildon_pannable_area_init): Added the define parameter
178 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
179 and refactor the fade variable.
181 2008-08-19 Alejandro G. Castro <alex@igalia.com>
183 * src/hildon-pannable-area.c,
184 (hildon_pannable_area_redraw),
185 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
186 lines, we were reimplemeting the redraw code.
188 2008-08-18 Alejandro G. Castro <alex@igalia.com>
190 * src/hildon-pannable-area.c,
191 (hildon_pannable_area_scroll_cb),
192 (hildon_pannable_area_realize),
193 (hildon_pannable_area_class_init): Added scroll_event management
194 for pannable area, now we can scroll the usual desktop method.
196 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
197 initialization of the parameters should depend on idle_id.
199 (hildon_pannable_area_init),
200 (hildon_pannable_area_map): Small code style modifications
202 2008-08-18 Alejandro G. Castro <alex@igalia.com>
204 * src/hildon-pannable-area.c
205 (hildon_pannable_area_button_press_cb),
206 (hildon_pannable_area_motion_notify_cb),
207 (hildon_pannable_area_button_release_cb),
208 (hildon_pannable_area_size_allocate),
209 (hildon_pannable_area_scroll_to): Improved the timeouts
210 management, we avoid creating them each time.
212 2008-08-14 Alejandro G. Castro <alex@igalia.com>
214 * src/hildon-pannable-area.c:
215 (hildon_pannable_area_refresh),
216 (hildon_pannable_area_motion_notify_cb),
217 (hildon_pannable_area_class_init):
218 * src/hildon-pannable-area.h:
219 * src/hildon-touch-selector.c
220 (_create_new_column):
221 * examples/hildon-pannable-area-example-4.c:
222 (horizontal_movement),
225 Replaced the names of enums in the HildonPannableArea:
226 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
227 HILDON_MOVEMENT_MODE_*
228 - HILDON_PANNABLE_AREA_MOV_* ->
230 - Removed HildonPannableAreaIndicatorMode, now we
233 2008-08-14 Alberto Garcia <agarcia@igalia.com>
235 * examples/hildon-pannable-area-touch-grid-example.c
236 * examples/hildon-pannable-area-touch-list-example.c: Fix
237 compilation warnings.
239 2008-08-14 Alberto Garcia <agarcia@igalia.com>
241 * src/hildon-gtk.c (hildon_gtk_button_new)
242 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
243 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
244 images overriding the value of the "gtk-button-images" setting.
246 2008-08-14 Alberto Garcia <agarcia@igalia.com>
248 * src/hildon-check-button.c (hildon_check_button_new):
249 Instead of using a custom container, display the label and the
250 checkbox using the standard GtkButton API.
252 * examples/hildon-check-button-example.c (main): Don't use
253 hildon_check_button_set_label() anymore
255 * src/hildon-check-button.h
256 * src/hildon-check-button.c
257 (hildon_check_button_set_label, hildon_check_button_get_label):
258 Set as deprecated, now we're using gtk_button_{get,set}_label()
260 2008-08-14 Alejandro G. Castro <alex@igalia.com>
262 * src/hildon-pannable-area.c,
263 (hildon_pannable_area_get_topmost): Fixed bug with click in the
264 GtkTreeview first line we detected it after the inclusion of the
265 GtkWindowImpl in gtk+. We now check if the window is visible, not
266 just if the pointer is over the window.
267 (hildon_pannable_axis_scroll),
268 (hildon_pannable_area_expose_event): Small style changes.
270 2008-08-13 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-button.c: Update documentation.
274 2008-08-13 Alberto Garcia <agarcia@igalia.com>
276 * examples/hildon-button-example.c: Add a switch to show images in
279 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
281 * doc/hildon-docs.sgml: Some docs reorganization.
283 2008-08-12 Alberto Garcia <agarcia@igalia.com>
285 * examples/hildon-pannable-area-touch-list-example.c
287 * examples/hildon-pannable-area-touch-grid-example.c
288 (create_icon_view): Use gtk_{tree,icon}_view_new() and
289 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
290 Fix memory leak when setting the tree model.
292 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
296 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
298 * doc/hildon.types: Remove duplicated hildon_window_get_type
299 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
300 documentation comment.
302 2008-08-12 Alberto Garcia <agarcia@igalia.com>
304 * doc/Makefile.am: Complete list of private headers.
306 2008-08-12 Alberto Garcia <agarcia@igalia.com>
308 * doc/hildon-docs.sgml
309 * src/hildon-app-menu.c
310 * src/hildon-bread-crumb.c
311 * src/hildon-button.c
313 * src/hildon-program.c
314 * src/hildon-stackable-window.c
315 * src/hildon-window.c: Lots of documentation updates.
317 2008-08-12 Alberto Garcia <agarcia@igalia.com>
319 * debian/control: Depend on Gtk 2:2.12.9-0osso3
321 * configure.ac: Require Gtk+ 2.12.9 at least
323 2008-08-12 Alejandro G. Castro <alex@igalia.com>
325 * src/hildon-pannable-area.c
326 (hildon_pannable_area_scroll_indicator_fade),
327 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
328 to protect the return of this timeout callbacks, avoiding deadlocks.
330 2008-08-12 Christian Dywan <christian@imendio.com>
333 * src/hildon-*.h: Ensure a consistent include order,
334 include <gtk/gtk.h> instead of particular files and
335 only include the topmost header in the gtk stack. See NB #39857
337 2008-08-12 Christian Dywan <christian@imendio.com>
339 * src/hildon-picker-dialog.c
340 * src/hildon-touch-selector.c: Fix warnings about unused and
341 uninitialized variables.
343 2008-08-11 Alberto Garcia <agarcia@igalia.com>
345 * examples/Makefile.am
346 * examples/hildon-check-button-example.c: Example of the hildon
349 2008-08-11 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-window.h
352 * src/hildon-window.c (hildon_window_class_init)
353 (hildon_window_unset_program): Don't make
354 hildon_window_unset_program a virtual function anymore.
356 * src/hildon-stackable-window.c: Update documentation
358 2008-08-11 Alberto Garcia <agarcia@igalia.com>
361 * doc/hildon-docs.sgml
362 * doc/visual_index.xml
363 * src/hildon-defines.c
365 * src/hildon-helper.c
366 * src/hildon-range-editor.c: Lots of documentation fixes.
368 2008-08-11 Alberto Garcia <agarcia@igalia.com>
370 * examples/hildon-picker-button-multicolumn-example.c
371 (create_touch_selector): Fix compilation warning.
373 2008-08-11 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
376 (hildon_pannable_area_button_release_cb)
377 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
379 2008-08-11 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
384 2008-08-11 Alberto Garcia <agarcia@igalia.com>
386 * src/hildon-bread-crumb-trail.h
387 * src/hildon-date-editor.c
388 * src/hildon-date-selector.c
389 * src/hildon-pannable-area.c
390 * src/hildon-picker-dialog.c
391 * src/hildon-time-selector.c
392 * src/hildon-touch-selector-entry.c
393 * src/hildon-touch-selector.c
394 * src/hildon-touch-selector.h: Misc documentation fixes
396 2008-08-11 Alberto Garcia <agarcia@igalia.com>
398 * examples/hildon-date-editor-example.c (main): Updated date
401 * examples/hildon-note-example.c (on_confirmation_clicked):
402 Updated confirmation note example.
404 * src/hildon-date-editor.c
405 * src/hildon-note.c: Updated sample programs in documentation.
408 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
410 * src/hildon-date-button.h:
411 * src/hildon-picker-button.h:
412 * src/hildon-time-button.c:
413 * src/hildon-time-button.h:
415 Some declarations changes to allow gtk-doc to document the widgets
418 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-date-button.c: Document the widget.
421 * src/hildon-time-button.c: Document the widget.
423 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
425 * src/hildon-picker-button.c: Document the widget.
426 * src/hildon-touch-selector-entry.c: Document the widget.
428 2008-08-08 Alberto Garcia <agarcia@igalia.com>
430 * doc/hildon-docs.sgml
433 * src/hildon-check-button.h
434 * src/hildon-check-button.c: New functions to create the Hildon
438 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
440 2008-08-08 Alberto Garcia <agarcia@igalia.com>
442 * src/hildon-button.h
443 * src/hildon-button.c
444 (hildon_button_add_title_size_group)
445 (hildon_button_add_value_size_group)
446 (hildon_button_add_image_size_group)
447 (hildon_button_add_size_groups): New functions to set size groups
448 for the button labels and image.
449 (hildon_button_new_full): Removed
451 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
453 * src/hildon-time-selector.c
454 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
455 in order to avoid a crash if gconf is not available
457 2008-08-08 Alberto Garcia <agarcia@igalia.com>
459 * src/hildon-button.c (hildon_button_set_arrangement)
460 (hildon_button_construct_child): Don't construct the button child
461 before setting the arrangement.
463 2008-08-08 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-program-private.h
466 * src/hildon-program.c
467 * src/hildon-program.h
468 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
469 (hildon_program_peek_window_stack)
470 (hildon_program_pop_window_stack)
471 (hildon_program_go_to_root_window): HildonProgram now has a
472 separate list for stackable windows. Functions are provided to
473 manage that list with a stack-like API.
475 * src/hildon-stackable-window.c: Stackable window management is
476 now much simpler with the new HildonProgram API. Windows no
477 longer need to be manually added to the program, they're
478 automatically pushed to the top of the stack when shown.
480 * examples/hildon-stackable-window-example.c: Updated example to
481 reflect the API changes.
483 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
485 * src/hildon-touch-selector.c: Comment out unimplemented
486 hildon_touch_selector_insert_column() to avoid a compile warning.
488 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
490 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
491 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
492 (hildon_touch_selector_set_column_selection_mode),
493 (_hildon_touch_selector_set_model),
494 (hildon_touch_selector_set_model):
496 Complete review of HildonTouchSelector documentation.
498 2008-08-08 Alberto Garcia <agarcia@igalia.com>
500 * doc/hildon-docs.sgml
504 * src/hildon-gtk.c: Convenience functions for standard Gtk
505 widgets, used to easily perform frequent operations.
507 * src/hildon-button-helpers.h
508 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
510 * src/hildon-helper.h
511 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
512 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
514 * src/hildon-button.h
515 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
517 2008-08-07 Alberto Garcia <agarcia@igalia.com>
519 * src/hildon-button.c (hildon_button_init)
520 (hildon_button_set_arrangement, hildon_button_construct_child):
521 Pack the image and the labels inside the same GtkAlignment so
522 gtk_button_set_alignment() can be used
524 2008-08-07 Alberto Garcia <agarcia@igalia.com>
526 * src/hildon-button.h
527 * src/hildon-button.c
528 (hildon_button_init, hildon_button_set_image)
529 (hildon_button_set_image_position)
530 (hildon_button_construct_child): New functions to add an image to
533 2008-08-07 Alberto Garcia <agarcia@igalia.com>
535 * src/hildon-date-button.c
536 * src/hildon-picker-button.c
537 * src/hildon-time-button.c
538 * src/hildon-button.c:
539 (hildon_button_class_init): "size-flags" renamed to "size"
540 (hildon_button_set_title): Hide the title label if set to NULL.
542 2008-08-07 Alberto Garcia <agarcia@igalia.com>
544 HildonButtonFlags split into HildonButtonArrangement (to set the
545 button layout) and HildonSizeType (which can be used for any
548 * src/hildon-button.h
549 * src/hildon-button.c
550 (hildon_button_class_init)
551 (hildon_button_set_arrangement)
552 (hildon_button_set_property): New "size-flags"
553 property. "arrangement-flags" renamed to "arrangement".
554 (hildon_button_new, hildon_button_new_with_text)
555 (hildon_button_new_full): Constructors updated to reflect type changes.
557 * src/hildon-helper.h
558 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
559 to set the size of a widget.
563 * src/hildon-button-helpers.c
564 * src/hildon-button-helpers.h: New hildon-button-helpers module.
566 * src/hildon-date-button.c
567 * src/hildon-date-button.h
568 * src/hildon-picker-button.c
569 * src/hildon-picker-button.h
570 * src/hildon-time-button.c
571 * src/hildon-time-button.h: Updated widgets to reflect
572 HildonButton API changes.
574 * examples/hildon-button-example.c
575 * examples/hildon-date-button-example.c
576 * examples/hildon-picker-button-example.c
577 * examples/hildon-picker-button-multicolumn-example.c
578 * examples/hildon-time-button-example.c
579 * examples/hildon-touch-selector-entry-example.c
580 * examples/hildon-touch-selector-example.c: Updated examples to
581 reflect HildonButton API changes.
583 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
585 * doc/hildon-docs.sgml:
587 * examples/Makefile.am:
588 * examples/hildon-touch-selector-entry-example.c:
590 * src/hildon-touch-selector-entry.c:
591 * src/hildon-touch-selector-entry.h:
594 Moved HildonTouchSelectorEntry from sandbox. Added its
595 documentation and examples.
597 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-touch-selector.h:
600 * examples/hildon-picker-button-multicolumn-example.c:
601 (hildon_touch_selector_append_text_column): Add a gboolean
602 parameter to determine if text must be centered in the column.
604 * src/hildon-date-selector.c: (hildon_date_selector_init):
605 * src/hildon-time-selector.c: (hildon_time_selector_init):
606 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
607 (create_touch_selector): Update widgets and example to reflect
610 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-touch-selector.c:
613 (hildon_touch_selector_set_active_iter): Set also the cursor in
616 2008-08-06 Alberto Garcia <agarcia@igalia.com>
618 * doc/hildon-docs.sgml
621 * src/hildon-toggle-button.c
622 * src/hildon-toggle-button.h
623 * src/hildon.h: Removed HildonToggleButton widget, a derived
624 class is not necessary for this.
626 2008-08-06 Alejandro G. Castro <alex@igalia.com>
628 * src/hildon-pannable-area.c,
629 (hildon_pannable_area_realize),
630 (hildon_pannable_area_size_allocate): Code refactoring, add tests
633 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
636 "done" button the default widget for the dialog.
638 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
640 * src/hildon-touch-selector.c:
641 (hildon_touch_selector_class_init),
642 (hildon_touch_selector_get_property),
643 (_hildon_touch_selector_set_model),
644 (_hildon_touch_selector_has_multiple_selection),
645 (hildon_touch_selector_has_multiple_selection):
646 Add a "has-multiple-selection" property with a virtual
647 has_multiple_selection() method to allow derived classes to
648 override the default value for it. See the method and property
649 documentation for details.
651 * src/hildon-touch-selector.h: Add the new API.
653 * src/hildon-picker-dialog.c: (requires_done_button): Call
654 hildon_touch_selector_has_multiple_selection() instead of
655 determining the need for a button itself.
657 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
659 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
660 (_hildon_touch_selector_set_model),
661 (hildon_touch_selector_set_model): Move working code to
662 _hildon_touch_selector_set_mode(). Call the class method instead.
664 * src/hildon-touch-selector.h: Add (*set_model) to
665 HildonTouchSelectorClass.
667 Make hildon_touch_selector_set_model() a virtual method, so that
668 derived classes can extend it and do fancy stuff with the model.
670 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: Set back the tarname in AC_INIT to hildon.
674 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
678 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
679 instead of libesd (NB#86876). Volume handling is still an open issue.
681 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
684 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
686 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
687 (hildon_touch_selector_append_column): Make the widget a GtkVBox
688 derived class to ease placement of an entry widget in
689 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
690 end, where the selector columns are packed now.
692 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
694 * src/hildon-picker-button.c: Removed the simple _text() API.
695 * src/hildon-picker-button.h: Likewise.
697 * src/hildon-touch-selector.h:
698 * src/hildon-touch-selector.c:
699 (hildon_touch_selector_new_text),
700 (hildon_touch_selector_append_text),
701 (hildon_touch_selector_prepend_text),
702 (hildon_touch_selector_insert_text):
704 Moved the simple _text() API from HildonPickerButton to
705 HildonTouchPicker, to provide better escalability and not to tie
706 that API to HildonPickerButton.
708 * examples/hildon-picker-button-example.c: (main): Example updated.
710 2008-07-31 Alberto Garcia <agarcia@igalia.com>
712 * src/hildon-button.c: Updated documentation.
714 * examples/hildon-button-example.c: Add the posibility to create
715 the buttons using horizontal layout for title and value.
717 2008-07-31 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-app-menu-private.h
720 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
721 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
722 GtkSizeGroup for the filters, use the 'homogeneous' property of
725 2008-07-31 Alberto Garcia <agarcia@igalia.com>
727 * examples/hildon-button-example.c: Updated example.
729 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
731 * doc/hildon-docs.sgml:
734 Update documentation.
736 * examples/Makefile.am: Update renamed examples.
738 * examples/hildon-picker-button-multicolumn-example.c:
739 (create_touch_selector), (main): Update after the rename.
741 * examples/hildon-touch-picker-example.c: Removed.
742 * examples/hildon-touch-selector-example.c: (value_changed),
743 (create_selector), (get_visible_content), (main): Renamed from
744 hildon-touch-picker-example.c
746 * src/Makefile.am: Updated renamed files.
748 * src/hildon-date-button.c: (hildon_date_button_init),
749 (hildon_date_button_get_date), (hildon_date_button_set_date):
750 * src/hildon-date-selector.c: (hildon_date_selector_init),
751 (_custom_print_func), (_update_day_model),
752 (_manage_selector_change_cb),
753 (hildon_date_selector_select_current_date),
754 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
755 * src/hildon-date-selector.h:
756 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
757 (hildon_picker_button_set_property),
758 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
759 (hildon_picker_button_init), (hildon_picker_button_new_text),
760 (hildon_picker_button_append_text),
761 (hildon_picker_button_prepend_text),
762 (hildon_picker_button_insert_text),
763 (hildon_picker_button_set_selector),
764 (hildon_picker_button_get_selector):
765 * src/hildon-picker-button.h:
766 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
767 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
768 (_update_title_on_selector_changed_cb), (requires_done_button),
769 (_hildon_picker_dialog_set_selector),
770 (hildon_picker_dialog_set_selector),
771 (hildon_picker_dialog_get_selector):
772 * src/hildon-picker-dialog.h:
773 * src/hildon-time-button.c: (hildon_time_button_init),
774 (hildon_time_button_get_time), (hildon_time_button_set_time):
775 * src/hildon-time-selector.c: (hildon_time_selector_init),
776 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
777 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
778 * src/hildon-time-selector.h:
781 Massive code updates after the rename.
783 * src/hildon-touch-picker.c: Removed.
784 * src/hildon-touch-picker.h: Removed.
786 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
787 (hildon_touch_selector_init), (hildon_touch_selector_map),
788 (hildon_touch_selector_remove), (_default_print_func),
789 (_selection_changed_cb), (_create_new_column),
790 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
791 (hildon_touch_selector_append_text_column),
792 (hildon_touch_selector_remove_column),
793 (hildon_touch_selector_set_column_attributes),
794 (hildon_touch_selector_insert_column),
795 (hildon_touch_selector_get_num_columns),
796 (hildon_touch_selector_get_column_selection_mode),
797 (hildon_touch_selector_set_column_selection_mode),
798 (hildon_touch_selector_set_print_func),
799 (hildon_touch_selector_get_print_func),
800 (hildon_touch_selector_get_active_iter),
801 (hildon_touch_selector_set_active_iter),
802 (hildon_touch_selector_get_selected_rows),
803 (hildon_touch_selector_get_model),
804 (hildon_touch_selector_set_model),
805 (hildon_touch_selector_get_current_text),
806 (_hildon_touch_selector_center_on_selected_items):
807 * src/hildon-touch-selector.h: Renamed from
808 hildon-touch-picker.[ch]
810 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
811 references, code examples, and related documentation.
813 2008-07-30 Alberto Garcia <agarcia@igalia.com>
815 * doc/hildon-docs.sgml
818 * src/hildon-toggle-button.c
819 * src/hildon-toggle-button.h
820 * src/hildon.h: New HildonToggleButton widget.
822 2008-07-30 Alberto Garcia <agarcia@igalia.com>
824 * src/hildon-button.c: Add API documentation.
825 (hildon_button_set_size_groups): Check input parameters
827 2008-07-30 Alejandro G. Castro <alex@igalia.com>
829 * src/hildon-pannable-area.c
830 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
831 effect after reaching the movement thredshold. This way we start
832 using the distance after passing the thredshold.
834 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
836 * src/hildon-button.c: (hildon_button_set_property): Use the
837 appropriate g_value_get_flags() method.
839 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
841 * doc/hildon-docs.sgml:
844 Add the touch pickers, picker dialogs, and picker button widgets
845 to the documentation.
847 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-button.c: (hildon_button_set_property),
850 (hildon_button_class_init): Make "arrangement-flags" a proper
851 G_TYPE_FLAGS derived property.
853 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
855 * examples/Makefile.am: Add below examples.
856 * examples/hildon-date-button-example.c:
857 * examples/hildon-picker-button-example.c:
858 * examples/hildon-picker-button-multicolumn-example.c:
859 * examples/hildon-time-button-example.c:
860 * examples/hildon-touch-picker-example.c:
862 Add examples for the recently added touch pickers,
863 picker dialogs, and picker button widgets.
865 2008-07-29 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-button.c: Add some API documentation
869 2008-07-29 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-button.h
872 * src/hildon-button.c
874 (hildon_button_new_with_text): New constructor to create a button
876 (hildon_button_init, hildon_button_set_arrangement)
877 (hildon_button_set_title, hildon_button_set_value)
878 (hildon_button_set_text)
879 (hildon_button_construct_child): Hide the value when it's not used
880 so the rest of the text is properly aligned.
881 Allow creating buttons with arbitrary widgets inside (not just
884 * examples/hildon-button-example.c (vertical_buttons_window)
885 (horizontal_buttons_window): Update example to use new API.
887 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
889 * src/Makefile.am: Added HildonTimeButton.
890 * src/hildon-time-button.c: Added missing LGPL header.
891 * src/hildon-time-button.h: Added missing LGPL header.
892 * src/hildon.h: Add hildon-time-button.h
894 Copied HildonTimeButton from sandbox to trunk. Future work on this
895 widget must take place in trunk.
897 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
899 * src/Makefile.am: Added HildonDateButton.
900 * src/hildon-date-button.c: Update includes.
901 * src/hildon.h: Add hildon-date-button.h
903 Copied HildonDateButton from sandbox to trunk. Future work on this
904 widget must take place in trunk.
906 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
908 * src/Makefile.am: Added HildonPickerButton.
909 * src/hildon-picker-button.h: Update includes.
910 * src/hildon.h: Add hildon-picker-button.h
912 Copied HildonPickerButton from sandbox to trunk. Future work on
913 this widget must take place in trunk.
915 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
917 * src/Makefile.am: Added HildonPickerDialog.
918 * src/hildon-picker-dialog.c: Update includes.
919 * src/hildon.h: Add hildon-picker-dialog.h
921 Copied HildonPickerDialog from sandbox to trunk. Future work
922 on this widget must take place in trunk.
924 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
926 * src/Makefile.am: Added HildonTimeSelector.
927 * src/hildon.h: Add hildon-time-selector.h
929 Copied HildonTimeSelector widget from sandbox to trunk. Future
930 work on this widget must happen in trunk.
932 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
934 * src/Makefile.am: Added HildonDateSelector.
935 * src/hildon.h: Add hildon-date-selector.h
937 Copied HildonDateSelector widget from sandbox to trunk. Future
938 work on this widget must happen in trunk.
940 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
942 * src/Makefile.am: Added HildonTouchPicker.
943 * src/hildon-touch-picker.c: Update includes.
944 * src/hildon.h: Add hildon-touch-picker.h
946 Copied HildonTouchPicker widget from sandbox to trunk. Future work
947 on this widget must happen in trunk.
949 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
951 * src/hildon-pannable-area.c:
952 (hildon_pannable_area_motion_notify_cb): Fix a typo.
954 2008-07-29 Alberto Garcia <agarcia@igalia.com>
956 * examples/hildon-app-menu-example.c (main): Let the window
959 2008-07-29 Alejandro G. Castro <alex@igalia.com>
961 * src/hildon-pannable-area.c
962 (hildon_pannable_area_class_init): Set the min value of the
963 overshoot properties to zero, which points out that not
964 overshooting allowed.
966 2008-07-29 Alejandro G. Castro <alex@igalia.com>
968 Modified the procedure to get the widget at a point inside the
969 pannable area when using the movement type signals. Now the user
970 has to call a function to get the child, that way we just
971 calculate the child in case the user really want to use it and not
974 * src/hildon-marshalers.list: Modified the marshallers, now we do
975 not have the widget as a parameter.
977 * src/hildon-pannable-area.c
978 (hildon_pannable_area_motion_notify_cb),
979 (hildon_pannable_area_class_init),
980 (hildon_pannable_get_child_widget_at): Removed the widget
981 parameter from the signal callback. We have also refactored the
982 emission of the signals.
984 * src/hildon-pannable-area.h: Added a new method to the API to
985 calculate a widget at a point inside the pannable area,
986 hildon_pannable_get_child_widget_at.
988 * examples/hildon-pannable-area-example-4.c
989 (horizontal_movement): Modified the example to use the new API,
990 added condition to control which widget is under the event. This
991 way we can avoid scrolling laterally over other widgets.
993 2008-07-29 Alejandro G. Castro <alex@igalia.com>
995 * src/hildon-pannable-area.c
996 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
997 modes, we stop getting the pointer events due to returning the
998 callback without properly calling the get pointer again. Fixed
999 also an error using the hscroll and vscroll.
1001 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1003 * src/hildon-app-menu-private.h
1004 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1005 (hildon_app_menu_button_release, hildon_app_menu_init)
1006 (hildon_app_menu_class_init): Don't hide the menu on button
1007 release if the user didn't press outside first.
1009 * src/hildon-window.h
1010 * src/hildon-window.c (hildon_window_toggle_menu)
1011 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1012 hildon_window_toggle_menu a virtual function for the stackable
1013 window to override it.
1015 * src/hildon-stackable-window.h
1016 * src/hildon-stackable-window-private.h
1017 * src/hildon-stackable-window.c
1018 (hildon_stackable_window_realize)
1019 (hildon_stackable_window_finalize)
1020 (hildon_stackable_window_class_init)
1021 (hildon_stackable_window_init)
1022 (hildon_stackable_window_set_main_menu): New function to set the
1023 app menu of a HildonStackableWindow.
1025 * examples/hildon-app-menu-example.c: Remove the button to show
1026 the app menu, now it'll be shown when clicking on the title bar
1029 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1032 set the widget name if the arrangement flags do not specify
1035 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1037 * src/hildon-button.c: (hildon_button_set_property),
1038 (hildon_button_class_init), (hildon_button_new_full),
1039 (hildon_button_set_arrangement): Added "arrangement-flags"
1042 Make the HildonButtonFlags a construction-only property, to allow
1043 subclasses to set them properly.
1045 2008-07-21 Tim Janik <timj@imendio.com>
1047 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1048 insertion position after backspace, so additional digits are appended,
1051 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1053 * src/hildon-pannable-area.c,
1054 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1055 TODO list, it was complete and removed the g_debug and g_print
1058 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1060 Added the movement modes to the hildon-pannable-area, with this
1061 modes the developers can control in which directions the widget
1062 can scroll. They can also connect to signals in order to do
1063 something when that happens, allowing applications scroll. There
1064 is an example uploaded showing how to use it.
1066 * examples/Makefile.am:
1067 * examples/hildon-pannable-area-example-4.c: Added this example of
1068 an application using the modes.
1070 * src/hildon-marshalers.list: Added a new marshaller for the new
1073 * src/hildon-pannable-area.h: Added new enumerations and flags in
1074 order to control the movement modes and the new signals to warn
1075 about the movements in the area.
1077 * src/hildon-pannable-area.c:
1078 (hildon_pannable_axis_scroll),
1079 (hildon_pannable_area_scroll),
1080 (hildon_pannable_area_motion_notify_cb),
1081 (hildon_pannable_area_get_property),
1082 (hildon_pannable_area_set_property),
1083 (hildon_pannable_area_map),
1084 (hildon_pannable_area_class_init),
1085 (hildon_pannable_area_init),
1086 (hildon_pannable_area_jump_to): Added the modes to control the
1087 movement in the widget. We have added properties to control it,
1088 signals to warn about the movements and refactored some code.
1090 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1092 Changes required in order to allow vfast_factor set to zero to
1095 * src/hildon-pannable-area.c:
1096 (hildon_pannable_area_button_press_cb): Changed the condition, it
1097 is required for not allowing click when vfast_factor is zero.
1098 (hildon_pannable_area_timeout): Initialized velocity variables
1099 when we stop moving, it was less than 1 but not zero and we need
1100 to check zero in some situations.
1101 (hildon_pannable_area_class_init): Changed the default value of
1102 the speed factor, now the button_press is just sent in case the
1103 speed is 2 per cent of the max speed.
1104 (hildon_pannable_area_init): Initialization with 0.
1106 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1108 * src/hildon-pannable-area.c,
1109 (hildon_pannable_area_get_topmost): replaced
1110 gdk_window_get_children with gdk_window_peek_children, this way we
1111 do not have to free the list because it is not a copy.
1113 (hildon_pannable_axis_scroll),
1114 (hildon_pannable_area_scroll),
1115 (hildon_pannable_area_timeout),
1116 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1117 two parameters that were only used inside the
1118 hildon_pannable_area_scroll function.
1120 * examples/hildon-pannable-area-example.c,
1121 (get_sawtooth_label): Fixed small memory leak.
1123 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1125 More checks for the case where the overshoot is bigger than the
1128 * src/hildon-pannable-area.c:
1129 (hildon_pannable_draw_vscroll),
1130 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1131 to draw the slider of the scrollbar under the other scrollbar.
1132 (hildon_pannable_area_expose_event): added new checks to control
1133 the drawing of the overshooting area rectangle, in case it is too
1134 big for the area of the widget.
1135 (hildon_pannable_area_size_allocate): add more checks to avoid
1136 setting a position to the child widget outside the area.
1138 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1140 * src/hildon-pannable-area.c
1141 (hildon_pannable_area_size_allocate): Added conditions to control
1142 when overshooting is bigger than the allocated space for the
1143 children, this avoids negative allocations.
1145 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1147 * doc/hildon-docs.sgml
1149 * examples/Makefile.am
1150 * examples/hildon-button-example.c
1152 * src/hildon-button.c
1153 * src/hildon-button.h
1154 * src/hildon.h: Initial version of the new HildonButton widget,
1157 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1159 * src/hildon-pannable-area.c:
1160 (hildon_pannable_area_button_press_cb),
1161 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1162 (hildon_pannable_area_motion_notify_cb),
1163 (hildon_pannable_area_button_release_cb),
1164 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1165 (hildon_pannable_area_jump_to_child):
1167 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1169 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1171 * examples/Makefile.am
1172 * examples/hildon-pannable-area-touch-grid-example.c
1173 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1174 the Hildon Touch List and Hildon Touch Grid using the
1175 HildonPannableArea widget.
1177 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1179 * src/hildon-pannable-area.c,
1180 (hildon_pannable_area_button_press_cb),
1181 (hildon_pannable_area_refresh),
1182 (hildon_pannable_area_scroll),
1183 (hildon_pannable_area_motion_notify_cb),
1184 (hildon_pannable_area_button_release_cb),
1185 (hildon_pannable_area_expose_event),
1186 (hildon_pannable_area_add),
1187 (hildon_pannable_area_remove),
1188 (hildon_pannable_area_realize),
1189 (hildon_pannable_area_size_allocate),
1190 (hildon_pannable_area_class_init),
1191 (hildon_pannable_area_init),
1192 (hildon_pannable_area_scroll_to_child),
1193 (hildon_pannable_area_jump_to_child): Fixed the problem of
1194 removing the child from the GtkBin, we have rearranged the widget
1195 hierarchy, now there is no GtkAlignment which was not doing
1196 anything interesting but breaking some of the assumptions of
1197 GtkContainer. Now developers if they want to add a GtkAlignment
1198 they could, but it is not inside the area.
1200 We had to review the whole allocation/expose process, now it is
1201 improved and we save at least three signals which would be saving
1202 some time when rendering the widget. The allocation of the
1203 scrollbars is now made in the allocate method as usual.
1205 We have also added some conditions in order to control when there
1206 is no child of the pannable area. Maybe we will need more work
1209 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1211 * src/hildon-pannable-area.c,
1212 (hildon_pannable_area_dispose): Released the fade-out timeout when
1213 disposing the widget.
1215 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1217 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1218 zero, we are going to use that property in order to deactivate the
1220 (hildon_pannable_axis_scroll),
1221 (hildon_pannable_area_size_allocate): Added conditions to control
1222 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1223 call, now it is called in all situations and we can remove calls
1224 in the allocate method.
1225 (hildon_pannable_area_map): Control the situation when
1226 overshoot_max is zero, we do not need the timeout.
1227 (hildon_pannable_area_class_init): Added documentation in order to
1228 point out that setting zero to overshoot_max means deactivate
1231 NOTE: removed trailing whitespaces from my previous comments of
1234 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1236 * src/hildon-pannable-area.c
1237 (hildon_pannable_area_get_property),
1238 (hildon_pannable_area_set_property),
1239 (hildon_pannable_area_map),
1240 (hildon_pannable_area_class_init),
1241 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1242 to cause the widget give a hint about its panning abilities upon
1245 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1247 * src/hildon-pannable-area.c: Several documentation improvements.
1249 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1251 * src/hildon-program.c
1252 * src/hildon-stackable-window.c: Update documentation.
1254 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1256 * src/hildon-stackable-window.c (get_previous_window_if_last):
1257 Renamed get_last_window()
1258 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1259 (hildon_stackable_window_unset_program):
1261 (get_previous_window_if_last):
1262 Detect if the window hasn't been added to a HildonProgram.
1264 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1266 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1268 * src/hildon-pannable-area.c
1269 (hildon_pannable_area_button_press_cb),
1270 (hildon_pannable_axis_scroll),
1271 (hildon_pannable_area_scroll),
1272 (hildon_pannable_area_timeout),
1273 (hildon_pannable_calculate_vel_factor),
1274 (hildon_pannable_area_get_property),
1275 (hildon_pannable_area_set_property),
1276 (hildon_pannable_area_class_init),
1277 (hildon_pannable_area_init),
1278 (hildon_pannable_area_scroll_to),
1279 (hildon_pannable_area_jump_to),
1280 (hildon_pannable_area_scroll_to_child),
1281 (hildon_pannable_area_jump_to_child):
1282 * src/hildon-pannable-area.h: Added the new API functions:
1283 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1284 hildon_pannable_area_scroll_to_child,
1285 hildon_pannable_area_jump_to_child
1288 * examples/Makefile.am
1289 * examples/hildon-pannable-area-example-2.c
1290 * examples/hildon-pannable-area-example-3.c: Added these two new
1291 examples in order to test and show how the new APIs work.
1293 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1295 * examples/hildon-stackable-window-example.c (new_window):
1296 * src/Makefile.am (noinst_HEADERS):
1297 * src/hildon-program.c (hildon_program_go_to_root_window):
1298 * src/hildon-program.h:
1299 * src/hildon-stackable-window-private.h:
1300 * src/hildon-stackable-window.c:
1301 * src/hildon-stackable-window.h:
1302 Create hildon-stackable-window-private.h
1303 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1305 * examples/hildon-app-menu-example.c (create_menu):
1306 * examples/hildon-hvolumebar-insensitive-example.c (main):
1307 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1308 * examples/hildon-toolbar-seekbar-example.c (main):
1309 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1310 * src/hildon-banner.c (hildon_banner_set_property):
1311 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1312 Fix compilation warnings
1314 * src/hildon-window.c:
1317 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1319 * src/hildon-stackable-window.c
1320 (hildon_stackable_window_unset_program):
1321 Calculate correctly whether to show the previous window if the
1322 last one is removed from the stack.
1323 (hildon_stackable_window_go_to_root_window):
1324 Send delete events starting from the topmost window.
1325 Stop if one of the windows is not destroyed.
1327 (hildon_stackable_window_delete_event)
1328 (hildon_stackable_window_class_init):
1329 Ignore the delete event if the window is not the topmost one.
1331 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1333 * src/hildon-pannable-area.c
1334 (hildon_pannable_area_expose_event): Fixed a problem when
1335 selecting the background color of the scrollbars.
1337 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1339 * examples/hildon-stackable-window-example.c
1340 * src/hildon-stackable-window.c
1341 * src/hildon-stackable-window.h
1342 hildon_stackable_window_go_home() renamed to
1343 hildon_stackable_window_go_to_root_window()
1344 Send delete events to windows rather than closing them with
1345 gtk_widget_destroy()
1347 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1349 * src/hildon-pannable-area.c
1350 (hildon_pannable_area_button_release_cb): Fix overshooting in
1353 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1355 * src/hildon-pannable-area.c
1356 (hildon_pannable_area_init): Initially show the scroll indicators.
1357 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1359 Add initial effect showing the widget is pannable.
1361 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1363 * src/hildon-pannable-area.c
1364 (hildon_pannable_area_class_init)
1365 (hildon_pannable_area_set_property)
1366 (hildon_pannable_area_get_property)
1367 (hildon_pannable_area_button_press_cb):
1368 New 'velocity_fast_factor' property to decide which velocity is
1371 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1373 * src/hildon-pannable-area.c
1374 (hildon_pannable_draw_hscroll)
1375 (hildon_pannable_draw_vscroll):
1376 Use float variables to calculate the size of the scrollbars to
1377 avoid error propagation and resizing during scrolling.
1379 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1381 * src/hildon-pannable-area.c
1382 (hildon_pannable_draw_vscroll)
1383 (hildon_pannable_draw_hscroll):
1384 Define a minimum size for the scroll bars
1386 * src/hildon-stackable-window.c
1387 (hildon_stackable_window_go_home): Fix compilation warning
1388 (get_last_window): Minor optimizations
1389 (hildon_stackable_window_class_init): Fix initialization of
1392 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1394 * src/hildon-stackable-window.c: Fixed typos in doc
1396 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1398 * src/hildon-pannable-area.c
1399 (hildon_pannable_area_scroll):
1400 Calculate here whether we need to scroll instead of using the booleans
1401 that tell us whether to /draw/ the scrolling bars.
1403 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1405 * src/hildon-app-menu.h
1407 * src/hildon-app-menu.c
1408 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1409 multiple filter groups related code and API. Now we support only
1411 * examples/hildon-app-menu-example.c:
1413 Update to reflect API changes.
1415 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1417 * src/hildon-stackable-window.c
1418 (hildon_stackable_window_class_init):
1419 Add hildon_stackable_window_realize.
1420 (hildon_stackable_window_realize):
1421 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1422 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1423 to apply theming and behavior specific to HildonStackableWindow
1426 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1428 * src/hildon-note.c (hildon_note_button_release):
1429 Close information notes also when tapping on them
1431 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1433 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1434 ELASTICITY, refactor and review, fix some issues with drawing
1437 * src/hildon-pannable-area.c:
1438 (hildon_pannable_area_button_press_cb): removed the conditions to
1439 avoid clicks when overshooting. It is not required
1441 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1442 define. Refatored and reviewed the code, now we do not need to
1443 manage velocity in motion_notify.
1445 (hildon_pannable_area_motion_notify_cb): We have moved the code
1446 that controls the area_scroll to the axis_scroll function and get
1447 rid of duplicated code.
1449 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1451 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1453 (hildon_pannable_draw_vscroll),
1454 (hildon_pannable_draw_hscroll): Fixed the problems with the
1455 scrollbar drawing, now we do not use two surfaces, it is easier
1456 and saves resources.
1458 (hildon_pannable_area_get_property): Style modification.
1460 (hildon_pannable_area_class_init): Changed some default values.
1462 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1464 * src/hildon-stackable-window.c: Fix some typos in the
1467 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1469 * src/hildon-dialog.c:
1470 Change indentation style
1473 (hildon_note_button_release):
1474 Use root coordinates to check if the release event happened
1477 * src/hildon-app-menu.c
1478 (hildon_app_menu_button_release):
1479 Remove unnecessary check
1481 * examples/hildon-app-menu-example.c
1483 Add cast to fix warning
1485 * src/hildon-app-menu.c
1486 (hildon_app_menu_class_init):
1487 New inner-border style property.
1488 Set all default spacings to 16
1489 (hildon_app_menu_init):
1490 Use vertical-spacing to set the space between filter buttons and
1491 regular menu buttons.
1492 Set the default container border using the inner-border value.
1494 * examples/hildon-app-menu-example.c
1496 Don't set the menu border explicitly, now we have the inner-border
1497 style property for that.
1499 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1501 * src/hildon-app-menu.c (hildon_app_menu_init):
1502 Make the window modal
1504 * src/hildon-note.c (hildon_note_map)
1505 * src/hildon-app-menu.c (hildon_app_menu_map):
1506 Destroy the grab window if we're unable to grab the pointer
1508 * src/hildon-app-menu-private.h
1509 * src/hildon-app-menu.c
1510 (hildon_app_menu_init, hildon_app_menu_finalize)
1511 (hildon_app_menu_map, hildon_app_menu_unmap)
1512 (hildon_app_menu_button_release)
1513 (grab_transfer_window_get):
1514 Bring back the grab window
1515 (hildon_app_menu_realize):
1516 Decorate the window, set WM hint for Matchbox
1518 * src/hildon-note.c (hildon_note_realize):
1519 * src/hildon-banner.c (hildon_banner_realize):
1520 Add WM hints for Matchbox
1522 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1524 * src/hildon-app-menu-private.h
1525 * src/hildon-app-menu.c
1526 (hildon_app_menu_init, hildon_app_menu_finalize)
1527 (hildon_app_menu_map, hildon_app_menu_unmap)
1528 (hildon_app_menu_button_release):
1529 Remove the grab window, it's not needed anymore
1531 * src/hildon-program.c
1532 Fixed typo in documentation
1534 * src/hildon-app-menu.h
1535 * src/hildon-app-menu.c
1536 * examples/hildon-app-menu-example.c
1537 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1539 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1542 Added new transfer_window and close_if_pressed_outside private
1544 (hildon_note_rebuild):
1545 Don't add a cancel button to the information note. It will be
1546 closed when tapping outside
1547 Remove the comment about the OK button in the documentation
1548 (hildon_note_realize):
1549 Set the notification type hint
1550 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1551 Grab/ungrab pointer and keyboard if the note has to be closed when
1553 (hildon_note_button_release):
1554 Close the note when tapping outside (if applicable)
1556 * src/hildon-app-menu.c
1557 Grab/ungrab pointer and keyboard on map/unmap
1558 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1559 Close the menu on button release, not button press
1561 * src/hildon-banner.c
1562 (hildon_banner_set_property)
1563 (hildon_banner_check_position):
1564 Make the banner use the full width of the screen
1565 (hildon_banner_show_information)
1566 (hildon_banner_show_information_with_markup):
1567 Don't display an icon by default
1569 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1571 Added fading scrollbars and adapted all the overshooting code to
1572 horizontal scrolling. We have also fixed bugs with overshooting
1573 and current fading implementation.
1575 * src/hildon-pannable-area.c
1576 (hildon_pannable_area_scroll_indicator_fade): Time out function
1577 used to change the transparency of the scrollbars.
1579 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1580 control and fixed a problem with fading, we now remove the fade
1581 timeout before adding a new one.
1583 (hildon_pannable_axis_scroll):
1584 (hildon_pannable_area_scroll):
1585 (hildon_pannable_area_timeout): Added this functions so we can use
1586 the scroll code both for vertical and horizontal.
1588 (hildon_pannable_area_motion_notify_cb):
1589 (hildon_pannable_area_button_release_cb): Added the horizontal
1590 scrolling control, fixed a problem with the overshooting timeout.
1592 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1593 painting of the scrolls.
1595 (hildon_pannable_draw_vscroll):
1596 (hildon_pannable_draw_hscroll):
1597 (hildon_pannable_area_expose_event):
1598 Draw both scrollbars and rectangles in the overshooting area.
1600 (hildon_pannable_area_get_property):
1601 (hildon_pannable_area_set_property):
1602 Modified the overshoot property to overshoot_max
1604 (hildon_pannable_area_map):
1605 Replaced the comments symbols.
1607 (hildon_pannable_area_size_allocate):
1608 (hildon_pannable_area_class_init):
1609 (hildon_pannable_area_init): Added horizontal scroll, fading
1610 effect properties, fixed a problem when overshooting in the bottom
1613 * examples/hildon-pannable-area-example.c:
1614 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1615 looks better in the example.
1617 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1619 * src/hildon-window.c
1620 * src/hildon-window.h
1621 (hildon_window_class_init)
1622 (hildon_window_unset_program)
1623 (hildon_window_unset_program_real):
1624 Make unset_program a virtual function
1626 * src/hildon-stackable-window.c
1627 * src/hildon-stackable-window.h
1628 Added hildon_stackable_window_go_home()
1630 * examples/Makefile.am
1631 * examples/hildon-stackable-window-example.c
1632 HildonStackableWindow example
1634 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1636 * hildon-pannable-area.c: Added the overshoot property and removed
1637 the OVERSHOOT define. Fixed an indent style error.
1638 (hildon_pannable_area_motion_notify_cb):
1639 (hildon_pannable_area_get_property):
1640 (hildon_pannable_area_set_property): Add overshoot property.
1642 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1645 (hildon_pannable_area_class_init): Installed the new property.
1647 * hildon-pannable-area-example.c: Added a sawtooth function, this
1648 way it is easier to check the movement in the pannable.
1649 (get_sawtooth_label): Added this function.
1650 (main): Now we get the labels from the new get_sawtooth_label
1653 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1655 * src/hildon-app-menu.h
1656 * src/hildon-app-menu.c
1657 Renamed API variables for consistency
1659 (hildon_app_menu_popup): Use also the default window size to
1660 decide where to place the menu
1662 (hildon_app_menu_init, hildon_app_menu_class_init): New
1663 external-border style property
1665 2008-05-26 Michael Natterer <mitch@imendio.com>
1667 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1668 widget_class->tap_and_hold_setup signal slot doesn't exist any
1669 longer, stop overriding it.
1671 (hildon_time_editor_init): g_signal_connect() to the
1672 tap-and-hold-setup signal instead.
1674 (hildon_time_editor_entry_keypress): add cast to fix warning.
1676 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1678 * doc/hildon-docs.sgml
1680 * examples/Makefile.am
1681 * examples/hildon-app-menu-example.c
1683 * src/hildon-app-menu-private.h
1684 * src/hildon-app-menu.c
1685 * src/hildon-app-menu.h
1687 New HildonAppMenu widget
1689 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1691 Rearranged the inheritance of the pannable area, now it inherits
1692 from GtkBin. This will allow us to control the event_window and
1693 the allocation process of the widget, required for some effects.
1695 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1696 GtkBin structures. * src/hildon-pannable-area.c: Added the
1697 event_window variable.
1698 (hildon_pannable_area_button_press_cb):
1699 (hildon_pannable_area_button_release_cb):
1700 (hildon_pannable_area_motion_notify_cb):
1701 Changed the signature of the method, now we override the event
1702 callback instead of connecting to the signal.
1704 (hildon_pannable_area_realize):
1705 (hildon_pannable_area_unrealize):
1706 (hildon_pannable_area_map):
1707 (hildon_pannable_area_unmap):
1708 (hildon_pannable_area_size_allocate):
1709 Added functions to control the widget construction. We add a
1710 INPUT_ONLY window and we put it over the widgets inside the
1711 container, this event_window handles the events.
1713 (hildon_pannable_area_class_init):
1714 Replaced the signal connections with overrides of the event
1717 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1719 Bouncing effect added when touching the borders, you can change
1720 the elasticity of the border changing the ELASTICITY define.
1722 * src/hildon-pannable-area.c: Added ELASTICITY define.
1723 (hildon_pannable_area_timeout): Added inverse velocity when
1724 touching the border of the child widget, that causes a bounce.
1726 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1728 Improved performance, we now do not go to the X server in order to
1729 get the list of window children. Apparently the effect is the
1730 same, we have to be careful and check if this breaks something in
1733 * src/hildon-pannable-area.c:
1734 (get_ordered_children): Removed this function.
1735 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1736 the children windows function with gdk_window_get_children.
1738 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1740 * src/hildon-pannable-area.c:
1741 (hildon_pannable_area_dispose): Fixed a crash when closing the
1742 window and kinetics is activated.
1744 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1746 * src/hildon-pannable-area.h
1747 * src/hildon-pannable-area.c
1748 Changed indentation style to meet the one used in Hildon
1750 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1752 Reviewed the interaction of the AUTO mode, now we use the time
1753 attribute of the events and calculate the velocity in the motion,
1754 doing a gimp like calculation. The velocity is calculated in each
1755 motion event using the last velocity and the current one, the
1756 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1758 * src/hildon-pannable-area.c: Replaced the time based algorithm
1760 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1761 timeout for the AUTO mode when we are still moving the cursor. We
1762 added also the velocity calculation in this function.
1763 (hildon_pannable_area_button_release_cb): launch the timeout in
1764 case we are in AUTO mode. There are still some constants here that
1765 come from the old implementation that should be reviewed and
1768 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1770 * doc/hildon-docs.sgml
1773 * src/hildon-stackable-window.c
1774 * src/hildon-stackable-window.h
1776 New HildonStackableWindow widget
1778 * examples/hildon-dialog-example.c
1779 * examples/hildon-pannable-area-example.c
1782 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1784 * src/hildon-dialog.c
1785 (hildon_dialog_new_with_buttons): New constructor.
1787 * examples/hildon-dialog-example.c
1788 (main): Update the example to use the new
1789 hildon_dialog_new_with_buttons().
1791 * examples/hildon-pannable-area-example.c
1792 (main): Update example.
1794 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1796 * doc/hildon-docs.sgml
1798 Added HildonPannableArea to the documentation.
1800 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1802 * doc/visual_index.xml
1803 Fix reference to HildonLoginDialog in documentation
1805 * doc/hildon-docs.sgml
1807 * examples/Makefile.am
1808 * examples/hildon-dialog-example.c
1810 * src/hildon-dialog.c
1811 * src/hildon-dialog.h
1813 New HildonDialog widget.
1815 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1817 * src/hildon-pannable-area.c
1818 Merge latest changes (r4318, r4342) from libmokoui trunk
1820 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1822 * examples/Makefile.am
1823 * examples/hildon-pannable-area-example.c
1825 * src/hildon-pannable-area.c
1826 * src/hildon-pannable-area.h
1828 New HildonPannableArea widget.
1830 2008-04-15 18:05:19 <timj@imendio.com>
1832 * src/hildon-banner.c: revert the recent change, that introduced
1833 gtk_window_present() calls. this reopens:
1834 Bug 78481 - [freetest] information banners are hidden under browser menu
1835 But resolves another variant of:
1836 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1838 2008-04-15 13:21:13 <timj@imendio.com>
1840 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1841 recreated its layout, spotted by Kris. this fixes all remaining
1842 artefacts and stability issues with the banner code. in particular:
1843 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1845 2008-04-14 16:52:59 <timj@imendio.com>
1847 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1848 operating on unrealized widgets, fixes:
1849 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1851 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1853 2008-04-09 Kristian Rietveld <kris@imendio.com>
1855 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1856 makes banner disappear.
1857 Fixes: NB#79182: info banner flickering with certain message lengts.
1859 * src/hildon-banner.c (hildon_banner_constructor),
1860 (hildon_banner_init), (hildon_banner_set_text),
1861 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1862 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1863 FALSE, reset size requests of label and banner,
1864 (force_to_wrap_truncated): when the text is too wide, always enforce
1865 the maximum possible width instead of recalculating it from the
1866 layout; enforce the maximum banner height of 3 lines,
1867 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1868 nicer wrapping and no truncated chars if space gets tight.
1870 * src/hildon-banner-private.h: add has_been_wrapped and
1871 has_been_truncated fields.
1873 2008-04-07 Sven Herzberg <sven@imendio.com>
1875 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1876 local values in hildon_date_editor_size_allocate
1878 * src/hildon-date-editor.c: moved the real allocation code into the
1881 2008-04-07 Sven Herzberg <sven@imendio.com>
1883 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1884 local values in hildon_date_editor_size_allocate
1886 * src/hildon-date-editor.c: merged the two if() branches together
1888 2008-04-07 Sven Herzberg <sven@imendio.com>
1890 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1891 local values in hildon_date_editor_size_allocate
1893 * src/hildon-date-editor.c: changed the arguments of the if()
1896 2008-04-07 Sven Herzberg <sven@imendio.com>
1898 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1899 local values in hildon_date_editor_size_allocate
1901 * src/hildon-date-editor.c: split the calculation of the allocation
1902 from the real allocation
1904 2008-03-27 Michael Natterer <mitch@imendio.com>
1906 Fixes: NB#81696: The passcode is not overwritten even after
1909 * src/hildon-code-dialog.c
1910 (hildon_code_dialog_button_clicked)
1911 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1912 because that doesn't overwrite selected text. Instead, emit the
1913 "commit" signal on the entry's im_context so the entry's normal
1914 insert logic is triggered. Set the cursor to the end of the entry
1915 after each insert operation so that we *only* insert in the middle
1916 of the text if something was selected.
1918 2008-03-27 Michael Natterer <mitch@imendio.com>
1920 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1921 selector cannot be opened
1923 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1924 when the popup color selector is created. Please connect to this
1925 signal in order to set the dialog's help ID.
1927 2008-03-25 Sven Herzberg <sven@imendio.com>
1929 Fixes: MB#1212: Hide info banners (infoprints) on click
1931 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1932 extracted the close event simulation into an extra function
1933 (hildon_banner_button_press_event): simulate a close event and destroy
1934 the widget if the event wasn't handled
1935 (hildon_banner_class_init): added the button_press_event handler
1936 (hildon_banner_init): added button-press events to the widget
1938 2008-03-25 Sven Herzberg <sven@imendio.com>
1940 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1941 Patch from: Mohammad Anwari <mdamt@maemo.org>
1943 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1944 instead of the right in RTL mode
1945 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1946 breadcrumb button list in RTL mode
1947 * src/hildon-caption.c: mirror the appearance of the caption widget in
1949 * src/hildon-date-editor.c: mirror appearance of the date editor in
1951 * src/hildon-time-editor.c: mirror appearance of the time editor in
1953 * src/hildon-window.c: fix the position of the popup in RTL mode
1955 2008-03-25 Sven Herzberg <sven@imendio.com>
1957 Amendment to the fix of NB#22072. Fix compilation.
1959 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1961 2008-03-19 Sven Herzberg <sven@imendio.com>
1963 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1966 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1967 timeout id properly when the timeout will disappear this leaves no
1968 artifacts around in the destroy(); there will only be the timeout
1969 created by hildon_banner_ensure_timeout() and adding a new timeout
1970 will also work if the timeout gets removed because the timeout_handler
1973 2008-03-19 Michael Natterer <mitch@imendio.com>
1975 Fixes: NB#79791: Cannot set focus to Master volume using stylus
1977 * src/hildon-volumebar.c
1978 * src/hildon-vvolumebar.c
1979 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1980 the widget becomes focussable at all.
1982 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1983 set the focus to wither the mute button or the volumebar.
1985 Remove own "can-focus" property and instead listen to
1986 notify::can-focus in order to update the widget's state.
1988 Implement GtkWidget::focus() and make sure we can also *leave* the
1989 widget, not only enter it, depending on volumebar orientation and
1990 requested focus direction.
1992 Clean up set_mute() to cooperate nicely with all the above.
1994 2008-03-04 Michael Natterer <mitch@imendio.com>
1996 Fixes: NB#78481: information banners are hidden under browser menu
1998 * src/hildon-banner.c: call gtk_window_present() on the banners so
1999 they are risen if they are already visible.
2001 2008-03-03 Sven Herzberg <sven@imendio.com>
2003 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2005 * examples/hildon-window-menu-example.c: (main): extended the window
2006 menu example to serve as a testcase for automatically added
2007 accelerator groups, too
2008 * src/hildon-window.c: (hildon_window_add_accel_group),
2009 (hildon_window_set_menu): added patch by Tommi Komulainen
2011 2008-03-03 Sven Herzberg <sven@imendio.com>
2013 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2015 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2016 knowledge about the border allocators used within GTK+
2018 2008-02-26 Sven Herzberg <sven@imendio.com>
2020 Fixes: MB#2981: Build with asserts broken
2022 * src/hildon-date-editor.c,
2023 * src/hildon-number-editor.c,
2024 * src/hildon-time-editor.c,
2025 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2026 the proper GType instance check
2028 2008-02-25 Sven Herzberg <sven@imendio.com>
2030 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2032 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2033 * examples/hildon-window-menu-example.c: (main): explicitly show
2035 * src/hildon-window.c:
2036 (hildon_window_set_main_menu): moved most of the code from set_menu()
2037 to this place; skipped the call to gtk_widget_show_all(); also didn't
2038 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2039 (hildon_window_set_menu): removed most of the code, just keep the
2040 questionable gtk_widget_show_all()
2041 * src/hildon-window.h: added the new function and deprecate the old
2044 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2050 * debian/changelog: Updating.
2052 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2055 * pkgconfig/Makefile.am:
2056 * pkgconfig/hildon.pc.in:
2059 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2060 use newly created API_MAJOR_VERSION.
2062 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2068 * debian/changelog: Updating.
2070 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2072 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2074 Add outer_border style property, we use it but don't define it (!).
2078 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2080 * examples/hildon-bread-crumb-trail-example.c (main):
2084 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2086 Fix logic for the bread crumb trail node removal.
2090 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2096 * debian/changelog: Updating.
2098 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2100 Patch by Alejandro to get/set passwords dialogs accesibility.
2102 * hildon-1/src/hildon-get-password-dialog.c:
2103 * hildon-1/src/hildon-set-password-dialog.c:
2104 Set atk_set_name to the passwd entries in order to allow
2105 accessibility by name on this entries.
2107 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2112 * debian/control: Updating gtk dep.
2114 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2116 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2117 USE_MAEMO_GTK is enabled.
2119 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2121 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2122 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2124 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2130 * debian/changelog: Updating.
2132 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2134 * examples/Makefile.am:
2135 * examples/hildon-logical-color-example.c:
2136 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2137 applied + adding a test case. Fixes: NB#71660.
2139 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2141 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2142 to be visible, fixes warning on map for windows without toolbars.
2144 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2146 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2147 2.11.0, add a check for that besides the MAEMO_GTK check.
2149 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2155 * debian/changelog: Updating.
2157 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2159 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2160 visibility. Fixes: NB#70842 and MB#615.
2162 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2164 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2165 set the separator as no-show-all so it doesn't unintentionally appear when
2166 someone does a show_all.
2168 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2170 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2171 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2172 toplevel item. Fixes: NB#62031
2174 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2176 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2177 fix the name of the function in the docs.
2179 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2185 * debian/changelog: Updating.
2187 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2189 * examples/hildon-banner-long-example.c: Adding a test-case for long
2192 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2194 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2196 * src/hildon-color-chooser-dialog.c:
2197 * src/hildon-color-chooser.c:
2198 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2199 memory leaks in font selector and color selector. Fixes: NB#70499 and
2202 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2204 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2206 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2208 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2209 little bit bigger. Fixes: #NB63694.
2211 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2217 * debian/changelog: Updating.
2219 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2222 * doc/hildon-docs.sgml:
2223 * doc/images/bread-crumb-trail.png:
2224 * doc/images/calendar-popup.png:
2225 * doc/images/caption.png:
2226 * doc/images/code-dialog.png:
2227 * doc/images/color-button.png:
2228 * doc/images/color-chooser-dialog.png:
2229 * doc/images/color-chooser.png:
2230 * doc/images/controlbar.png:
2231 * doc/images/date-editor.png:
2232 * doc/images/font-selection-dialog.png:
2233 * doc/images/get-password-dialog.png:
2234 * doc/images/hvolumebar.png:
2235 * doc/images/login-dialog.png:
2236 * doc/images/note.png:
2237 * doc/images/number-editor.png:
2238 * doc/images/range-editor.png:
2239 * doc/images/seekbar.png:
2240 * doc/images/set-password-dialog.png:
2241 * doc/images/sort-dialog.png:
2242 * doc/images/time-editor.png:
2243 * doc/images/time-picker.png:
2244 * doc/images/vvolumebar.png:
2245 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2246 Adding the bread-crumb-trial and helpers to the documentation.
2248 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2250 * examples/hildon-find-toolbar-example.c:
2251 * src/hildon-find-toolbar.c:
2252 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2253 actually continue firing the other handlers if connected. Adding a new
2255 hildon_find_toolbar_get_last_index that gets the index of the most
2256 recently added (last) item. Fixes: NB#52301.
2258 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2260 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2261 behaviour. Fixes: NB#68610.
2263 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2265 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2268 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2270 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2271 when realizing the banner. Should make the infonbanner effect a bit more
2274 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2276 * src/hildon-volumebar.c:
2277 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2278 hildon_volumebar_set_range_insensitive_message and
2279 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2281 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2283 * src/hildon-window.c: Fixing the border freeing on destroy.
2285 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2287 * src/hildon-code-dialog-private.h:
2288 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2289 kw keyboard support in HildonCodeDialog.
2291 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2297 * debian/changelog: Updating.
2299 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2301 * src/hildon-date-editor.c:
2302 * src/hildon-number-editor.c:
2303 * src/hildon-private.c:
2304 * src/hildon-private.h:
2305 * src/hildon-time-editor.c:
2306 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2307 handling in subclassed composite widgets. Fixes: NB#66628.
2309 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2311 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2312 from destroy_ callback as it introduces problems in async dbus signal
2313 handlers. Fixes NB#66673.
2315 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2317 * examples/hildon-hvolumebar-example.c:
2318 * src/hildon-volumebar.c: Improving the focus handling in the
2319 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2320 set_property accessor so that "mute" property can be actually set. I'm
2321 scared that nobody noticed it's totally broken.
2323 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2325 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2328 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2330 * src/hildon-calendar.c:
2331 * src/hildon-number-editor.c:
2332 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2333 matches the spec of 6 chars per second. Fixes: NB#60489.
2335 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2337 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2338 gtk_style_lookup_color sometime returns FALSE even though color was
2339 found and values were filled properly. Weird. Removing the warning for the
2342 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2344 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2345 expand vertically. Adding some extra space to the find toolbar buttons to
2346 make them thumbable. Fixes NB#66060.
2348 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2350 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2351 popup with "Ok" and "Cancel". Fixes NB#59299.
2353 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2355 * src/hildon-calendar.c: Process all window updates before executing next
2356 timeout. Fixes: NB#54146.
2358 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2364 * debian/changelog: Updating.
2366 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2368 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2369 the client event and ignore it, since we use the delete event to close
2372 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2374 * src/hildon-helper.c: Remove the bogus warning about color not being
2375 found. Fixes NB#58352.
2377 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2379 * examples/Makefile.am:
2380 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2381 HildonSeekbar widget inside a toolbar.
2383 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2385 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2386 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2387 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2388 don't want to be closed by non-temporary windows on map.
2390 Also use G_DEFINE_TYPE instead of manually typed code.
2392 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2399 * debian/rules: Updating.
2401 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2403 * examples/Makefile.am:
2404 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2405 bug NB#61128. Strangely it works.
2407 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2409 * src/hildon-date-editor.c: When the date editor entry has been changed
2410 but the numbers of characters < max, turn off the skip validation flag.
2411 Prevents a situation when we enter first a valid year and later re-write
2412 it with an invalid one. Fixes NB#60154.
2414 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2416 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2417 code dialog. Fixes NB#64355.
2419 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2421 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2422 switching the page. Fixes NB#49374.
2424 * examples/Makefile.am:
2425 * examples/hildon-wizard-dialog-example.c: Adding an example for
2426 HildonWizardDialog that shows how to handle manual sensitivity setting on
2429 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2433 * src/hildon-version.h.in:
2434 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2436 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2438 * src/hildon-volumebar.c: Updating the docs.
2440 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2446 * debian/changelog: Updating.
2448 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2450 * src/hildon-find-toolbar.c:
2451 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2452 selected item: hildon_find_toolbar_set_active,
2453 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2454 hildon_find_toolbar_get_active_iter . They correspond to respective
2455 GtkComboBox functions.
2457 * examples/Makefile.am:
2458 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2461 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2463 * examples/Makefile.am:
2464 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2467 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2468 when font size > 32 and we pack a focusable widget inside. Actually using
2469 the default response would work too, but since we don't show default
2470 response state in any way (no theming) it would not be visible to the
2471 user. Fixes NB#63430.
2473 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2475 * src/hildon-date-editor.c: Adding the missing variable setter in the
2476 set_property handler. Fixes NB#54182.
2478 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2480 * src/hildon-window.h: Changing the long key press time from 1500ms to
2481 800ms as requested in NB#63700. I have a bad feeling about this, let's
2482 see... Fixes NB#63700.
2484 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2486 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2487 hildon_time_picker_map, hildon_time_picker_realize,
2488 hildon_time_picker_style_set): Split the contents of map to more
2489 appropriate functions; set window decorations on realize and update
2490 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2492 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2497 * debian/changelog: Updating.
2499 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2501 * src/Makefile.am: fixed installation of the header files
2503 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2509 * debian/changelog: Updating.
2511 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2513 * configure.ac: Removing some remaining of --enable-xan.
2515 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2517 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2518 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2520 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2521 2.10.12-osso6 because the move-focus signal needs to be available in
2524 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2526 * examples/Makefile.am:
2527 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2528 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2529 fine. Prolly NB#61128 is fixed now.
2531 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2533 * src/hildon-volumebar.c:
2534 * src/hildon-volumebar.h: Adding the
2535 hildon_volumebar_set_range_insensitive_message and
2536 hildon_volumebar_set_range_insensitive_messagef functions to set
2537 insensitive message on the slider of the volumebar. Fixes NB#61129.
2539 * examples/Makefile.am:
2540 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2541 test the new insensitive messsage functionality on HildonVolumebar.
2543 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2545 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2548 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2550 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2551 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2552 button on after clearing the trail.
2554 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2556 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2558 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2560 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2561 by splitting the installed headers in generated and non-generated groups. Use
2562 only the non-generated headers to create the hildon-enum-types.h file.
2564 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2566 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2568 * src/hildon-window.c: Hide the window before performing the destroy.
2569 Should make the app closing a little tiny bit more snappy.
2571 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2573 * src/hildon-seekbar.c: add gtkrange.h header
2574 * src/hildon-caption.c: remove unused variable
2576 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2578 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2581 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2587 * debian/changelog: Updating.
2589 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2591 * src/hildon-window.c (hildon_window_window_state_event,
2592 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2593 escape timeout on focus-out-event rather than notify::is-topmost; the
2594 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2596 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2598 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2599 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2601 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2603 * src/hildon-window: actually, you need to use the macro always, there's
2604 no private pointer in the instance structure. We should have cleaned this up
2605 when we had the chance...
2607 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2609 * src/hildon-window.c: do not get the private date from HildonWindow before
2610 it passes the g_return_if_fail check. Once it's passed the test, there's no
2611 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2612 if you are only going to access the data once. Whitespace cleanups.
2614 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2616 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2617 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2619 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2625 * debian/changelog: Updating.
2627 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2629 * src/hildon-window.c: When destroying the window, remove (if exists) the
2630 escape timeout handler. Fixes #NB59276.
2632 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2634 * src/hildon-banner.c: When realizing the widget, set the window
2635 transiency. Setting the transiency in the gobject constructor is not
2636 good, as the widget is not realized at that point. Fixes: #NB56624.
2638 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2640 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2641 Add padding for future expansions.
2643 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2645 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2646 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2647 will fake an activation on the previous to the last item of the trail, so
2648 the effect can be overrided by the developer as usual.
2649 Also change the callback for the back button to do the same thing, so its
2650 effect can be overrided too. Fixes: NB#58982
2652 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2654 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2655 HildonCaption. Fixes NB#52379.
2657 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2659 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2660 the internal state of the trail after the user has had the chance of executing
2661 his handler for the signal. Specifically, it may happen that the activated button
2662 is removed and the user still lets the default handler run. This would segfault
2665 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2667 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2668 scrollbar to the preview dialog. Fixes NB#54147.
2670 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2672 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2673 max/min year properties can be altered, so the client can modify it
2674 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2676 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2678 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2679 hildonlike by default. Fixing a problem with disappearing arrows when
2680 scrolling through months and years. Fixes NB#54127.
2682 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2684 * examples/hildon-date-editor-example.c: Adding error callback to the date
2687 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2693 * configure.ac: Updating.
2695 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2697 * configure.ac: Adding a special '--enable-xan' configure option that
2698 turns off the -Werror compilation setting. Usefull for development.
2700 * src/hildon-calendar.c:
2701 * src/hildon-number-editor.c:
2702 * src/hildon-time-picker.c: Adding the 5* multiplier to
2705 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2707 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2708 instead of g_object_ref + gtk_object_sink.
2710 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2716 * debian/changelog: Updating.
2718 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2720 * src/hildon-color-chooser-dialog.c:
2721 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2722 straight from Tommi labs.
2724 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2726 * examples/hildon-finger-example.c: Correcting the header file path.
2728 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2729 the changed signal. Fixes a small memory leak.
2731 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2735 * src/hildon-banner.c: Importing several usefull fixes from the
2736 ubuntu-mobile branch.
2738 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2740 * examples/Makefile.am:
2741 * examples/hildon-finger-example.c: Adding a finger-checking code
2744 * src/hildon-font-selection-dialog.c: Do not allocate the color
2745 structure using the g_new. Fixes NB#54061.
2747 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2749 * src/hildon-helper.c: Correcting tabs in file.
2751 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2753 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2754 control the visibility of the children.
2756 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2758 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2764 * debian/changelog: Updating.
2766 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2768 * src/hildon-bread-crumb-trail.c:
2769 (hildon_bread_crumb_trail_size_allocate):
2771 Make the back button always a square.
2773 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2775 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2776 from the .c file as it's a private file.
2778 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2780 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2781 uses slightly bigger height.
2783 * src/hildon-font-selection-dialog.c: Adding some checks before
2784 freeing memory in the font selection dialog.
2786 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2788 * src/hildon-font-selection-dialog.c: Adding a small check when
2791 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2792 buttons sensitivity on page switching.
2794 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2796 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2797 internal details of adding a bread crumb to the trail.
2799 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2805 * debian/changelog: Updating.
2807 * src/hildon-bread-crumb-trail.h:
2808 * src/hildon-bread-crumb.h: Changing the API guard to
2809 HILDON_ENABLE_UNSTABLE_API.
2811 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2819 * src/hildon-helper.h: Updating.
2821 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2829 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2833 * src/hildon-helper.h: Small fix to make the package actually compile.
2835 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2837 * src/hildon-bread-crumb-trail.h:
2838 * src/hildon-bread-crumb.h:
2840 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2841 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2843 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2845 * examples/hildon-bread-crumb-trail-example.c:
2847 * src/hildon-bread-crumb-trail.c:
2848 * src/hildon-bread-crumb-trail.h:
2849 * src/hildon-bread-crumb.c:
2850 * src/hildon-bread-crumb.h:
2851 * src/hildon-marshalers.list:
2852 * src/hildon-bread-crumb-widget.c:
2853 * src/hildon-bread-crumb-widget.h:
2855 Slight change in the widget design. The bread crumb trail API is
2856 unchanged, but HildonBreadCrumb is now an interface. A *private*
2857 implementation, hildon-bread-crumb-widget, is provided and used
2858 internally by the trail for the push_text/push_icon functions.
2860 The generic push API is still available, so anyone can implement
2861 and use its own bread crumb widget.
2863 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2865 * debian/rules: Fixing the shlibs.
2867 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2869 * src/hildon-banner.c: Fixing a problem with timed banners having
2870 their parrent destroyed before they are.
2872 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2874 * src/hildon-bread-crumb.c:
2875 * src/hildon-bread-crumb.h:
2877 Make the get_natural_size function a vfunc.
2879 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2881 * src/hildon-bread-crumb.c:
2882 * src/hildon-bread-crumb-trail.c:
2886 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2893 * debian/changelog: Updating for release.
2895 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2897 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2898 don't leak the pango layout.
2900 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2903 * examples/hildon-bread-crumb-trail-example.c:
2907 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2909 * debian/changelog: Removing the bug-fixed entries that were actually
2910 resolved as WONTFIX.
2912 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2915 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2917 * src/hildon-bread-crumb-trail.c:
2918 * src/hildon-bread-crumb-trail.h:
2919 * src/hildon-bread-crumb.c:
2920 * src/hildon-bread-crumb.h:
2924 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2926 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2927 until it's passed the type check.
2929 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2931 * examples/hildon-bread-crumb-trail-example.c
2935 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2937 * examples/Makefile.am
2938 * examples/hildon-bread-crumb-trail-example.c
2940 * src/hildon-bread-crumb-trail.c
2941 * src/hildon-bread-crumb-trail.h
2942 * src/hildon-bread-crumb.c
2943 * src/hildon-bread-crumb.h
2945 New HildonBreadCrumbTrail widget.
2947 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2949 * src/hildon-range-editor.c (hildon_range_editor_init),
2950 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2951 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2952 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2953 hildon_time_editor_class_init, hildon_time_editor_init),
2954 src/hildon-get-password-dialog.c (invalid_input,
2955 hildon_get_password_set_property, hildon_get_password_get_property,
2956 create_contents, hildon_get_password_dialog_set_max_characters),
2957 src/hildon-set-password-dialog.c (create_contents),
2958 src/hildon-date-editor.c (hildon_date_editor_init),
2959 src/hildon-login-dialog.c (hildon_login_dialog_init),
2960 src/hildon-number-editor.c (hildon_number_editor_init),
2961 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2962 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2963 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2964 configure option and adding the respective checks in the code.
2965 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2966 hildon_calendar_drag_data_received): fixed some build warnings.
2968 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2970 * debian/changelog: A 1.0.0 release notes.