1 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4 set a cell background color, to respect theming.
6 2008-08-28 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-edit-toolbar.c
12 * src/hildon-edit-toolbar.h
13 * src/hildon.h: New HildonEditToolbar widget.
15 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
17 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
20 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
21 * src/hildon-touch-selector.c
22 (_create_new_column): use g_object_set instead of two g_object_set_property
24 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
25 * src/hildon-touch-selector.c
26 (_create_new_column): use of hildon_gtk_tree_view_new to create
27 the treeview, instead of use directly g_object_new
28 (_create_new_column): update the property name "vindicator-mode" for the
29 new one "vscrollbar-policy"
30 * examples/hildon-date-button-example.c
31 * examples/hildon-picker-button-multicolumn-example.c
32 * examples/hildon-touch-selector-entry-example.c
33 * examples/hildon-touch-selector-example.c
34 * examples/hildon-time-button-example.c
35 * examples/hildon-picker-button-example.c
36 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
37 to all the treeviews inside a pannable area.
39 2008-08-27 Alberto Garcia <agarcia@igalia.com>
42 * src/hildon-button.c (hildon_button_init)
43 (hildon_button_set_arrangement, hildon_button_set_alignment)
44 (hildon_button_set_title_alignment)
45 (hildon_button_set_value_alignment)
46 (hildon_button_set_image_alignment)
47 (hildon_button_construct_child): New methods to set the alignment
48 of the individual components of the button (title, value,
49 image). Also, new method to alter the xscale and yscale properties
50 of the GtkAlignment inside the button, so more complex layouts can
53 2008-08-27 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-button.c (hildon_button_style_set)
56 (hildon_button_class_init, hildon_button_set_arrangement)
57 (hildon_button_construct_child): Apply style properties
58 correctly. Use the 'image-spacing' style property too.
60 2008-08-26 Alberto Garcia <agarcia@igalia.com>
62 * src/hildon-app-menu.c (hildon_app_menu_style_set)
63 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
66 2008-08-26 Alejandro G. Castro <alex@igalia.com>
68 * src/hildon-pannable-area.c,
69 (hildon_pannable_area_size_request): Fixed problem with
70 pannable-area size_request.
72 2008-08-26 Alejandro G. Castro <alex@igalia.com>
74 Added management for the grab-focus to a child widget, like a
75 range, we need to fade out the scrollbar when releasing.
77 * src/hildon-pannable-area.c,
78 (hildon_pannable_area_init): Connected the grab-focus signal to
80 (hildon_pannable_area_grab_notify): Added this function in order
81 to manage the situation when the grab-focus ends. We have to
82 fade-out the scrollbar.
84 2008-08-25 Alberto Garcia <agarcia@igalia.com>
86 * src/hildon-app-menu.c: Minor documentation update.
88 2008-08-25 Alberto Garcia <agarcia@igalia.com>
90 * src/hildon-app-menu.c
91 * examples/hildon-app-menu-example.c (create_menu): Update
92 examples and documentation to explain how to connect callbacks.
94 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
96 * examples/hildon-button-example.c
97 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
98 hildon_stackable_window_new instead of gtk_window_new
100 2008-08-22 Alejandro G. Castro <alex@igalia.com>
102 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
103 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
104 (hildon_pannable_area_set_property),
105 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
106 (hildon_pannable_area_unrealize),
107 (hildon_pannable_area_size_request),
108 (hildon_pannable_area_size_allocate),
109 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
110 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
111 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
112 (hildon_pannable_area_initial_effect),
113 (hildon_pannable_area_redraw),
114 (hildon_pannable_area_scroll_indicator_fade),
115 (hildon_pannable_area_expose_event),
116 (hildon_pannable_area_get_topmost), (synth_crossing),
117 (hildon_pannable_area_button_press_cb),
118 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
119 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
120 (hildon_pannable_area_motion_notify_cb),
121 (hildon_pannable_area_button_release_cb),
122 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
123 (hildon_pannable_area_remove),
124 (hildon_pannable_calculate_vel_factor): Widget refactorization,
125 chage the code layout to a more GtkWidget like. Review the use of
128 2008-08-21 Alejandro G. Castro <alex@igalia.com>
130 * examples/hildon-pannable-area-example-4.c,
131 (main): Modified the name of the hindicator_mode to
134 * src/hildon-pannable-area.c,
135 (hildon_pannable_area_class_init),
136 (hildon_pannable_area_motion_notify_cb),
137 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
138 we have reduced the amount of signals and managed reviewed its
139 rationale. Changed the default decelerate value.
141 (hildon_pannable_area_add),
142 (hildon_pannable_area_redraw): Refactored functions.
144 (hildon_pannable_area_init),
145 (hildon_pannable_area_get_property),
146 (hildon_pannable_area_set_property):
147 (hildon_pannable_draw_vscroll),
148 (hildon_pannable_draw_hscroll),
149 (hildon_pannable_area_initial_effect),
150 (hildon_pannable_area_expose_event),
151 (hildon_pannable_area_scroll),
152 (hildon_pannable_area_button_press_cb),
153 (hildon_pannable_area_realize): Replaced the names hindicator_mode
154 and vindicator_mode with hscrollbar_policy and
155 vscrollbar_policy. Replaced hscroll and vscroll with
156 hscroll_visible and vscroll_visible.
158 (hildon_pannable_area_refresh): Refactor the function, remove
159 variables and check the calls to this function, added resize
160 conditions in case the children change their layout.
162 (hildon_pannable_area_size_request): Added more detailed
163 size_request calculation.
166 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
168 * src/hildon-color-chooser.c
169 (init_borders): use the correct gtk_border_free instead of g_free, to
170 avoid a crash when this widget is used (ie: the three color selection
173 2008-08-20 Alejandro G. Castro <alex@igalia.com>
175 * src/hildon-check-button.c,
176 (hildon_check_button_set_active): Fixed problem when setting the
177 active value, the widget was not redrawn.
179 2008-08-20 Alejandro G. Castro <alex@igalia.com>
181 * src/hildon-pannable-area.c,
182 (hildon_pannable_area_refresh),
183 (hildon_pannable_area_scroll),
184 (hildon_pannable_area_motion_notify_cb): Small code style change.
186 (hildon_pannable_area_class_init): Default initial_hint set to
187 FALSE, it is not in the specs.
189 (hildon_pannable_area_initial_effect),
190 (hildon_pannable_area_expose_event),
191 (hildon_pannable_area_map),
192 (hildon_pannable_area_init): Moved the launching point of the
193 initial effect, it was in map but the sizes where not correct in
194 that method so we do not know if we have the reproduce it. Now it
195 is placed in the expose_event method and uses a variable to
196 reproduce it just once.
198 2008-08-19 Alejandro G. Castro <alex@igalia.com>
200 * src/hildon-pannable-area.c,
201 (hildon_pannable_draw_vscroll),
202 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
203 position allowed for the scrollbars.
205 (hildon_pannable_area_size_allocate): Small style change.
207 2008-08-19 Alejandro G. Castro <alex@igalia.com>
209 * src/hildon-pannable-area.c,
210 (hildon_pannable_area_scroll_indicator_fade),
211 (hildon_pannable_area_button_press_cb),
212 (hildon_pannable_area_button_release_cb),
213 (hildon_pannable_area_scroll_cb),
214 (hildon_pannable_area_expose_event),
215 (hildon_pannable_area_init): Added the define parameter
216 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
217 and refactor the fade variable.
219 2008-08-19 Alejandro G. Castro <alex@igalia.com>
221 * src/hildon-pannable-area.c,
222 (hildon_pannable_area_redraw),
223 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
224 lines, we were reimplemeting the redraw code.
226 2008-08-18 Alejandro G. Castro <alex@igalia.com>
228 * src/hildon-pannable-area.c,
229 (hildon_pannable_area_scroll_cb),
230 (hildon_pannable_area_realize),
231 (hildon_pannable_area_class_init): Added scroll_event management
232 for pannable area, now we can scroll the usual desktop method.
234 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
235 initialization of the parameters should depend on idle_id.
237 (hildon_pannable_area_init),
238 (hildon_pannable_area_map): Small code style modifications
240 2008-08-18 Alejandro G. Castro <alex@igalia.com>
242 * src/hildon-pannable-area.c
243 (hildon_pannable_area_button_press_cb),
244 (hildon_pannable_area_motion_notify_cb),
245 (hildon_pannable_area_button_release_cb),
246 (hildon_pannable_area_size_allocate),
247 (hildon_pannable_area_scroll_to): Improved the timeouts
248 management, we avoid creating them each time.
250 2008-08-14 Alejandro G. Castro <alex@igalia.com>
252 * src/hildon-pannable-area.c:
253 (hildon_pannable_area_refresh),
254 (hildon_pannable_area_motion_notify_cb),
255 (hildon_pannable_area_class_init):
256 * src/hildon-pannable-area.h:
257 * src/hildon-touch-selector.c
258 (_create_new_column):
259 * examples/hildon-pannable-area-example-4.c:
260 (horizontal_movement),
263 Replaced the names of enums in the HildonPannableArea:
264 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
265 HILDON_MOVEMENT_MODE_*
266 - HILDON_PANNABLE_AREA_MOV_* ->
268 - Removed HildonPannableAreaIndicatorMode, now we
271 2008-08-14 Alberto Garcia <agarcia@igalia.com>
273 * examples/hildon-pannable-area-touch-grid-example.c
274 * examples/hildon-pannable-area-touch-list-example.c: Fix
275 compilation warnings.
277 2008-08-14 Alberto Garcia <agarcia@igalia.com>
279 * src/hildon-gtk.c (hildon_gtk_button_new)
280 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
281 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
282 images overriding the value of the "gtk-button-images" setting.
284 2008-08-14 Alberto Garcia <agarcia@igalia.com>
286 * src/hildon-check-button.c (hildon_check_button_new):
287 Instead of using a custom container, display the label and the
288 checkbox using the standard GtkButton API.
290 * examples/hildon-check-button-example.c (main): Don't use
291 hildon_check_button_set_label() anymore
293 * src/hildon-check-button.h
294 * src/hildon-check-button.c
295 (hildon_check_button_set_label, hildon_check_button_get_label):
296 Set as deprecated, now we're using gtk_button_{get,set}_label()
298 2008-08-14 Alejandro G. Castro <alex@igalia.com>
300 * src/hildon-pannable-area.c,
301 (hildon_pannable_area_get_topmost): Fixed bug with click in the
302 GtkTreeview first line we detected it after the inclusion of the
303 GtkWindowImpl in gtk+. We now check if the window is visible, not
304 just if the pointer is over the window.
305 (hildon_pannable_axis_scroll),
306 (hildon_pannable_area_expose_event): Small style changes.
308 2008-08-13 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-button.c: Update documentation.
312 2008-08-13 Alberto Garcia <agarcia@igalia.com>
314 * examples/hildon-button-example.c: Add a switch to show images in
317 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
319 * doc/hildon-docs.sgml: Some docs reorganization.
321 2008-08-12 Alberto Garcia <agarcia@igalia.com>
323 * examples/hildon-pannable-area-touch-list-example.c
325 * examples/hildon-pannable-area-touch-grid-example.c
326 (create_icon_view): Use gtk_{tree,icon}_view_new() and
327 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
328 Fix memory leak when setting the tree model.
330 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
334 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
336 * doc/hildon.types: Remove duplicated hildon_window_get_type
337 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
338 documentation comment.
340 2008-08-12 Alberto Garcia <agarcia@igalia.com>
342 * doc/Makefile.am: Complete list of private headers.
344 2008-08-12 Alberto Garcia <agarcia@igalia.com>
346 * doc/hildon-docs.sgml
347 * src/hildon-app-menu.c
348 * src/hildon-bread-crumb.c
349 * src/hildon-button.c
351 * src/hildon-program.c
352 * src/hildon-stackable-window.c
353 * src/hildon-window.c: Lots of documentation updates.
355 2008-08-12 Alberto Garcia <agarcia@igalia.com>
357 * debian/control: Depend on Gtk 2:2.12.9-0osso3
359 * configure.ac: Require Gtk+ 2.12.9 at least
361 2008-08-12 Alejandro G. Castro <alex@igalia.com>
363 * src/hildon-pannable-area.c
364 (hildon_pannable_area_scroll_indicator_fade),
365 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
366 to protect the return of this timeout callbacks, avoiding deadlocks.
368 2008-08-12 Christian Dywan <christian@imendio.com>
371 * src/hildon-*.h: Ensure a consistent include order,
372 include <gtk/gtk.h> instead of particular files and
373 only include the topmost header in the gtk stack. See NB #39857
375 2008-08-12 Christian Dywan <christian@imendio.com>
377 * src/hildon-picker-dialog.c
378 * src/hildon-touch-selector.c: Fix warnings about unused and
379 uninitialized variables.
381 2008-08-11 Alberto Garcia <agarcia@igalia.com>
383 * examples/Makefile.am
384 * examples/hildon-check-button-example.c: Example of the hildon
387 2008-08-11 Alberto Garcia <agarcia@igalia.com>
389 * src/hildon-window.h
390 * src/hildon-window.c (hildon_window_class_init)
391 (hildon_window_unset_program): Don't make
392 hildon_window_unset_program a virtual function anymore.
394 * src/hildon-stackable-window.c: Update documentation
396 2008-08-11 Alberto Garcia <agarcia@igalia.com>
399 * doc/hildon-docs.sgml
400 * doc/visual_index.xml
401 * src/hildon-defines.c
403 * src/hildon-helper.c
404 * src/hildon-range-editor.c: Lots of documentation fixes.
406 2008-08-11 Alberto Garcia <agarcia@igalia.com>
408 * examples/hildon-picker-button-multicolumn-example.c
409 (create_touch_selector): Fix compilation warning.
411 2008-08-11 Alberto Garcia <agarcia@igalia.com>
413 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
414 (hildon_pannable_area_button_release_cb)
415 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
417 2008-08-11 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
422 2008-08-11 Alberto Garcia <agarcia@igalia.com>
424 * src/hildon-bread-crumb-trail.h
425 * src/hildon-date-editor.c
426 * src/hildon-date-selector.c
427 * src/hildon-pannable-area.c
428 * src/hildon-picker-dialog.c
429 * src/hildon-time-selector.c
430 * src/hildon-touch-selector-entry.c
431 * src/hildon-touch-selector.c
432 * src/hildon-touch-selector.h: Misc documentation fixes
434 2008-08-11 Alberto Garcia <agarcia@igalia.com>
436 * examples/hildon-date-editor-example.c (main): Updated date
439 * examples/hildon-note-example.c (on_confirmation_clicked):
440 Updated confirmation note example.
442 * src/hildon-date-editor.c
443 * src/hildon-note.c: Updated sample programs in documentation.
446 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
448 * src/hildon-date-button.h:
449 * src/hildon-picker-button.h:
450 * src/hildon-time-button.c:
451 * src/hildon-time-button.h:
453 Some declarations changes to allow gtk-doc to document the widgets
456 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-date-button.c: Document the widget.
459 * src/hildon-time-button.c: Document the widget.
461 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
463 * src/hildon-picker-button.c: Document the widget.
464 * src/hildon-touch-selector-entry.c: Document the widget.
466 2008-08-08 Alberto Garcia <agarcia@igalia.com>
468 * doc/hildon-docs.sgml
471 * src/hildon-check-button.h
472 * src/hildon-check-button.c: New functions to create the Hildon
476 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
478 2008-08-08 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-button.h
481 * src/hildon-button.c
482 (hildon_button_add_title_size_group)
483 (hildon_button_add_value_size_group)
484 (hildon_button_add_image_size_group)
485 (hildon_button_add_size_groups): New functions to set size groups
486 for the button labels and image.
487 (hildon_button_new_full): Removed
489 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
491 * src/hildon-time-selector.c
492 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
493 in order to avoid a crash if gconf is not available
495 2008-08-08 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-button.c (hildon_button_set_arrangement)
498 (hildon_button_construct_child): Don't construct the button child
499 before setting the arrangement.
501 2008-08-08 Alberto Garcia <agarcia@igalia.com>
503 * src/hildon-program-private.h
504 * src/hildon-program.c
505 * src/hildon-program.h
506 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
507 (hildon_program_peek_window_stack)
508 (hildon_program_pop_window_stack)
509 (hildon_program_go_to_root_window): HildonProgram now has a
510 separate list for stackable windows. Functions are provided to
511 manage that list with a stack-like API.
513 * src/hildon-stackable-window.c: Stackable window management is
514 now much simpler with the new HildonProgram API. Windows no
515 longer need to be manually added to the program, they're
516 automatically pushed to the top of the stack when shown.
518 * examples/hildon-stackable-window-example.c: Updated example to
519 reflect the API changes.
521 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-touch-selector.c: Comment out unimplemented
524 hildon_touch_selector_insert_column() to avoid a compile warning.
526 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
528 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
529 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
530 (hildon_touch_selector_set_column_selection_mode),
531 (_hildon_touch_selector_set_model),
532 (hildon_touch_selector_set_model):
534 Complete review of HildonTouchSelector documentation.
536 2008-08-08 Alberto Garcia <agarcia@igalia.com>
538 * doc/hildon-docs.sgml
542 * src/hildon-gtk.c: Convenience functions for standard Gtk
543 widgets, used to easily perform frequent operations.
545 * src/hildon-button-helpers.h
546 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
548 * src/hildon-helper.h
549 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
550 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
552 * src/hildon-button.h
553 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
555 2008-08-07 Alberto Garcia <agarcia@igalia.com>
557 * src/hildon-button.c (hildon_button_init)
558 (hildon_button_set_arrangement, hildon_button_construct_child):
559 Pack the image and the labels inside the same GtkAlignment so
560 gtk_button_set_alignment() can be used
562 2008-08-07 Alberto Garcia <agarcia@igalia.com>
564 * src/hildon-button.h
565 * src/hildon-button.c
566 (hildon_button_init, hildon_button_set_image)
567 (hildon_button_set_image_position)
568 (hildon_button_construct_child): New functions to add an image to
571 2008-08-07 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-date-button.c
574 * src/hildon-picker-button.c
575 * src/hildon-time-button.c
576 * src/hildon-button.c:
577 (hildon_button_class_init): "size-flags" renamed to "size"
578 (hildon_button_set_title): Hide the title label if set to NULL.
580 2008-08-07 Alberto Garcia <agarcia@igalia.com>
582 HildonButtonFlags split into HildonButtonArrangement (to set the
583 button layout) and HildonSizeType (which can be used for any
586 * src/hildon-button.h
587 * src/hildon-button.c
588 (hildon_button_class_init)
589 (hildon_button_set_arrangement)
590 (hildon_button_set_property): New "size-flags"
591 property. "arrangement-flags" renamed to "arrangement".
592 (hildon_button_new, hildon_button_new_with_text)
593 (hildon_button_new_full): Constructors updated to reflect type changes.
595 * src/hildon-helper.h
596 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
597 to set the size of a widget.
601 * src/hildon-button-helpers.c
602 * src/hildon-button-helpers.h: New hildon-button-helpers module.
604 * src/hildon-date-button.c
605 * src/hildon-date-button.h
606 * src/hildon-picker-button.c
607 * src/hildon-picker-button.h
608 * src/hildon-time-button.c
609 * src/hildon-time-button.h: Updated widgets to reflect
610 HildonButton API changes.
612 * examples/hildon-button-example.c
613 * examples/hildon-date-button-example.c
614 * examples/hildon-picker-button-example.c
615 * examples/hildon-picker-button-multicolumn-example.c
616 * examples/hildon-time-button-example.c
617 * examples/hildon-touch-selector-entry-example.c
618 * examples/hildon-touch-selector-example.c: Updated examples to
619 reflect HildonButton API changes.
621 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
623 * doc/hildon-docs.sgml:
625 * examples/Makefile.am:
626 * examples/hildon-touch-selector-entry-example.c:
628 * src/hildon-touch-selector-entry.c:
629 * src/hildon-touch-selector-entry.h:
632 Moved HildonTouchSelectorEntry from sandbox. Added its
633 documentation and examples.
635 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
637 * src/hildon-touch-selector.h:
638 * examples/hildon-picker-button-multicolumn-example.c:
639 (hildon_touch_selector_append_text_column): Add a gboolean
640 parameter to determine if text must be centered in the column.
642 * src/hildon-date-selector.c: (hildon_date_selector_init):
643 * src/hildon-time-selector.c: (hildon_time_selector_init):
644 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
645 (create_touch_selector): Update widgets and example to reflect
648 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-touch-selector.c:
651 (hildon_touch_selector_set_active_iter): Set also the cursor in
654 2008-08-06 Alberto Garcia <agarcia@igalia.com>
656 * doc/hildon-docs.sgml
659 * src/hildon-toggle-button.c
660 * src/hildon-toggle-button.h
661 * src/hildon.h: Removed HildonToggleButton widget, a derived
662 class is not necessary for this.
664 2008-08-06 Alejandro G. Castro <alex@igalia.com>
666 * src/hildon-pannable-area.c,
667 (hildon_pannable_area_realize),
668 (hildon_pannable_area_size_allocate): Code refactoring, add tests
671 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
674 "done" button the default widget for the dialog.
676 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
678 * src/hildon-touch-selector.c:
679 (hildon_touch_selector_class_init),
680 (hildon_touch_selector_get_property),
681 (_hildon_touch_selector_set_model),
682 (_hildon_touch_selector_has_multiple_selection),
683 (hildon_touch_selector_has_multiple_selection):
684 Add a "has-multiple-selection" property with a virtual
685 has_multiple_selection() method to allow derived classes to
686 override the default value for it. See the method and property
687 documentation for details.
689 * src/hildon-touch-selector.h: Add the new API.
691 * src/hildon-picker-dialog.c: (requires_done_button): Call
692 hildon_touch_selector_has_multiple_selection() instead of
693 determining the need for a button itself.
695 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
697 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
698 (_hildon_touch_selector_set_model),
699 (hildon_touch_selector_set_model): Move working code to
700 _hildon_touch_selector_set_mode(). Call the class method instead.
702 * src/hildon-touch-selector.h: Add (*set_model) to
703 HildonTouchSelectorClass.
705 Make hildon_touch_selector_set_model() a virtual method, so that
706 derived classes can extend it and do fancy stuff with the model.
708 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
710 * configure.ac: Set back the tarname in AC_INIT to hildon.
712 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
716 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
717 instead of libesd (NB#86876). Volume handling is still an open issue.
719 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
722 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
724 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
725 (hildon_touch_selector_append_column): Make the widget a GtkVBox
726 derived class to ease placement of an entry widget in
727 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
728 end, where the selector columns are packed now.
730 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
732 * src/hildon-picker-button.c: Removed the simple _text() API.
733 * src/hildon-picker-button.h: Likewise.
735 * src/hildon-touch-selector.h:
736 * src/hildon-touch-selector.c:
737 (hildon_touch_selector_new_text),
738 (hildon_touch_selector_append_text),
739 (hildon_touch_selector_prepend_text),
740 (hildon_touch_selector_insert_text):
742 Moved the simple _text() API from HildonPickerButton to
743 HildonTouchPicker, to provide better escalability and not to tie
744 that API to HildonPickerButton.
746 * examples/hildon-picker-button-example.c: (main): Example updated.
748 2008-07-31 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-button.c: Updated documentation.
752 * examples/hildon-button-example.c: Add the posibility to create
753 the buttons using horizontal layout for title and value.
755 2008-07-31 Alberto Garcia <agarcia@igalia.com>
757 * src/hildon-app-menu-private.h
758 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
759 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
760 GtkSizeGroup for the filters, use the 'homogeneous' property of
763 2008-07-31 Alberto Garcia <agarcia@igalia.com>
765 * examples/hildon-button-example.c: Updated example.
767 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
769 * doc/hildon-docs.sgml:
772 Update documentation.
774 * examples/Makefile.am: Update renamed examples.
776 * examples/hildon-picker-button-multicolumn-example.c:
777 (create_touch_selector), (main): Update after the rename.
779 * examples/hildon-touch-picker-example.c: Removed.
780 * examples/hildon-touch-selector-example.c: (value_changed),
781 (create_selector), (get_visible_content), (main): Renamed from
782 hildon-touch-picker-example.c
784 * src/Makefile.am: Updated renamed files.
786 * src/hildon-date-button.c: (hildon_date_button_init),
787 (hildon_date_button_get_date), (hildon_date_button_set_date):
788 * src/hildon-date-selector.c: (hildon_date_selector_init),
789 (_custom_print_func), (_update_day_model),
790 (_manage_selector_change_cb),
791 (hildon_date_selector_select_current_date),
792 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
793 * src/hildon-date-selector.h:
794 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
795 (hildon_picker_button_set_property),
796 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
797 (hildon_picker_button_init), (hildon_picker_button_new_text),
798 (hildon_picker_button_append_text),
799 (hildon_picker_button_prepend_text),
800 (hildon_picker_button_insert_text),
801 (hildon_picker_button_set_selector),
802 (hildon_picker_button_get_selector):
803 * src/hildon-picker-button.h:
804 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
805 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
806 (_update_title_on_selector_changed_cb), (requires_done_button),
807 (_hildon_picker_dialog_set_selector),
808 (hildon_picker_dialog_set_selector),
809 (hildon_picker_dialog_get_selector):
810 * src/hildon-picker-dialog.h:
811 * src/hildon-time-button.c: (hildon_time_button_init),
812 (hildon_time_button_get_time), (hildon_time_button_set_time):
813 * src/hildon-time-selector.c: (hildon_time_selector_init),
814 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
815 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
816 * src/hildon-time-selector.h:
819 Massive code updates after the rename.
821 * src/hildon-touch-picker.c: Removed.
822 * src/hildon-touch-picker.h: Removed.
824 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
825 (hildon_touch_selector_init), (hildon_touch_selector_map),
826 (hildon_touch_selector_remove), (_default_print_func),
827 (_selection_changed_cb), (_create_new_column),
828 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
829 (hildon_touch_selector_append_text_column),
830 (hildon_touch_selector_remove_column),
831 (hildon_touch_selector_set_column_attributes),
832 (hildon_touch_selector_insert_column),
833 (hildon_touch_selector_get_num_columns),
834 (hildon_touch_selector_get_column_selection_mode),
835 (hildon_touch_selector_set_column_selection_mode),
836 (hildon_touch_selector_set_print_func),
837 (hildon_touch_selector_get_print_func),
838 (hildon_touch_selector_get_active_iter),
839 (hildon_touch_selector_set_active_iter),
840 (hildon_touch_selector_get_selected_rows),
841 (hildon_touch_selector_get_model),
842 (hildon_touch_selector_set_model),
843 (hildon_touch_selector_get_current_text),
844 (_hildon_touch_selector_center_on_selected_items):
845 * src/hildon-touch-selector.h: Renamed from
846 hildon-touch-picker.[ch]
848 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
849 references, code examples, and related documentation.
851 2008-07-30 Alberto Garcia <agarcia@igalia.com>
853 * doc/hildon-docs.sgml
856 * src/hildon-toggle-button.c
857 * src/hildon-toggle-button.h
858 * src/hildon.h: New HildonToggleButton widget.
860 2008-07-30 Alberto Garcia <agarcia@igalia.com>
862 * src/hildon-button.c: Add API documentation.
863 (hildon_button_set_size_groups): Check input parameters
865 2008-07-30 Alejandro G. Castro <alex@igalia.com>
867 * src/hildon-pannable-area.c
868 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
869 effect after reaching the movement thredshold. This way we start
870 using the distance after passing the thredshold.
872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-button.c: (hildon_button_set_property): Use the
875 appropriate g_value_get_flags() method.
877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
879 * doc/hildon-docs.sgml:
882 Add the touch pickers, picker dialogs, and picker button widgets
883 to the documentation.
885 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
887 * src/hildon-button.c: (hildon_button_set_property),
888 (hildon_button_class_init): Make "arrangement-flags" a proper
889 G_TYPE_FLAGS derived property.
891 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
893 * examples/Makefile.am: Add below examples.
894 * examples/hildon-date-button-example.c:
895 * examples/hildon-picker-button-example.c:
896 * examples/hildon-picker-button-multicolumn-example.c:
897 * examples/hildon-time-button-example.c:
898 * examples/hildon-touch-picker-example.c:
900 Add examples for the recently added touch pickers,
901 picker dialogs, and picker button widgets.
903 2008-07-29 Alberto Garcia <agarcia@igalia.com>
905 * src/hildon-button.c: Add some API documentation
907 2008-07-29 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-button.h
910 * src/hildon-button.c
912 (hildon_button_new_with_text): New constructor to create a button
914 (hildon_button_init, hildon_button_set_arrangement)
915 (hildon_button_set_title, hildon_button_set_value)
916 (hildon_button_set_text)
917 (hildon_button_construct_child): Hide the value when it's not used
918 so the rest of the text is properly aligned.
919 Allow creating buttons with arbitrary widgets inside (not just
922 * examples/hildon-button-example.c (vertical_buttons_window)
923 (horizontal_buttons_window): Update example to use new API.
925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
927 * src/Makefile.am: Added HildonTimeButton.
928 * src/hildon-time-button.c: Added missing LGPL header.
929 * src/hildon-time-button.h: Added missing LGPL header.
930 * src/hildon.h: Add hildon-time-button.h
932 Copied HildonTimeButton from sandbox to trunk. Future work on this
933 widget must take place in trunk.
935 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
937 * src/Makefile.am: Added HildonDateButton.
938 * src/hildon-date-button.c: Update includes.
939 * src/hildon.h: Add hildon-date-button.h
941 Copied HildonDateButton from sandbox to trunk. Future work on this
942 widget must take place in trunk.
944 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
946 * src/Makefile.am: Added HildonPickerButton.
947 * src/hildon-picker-button.h: Update includes.
948 * src/hildon.h: Add hildon-picker-button.h
950 Copied HildonPickerButton from sandbox to trunk. Future work on
951 this widget must take place in trunk.
953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
955 * src/Makefile.am: Added HildonPickerDialog.
956 * src/hildon-picker-dialog.c: Update includes.
957 * src/hildon.h: Add hildon-picker-dialog.h
959 Copied HildonPickerDialog from sandbox to trunk. Future work
960 on this widget must take place in trunk.
962 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
964 * src/Makefile.am: Added HildonTimeSelector.
965 * src/hildon.h: Add hildon-time-selector.h
967 Copied HildonTimeSelector widget from sandbox to trunk. Future
968 work on this widget must happen in trunk.
970 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
972 * src/Makefile.am: Added HildonDateSelector.
973 * src/hildon.h: Add hildon-date-selector.h
975 Copied HildonDateSelector widget from sandbox to trunk. Future
976 work on this widget must happen in trunk.
978 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
980 * src/Makefile.am: Added HildonTouchPicker.
981 * src/hildon-touch-picker.c: Update includes.
982 * src/hildon.h: Add hildon-touch-picker.h
984 Copied HildonTouchPicker widget from sandbox to trunk. Future work
985 on this widget must happen in trunk.
987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
989 * src/hildon-pannable-area.c:
990 (hildon_pannable_area_motion_notify_cb): Fix a typo.
992 2008-07-29 Alberto Garcia <agarcia@igalia.com>
994 * examples/hildon-app-menu-example.c (main): Let the window
997 2008-07-29 Alejandro G. Castro <alex@igalia.com>
999 * src/hildon-pannable-area.c
1000 (hildon_pannable_area_class_init): Set the min value of the
1001 overshoot properties to zero, which points out that not
1002 overshooting allowed.
1004 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1006 Modified the procedure to get the widget at a point inside the
1007 pannable area when using the movement type signals. Now the user
1008 has to call a function to get the child, that way we just
1009 calculate the child in case the user really want to use it and not
1012 * src/hildon-marshalers.list: Modified the marshallers, now we do
1013 not have the widget as a parameter.
1015 * src/hildon-pannable-area.c
1016 (hildon_pannable_area_motion_notify_cb),
1017 (hildon_pannable_area_class_init),
1018 (hildon_pannable_get_child_widget_at): Removed the widget
1019 parameter from the signal callback. We have also refactored the
1020 emission of the signals.
1022 * src/hildon-pannable-area.h: Added a new method to the API to
1023 calculate a widget at a point inside the pannable area,
1024 hildon_pannable_get_child_widget_at.
1026 * examples/hildon-pannable-area-example-4.c
1027 (horizontal_movement): Modified the example to use the new API,
1028 added condition to control which widget is under the event. This
1029 way we can avoid scrolling laterally over other widgets.
1031 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1033 * src/hildon-pannable-area.c
1034 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1035 modes, we stop getting the pointer events due to returning the
1036 callback without properly calling the get pointer again. Fixed
1037 also an error using the hscroll and vscroll.
1039 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-app-menu-private.h
1042 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1043 (hildon_app_menu_button_release, hildon_app_menu_init)
1044 (hildon_app_menu_class_init): Don't hide the menu on button
1045 release if the user didn't press outside first.
1047 * src/hildon-window.h
1048 * src/hildon-window.c (hildon_window_toggle_menu)
1049 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1050 hildon_window_toggle_menu a virtual function for the stackable
1051 window to override it.
1053 * src/hildon-stackable-window.h
1054 * src/hildon-stackable-window-private.h
1055 * src/hildon-stackable-window.c
1056 (hildon_stackable_window_realize)
1057 (hildon_stackable_window_finalize)
1058 (hildon_stackable_window_class_init)
1059 (hildon_stackable_window_init)
1060 (hildon_stackable_window_set_main_menu): New function to set the
1061 app menu of a HildonStackableWindow.
1063 * examples/hildon-app-menu-example.c: Remove the button to show
1064 the app menu, now it'll be shown when clicking on the title bar
1067 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1070 set the widget name if the arrangement flags do not specify
1073 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-button.c: (hildon_button_set_property),
1076 (hildon_button_class_init), (hildon_button_new_full),
1077 (hildon_button_set_arrangement): Added "arrangement-flags"
1080 Make the HildonButtonFlags a construction-only property, to allow
1081 subclasses to set them properly.
1083 2008-07-21 Tim Janik <timj@imendio.com>
1085 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1086 insertion position after backspace, so additional digits are appended,
1089 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1093 TODO list, it was complete and removed the g_debug and g_print
1096 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1098 Added the movement modes to the hildon-pannable-area, with this
1099 modes the developers can control in which directions the widget
1100 can scroll. They can also connect to signals in order to do
1101 something when that happens, allowing applications scroll. There
1102 is an example uploaded showing how to use it.
1104 * examples/Makefile.am:
1105 * examples/hildon-pannable-area-example-4.c: Added this example of
1106 an application using the modes.
1108 * src/hildon-marshalers.list: Added a new marshaller for the new
1111 * src/hildon-pannable-area.h: Added new enumerations and flags in
1112 order to control the movement modes and the new signals to warn
1113 about the movements in the area.
1115 * src/hildon-pannable-area.c:
1116 (hildon_pannable_axis_scroll),
1117 (hildon_pannable_area_scroll),
1118 (hildon_pannable_area_motion_notify_cb),
1119 (hildon_pannable_area_get_property),
1120 (hildon_pannable_area_set_property),
1121 (hildon_pannable_area_map),
1122 (hildon_pannable_area_class_init),
1123 (hildon_pannable_area_init),
1124 (hildon_pannable_area_jump_to): Added the modes to control the
1125 movement in the widget. We have added properties to control it,
1126 signals to warn about the movements and refactored some code.
1128 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1130 Changes required in order to allow vfast_factor set to zero to
1133 * src/hildon-pannable-area.c:
1134 (hildon_pannable_area_button_press_cb): Changed the condition, it
1135 is required for not allowing click when vfast_factor is zero.
1136 (hildon_pannable_area_timeout): Initialized velocity variables
1137 when we stop moving, it was less than 1 but not zero and we need
1138 to check zero in some situations.
1139 (hildon_pannable_area_class_init): Changed the default value of
1140 the speed factor, now the button_press is just sent in case the
1141 speed is 2 per cent of the max speed.
1142 (hildon_pannable_area_init): Initialization with 0.
1144 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1146 * src/hildon-pannable-area.c,
1147 (hildon_pannable_area_get_topmost): replaced
1148 gdk_window_get_children with gdk_window_peek_children, this way we
1149 do not have to free the list because it is not a copy.
1151 (hildon_pannable_axis_scroll),
1152 (hildon_pannable_area_scroll),
1153 (hildon_pannable_area_timeout),
1154 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1155 two parameters that were only used inside the
1156 hildon_pannable_area_scroll function.
1158 * examples/hildon-pannable-area-example.c,
1159 (get_sawtooth_label): Fixed small memory leak.
1161 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1163 More checks for the case where the overshoot is bigger than the
1166 * src/hildon-pannable-area.c:
1167 (hildon_pannable_draw_vscroll),
1168 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1169 to draw the slider of the scrollbar under the other scrollbar.
1170 (hildon_pannable_area_expose_event): added new checks to control
1171 the drawing of the overshooting area rectangle, in case it is too
1172 big for the area of the widget.
1173 (hildon_pannable_area_size_allocate): add more checks to avoid
1174 setting a position to the child widget outside the area.
1176 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1178 * src/hildon-pannable-area.c
1179 (hildon_pannable_area_size_allocate): Added conditions to control
1180 when overshooting is bigger than the allocated space for the
1181 children, this avoids negative allocations.
1183 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1185 * doc/hildon-docs.sgml
1187 * examples/Makefile.am
1188 * examples/hildon-button-example.c
1190 * src/hildon-button.c
1191 * src/hildon-button.h
1192 * src/hildon.h: Initial version of the new HildonButton widget,
1195 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1197 * src/hildon-pannable-area.c:
1198 (hildon_pannable_area_button_press_cb),
1199 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1200 (hildon_pannable_area_motion_notify_cb),
1201 (hildon_pannable_area_button_release_cb),
1202 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1203 (hildon_pannable_area_jump_to_child):
1205 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1207 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1209 * examples/Makefile.am
1210 * examples/hildon-pannable-area-touch-grid-example.c
1211 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1212 the Hildon Touch List and Hildon Touch Grid using the
1213 HildonPannableArea widget.
1215 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1217 * src/hildon-pannable-area.c,
1218 (hildon_pannable_area_button_press_cb),
1219 (hildon_pannable_area_refresh),
1220 (hildon_pannable_area_scroll),
1221 (hildon_pannable_area_motion_notify_cb),
1222 (hildon_pannable_area_button_release_cb),
1223 (hildon_pannable_area_expose_event),
1224 (hildon_pannable_area_add),
1225 (hildon_pannable_area_remove),
1226 (hildon_pannable_area_realize),
1227 (hildon_pannable_area_size_allocate),
1228 (hildon_pannable_area_class_init),
1229 (hildon_pannable_area_init),
1230 (hildon_pannable_area_scroll_to_child),
1231 (hildon_pannable_area_jump_to_child): Fixed the problem of
1232 removing the child from the GtkBin, we have rearranged the widget
1233 hierarchy, now there is no GtkAlignment which was not doing
1234 anything interesting but breaking some of the assumptions of
1235 GtkContainer. Now developers if they want to add a GtkAlignment
1236 they could, but it is not inside the area.
1238 We had to review the whole allocation/expose process, now it is
1239 improved and we save at least three signals which would be saving
1240 some time when rendering the widget. The allocation of the
1241 scrollbars is now made in the allocate method as usual.
1243 We have also added some conditions in order to control when there
1244 is no child of the pannable area. Maybe we will need more work
1247 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1249 * src/hildon-pannable-area.c,
1250 (hildon_pannable_area_dispose): Released the fade-out timeout when
1251 disposing the widget.
1253 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1255 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1256 zero, we are going to use that property in order to deactivate the
1258 (hildon_pannable_axis_scroll),
1259 (hildon_pannable_area_size_allocate): Added conditions to control
1260 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1261 call, now it is called in all situations and we can remove calls
1262 in the allocate method.
1263 (hildon_pannable_area_map): Control the situation when
1264 overshoot_max is zero, we do not need the timeout.
1265 (hildon_pannable_area_class_init): Added documentation in order to
1266 point out that setting zero to overshoot_max means deactivate
1269 NOTE: removed trailing whitespaces from my previous comments of
1272 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1274 * src/hildon-pannable-area.c
1275 (hildon_pannable_area_get_property),
1276 (hildon_pannable_area_set_property),
1277 (hildon_pannable_area_map),
1278 (hildon_pannable_area_class_init),
1279 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1280 to cause the widget give a hint about its panning abilities upon
1283 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1285 * src/hildon-pannable-area.c: Several documentation improvements.
1287 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1289 * src/hildon-program.c
1290 * src/hildon-stackable-window.c: Update documentation.
1292 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1294 * src/hildon-stackable-window.c (get_previous_window_if_last):
1295 Renamed get_last_window()
1296 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1297 (hildon_stackable_window_unset_program):
1299 (get_previous_window_if_last):
1300 Detect if the window hasn't been added to a HildonProgram.
1302 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1304 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1306 * src/hildon-pannable-area.c
1307 (hildon_pannable_area_button_press_cb),
1308 (hildon_pannable_axis_scroll),
1309 (hildon_pannable_area_scroll),
1310 (hildon_pannable_area_timeout),
1311 (hildon_pannable_calculate_vel_factor),
1312 (hildon_pannable_area_get_property),
1313 (hildon_pannable_area_set_property),
1314 (hildon_pannable_area_class_init),
1315 (hildon_pannable_area_init),
1316 (hildon_pannable_area_scroll_to),
1317 (hildon_pannable_area_jump_to),
1318 (hildon_pannable_area_scroll_to_child),
1319 (hildon_pannable_area_jump_to_child):
1320 * src/hildon-pannable-area.h: Added the new API functions:
1321 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1322 hildon_pannable_area_scroll_to_child,
1323 hildon_pannable_area_jump_to_child
1326 * examples/Makefile.am
1327 * examples/hildon-pannable-area-example-2.c
1328 * examples/hildon-pannable-area-example-3.c: Added these two new
1329 examples in order to test and show how the new APIs work.
1331 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1333 * examples/hildon-stackable-window-example.c (new_window):
1334 * src/Makefile.am (noinst_HEADERS):
1335 * src/hildon-program.c (hildon_program_go_to_root_window):
1336 * src/hildon-program.h:
1337 * src/hildon-stackable-window-private.h:
1338 * src/hildon-stackable-window.c:
1339 * src/hildon-stackable-window.h:
1340 Create hildon-stackable-window-private.h
1341 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1343 * examples/hildon-app-menu-example.c (create_menu):
1344 * examples/hildon-hvolumebar-insensitive-example.c (main):
1345 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1346 * examples/hildon-toolbar-seekbar-example.c (main):
1347 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1348 * src/hildon-banner.c (hildon_banner_set_property):
1349 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1350 Fix compilation warnings
1352 * src/hildon-window.c:
1355 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1357 * src/hildon-stackable-window.c
1358 (hildon_stackable_window_unset_program):
1359 Calculate correctly whether to show the previous window if the
1360 last one is removed from the stack.
1361 (hildon_stackable_window_go_to_root_window):
1362 Send delete events starting from the topmost window.
1363 Stop if one of the windows is not destroyed.
1365 (hildon_stackable_window_delete_event)
1366 (hildon_stackable_window_class_init):
1367 Ignore the delete event if the window is not the topmost one.
1369 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1371 * src/hildon-pannable-area.c
1372 (hildon_pannable_area_expose_event): Fixed a problem when
1373 selecting the background color of the scrollbars.
1375 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1377 * examples/hildon-stackable-window-example.c
1378 * src/hildon-stackable-window.c
1379 * src/hildon-stackable-window.h
1380 hildon_stackable_window_go_home() renamed to
1381 hildon_stackable_window_go_to_root_window()
1382 Send delete events to windows rather than closing them with
1383 gtk_widget_destroy()
1385 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1387 * src/hildon-pannable-area.c
1388 (hildon_pannable_area_button_release_cb): Fix overshooting in
1391 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1393 * src/hildon-pannable-area.c
1394 (hildon_pannable_area_init): Initially show the scroll indicators.
1395 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1397 Add initial effect showing the widget is pannable.
1399 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1401 * src/hildon-pannable-area.c
1402 (hildon_pannable_area_class_init)
1403 (hildon_pannable_area_set_property)
1404 (hildon_pannable_area_get_property)
1405 (hildon_pannable_area_button_press_cb):
1406 New 'velocity_fast_factor' property to decide which velocity is
1409 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1411 * src/hildon-pannable-area.c
1412 (hildon_pannable_draw_hscroll)
1413 (hildon_pannable_draw_vscroll):
1414 Use float variables to calculate the size of the scrollbars to
1415 avoid error propagation and resizing during scrolling.
1417 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1419 * src/hildon-pannable-area.c
1420 (hildon_pannable_draw_vscroll)
1421 (hildon_pannable_draw_hscroll):
1422 Define a minimum size for the scroll bars
1424 * src/hildon-stackable-window.c
1425 (hildon_stackable_window_go_home): Fix compilation warning
1426 (get_last_window): Minor optimizations
1427 (hildon_stackable_window_class_init): Fix initialization of
1430 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1432 * src/hildon-stackable-window.c: Fixed typos in doc
1434 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1436 * src/hildon-pannable-area.c
1437 (hildon_pannable_area_scroll):
1438 Calculate here whether we need to scroll instead of using the booleans
1439 that tell us whether to /draw/ the scrolling bars.
1441 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1443 * src/hildon-app-menu.h
1445 * src/hildon-app-menu.c
1446 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1447 multiple filter groups related code and API. Now we support only
1449 * examples/hildon-app-menu-example.c:
1451 Update to reflect API changes.
1453 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1455 * src/hildon-stackable-window.c
1456 (hildon_stackable_window_class_init):
1457 Add hildon_stackable_window_realize.
1458 (hildon_stackable_window_realize):
1459 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1460 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1461 to apply theming and behavior specific to HildonStackableWindow
1464 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1466 * src/hildon-note.c (hildon_note_button_release):
1467 Close information notes also when tapping on them
1469 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1471 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1472 ELASTICITY, refactor and review, fix some issues with drawing
1475 * src/hildon-pannable-area.c:
1476 (hildon_pannable_area_button_press_cb): removed the conditions to
1477 avoid clicks when overshooting. It is not required
1479 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1480 define. Refatored and reviewed the code, now we do not need to
1481 manage velocity in motion_notify.
1483 (hildon_pannable_area_motion_notify_cb): We have moved the code
1484 that controls the area_scroll to the axis_scroll function and get
1485 rid of duplicated code.
1487 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1489 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1491 (hildon_pannable_draw_vscroll),
1492 (hildon_pannable_draw_hscroll): Fixed the problems with the
1493 scrollbar drawing, now we do not use two surfaces, it is easier
1494 and saves resources.
1496 (hildon_pannable_area_get_property): Style modification.
1498 (hildon_pannable_area_class_init): Changed some default values.
1500 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1502 * src/hildon-stackable-window.c: Fix some typos in the
1505 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1507 * src/hildon-dialog.c:
1508 Change indentation style
1511 (hildon_note_button_release):
1512 Use root coordinates to check if the release event happened
1515 * src/hildon-app-menu.c
1516 (hildon_app_menu_button_release):
1517 Remove unnecessary check
1519 * examples/hildon-app-menu-example.c
1521 Add cast to fix warning
1523 * src/hildon-app-menu.c
1524 (hildon_app_menu_class_init):
1525 New inner-border style property.
1526 Set all default spacings to 16
1527 (hildon_app_menu_init):
1528 Use vertical-spacing to set the space between filter buttons and
1529 regular menu buttons.
1530 Set the default container border using the inner-border value.
1532 * examples/hildon-app-menu-example.c
1534 Don't set the menu border explicitly, now we have the inner-border
1535 style property for that.
1537 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1539 * src/hildon-app-menu.c (hildon_app_menu_init):
1540 Make the window modal
1542 * src/hildon-note.c (hildon_note_map)
1543 * src/hildon-app-menu.c (hildon_app_menu_map):
1544 Destroy the grab window if we're unable to grab the pointer
1546 * src/hildon-app-menu-private.h
1547 * src/hildon-app-menu.c
1548 (hildon_app_menu_init, hildon_app_menu_finalize)
1549 (hildon_app_menu_map, hildon_app_menu_unmap)
1550 (hildon_app_menu_button_release)
1551 (grab_transfer_window_get):
1552 Bring back the grab window
1553 (hildon_app_menu_realize):
1554 Decorate the window, set WM hint for Matchbox
1556 * src/hildon-note.c (hildon_note_realize):
1557 * src/hildon-banner.c (hildon_banner_realize):
1558 Add WM hints for Matchbox
1560 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1562 * src/hildon-app-menu-private.h
1563 * src/hildon-app-menu.c
1564 (hildon_app_menu_init, hildon_app_menu_finalize)
1565 (hildon_app_menu_map, hildon_app_menu_unmap)
1566 (hildon_app_menu_button_release):
1567 Remove the grab window, it's not needed anymore
1569 * src/hildon-program.c
1570 Fixed typo in documentation
1572 * src/hildon-app-menu.h
1573 * src/hildon-app-menu.c
1574 * examples/hildon-app-menu-example.c
1575 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1577 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1580 Added new transfer_window and close_if_pressed_outside private
1582 (hildon_note_rebuild):
1583 Don't add a cancel button to the information note. It will be
1584 closed when tapping outside
1585 Remove the comment about the OK button in the documentation
1586 (hildon_note_realize):
1587 Set the notification type hint
1588 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1589 Grab/ungrab pointer and keyboard if the note has to be closed when
1591 (hildon_note_button_release):
1592 Close the note when tapping outside (if applicable)
1594 * src/hildon-app-menu.c
1595 Grab/ungrab pointer and keyboard on map/unmap
1596 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1597 Close the menu on button release, not button press
1599 * src/hildon-banner.c
1600 (hildon_banner_set_property)
1601 (hildon_banner_check_position):
1602 Make the banner use the full width of the screen
1603 (hildon_banner_show_information)
1604 (hildon_banner_show_information_with_markup):
1605 Don't display an icon by default
1607 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1609 Added fading scrollbars and adapted all the overshooting code to
1610 horizontal scrolling. We have also fixed bugs with overshooting
1611 and current fading implementation.
1613 * src/hildon-pannable-area.c
1614 (hildon_pannable_area_scroll_indicator_fade): Time out function
1615 used to change the transparency of the scrollbars.
1617 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1618 control and fixed a problem with fading, we now remove the fade
1619 timeout before adding a new one.
1621 (hildon_pannable_axis_scroll):
1622 (hildon_pannable_area_scroll):
1623 (hildon_pannable_area_timeout): Added this functions so we can use
1624 the scroll code both for vertical and horizontal.
1626 (hildon_pannable_area_motion_notify_cb):
1627 (hildon_pannable_area_button_release_cb): Added the horizontal
1628 scrolling control, fixed a problem with the overshooting timeout.
1630 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1631 painting of the scrolls.
1633 (hildon_pannable_draw_vscroll):
1634 (hildon_pannable_draw_hscroll):
1635 (hildon_pannable_area_expose_event):
1636 Draw both scrollbars and rectangles in the overshooting area.
1638 (hildon_pannable_area_get_property):
1639 (hildon_pannable_area_set_property):
1640 Modified the overshoot property to overshoot_max
1642 (hildon_pannable_area_map):
1643 Replaced the comments symbols.
1645 (hildon_pannable_area_size_allocate):
1646 (hildon_pannable_area_class_init):
1647 (hildon_pannable_area_init): Added horizontal scroll, fading
1648 effect properties, fixed a problem when overshooting in the bottom
1651 * examples/hildon-pannable-area-example.c:
1652 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1653 looks better in the example.
1655 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1657 * src/hildon-window.c
1658 * src/hildon-window.h
1659 (hildon_window_class_init)
1660 (hildon_window_unset_program)
1661 (hildon_window_unset_program_real):
1662 Make unset_program a virtual function
1664 * src/hildon-stackable-window.c
1665 * src/hildon-stackable-window.h
1666 Added hildon_stackable_window_go_home()
1668 * examples/Makefile.am
1669 * examples/hildon-stackable-window-example.c
1670 HildonStackableWindow example
1672 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1674 * hildon-pannable-area.c: Added the overshoot property and removed
1675 the OVERSHOOT define. Fixed an indent style error.
1676 (hildon_pannable_area_motion_notify_cb):
1677 (hildon_pannable_area_get_property):
1678 (hildon_pannable_area_set_property): Add overshoot property.
1680 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1683 (hildon_pannable_area_class_init): Installed the new property.
1685 * hildon-pannable-area-example.c: Added a sawtooth function, this
1686 way it is easier to check the movement in the pannable.
1687 (get_sawtooth_label): Added this function.
1688 (main): Now we get the labels from the new get_sawtooth_label
1691 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1693 * src/hildon-app-menu.h
1694 * src/hildon-app-menu.c
1695 Renamed API variables for consistency
1697 (hildon_app_menu_popup): Use also the default window size to
1698 decide where to place the menu
1700 (hildon_app_menu_init, hildon_app_menu_class_init): New
1701 external-border style property
1703 2008-05-26 Michael Natterer <mitch@imendio.com>
1705 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1706 widget_class->tap_and_hold_setup signal slot doesn't exist any
1707 longer, stop overriding it.
1709 (hildon_time_editor_init): g_signal_connect() to the
1710 tap-and-hold-setup signal instead.
1712 (hildon_time_editor_entry_keypress): add cast to fix warning.
1714 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1716 * doc/hildon-docs.sgml
1718 * examples/Makefile.am
1719 * examples/hildon-app-menu-example.c
1721 * src/hildon-app-menu-private.h
1722 * src/hildon-app-menu.c
1723 * src/hildon-app-menu.h
1725 New HildonAppMenu widget
1727 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1729 Rearranged the inheritance of the pannable area, now it inherits
1730 from GtkBin. This will allow us to control the event_window and
1731 the allocation process of the widget, required for some effects.
1733 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1734 GtkBin structures. * src/hildon-pannable-area.c: Added the
1735 event_window variable.
1736 (hildon_pannable_area_button_press_cb):
1737 (hildon_pannable_area_button_release_cb):
1738 (hildon_pannable_area_motion_notify_cb):
1739 Changed the signature of the method, now we override the event
1740 callback instead of connecting to the signal.
1742 (hildon_pannable_area_realize):
1743 (hildon_pannable_area_unrealize):
1744 (hildon_pannable_area_map):
1745 (hildon_pannable_area_unmap):
1746 (hildon_pannable_area_size_allocate):
1747 Added functions to control the widget construction. We add a
1748 INPUT_ONLY window and we put it over the widgets inside the
1749 container, this event_window handles the events.
1751 (hildon_pannable_area_class_init):
1752 Replaced the signal connections with overrides of the event
1755 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1757 Bouncing effect added when touching the borders, you can change
1758 the elasticity of the border changing the ELASTICITY define.
1760 * src/hildon-pannable-area.c: Added ELASTICITY define.
1761 (hildon_pannable_area_timeout): Added inverse velocity when
1762 touching the border of the child widget, that causes a bounce.
1764 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1766 Improved performance, we now do not go to the X server in order to
1767 get the list of window children. Apparently the effect is the
1768 same, we have to be careful and check if this breaks something in
1771 * src/hildon-pannable-area.c:
1772 (get_ordered_children): Removed this function.
1773 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1774 the children windows function with gdk_window_get_children.
1776 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1778 * src/hildon-pannable-area.c:
1779 (hildon_pannable_area_dispose): Fixed a crash when closing the
1780 window and kinetics is activated.
1782 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1784 * src/hildon-pannable-area.h
1785 * src/hildon-pannable-area.c
1786 Changed indentation style to meet the one used in Hildon
1788 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1790 Reviewed the interaction of the AUTO mode, now we use the time
1791 attribute of the events and calculate the velocity in the motion,
1792 doing a gimp like calculation. The velocity is calculated in each
1793 motion event using the last velocity and the current one, the
1794 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1796 * src/hildon-pannable-area.c: Replaced the time based algorithm
1798 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1799 timeout for the AUTO mode when we are still moving the cursor. We
1800 added also the velocity calculation in this function.
1801 (hildon_pannable_area_button_release_cb): launch the timeout in
1802 case we are in AUTO mode. There are still some constants here that
1803 come from the old implementation that should be reviewed and
1806 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1808 * doc/hildon-docs.sgml
1811 * src/hildon-stackable-window.c
1812 * src/hildon-stackable-window.h
1814 New HildonStackableWindow widget
1816 * examples/hildon-dialog-example.c
1817 * examples/hildon-pannable-area-example.c
1820 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1822 * src/hildon-dialog.c
1823 (hildon_dialog_new_with_buttons): New constructor.
1825 * examples/hildon-dialog-example.c
1826 (main): Update the example to use the new
1827 hildon_dialog_new_with_buttons().
1829 * examples/hildon-pannable-area-example.c
1830 (main): Update example.
1832 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1834 * doc/hildon-docs.sgml
1836 Added HildonPannableArea to the documentation.
1838 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1840 * doc/visual_index.xml
1841 Fix reference to HildonLoginDialog in documentation
1843 * doc/hildon-docs.sgml
1845 * examples/Makefile.am
1846 * examples/hildon-dialog-example.c
1848 * src/hildon-dialog.c
1849 * src/hildon-dialog.h
1851 New HildonDialog widget.
1853 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1855 * src/hildon-pannable-area.c
1856 Merge latest changes (r4318, r4342) from libmokoui trunk
1858 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1860 * examples/Makefile.am
1861 * examples/hildon-pannable-area-example.c
1863 * src/hildon-pannable-area.c
1864 * src/hildon-pannable-area.h
1866 New HildonPannableArea widget.
1868 2008-04-15 18:05:19 <timj@imendio.com>
1870 * src/hildon-banner.c: revert the recent change, that introduced
1871 gtk_window_present() calls. this reopens:
1872 Bug 78481 - [freetest] information banners are hidden under browser menu
1873 But resolves another variant of:
1874 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1876 2008-04-15 13:21:13 <timj@imendio.com>
1878 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1879 recreated its layout, spotted by Kris. this fixes all remaining
1880 artefacts and stability issues with the banner code. in particular:
1881 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1883 2008-04-14 16:52:59 <timj@imendio.com>
1885 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1886 operating on unrealized widgets, fixes:
1887 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1889 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1891 2008-04-09 Kristian Rietveld <kris@imendio.com>
1893 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1894 makes banner disappear.
1895 Fixes: NB#79182: info banner flickering with certain message lengts.
1897 * src/hildon-banner.c (hildon_banner_constructor),
1898 (hildon_banner_init), (hildon_banner_set_text),
1899 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1900 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1901 FALSE, reset size requests of label and banner,
1902 (force_to_wrap_truncated): when the text is too wide, always enforce
1903 the maximum possible width instead of recalculating it from the
1904 layout; enforce the maximum banner height of 3 lines,
1905 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1906 nicer wrapping and no truncated chars if space gets tight.
1908 * src/hildon-banner-private.h: add has_been_wrapped and
1909 has_been_truncated fields.
1911 2008-04-07 Sven Herzberg <sven@imendio.com>
1913 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1914 local values in hildon_date_editor_size_allocate
1916 * src/hildon-date-editor.c: moved the real allocation code into the
1919 2008-04-07 Sven Herzberg <sven@imendio.com>
1921 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1922 local values in hildon_date_editor_size_allocate
1924 * src/hildon-date-editor.c: merged the two if() branches together
1926 2008-04-07 Sven Herzberg <sven@imendio.com>
1928 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1929 local values in hildon_date_editor_size_allocate
1931 * src/hildon-date-editor.c: changed the arguments of the if()
1934 2008-04-07 Sven Herzberg <sven@imendio.com>
1936 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1937 local values in hildon_date_editor_size_allocate
1939 * src/hildon-date-editor.c: split the calculation of the allocation
1940 from the real allocation
1942 2008-03-27 Michael Natterer <mitch@imendio.com>
1944 Fixes: NB#81696: The passcode is not overwritten even after
1947 * src/hildon-code-dialog.c
1948 (hildon_code_dialog_button_clicked)
1949 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1950 because that doesn't overwrite selected text. Instead, emit the
1951 "commit" signal on the entry's im_context so the entry's normal
1952 insert logic is triggered. Set the cursor to the end of the entry
1953 after each insert operation so that we *only* insert in the middle
1954 of the text if something was selected.
1956 2008-03-27 Michael Natterer <mitch@imendio.com>
1958 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1959 selector cannot be opened
1961 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1962 when the popup color selector is created. Please connect to this
1963 signal in order to set the dialog's help ID.
1965 2008-03-25 Sven Herzberg <sven@imendio.com>
1967 Fixes: MB#1212: Hide info banners (infoprints) on click
1969 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1970 extracted the close event simulation into an extra function
1971 (hildon_banner_button_press_event): simulate a close event and destroy
1972 the widget if the event wasn't handled
1973 (hildon_banner_class_init): added the button_press_event handler
1974 (hildon_banner_init): added button-press events to the widget
1976 2008-03-25 Sven Herzberg <sven@imendio.com>
1978 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1979 Patch from: Mohammad Anwari <mdamt@maemo.org>
1981 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1982 instead of the right in RTL mode
1983 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1984 breadcrumb button list in RTL mode
1985 * src/hildon-caption.c: mirror the appearance of the caption widget in
1987 * src/hildon-date-editor.c: mirror appearance of the date editor in
1989 * src/hildon-time-editor.c: mirror appearance of the time editor in
1991 * src/hildon-window.c: fix the position of the popup in RTL mode
1993 2008-03-25 Sven Herzberg <sven@imendio.com>
1995 Amendment to the fix of NB#22072. Fix compilation.
1997 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1999 2008-03-19 Sven Herzberg <sven@imendio.com>
2001 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2004 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2005 timeout id properly when the timeout will disappear this leaves no
2006 artifacts around in the destroy(); there will only be the timeout
2007 created by hildon_banner_ensure_timeout() and adding a new timeout
2008 will also work if the timeout gets removed because the timeout_handler
2011 2008-03-19 Michael Natterer <mitch@imendio.com>
2013 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2015 * src/hildon-volumebar.c
2016 * src/hildon-vvolumebar.c
2017 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2018 the widget becomes focussable at all.
2020 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2021 set the focus to wither the mute button or the volumebar.
2023 Remove own "can-focus" property and instead listen to
2024 notify::can-focus in order to update the widget's state.
2026 Implement GtkWidget::focus() and make sure we can also *leave* the
2027 widget, not only enter it, depending on volumebar orientation and
2028 requested focus direction.
2030 Clean up set_mute() to cooperate nicely with all the above.
2032 2008-03-04 Michael Natterer <mitch@imendio.com>
2034 Fixes: NB#78481: information banners are hidden under browser menu
2036 * src/hildon-banner.c: call gtk_window_present() on the banners so
2037 they are risen if they are already visible.
2039 2008-03-03 Sven Herzberg <sven@imendio.com>
2041 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2043 * examples/hildon-window-menu-example.c: (main): extended the window
2044 menu example to serve as a testcase for automatically added
2045 accelerator groups, too
2046 * src/hildon-window.c: (hildon_window_add_accel_group),
2047 (hildon_window_set_menu): added patch by Tommi Komulainen
2049 2008-03-03 Sven Herzberg <sven@imendio.com>
2051 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2053 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2054 knowledge about the border allocators used within GTK+
2056 2008-02-26 Sven Herzberg <sven@imendio.com>
2058 Fixes: MB#2981: Build with asserts broken
2060 * src/hildon-date-editor.c,
2061 * src/hildon-number-editor.c,
2062 * src/hildon-time-editor.c,
2063 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2064 the proper GType instance check
2066 2008-02-25 Sven Herzberg <sven@imendio.com>
2068 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2070 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2071 * examples/hildon-window-menu-example.c: (main): explicitly show
2073 * src/hildon-window.c:
2074 (hildon_window_set_main_menu): moved most of the code from set_menu()
2075 to this place; skipped the call to gtk_widget_show_all(); also didn't
2076 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2077 (hildon_window_set_menu): removed most of the code, just keep the
2078 questionable gtk_widget_show_all()
2079 * src/hildon-window.h: added the new function and deprecate the old
2082 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2088 * debian/changelog: Updating.
2090 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2093 * pkgconfig/Makefile.am:
2094 * pkgconfig/hildon.pc.in:
2097 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2098 use newly created API_MAJOR_VERSION.
2100 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2106 * debian/changelog: Updating.
2108 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2110 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2112 Add outer_border style property, we use it but don't define it (!).
2116 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2118 * examples/hildon-bread-crumb-trail-example.c (main):
2122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2124 Fix logic for the bread crumb trail node removal.
2128 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2134 * debian/changelog: Updating.
2136 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2138 Patch by Alejandro to get/set passwords dialogs accesibility.
2140 * hildon-1/src/hildon-get-password-dialog.c:
2141 * hildon-1/src/hildon-set-password-dialog.c:
2142 Set atk_set_name to the passwd entries in order to allow
2143 accessibility by name on this entries.
2145 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2150 * debian/control: Updating gtk dep.
2152 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2154 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2155 USE_MAEMO_GTK is enabled.
2157 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2159 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2160 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2162 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2168 * debian/changelog: Updating.
2170 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2172 * examples/Makefile.am:
2173 * examples/hildon-logical-color-example.c:
2174 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2175 applied + adding a test case. Fixes: NB#71660.
2177 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2179 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2180 to be visible, fixes warning on map for windows without toolbars.
2182 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2184 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2185 2.11.0, add a check for that besides the MAEMO_GTK check.
2187 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2193 * debian/changelog: Updating.
2195 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2197 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2198 visibility. Fixes: NB#70842 and MB#615.
2200 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2202 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2203 set the separator as no-show-all so it doesn't unintentionally appear when
2204 someone does a show_all.
2206 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2208 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2209 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2210 toplevel item. Fixes: NB#62031
2212 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2214 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2215 fix the name of the function in the docs.
2217 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2223 * debian/changelog: Updating.
2225 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2227 * examples/hildon-banner-long-example.c: Adding a test-case for long
2230 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2232 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2234 * src/hildon-color-chooser-dialog.c:
2235 * src/hildon-color-chooser.c:
2236 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2237 memory leaks in font selector and color selector. Fixes: NB#70499 and
2240 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2242 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2244 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2246 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2247 little bit bigger. Fixes: #NB63694.
2249 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2255 * debian/changelog: Updating.
2257 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2260 * doc/hildon-docs.sgml:
2261 * doc/images/bread-crumb-trail.png:
2262 * doc/images/calendar-popup.png:
2263 * doc/images/caption.png:
2264 * doc/images/code-dialog.png:
2265 * doc/images/color-button.png:
2266 * doc/images/color-chooser-dialog.png:
2267 * doc/images/color-chooser.png:
2268 * doc/images/controlbar.png:
2269 * doc/images/date-editor.png:
2270 * doc/images/font-selection-dialog.png:
2271 * doc/images/get-password-dialog.png:
2272 * doc/images/hvolumebar.png:
2273 * doc/images/login-dialog.png:
2274 * doc/images/note.png:
2275 * doc/images/number-editor.png:
2276 * doc/images/range-editor.png:
2277 * doc/images/seekbar.png:
2278 * doc/images/set-password-dialog.png:
2279 * doc/images/sort-dialog.png:
2280 * doc/images/time-editor.png:
2281 * doc/images/time-picker.png:
2282 * doc/images/vvolumebar.png:
2283 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2284 Adding the bread-crumb-trial and helpers to the documentation.
2286 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2288 * examples/hildon-find-toolbar-example.c:
2289 * src/hildon-find-toolbar.c:
2290 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2291 actually continue firing the other handlers if connected. Adding a new
2293 hildon_find_toolbar_get_last_index that gets the index of the most
2294 recently added (last) item. Fixes: NB#52301.
2296 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2298 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2299 behaviour. Fixes: NB#68610.
2301 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2303 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2306 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2308 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2309 when realizing the banner. Should make the infonbanner effect a bit more
2312 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2314 * src/hildon-volumebar.c:
2315 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2316 hildon_volumebar_set_range_insensitive_message and
2317 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2319 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2321 * src/hildon-window.c: Fixing the border freeing on destroy.
2323 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2325 * src/hildon-code-dialog-private.h:
2326 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2327 kw keyboard support in HildonCodeDialog.
2329 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2335 * debian/changelog: Updating.
2337 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2339 * src/hildon-date-editor.c:
2340 * src/hildon-number-editor.c:
2341 * src/hildon-private.c:
2342 * src/hildon-private.h:
2343 * src/hildon-time-editor.c:
2344 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2345 handling in subclassed composite widgets. Fixes: NB#66628.
2347 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2349 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2350 from destroy_ callback as it introduces problems in async dbus signal
2351 handlers. Fixes NB#66673.
2353 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2355 * examples/hildon-hvolumebar-example.c:
2356 * src/hildon-volumebar.c: Improving the focus handling in the
2357 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2358 set_property accessor so that "mute" property can be actually set. I'm
2359 scared that nobody noticed it's totally broken.
2361 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2363 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2366 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2368 * src/hildon-calendar.c:
2369 * src/hildon-number-editor.c:
2370 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2371 matches the spec of 6 chars per second. Fixes: NB#60489.
2373 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2375 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2376 gtk_style_lookup_color sometime returns FALSE even though color was
2377 found and values were filled properly. Weird. Removing the warning for the
2380 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2382 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2383 expand vertically. Adding some extra space to the find toolbar buttons to
2384 make them thumbable. Fixes NB#66060.
2386 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2388 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2389 popup with "Ok" and "Cancel". Fixes NB#59299.
2391 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2393 * src/hildon-calendar.c: Process all window updates before executing next
2394 timeout. Fixes: NB#54146.
2396 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2402 * debian/changelog: Updating.
2404 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2406 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2407 the client event and ignore it, since we use the delete event to close
2410 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2412 * src/hildon-helper.c: Remove the bogus warning about color not being
2413 found. Fixes NB#58352.
2415 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2417 * examples/Makefile.am:
2418 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2419 HildonSeekbar widget inside a toolbar.
2421 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2423 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2424 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2425 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2426 don't want to be closed by non-temporary windows on map.
2428 Also use G_DEFINE_TYPE instead of manually typed code.
2430 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2437 * debian/rules: Updating.
2439 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2441 * examples/Makefile.am:
2442 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2443 bug NB#61128. Strangely it works.
2445 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2447 * src/hildon-date-editor.c: When the date editor entry has been changed
2448 but the numbers of characters < max, turn off the skip validation flag.
2449 Prevents a situation when we enter first a valid year and later re-write
2450 it with an invalid one. Fixes NB#60154.
2452 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2454 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2455 code dialog. Fixes NB#64355.
2457 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2459 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2460 switching the page. Fixes NB#49374.
2462 * examples/Makefile.am:
2463 * examples/hildon-wizard-dialog-example.c: Adding an example for
2464 HildonWizardDialog that shows how to handle manual sensitivity setting on
2467 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2471 * src/hildon-version.h.in:
2472 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2474 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2476 * src/hildon-volumebar.c: Updating the docs.
2478 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2484 * debian/changelog: Updating.
2486 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2488 * src/hildon-find-toolbar.c:
2489 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2490 selected item: hildon_find_toolbar_set_active,
2491 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2492 hildon_find_toolbar_get_active_iter . They correspond to respective
2493 GtkComboBox functions.
2495 * examples/Makefile.am:
2496 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2499 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2501 * examples/Makefile.am:
2502 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2505 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2506 when font size > 32 and we pack a focusable widget inside. Actually using
2507 the default response would work too, but since we don't show default
2508 response state in any way (no theming) it would not be visible to the
2509 user. Fixes NB#63430.
2511 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2513 * src/hildon-date-editor.c: Adding the missing variable setter in the
2514 set_property handler. Fixes NB#54182.
2516 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2518 * src/hildon-window.h: Changing the long key press time from 1500ms to
2519 800ms as requested in NB#63700. I have a bad feeling about this, let's
2520 see... Fixes NB#63700.
2522 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2524 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2525 hildon_time_picker_map, hildon_time_picker_realize,
2526 hildon_time_picker_style_set): Split the contents of map to more
2527 appropriate functions; set window decorations on realize and update
2528 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2530 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2535 * debian/changelog: Updating.
2537 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2539 * src/Makefile.am: fixed installation of the header files
2541 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2547 * debian/changelog: Updating.
2549 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2551 * configure.ac: Removing some remaining of --enable-xan.
2553 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2555 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2556 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2558 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2559 2.10.12-osso6 because the move-focus signal needs to be available in
2562 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2564 * examples/Makefile.am:
2565 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2566 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2567 fine. Prolly NB#61128 is fixed now.
2569 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2571 * src/hildon-volumebar.c:
2572 * src/hildon-volumebar.h: Adding the
2573 hildon_volumebar_set_range_insensitive_message and
2574 hildon_volumebar_set_range_insensitive_messagef functions to set
2575 insensitive message on the slider of the volumebar. Fixes NB#61129.
2577 * examples/Makefile.am:
2578 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2579 test the new insensitive messsage functionality on HildonVolumebar.
2581 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2583 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2586 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2588 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2589 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2590 button on after clearing the trail.
2592 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2594 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2596 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2598 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2599 by splitting the installed headers in generated and non-generated groups. Use
2600 only the non-generated headers to create the hildon-enum-types.h file.
2602 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2604 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2606 * src/hildon-window.c: Hide the window before performing the destroy.
2607 Should make the app closing a little tiny bit more snappy.
2609 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2611 * src/hildon-seekbar.c: add gtkrange.h header
2612 * src/hildon-caption.c: remove unused variable
2614 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2616 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2619 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2625 * debian/changelog: Updating.
2627 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2629 * src/hildon-window.c (hildon_window_window_state_event,
2630 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2631 escape timeout on focus-out-event rather than notify::is-topmost; the
2632 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2634 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2636 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2637 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2639 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2641 * src/hildon-window: actually, you need to use the macro always, there's
2642 no private pointer in the instance structure. We should have cleaned this up
2643 when we had the chance...
2645 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2647 * src/hildon-window.c: do not get the private date from HildonWindow before
2648 it passes the g_return_if_fail check. Once it's passed the test, there's no
2649 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2650 if you are only going to access the data once. Whitespace cleanups.
2652 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2654 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2655 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2657 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2663 * debian/changelog: Updating.
2665 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2667 * src/hildon-window.c: When destroying the window, remove (if exists) the
2668 escape timeout handler. Fixes #NB59276.
2670 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2672 * src/hildon-banner.c: When realizing the widget, set the window
2673 transiency. Setting the transiency in the gobject constructor is not
2674 good, as the widget is not realized at that point. Fixes: #NB56624.
2676 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2678 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2679 Add padding for future expansions.
2681 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2683 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2684 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2685 will fake an activation on the previous to the last item of the trail, so
2686 the effect can be overrided by the developer as usual.
2687 Also change the callback for the back button to do the same thing, so its
2688 effect can be overrided too. Fixes: NB#58982
2690 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2692 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2693 HildonCaption. Fixes NB#52379.
2695 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2697 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2698 the internal state of the trail after the user has had the chance of executing
2699 his handler for the signal. Specifically, it may happen that the activated button
2700 is removed and the user still lets the default handler run. This would segfault
2703 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2705 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2706 scrollbar to the preview dialog. Fixes NB#54147.
2708 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2710 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2711 max/min year properties can be altered, so the client can modify it
2712 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2714 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2716 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2717 hildonlike by default. Fixing a problem with disappearing arrows when
2718 scrolling through months and years. Fixes NB#54127.
2720 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2722 * examples/hildon-date-editor-example.c: Adding error callback to the date
2725 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2731 * configure.ac: Updating.
2733 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2735 * configure.ac: Adding a special '--enable-xan' configure option that
2736 turns off the -Werror compilation setting. Usefull for development.
2738 * src/hildon-calendar.c:
2739 * src/hildon-number-editor.c:
2740 * src/hildon-time-picker.c: Adding the 5* multiplier to
2743 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2745 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2746 instead of g_object_ref + gtk_object_sink.
2748 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2754 * debian/changelog: Updating.
2756 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2758 * src/hildon-color-chooser-dialog.c:
2759 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2760 straight from Tommi labs.
2762 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2764 * examples/hildon-finger-example.c: Correcting the header file path.
2766 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2767 the changed signal. Fixes a small memory leak.
2769 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2773 * src/hildon-banner.c: Importing several usefull fixes from the
2774 ubuntu-mobile branch.
2776 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2778 * examples/Makefile.am:
2779 * examples/hildon-finger-example.c: Adding a finger-checking code
2782 * src/hildon-font-selection-dialog.c: Do not allocate the color
2783 structure using the g_new. Fixes NB#54061.
2785 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2787 * src/hildon-helper.c: Correcting tabs in file.
2789 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2791 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2792 control the visibility of the children.
2794 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2796 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2802 * debian/changelog: Updating.
2804 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2806 * src/hildon-bread-crumb-trail.c:
2807 (hildon_bread_crumb_trail_size_allocate):
2809 Make the back button always a square.
2811 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2813 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2814 from the .c file as it's a private file.
2816 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2818 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2819 uses slightly bigger height.
2821 * src/hildon-font-selection-dialog.c: Adding some checks before
2822 freeing memory in the font selection dialog.
2824 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2826 * src/hildon-font-selection-dialog.c: Adding a small check when
2829 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2830 buttons sensitivity on page switching.
2832 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2834 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2835 internal details of adding a bread crumb to the trail.
2837 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2843 * debian/changelog: Updating.
2845 * src/hildon-bread-crumb-trail.h:
2846 * src/hildon-bread-crumb.h: Changing the API guard to
2847 HILDON_ENABLE_UNSTABLE_API.
2849 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2857 * src/hildon-helper.h: Updating.
2859 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2867 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2871 * src/hildon-helper.h: Small fix to make the package actually compile.
2873 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2875 * src/hildon-bread-crumb-trail.h:
2876 * src/hildon-bread-crumb.h:
2878 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2879 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2881 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2883 * examples/hildon-bread-crumb-trail-example.c:
2885 * src/hildon-bread-crumb-trail.c:
2886 * src/hildon-bread-crumb-trail.h:
2887 * src/hildon-bread-crumb.c:
2888 * src/hildon-bread-crumb.h:
2889 * src/hildon-marshalers.list:
2890 * src/hildon-bread-crumb-widget.c:
2891 * src/hildon-bread-crumb-widget.h:
2893 Slight change in the widget design. The bread crumb trail API is
2894 unchanged, but HildonBreadCrumb is now an interface. A *private*
2895 implementation, hildon-bread-crumb-widget, is provided and used
2896 internally by the trail for the push_text/push_icon functions.
2898 The generic push API is still available, so anyone can implement
2899 and use its own bread crumb widget.
2901 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2903 * debian/rules: Fixing the shlibs.
2905 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2907 * src/hildon-banner.c: Fixing a problem with timed banners having
2908 their parrent destroyed before they are.
2910 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2912 * src/hildon-bread-crumb.c:
2913 * src/hildon-bread-crumb.h:
2915 Make the get_natural_size function a vfunc.
2917 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2919 * src/hildon-bread-crumb.c:
2920 * src/hildon-bread-crumb-trail.c:
2924 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2931 * debian/changelog: Updating for release.
2933 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2935 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2936 don't leak the pango layout.
2938 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2941 * examples/hildon-bread-crumb-trail-example.c:
2945 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2947 * debian/changelog: Removing the bug-fixed entries that were actually
2948 resolved as WONTFIX.
2950 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2953 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2955 * src/hildon-bread-crumb-trail.c:
2956 * src/hildon-bread-crumb-trail.h:
2957 * src/hildon-bread-crumb.c:
2958 * src/hildon-bread-crumb.h:
2962 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2964 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2965 until it's passed the type check.
2967 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2969 * examples/hildon-bread-crumb-trail-example.c
2973 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2975 * examples/Makefile.am
2976 * examples/hildon-bread-crumb-trail-example.c
2978 * src/hildon-bread-crumb-trail.c
2979 * src/hildon-bread-crumb-trail.h
2980 * src/hildon-bread-crumb.c
2981 * src/hildon-bread-crumb.h
2983 New HildonBreadCrumbTrail widget.
2985 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2987 * src/hildon-range-editor.c (hildon_range_editor_init),
2988 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2989 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2990 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2991 hildon_time_editor_class_init, hildon_time_editor_init),
2992 src/hildon-get-password-dialog.c (invalid_input,
2993 hildon_get_password_set_property, hildon_get_password_get_property,
2994 create_contents, hildon_get_password_dialog_set_max_characters),
2995 src/hildon-set-password-dialog.c (create_contents),
2996 src/hildon-date-editor.c (hildon_date_editor_init),
2997 src/hildon-login-dialog.c (hildon_login_dialog_init),
2998 src/hildon-number-editor.c (hildon_number_editor_init),
2999 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3000 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3001 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3002 configure option and adding the respective checks in the code.
3003 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3004 hildon_calendar_drag_data_received): fixed some build warnings.
3006 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3008 * debian/changelog: A 1.0.0 release notes.