1 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3 * examples/hildon-touch-selector-example.c: (create_selector): Use
4 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
7 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
9 * examples/hildon-touch-selector-example.c: (create_selector): Do not
10 set a cell background color, to respect theming.
12 2008-08-28 Alberto Garcia <agarcia@igalia.com>
14 * doc/hildon-docs.sgml
17 * src/hildon-edit-toolbar.c
18 * src/hildon-edit-toolbar.h
19 * src/hildon.h: New HildonEditToolbar widget.
21 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
23 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
26 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
27 * src/hildon-touch-selector.c
28 (_create_new_column): use g_object_set instead of two g_object_set_property
30 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
31 * src/hildon-touch-selector.c
32 (_create_new_column): use of hildon_gtk_tree_view_new to create
33 the treeview, instead of use directly g_object_new
34 (_create_new_column): update the property name "vindicator-mode" for the
35 new one "vscrollbar-policy"
36 * examples/hildon-date-button-example.c
37 * examples/hildon-picker-button-multicolumn-example.c
38 * examples/hildon-touch-selector-entry-example.c
39 * examples/hildon-touch-selector-example.c
40 * examples/hildon-time-button-example.c
41 * examples/hildon-picker-button-example.c
42 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
43 to all the treeviews inside a pannable area.
45 2008-08-27 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-button.c (hildon_button_init)
49 (hildon_button_set_arrangement, hildon_button_set_alignment)
50 (hildon_button_set_title_alignment)
51 (hildon_button_set_value_alignment)
52 (hildon_button_set_image_alignment)
53 (hildon_button_construct_child): New methods to set the alignment
54 of the individual components of the button (title, value,
55 image). Also, new method to alter the xscale and yscale properties
56 of the GtkAlignment inside the button, so more complex layouts can
59 2008-08-27 Alberto Garcia <agarcia@igalia.com>
61 * src/hildon-button.c (hildon_button_style_set)
62 (hildon_button_class_init, hildon_button_set_arrangement)
63 (hildon_button_construct_child): Apply style properties
64 correctly. Use the 'image-spacing' style property too.
66 2008-08-26 Alberto Garcia <agarcia@igalia.com>
68 * src/hildon-app-menu.c (hildon_app_menu_style_set)
69 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
72 2008-08-26 Alejandro G. Castro <alex@igalia.com>
74 * src/hildon-pannable-area.c,
75 (hildon_pannable_area_size_request): Fixed problem with
76 pannable-area size_request.
78 2008-08-26 Alejandro G. Castro <alex@igalia.com>
80 Added management for the grab-focus to a child widget, like a
81 range, we need to fade out the scrollbar when releasing.
83 * src/hildon-pannable-area.c,
84 (hildon_pannable_area_init): Connected the grab-focus signal to
86 (hildon_pannable_area_grab_notify): Added this function in order
87 to manage the situation when the grab-focus ends. We have to
88 fade-out the scrollbar.
90 2008-08-25 Alberto Garcia <agarcia@igalia.com>
92 * src/hildon-app-menu.c: Minor documentation update.
94 2008-08-25 Alberto Garcia <agarcia@igalia.com>
96 * src/hildon-app-menu.c
97 * examples/hildon-app-menu-example.c (create_menu): Update
98 examples and documentation to explain how to connect callbacks.
100 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
102 * examples/hildon-button-example.c
103 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
104 hildon_stackable_window_new instead of gtk_window_new
106 2008-08-22 Alejandro G. Castro <alex@igalia.com>
108 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
109 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
110 (hildon_pannable_area_set_property),
111 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
112 (hildon_pannable_area_unrealize),
113 (hildon_pannable_area_size_request),
114 (hildon_pannable_area_size_allocate),
115 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
116 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
117 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
118 (hildon_pannable_area_initial_effect),
119 (hildon_pannable_area_redraw),
120 (hildon_pannable_area_scroll_indicator_fade),
121 (hildon_pannable_area_expose_event),
122 (hildon_pannable_area_get_topmost), (synth_crossing),
123 (hildon_pannable_area_button_press_cb),
124 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
125 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
126 (hildon_pannable_area_motion_notify_cb),
127 (hildon_pannable_area_button_release_cb),
128 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
129 (hildon_pannable_area_remove),
130 (hildon_pannable_calculate_vel_factor): Widget refactorization,
131 chage the code layout to a more GtkWidget like. Review the use of
134 2008-08-21 Alejandro G. Castro <alex@igalia.com>
136 * examples/hildon-pannable-area-example-4.c,
137 (main): Modified the name of the hindicator_mode to
140 * src/hildon-pannable-area.c,
141 (hildon_pannable_area_class_init),
142 (hildon_pannable_area_motion_notify_cb),
143 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
144 we have reduced the amount of signals and managed reviewed its
145 rationale. Changed the default decelerate value.
147 (hildon_pannable_area_add),
148 (hildon_pannable_area_redraw): Refactored functions.
150 (hildon_pannable_area_init),
151 (hildon_pannable_area_get_property),
152 (hildon_pannable_area_set_property):
153 (hildon_pannable_draw_vscroll),
154 (hildon_pannable_draw_hscroll),
155 (hildon_pannable_area_initial_effect),
156 (hildon_pannable_area_expose_event),
157 (hildon_pannable_area_scroll),
158 (hildon_pannable_area_button_press_cb),
159 (hildon_pannable_area_realize): Replaced the names hindicator_mode
160 and vindicator_mode with hscrollbar_policy and
161 vscrollbar_policy. Replaced hscroll and vscroll with
162 hscroll_visible and vscroll_visible.
164 (hildon_pannable_area_refresh): Refactor the function, remove
165 variables and check the calls to this function, added resize
166 conditions in case the children change their layout.
168 (hildon_pannable_area_size_request): Added more detailed
169 size_request calculation.
172 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
174 * src/hildon-color-chooser.c
175 (init_borders): use the correct gtk_border_free instead of g_free, to
176 avoid a crash when this widget is used (ie: the three color selection
179 2008-08-20 Alejandro G. Castro <alex@igalia.com>
181 * src/hildon-check-button.c,
182 (hildon_check_button_set_active): Fixed problem when setting the
183 active value, the widget was not redrawn.
185 2008-08-20 Alejandro G. Castro <alex@igalia.com>
187 * src/hildon-pannable-area.c,
188 (hildon_pannable_area_refresh),
189 (hildon_pannable_area_scroll),
190 (hildon_pannable_area_motion_notify_cb): Small code style change.
192 (hildon_pannable_area_class_init): Default initial_hint set to
193 FALSE, it is not in the specs.
195 (hildon_pannable_area_initial_effect),
196 (hildon_pannable_area_expose_event),
197 (hildon_pannable_area_map),
198 (hildon_pannable_area_init): Moved the launching point of the
199 initial effect, it was in map but the sizes where not correct in
200 that method so we do not know if we have the reproduce it. Now it
201 is placed in the expose_event method and uses a variable to
202 reproduce it just once.
204 2008-08-19 Alejandro G. Castro <alex@igalia.com>
206 * src/hildon-pannable-area.c,
207 (hildon_pannable_draw_vscroll),
208 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
209 position allowed for the scrollbars.
211 (hildon_pannable_area_size_allocate): Small style change.
213 2008-08-19 Alejandro G. Castro <alex@igalia.com>
215 * src/hildon-pannable-area.c,
216 (hildon_pannable_area_scroll_indicator_fade),
217 (hildon_pannable_area_button_press_cb),
218 (hildon_pannable_area_button_release_cb),
219 (hildon_pannable_area_scroll_cb),
220 (hildon_pannable_area_expose_event),
221 (hildon_pannable_area_init): Added the define parameter
222 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
223 and refactor the fade variable.
225 2008-08-19 Alejandro G. Castro <alex@igalia.com>
227 * src/hildon-pannable-area.c,
228 (hildon_pannable_area_redraw),
229 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
230 lines, we were reimplemeting the redraw code.
232 2008-08-18 Alejandro G. Castro <alex@igalia.com>
234 * src/hildon-pannable-area.c,
235 (hildon_pannable_area_scroll_cb),
236 (hildon_pannable_area_realize),
237 (hildon_pannable_area_class_init): Added scroll_event management
238 for pannable area, now we can scroll the usual desktop method.
240 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
241 initialization of the parameters should depend on idle_id.
243 (hildon_pannable_area_init),
244 (hildon_pannable_area_map): Small code style modifications
246 2008-08-18 Alejandro G. Castro <alex@igalia.com>
248 * src/hildon-pannable-area.c
249 (hildon_pannable_area_button_press_cb),
250 (hildon_pannable_area_motion_notify_cb),
251 (hildon_pannable_area_button_release_cb),
252 (hildon_pannable_area_size_allocate),
253 (hildon_pannable_area_scroll_to): Improved the timeouts
254 management, we avoid creating them each time.
256 2008-08-14 Alejandro G. Castro <alex@igalia.com>
258 * src/hildon-pannable-area.c:
259 (hildon_pannable_area_refresh),
260 (hildon_pannable_area_motion_notify_cb),
261 (hildon_pannable_area_class_init):
262 * src/hildon-pannable-area.h:
263 * src/hildon-touch-selector.c
264 (_create_new_column):
265 * examples/hildon-pannable-area-example-4.c:
266 (horizontal_movement),
269 Replaced the names of enums in the HildonPannableArea:
270 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
271 HILDON_MOVEMENT_MODE_*
272 - HILDON_PANNABLE_AREA_MOV_* ->
274 - Removed HildonPannableAreaIndicatorMode, now we
277 2008-08-14 Alberto Garcia <agarcia@igalia.com>
279 * examples/hildon-pannable-area-touch-grid-example.c
280 * examples/hildon-pannable-area-touch-list-example.c: Fix
281 compilation warnings.
283 2008-08-14 Alberto Garcia <agarcia@igalia.com>
285 * src/hildon-gtk.c (hildon_gtk_button_new)
286 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
287 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
288 images overriding the value of the "gtk-button-images" setting.
290 2008-08-14 Alberto Garcia <agarcia@igalia.com>
292 * src/hildon-check-button.c (hildon_check_button_new):
293 Instead of using a custom container, display the label and the
294 checkbox using the standard GtkButton API.
296 * examples/hildon-check-button-example.c (main): Don't use
297 hildon_check_button_set_label() anymore
299 * src/hildon-check-button.h
300 * src/hildon-check-button.c
301 (hildon_check_button_set_label, hildon_check_button_get_label):
302 Set as deprecated, now we're using gtk_button_{get,set}_label()
304 2008-08-14 Alejandro G. Castro <alex@igalia.com>
306 * src/hildon-pannable-area.c,
307 (hildon_pannable_area_get_topmost): Fixed bug with click in the
308 GtkTreeview first line we detected it after the inclusion of the
309 GtkWindowImpl in gtk+. We now check if the window is visible, not
310 just if the pointer is over the window.
311 (hildon_pannable_axis_scroll),
312 (hildon_pannable_area_expose_event): Small style changes.
314 2008-08-13 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-button.c: Update documentation.
318 2008-08-13 Alberto Garcia <agarcia@igalia.com>
320 * examples/hildon-button-example.c: Add a switch to show images in
323 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
325 * doc/hildon-docs.sgml: Some docs reorganization.
327 2008-08-12 Alberto Garcia <agarcia@igalia.com>
329 * examples/hildon-pannable-area-touch-list-example.c
331 * examples/hildon-pannable-area-touch-grid-example.c
332 (create_icon_view): Use gtk_{tree,icon}_view_new() and
333 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
334 Fix memory leak when setting the tree model.
336 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
340 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
342 * doc/hildon.types: Remove duplicated hildon_window_get_type
343 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
344 documentation comment.
346 2008-08-12 Alberto Garcia <agarcia@igalia.com>
348 * doc/Makefile.am: Complete list of private headers.
350 2008-08-12 Alberto Garcia <agarcia@igalia.com>
352 * doc/hildon-docs.sgml
353 * src/hildon-app-menu.c
354 * src/hildon-bread-crumb.c
355 * src/hildon-button.c
357 * src/hildon-program.c
358 * src/hildon-stackable-window.c
359 * src/hildon-window.c: Lots of documentation updates.
361 2008-08-12 Alberto Garcia <agarcia@igalia.com>
363 * debian/control: Depend on Gtk 2:2.12.9-0osso3
365 * configure.ac: Require Gtk+ 2.12.9 at least
367 2008-08-12 Alejandro G. Castro <alex@igalia.com>
369 * src/hildon-pannable-area.c
370 (hildon_pannable_area_scroll_indicator_fade),
371 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
372 to protect the return of this timeout callbacks, avoiding deadlocks.
374 2008-08-12 Christian Dywan <christian@imendio.com>
377 * src/hildon-*.h: Ensure a consistent include order,
378 include <gtk/gtk.h> instead of particular files and
379 only include the topmost header in the gtk stack. See NB #39857
381 2008-08-12 Christian Dywan <christian@imendio.com>
383 * src/hildon-picker-dialog.c
384 * src/hildon-touch-selector.c: Fix warnings about unused and
385 uninitialized variables.
387 2008-08-11 Alberto Garcia <agarcia@igalia.com>
389 * examples/Makefile.am
390 * examples/hildon-check-button-example.c: Example of the hildon
393 2008-08-11 Alberto Garcia <agarcia@igalia.com>
395 * src/hildon-window.h
396 * src/hildon-window.c (hildon_window_class_init)
397 (hildon_window_unset_program): Don't make
398 hildon_window_unset_program a virtual function anymore.
400 * src/hildon-stackable-window.c: Update documentation
402 2008-08-11 Alberto Garcia <agarcia@igalia.com>
405 * doc/hildon-docs.sgml
406 * doc/visual_index.xml
407 * src/hildon-defines.c
409 * src/hildon-helper.c
410 * src/hildon-range-editor.c: Lots of documentation fixes.
412 2008-08-11 Alberto Garcia <agarcia@igalia.com>
414 * examples/hildon-picker-button-multicolumn-example.c
415 (create_touch_selector): Fix compilation warning.
417 2008-08-11 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
420 (hildon_pannable_area_button_release_cb)
421 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
423 2008-08-11 Alberto Garcia <agarcia@igalia.com>
425 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
428 2008-08-11 Alberto Garcia <agarcia@igalia.com>
430 * src/hildon-bread-crumb-trail.h
431 * src/hildon-date-editor.c
432 * src/hildon-date-selector.c
433 * src/hildon-pannable-area.c
434 * src/hildon-picker-dialog.c
435 * src/hildon-time-selector.c
436 * src/hildon-touch-selector-entry.c
437 * src/hildon-touch-selector.c
438 * src/hildon-touch-selector.h: Misc documentation fixes
440 2008-08-11 Alberto Garcia <agarcia@igalia.com>
442 * examples/hildon-date-editor-example.c (main): Updated date
445 * examples/hildon-note-example.c (on_confirmation_clicked):
446 Updated confirmation note example.
448 * src/hildon-date-editor.c
449 * src/hildon-note.c: Updated sample programs in documentation.
452 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
454 * src/hildon-date-button.h:
455 * src/hildon-picker-button.h:
456 * src/hildon-time-button.c:
457 * src/hildon-time-button.h:
459 Some declarations changes to allow gtk-doc to document the widgets
462 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
464 * src/hildon-date-button.c: Document the widget.
465 * src/hildon-time-button.c: Document the widget.
467 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
469 * src/hildon-picker-button.c: Document the widget.
470 * src/hildon-touch-selector-entry.c: Document the widget.
472 2008-08-08 Alberto Garcia <agarcia@igalia.com>
474 * doc/hildon-docs.sgml
477 * src/hildon-check-button.h
478 * src/hildon-check-button.c: New functions to create the Hildon
482 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
484 2008-08-08 Alberto Garcia <agarcia@igalia.com>
486 * src/hildon-button.h
487 * src/hildon-button.c
488 (hildon_button_add_title_size_group)
489 (hildon_button_add_value_size_group)
490 (hildon_button_add_image_size_group)
491 (hildon_button_add_size_groups): New functions to set size groups
492 for the button labels and image.
493 (hildon_button_new_full): Removed
495 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
497 * src/hildon-time-selector.c
498 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
499 in order to avoid a crash if gconf is not available
501 2008-08-08 Alberto Garcia <agarcia@igalia.com>
503 * src/hildon-button.c (hildon_button_set_arrangement)
504 (hildon_button_construct_child): Don't construct the button child
505 before setting the arrangement.
507 2008-08-08 Alberto Garcia <agarcia@igalia.com>
509 * src/hildon-program-private.h
510 * src/hildon-program.c
511 * src/hildon-program.h
512 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
513 (hildon_program_peek_window_stack)
514 (hildon_program_pop_window_stack)
515 (hildon_program_go_to_root_window): HildonProgram now has a
516 separate list for stackable windows. Functions are provided to
517 manage that list with a stack-like API.
519 * src/hildon-stackable-window.c: Stackable window management is
520 now much simpler with the new HildonProgram API. Windows no
521 longer need to be manually added to the program, they're
522 automatically pushed to the top of the stack when shown.
524 * examples/hildon-stackable-window-example.c: Updated example to
525 reflect the API changes.
527 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
529 * src/hildon-touch-selector.c: Comment out unimplemented
530 hildon_touch_selector_insert_column() to avoid a compile warning.
532 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
534 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
535 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
536 (hildon_touch_selector_set_column_selection_mode),
537 (_hildon_touch_selector_set_model),
538 (hildon_touch_selector_set_model):
540 Complete review of HildonTouchSelector documentation.
542 2008-08-08 Alberto Garcia <agarcia@igalia.com>
544 * doc/hildon-docs.sgml
548 * src/hildon-gtk.c: Convenience functions for standard Gtk
549 widgets, used to easily perform frequent operations.
551 * src/hildon-button-helpers.h
552 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
554 * src/hildon-helper.h
555 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
556 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
558 * src/hildon-button.h
559 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
561 2008-08-07 Alberto Garcia <agarcia@igalia.com>
563 * src/hildon-button.c (hildon_button_init)
564 (hildon_button_set_arrangement, hildon_button_construct_child):
565 Pack the image and the labels inside the same GtkAlignment so
566 gtk_button_set_alignment() can be used
568 2008-08-07 Alberto Garcia <agarcia@igalia.com>
570 * src/hildon-button.h
571 * src/hildon-button.c
572 (hildon_button_init, hildon_button_set_image)
573 (hildon_button_set_image_position)
574 (hildon_button_construct_child): New functions to add an image to
577 2008-08-07 Alberto Garcia <agarcia@igalia.com>
579 * src/hildon-date-button.c
580 * src/hildon-picker-button.c
581 * src/hildon-time-button.c
582 * src/hildon-button.c:
583 (hildon_button_class_init): "size-flags" renamed to "size"
584 (hildon_button_set_title): Hide the title label if set to NULL.
586 2008-08-07 Alberto Garcia <agarcia@igalia.com>
588 HildonButtonFlags split into HildonButtonArrangement (to set the
589 button layout) and HildonSizeType (which can be used for any
592 * src/hildon-button.h
593 * src/hildon-button.c
594 (hildon_button_class_init)
595 (hildon_button_set_arrangement)
596 (hildon_button_set_property): New "size-flags"
597 property. "arrangement-flags" renamed to "arrangement".
598 (hildon_button_new, hildon_button_new_with_text)
599 (hildon_button_new_full): Constructors updated to reflect type changes.
601 * src/hildon-helper.h
602 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
603 to set the size of a widget.
607 * src/hildon-button-helpers.c
608 * src/hildon-button-helpers.h: New hildon-button-helpers module.
610 * src/hildon-date-button.c
611 * src/hildon-date-button.h
612 * src/hildon-picker-button.c
613 * src/hildon-picker-button.h
614 * src/hildon-time-button.c
615 * src/hildon-time-button.h: Updated widgets to reflect
616 HildonButton API changes.
618 * examples/hildon-button-example.c
619 * examples/hildon-date-button-example.c
620 * examples/hildon-picker-button-example.c
621 * examples/hildon-picker-button-multicolumn-example.c
622 * examples/hildon-time-button-example.c
623 * examples/hildon-touch-selector-entry-example.c
624 * examples/hildon-touch-selector-example.c: Updated examples to
625 reflect HildonButton API changes.
627 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
629 * doc/hildon-docs.sgml:
631 * examples/Makefile.am:
632 * examples/hildon-touch-selector-entry-example.c:
634 * src/hildon-touch-selector-entry.c:
635 * src/hildon-touch-selector-entry.h:
638 Moved HildonTouchSelectorEntry from sandbox. Added its
639 documentation and examples.
641 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
643 * src/hildon-touch-selector.h:
644 * examples/hildon-picker-button-multicolumn-example.c:
645 (hildon_touch_selector_append_text_column): Add a gboolean
646 parameter to determine if text must be centered in the column.
648 * src/hildon-date-selector.c: (hildon_date_selector_init):
649 * src/hildon-time-selector.c: (hildon_time_selector_init):
650 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
651 (create_touch_selector): Update widgets and example to reflect
654 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
656 * src/hildon-touch-selector.c:
657 (hildon_touch_selector_set_active_iter): Set also the cursor in
660 2008-08-06 Alberto Garcia <agarcia@igalia.com>
662 * doc/hildon-docs.sgml
665 * src/hildon-toggle-button.c
666 * src/hildon-toggle-button.h
667 * src/hildon.h: Removed HildonToggleButton widget, a derived
668 class is not necessary for this.
670 2008-08-06 Alejandro G. Castro <alex@igalia.com>
672 * src/hildon-pannable-area.c,
673 (hildon_pannable_area_realize),
674 (hildon_pannable_area_size_allocate): Code refactoring, add tests
677 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
679 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
680 "done" button the default widget for the dialog.
682 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
684 * src/hildon-touch-selector.c:
685 (hildon_touch_selector_class_init),
686 (hildon_touch_selector_get_property),
687 (_hildon_touch_selector_set_model),
688 (_hildon_touch_selector_has_multiple_selection),
689 (hildon_touch_selector_has_multiple_selection):
690 Add a "has-multiple-selection" property with a virtual
691 has_multiple_selection() method to allow derived classes to
692 override the default value for it. See the method and property
693 documentation for details.
695 * src/hildon-touch-selector.h: Add the new API.
697 * src/hildon-picker-dialog.c: (requires_done_button): Call
698 hildon_touch_selector_has_multiple_selection() instead of
699 determining the need for a button itself.
701 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
703 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
704 (_hildon_touch_selector_set_model),
705 (hildon_touch_selector_set_model): Move working code to
706 _hildon_touch_selector_set_mode(). Call the class method instead.
708 * src/hildon-touch-selector.h: Add (*set_model) to
709 HildonTouchSelectorClass.
711 Make hildon_touch_selector_set_model() a virtual method, so that
712 derived classes can extend it and do fancy stuff with the model.
714 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
716 * configure.ac: Set back the tarname in AC_INIT to hildon.
718 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
722 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
723 instead of libesd (NB#86876). Volume handling is still an open issue.
725 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
728 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
731 (hildon_touch_selector_append_column): Make the widget a GtkVBox
732 derived class to ease placement of an entry widget in
733 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
734 end, where the selector columns are packed now.
736 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-picker-button.c: Removed the simple _text() API.
739 * src/hildon-picker-button.h: Likewise.
741 * src/hildon-touch-selector.h:
742 * src/hildon-touch-selector.c:
743 (hildon_touch_selector_new_text),
744 (hildon_touch_selector_append_text),
745 (hildon_touch_selector_prepend_text),
746 (hildon_touch_selector_insert_text):
748 Moved the simple _text() API from HildonPickerButton to
749 HildonTouchPicker, to provide better escalability and not to tie
750 that API to HildonPickerButton.
752 * examples/hildon-picker-button-example.c: (main): Example updated.
754 2008-07-31 Alberto Garcia <agarcia@igalia.com>
756 * src/hildon-button.c: Updated documentation.
758 * examples/hildon-button-example.c: Add the posibility to create
759 the buttons using horizontal layout for title and value.
761 2008-07-31 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-app-menu-private.h
764 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
765 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
766 GtkSizeGroup for the filters, use the 'homogeneous' property of
769 2008-07-31 Alberto Garcia <agarcia@igalia.com>
771 * examples/hildon-button-example.c: Updated example.
773 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
775 * doc/hildon-docs.sgml:
778 Update documentation.
780 * examples/Makefile.am: Update renamed examples.
782 * examples/hildon-picker-button-multicolumn-example.c:
783 (create_touch_selector), (main): Update after the rename.
785 * examples/hildon-touch-picker-example.c: Removed.
786 * examples/hildon-touch-selector-example.c: (value_changed),
787 (create_selector), (get_visible_content), (main): Renamed from
788 hildon-touch-picker-example.c
790 * src/Makefile.am: Updated renamed files.
792 * src/hildon-date-button.c: (hildon_date_button_init),
793 (hildon_date_button_get_date), (hildon_date_button_set_date):
794 * src/hildon-date-selector.c: (hildon_date_selector_init),
795 (_custom_print_func), (_update_day_model),
796 (_manage_selector_change_cb),
797 (hildon_date_selector_select_current_date),
798 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
799 * src/hildon-date-selector.h:
800 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
801 (hildon_picker_button_set_property),
802 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
803 (hildon_picker_button_init), (hildon_picker_button_new_text),
804 (hildon_picker_button_append_text),
805 (hildon_picker_button_prepend_text),
806 (hildon_picker_button_insert_text),
807 (hildon_picker_button_set_selector),
808 (hildon_picker_button_get_selector):
809 * src/hildon-picker-button.h:
810 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
811 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
812 (_update_title_on_selector_changed_cb), (requires_done_button),
813 (_hildon_picker_dialog_set_selector),
814 (hildon_picker_dialog_set_selector),
815 (hildon_picker_dialog_get_selector):
816 * src/hildon-picker-dialog.h:
817 * src/hildon-time-button.c: (hildon_time_button_init),
818 (hildon_time_button_get_time), (hildon_time_button_set_time):
819 * src/hildon-time-selector.c: (hildon_time_selector_init),
820 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
821 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
822 * src/hildon-time-selector.h:
825 Massive code updates after the rename.
827 * src/hildon-touch-picker.c: Removed.
828 * src/hildon-touch-picker.h: Removed.
830 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
831 (hildon_touch_selector_init), (hildon_touch_selector_map),
832 (hildon_touch_selector_remove), (_default_print_func),
833 (_selection_changed_cb), (_create_new_column),
834 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
835 (hildon_touch_selector_append_text_column),
836 (hildon_touch_selector_remove_column),
837 (hildon_touch_selector_set_column_attributes),
838 (hildon_touch_selector_insert_column),
839 (hildon_touch_selector_get_num_columns),
840 (hildon_touch_selector_get_column_selection_mode),
841 (hildon_touch_selector_set_column_selection_mode),
842 (hildon_touch_selector_set_print_func),
843 (hildon_touch_selector_get_print_func),
844 (hildon_touch_selector_get_active_iter),
845 (hildon_touch_selector_set_active_iter),
846 (hildon_touch_selector_get_selected_rows),
847 (hildon_touch_selector_get_model),
848 (hildon_touch_selector_set_model),
849 (hildon_touch_selector_get_current_text),
850 (_hildon_touch_selector_center_on_selected_items):
851 * src/hildon-touch-selector.h: Renamed from
852 hildon-touch-picker.[ch]
854 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
855 references, code examples, and related documentation.
857 2008-07-30 Alberto Garcia <agarcia@igalia.com>
859 * doc/hildon-docs.sgml
862 * src/hildon-toggle-button.c
863 * src/hildon-toggle-button.h
864 * src/hildon.h: New HildonToggleButton widget.
866 2008-07-30 Alberto Garcia <agarcia@igalia.com>
868 * src/hildon-button.c: Add API documentation.
869 (hildon_button_set_size_groups): Check input parameters
871 2008-07-30 Alejandro G. Castro <alex@igalia.com>
873 * src/hildon-pannable-area.c
874 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
875 effect after reaching the movement thredshold. This way we start
876 using the distance after passing the thredshold.
878 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
880 * src/hildon-button.c: (hildon_button_set_property): Use the
881 appropriate g_value_get_flags() method.
883 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
885 * doc/hildon-docs.sgml:
888 Add the touch pickers, picker dialogs, and picker button widgets
889 to the documentation.
891 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-button.c: (hildon_button_set_property),
894 (hildon_button_class_init): Make "arrangement-flags" a proper
895 G_TYPE_FLAGS derived property.
897 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
899 * examples/Makefile.am: Add below examples.
900 * examples/hildon-date-button-example.c:
901 * examples/hildon-picker-button-example.c:
902 * examples/hildon-picker-button-multicolumn-example.c:
903 * examples/hildon-time-button-example.c:
904 * examples/hildon-touch-picker-example.c:
906 Add examples for the recently added touch pickers,
907 picker dialogs, and picker button widgets.
909 2008-07-29 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-button.c: Add some API documentation
913 2008-07-29 Alberto Garcia <agarcia@igalia.com>
915 * src/hildon-button.h
916 * src/hildon-button.c
918 (hildon_button_new_with_text): New constructor to create a button
920 (hildon_button_init, hildon_button_set_arrangement)
921 (hildon_button_set_title, hildon_button_set_value)
922 (hildon_button_set_text)
923 (hildon_button_construct_child): Hide the value when it's not used
924 so the rest of the text is properly aligned.
925 Allow creating buttons with arbitrary widgets inside (not just
928 * examples/hildon-button-example.c (vertical_buttons_window)
929 (horizontal_buttons_window): Update example to use new API.
931 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
933 * src/Makefile.am: Added HildonTimeButton.
934 * src/hildon-time-button.c: Added missing LGPL header.
935 * src/hildon-time-button.h: Added missing LGPL header.
936 * src/hildon.h: Add hildon-time-button.h
938 Copied HildonTimeButton from sandbox to trunk. Future work on this
939 widget must take place in trunk.
941 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
943 * src/Makefile.am: Added HildonDateButton.
944 * src/hildon-date-button.c: Update includes.
945 * src/hildon.h: Add hildon-date-button.h
947 Copied HildonDateButton from sandbox to trunk. Future work on this
948 widget must take place in trunk.
950 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
952 * src/Makefile.am: Added HildonPickerButton.
953 * src/hildon-picker-button.h: Update includes.
954 * src/hildon.h: Add hildon-picker-button.h
956 Copied HildonPickerButton from sandbox to trunk. Future work on
957 this widget must take place in trunk.
959 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
961 * src/Makefile.am: Added HildonPickerDialog.
962 * src/hildon-picker-dialog.c: Update includes.
963 * src/hildon.h: Add hildon-picker-dialog.h
965 Copied HildonPickerDialog from sandbox to trunk. Future work
966 on this widget must take place in trunk.
968 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
970 * src/Makefile.am: Added HildonTimeSelector.
971 * src/hildon.h: Add hildon-time-selector.h
973 Copied HildonTimeSelector widget from sandbox to trunk. Future
974 work on this widget must happen in trunk.
976 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
978 * src/Makefile.am: Added HildonDateSelector.
979 * src/hildon.h: Add hildon-date-selector.h
981 Copied HildonDateSelector widget from sandbox to trunk. Future
982 work on this widget must happen in trunk.
984 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
986 * src/Makefile.am: Added HildonTouchPicker.
987 * src/hildon-touch-picker.c: Update includes.
988 * src/hildon.h: Add hildon-touch-picker.h
990 Copied HildonTouchPicker widget from sandbox to trunk. Future work
991 on this widget must happen in trunk.
993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
995 * src/hildon-pannable-area.c:
996 (hildon_pannable_area_motion_notify_cb): Fix a typo.
998 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1000 * examples/hildon-app-menu-example.c (main): Let the window
1003 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1005 * src/hildon-pannable-area.c
1006 (hildon_pannable_area_class_init): Set the min value of the
1007 overshoot properties to zero, which points out that not
1008 overshooting allowed.
1010 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1012 Modified the procedure to get the widget at a point inside the
1013 pannable area when using the movement type signals. Now the user
1014 has to call a function to get the child, that way we just
1015 calculate the child in case the user really want to use it and not
1018 * src/hildon-marshalers.list: Modified the marshallers, now we do
1019 not have the widget as a parameter.
1021 * src/hildon-pannable-area.c
1022 (hildon_pannable_area_motion_notify_cb),
1023 (hildon_pannable_area_class_init),
1024 (hildon_pannable_get_child_widget_at): Removed the widget
1025 parameter from the signal callback. We have also refactored the
1026 emission of the signals.
1028 * src/hildon-pannable-area.h: Added a new method to the API to
1029 calculate a widget at a point inside the pannable area,
1030 hildon_pannable_get_child_widget_at.
1032 * examples/hildon-pannable-area-example-4.c
1033 (horizontal_movement): Modified the example to use the new API,
1034 added condition to control which widget is under the event. This
1035 way we can avoid scrolling laterally over other widgets.
1037 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1039 * src/hildon-pannable-area.c
1040 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1041 modes, we stop getting the pointer events due to returning the
1042 callback without properly calling the get pointer again. Fixed
1043 also an error using the hscroll and vscroll.
1045 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1047 * src/hildon-app-menu-private.h
1048 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1049 (hildon_app_menu_button_release, hildon_app_menu_init)
1050 (hildon_app_menu_class_init): Don't hide the menu on button
1051 release if the user didn't press outside first.
1053 * src/hildon-window.h
1054 * src/hildon-window.c (hildon_window_toggle_menu)
1055 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1056 hildon_window_toggle_menu a virtual function for the stackable
1057 window to override it.
1059 * src/hildon-stackable-window.h
1060 * src/hildon-stackable-window-private.h
1061 * src/hildon-stackable-window.c
1062 (hildon_stackable_window_realize)
1063 (hildon_stackable_window_finalize)
1064 (hildon_stackable_window_class_init)
1065 (hildon_stackable_window_init)
1066 (hildon_stackable_window_set_main_menu): New function to set the
1067 app menu of a HildonStackableWindow.
1069 * examples/hildon-app-menu-example.c: Remove the button to show
1070 the app menu, now it'll be shown when clicking on the title bar
1073 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1076 set the widget name if the arrangement flags do not specify
1079 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-button.c: (hildon_button_set_property),
1082 (hildon_button_class_init), (hildon_button_new_full),
1083 (hildon_button_set_arrangement): Added "arrangement-flags"
1086 Make the HildonButtonFlags a construction-only property, to allow
1087 subclasses to set them properly.
1089 2008-07-21 Tim Janik <timj@imendio.com>
1091 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1092 insertion position after backspace, so additional digits are appended,
1095 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1097 * src/hildon-pannable-area.c,
1098 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1099 TODO list, it was complete and removed the g_debug and g_print
1102 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1104 Added the movement modes to the hildon-pannable-area, with this
1105 modes the developers can control in which directions the widget
1106 can scroll. They can also connect to signals in order to do
1107 something when that happens, allowing applications scroll. There
1108 is an example uploaded showing how to use it.
1110 * examples/Makefile.am:
1111 * examples/hildon-pannable-area-example-4.c: Added this example of
1112 an application using the modes.
1114 * src/hildon-marshalers.list: Added a new marshaller for the new
1117 * src/hildon-pannable-area.h: Added new enumerations and flags in
1118 order to control the movement modes and the new signals to warn
1119 about the movements in the area.
1121 * src/hildon-pannable-area.c:
1122 (hildon_pannable_axis_scroll),
1123 (hildon_pannable_area_scroll),
1124 (hildon_pannable_area_motion_notify_cb),
1125 (hildon_pannable_area_get_property),
1126 (hildon_pannable_area_set_property),
1127 (hildon_pannable_area_map),
1128 (hildon_pannable_area_class_init),
1129 (hildon_pannable_area_init),
1130 (hildon_pannable_area_jump_to): Added the modes to control the
1131 movement in the widget. We have added properties to control it,
1132 signals to warn about the movements and refactored some code.
1134 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1136 Changes required in order to allow vfast_factor set to zero to
1139 * src/hildon-pannable-area.c:
1140 (hildon_pannable_area_button_press_cb): Changed the condition, it
1141 is required for not allowing click when vfast_factor is zero.
1142 (hildon_pannable_area_timeout): Initialized velocity variables
1143 when we stop moving, it was less than 1 but not zero and we need
1144 to check zero in some situations.
1145 (hildon_pannable_area_class_init): Changed the default value of
1146 the speed factor, now the button_press is just sent in case the
1147 speed is 2 per cent of the max speed.
1148 (hildon_pannable_area_init): Initialization with 0.
1150 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1152 * src/hildon-pannable-area.c,
1153 (hildon_pannable_area_get_topmost): replaced
1154 gdk_window_get_children with gdk_window_peek_children, this way we
1155 do not have to free the list because it is not a copy.
1157 (hildon_pannable_axis_scroll),
1158 (hildon_pannable_area_scroll),
1159 (hildon_pannable_area_timeout),
1160 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1161 two parameters that were only used inside the
1162 hildon_pannable_area_scroll function.
1164 * examples/hildon-pannable-area-example.c,
1165 (get_sawtooth_label): Fixed small memory leak.
1167 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1169 More checks for the case where the overshoot is bigger than the
1172 * src/hildon-pannable-area.c:
1173 (hildon_pannable_draw_vscroll),
1174 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1175 to draw the slider of the scrollbar under the other scrollbar.
1176 (hildon_pannable_area_expose_event): added new checks to control
1177 the drawing of the overshooting area rectangle, in case it is too
1178 big for the area of the widget.
1179 (hildon_pannable_area_size_allocate): add more checks to avoid
1180 setting a position to the child widget outside the area.
1182 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1184 * src/hildon-pannable-area.c
1185 (hildon_pannable_area_size_allocate): Added conditions to control
1186 when overshooting is bigger than the allocated space for the
1187 children, this avoids negative allocations.
1189 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1191 * doc/hildon-docs.sgml
1193 * examples/Makefile.am
1194 * examples/hildon-button-example.c
1196 * src/hildon-button.c
1197 * src/hildon-button.h
1198 * src/hildon.h: Initial version of the new HildonButton widget,
1201 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-pannable-area.c:
1204 (hildon_pannable_area_button_press_cb),
1205 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1206 (hildon_pannable_area_motion_notify_cb),
1207 (hildon_pannable_area_button_release_cb),
1208 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1209 (hildon_pannable_area_jump_to_child):
1211 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1213 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1215 * examples/Makefile.am
1216 * examples/hildon-pannable-area-touch-grid-example.c
1217 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1218 the Hildon Touch List and Hildon Touch Grid using the
1219 HildonPannableArea widget.
1221 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1223 * src/hildon-pannable-area.c,
1224 (hildon_pannable_area_button_press_cb),
1225 (hildon_pannable_area_refresh),
1226 (hildon_pannable_area_scroll),
1227 (hildon_pannable_area_motion_notify_cb),
1228 (hildon_pannable_area_button_release_cb),
1229 (hildon_pannable_area_expose_event),
1230 (hildon_pannable_area_add),
1231 (hildon_pannable_area_remove),
1232 (hildon_pannable_area_realize),
1233 (hildon_pannable_area_size_allocate),
1234 (hildon_pannable_area_class_init),
1235 (hildon_pannable_area_init),
1236 (hildon_pannable_area_scroll_to_child),
1237 (hildon_pannable_area_jump_to_child): Fixed the problem of
1238 removing the child from the GtkBin, we have rearranged the widget
1239 hierarchy, now there is no GtkAlignment which was not doing
1240 anything interesting but breaking some of the assumptions of
1241 GtkContainer. Now developers if they want to add a GtkAlignment
1242 they could, but it is not inside the area.
1244 We had to review the whole allocation/expose process, now it is
1245 improved and we save at least three signals which would be saving
1246 some time when rendering the widget. The allocation of the
1247 scrollbars is now made in the allocate method as usual.
1249 We have also added some conditions in order to control when there
1250 is no child of the pannable area. Maybe we will need more work
1253 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1255 * src/hildon-pannable-area.c,
1256 (hildon_pannable_area_dispose): Released the fade-out timeout when
1257 disposing the widget.
1259 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1261 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1262 zero, we are going to use that property in order to deactivate the
1264 (hildon_pannable_axis_scroll),
1265 (hildon_pannable_area_size_allocate): Added conditions to control
1266 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1267 call, now it is called in all situations and we can remove calls
1268 in the allocate method.
1269 (hildon_pannable_area_map): Control the situation when
1270 overshoot_max is zero, we do not need the timeout.
1271 (hildon_pannable_area_class_init): Added documentation in order to
1272 point out that setting zero to overshoot_max means deactivate
1275 NOTE: removed trailing whitespaces from my previous comments of
1278 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1280 * src/hildon-pannable-area.c
1281 (hildon_pannable_area_get_property),
1282 (hildon_pannable_area_set_property),
1283 (hildon_pannable_area_map),
1284 (hildon_pannable_area_class_init),
1285 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1286 to cause the widget give a hint about its panning abilities upon
1289 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1291 * src/hildon-pannable-area.c: Several documentation improvements.
1293 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1295 * src/hildon-program.c
1296 * src/hildon-stackable-window.c: Update documentation.
1298 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1300 * src/hildon-stackable-window.c (get_previous_window_if_last):
1301 Renamed get_last_window()
1302 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1303 (hildon_stackable_window_unset_program):
1305 (get_previous_window_if_last):
1306 Detect if the window hasn't been added to a HildonProgram.
1308 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1310 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1312 * src/hildon-pannable-area.c
1313 (hildon_pannable_area_button_press_cb),
1314 (hildon_pannable_axis_scroll),
1315 (hildon_pannable_area_scroll),
1316 (hildon_pannable_area_timeout),
1317 (hildon_pannable_calculate_vel_factor),
1318 (hildon_pannable_area_get_property),
1319 (hildon_pannable_area_set_property),
1320 (hildon_pannable_area_class_init),
1321 (hildon_pannable_area_init),
1322 (hildon_pannable_area_scroll_to),
1323 (hildon_pannable_area_jump_to),
1324 (hildon_pannable_area_scroll_to_child),
1325 (hildon_pannable_area_jump_to_child):
1326 * src/hildon-pannable-area.h: Added the new API functions:
1327 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1328 hildon_pannable_area_scroll_to_child,
1329 hildon_pannable_area_jump_to_child
1332 * examples/Makefile.am
1333 * examples/hildon-pannable-area-example-2.c
1334 * examples/hildon-pannable-area-example-3.c: Added these two new
1335 examples in order to test and show how the new APIs work.
1337 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1339 * examples/hildon-stackable-window-example.c (new_window):
1340 * src/Makefile.am (noinst_HEADERS):
1341 * src/hildon-program.c (hildon_program_go_to_root_window):
1342 * src/hildon-program.h:
1343 * src/hildon-stackable-window-private.h:
1344 * src/hildon-stackable-window.c:
1345 * src/hildon-stackable-window.h:
1346 Create hildon-stackable-window-private.h
1347 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1349 * examples/hildon-app-menu-example.c (create_menu):
1350 * examples/hildon-hvolumebar-insensitive-example.c (main):
1351 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1352 * examples/hildon-toolbar-seekbar-example.c (main):
1353 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1354 * src/hildon-banner.c (hildon_banner_set_property):
1355 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1356 Fix compilation warnings
1358 * src/hildon-window.c:
1361 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1363 * src/hildon-stackable-window.c
1364 (hildon_stackable_window_unset_program):
1365 Calculate correctly whether to show the previous window if the
1366 last one is removed from the stack.
1367 (hildon_stackable_window_go_to_root_window):
1368 Send delete events starting from the topmost window.
1369 Stop if one of the windows is not destroyed.
1371 (hildon_stackable_window_delete_event)
1372 (hildon_stackable_window_class_init):
1373 Ignore the delete event if the window is not the topmost one.
1375 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1377 * src/hildon-pannable-area.c
1378 (hildon_pannable_area_expose_event): Fixed a problem when
1379 selecting the background color of the scrollbars.
1381 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1383 * examples/hildon-stackable-window-example.c
1384 * src/hildon-stackable-window.c
1385 * src/hildon-stackable-window.h
1386 hildon_stackable_window_go_home() renamed to
1387 hildon_stackable_window_go_to_root_window()
1388 Send delete events to windows rather than closing them with
1389 gtk_widget_destroy()
1391 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1393 * src/hildon-pannable-area.c
1394 (hildon_pannable_area_button_release_cb): Fix overshooting in
1397 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1399 * src/hildon-pannable-area.c
1400 (hildon_pannable_area_init): Initially show the scroll indicators.
1401 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1403 Add initial effect showing the widget is pannable.
1405 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1407 * src/hildon-pannable-area.c
1408 (hildon_pannable_area_class_init)
1409 (hildon_pannable_area_set_property)
1410 (hildon_pannable_area_get_property)
1411 (hildon_pannable_area_button_press_cb):
1412 New 'velocity_fast_factor' property to decide which velocity is
1415 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1417 * src/hildon-pannable-area.c
1418 (hildon_pannable_draw_hscroll)
1419 (hildon_pannable_draw_vscroll):
1420 Use float variables to calculate the size of the scrollbars to
1421 avoid error propagation and resizing during scrolling.
1423 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1425 * src/hildon-pannable-area.c
1426 (hildon_pannable_draw_vscroll)
1427 (hildon_pannable_draw_hscroll):
1428 Define a minimum size for the scroll bars
1430 * src/hildon-stackable-window.c
1431 (hildon_stackable_window_go_home): Fix compilation warning
1432 (get_last_window): Minor optimizations
1433 (hildon_stackable_window_class_init): Fix initialization of
1436 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1438 * src/hildon-stackable-window.c: Fixed typos in doc
1440 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1442 * src/hildon-pannable-area.c
1443 (hildon_pannable_area_scroll):
1444 Calculate here whether we need to scroll instead of using the booleans
1445 that tell us whether to /draw/ the scrolling bars.
1447 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1449 * src/hildon-app-menu.h
1451 * src/hildon-app-menu.c
1452 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1453 multiple filter groups related code and API. Now we support only
1455 * examples/hildon-app-menu-example.c:
1457 Update to reflect API changes.
1459 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1461 * src/hildon-stackable-window.c
1462 (hildon_stackable_window_class_init):
1463 Add hildon_stackable_window_realize.
1464 (hildon_stackable_window_realize):
1465 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1466 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1467 to apply theming and behavior specific to HildonStackableWindow
1470 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1472 * src/hildon-note.c (hildon_note_button_release):
1473 Close information notes also when tapping on them
1475 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1477 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1478 ELASTICITY, refactor and review, fix some issues with drawing
1481 * src/hildon-pannable-area.c:
1482 (hildon_pannable_area_button_press_cb): removed the conditions to
1483 avoid clicks when overshooting. It is not required
1485 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1486 define. Refatored and reviewed the code, now we do not need to
1487 manage velocity in motion_notify.
1489 (hildon_pannable_area_motion_notify_cb): We have moved the code
1490 that controls the area_scroll to the axis_scroll function and get
1491 rid of duplicated code.
1493 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1495 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1497 (hildon_pannable_draw_vscroll),
1498 (hildon_pannable_draw_hscroll): Fixed the problems with the
1499 scrollbar drawing, now we do not use two surfaces, it is easier
1500 and saves resources.
1502 (hildon_pannable_area_get_property): Style modification.
1504 (hildon_pannable_area_class_init): Changed some default values.
1506 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1508 * src/hildon-stackable-window.c: Fix some typos in the
1511 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1513 * src/hildon-dialog.c:
1514 Change indentation style
1517 (hildon_note_button_release):
1518 Use root coordinates to check if the release event happened
1521 * src/hildon-app-menu.c
1522 (hildon_app_menu_button_release):
1523 Remove unnecessary check
1525 * examples/hildon-app-menu-example.c
1527 Add cast to fix warning
1529 * src/hildon-app-menu.c
1530 (hildon_app_menu_class_init):
1531 New inner-border style property.
1532 Set all default spacings to 16
1533 (hildon_app_menu_init):
1534 Use vertical-spacing to set the space between filter buttons and
1535 regular menu buttons.
1536 Set the default container border using the inner-border value.
1538 * examples/hildon-app-menu-example.c
1540 Don't set the menu border explicitly, now we have the inner-border
1541 style property for that.
1543 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1545 * src/hildon-app-menu.c (hildon_app_menu_init):
1546 Make the window modal
1548 * src/hildon-note.c (hildon_note_map)
1549 * src/hildon-app-menu.c (hildon_app_menu_map):
1550 Destroy the grab window if we're unable to grab the pointer
1552 * src/hildon-app-menu-private.h
1553 * src/hildon-app-menu.c
1554 (hildon_app_menu_init, hildon_app_menu_finalize)
1555 (hildon_app_menu_map, hildon_app_menu_unmap)
1556 (hildon_app_menu_button_release)
1557 (grab_transfer_window_get):
1558 Bring back the grab window
1559 (hildon_app_menu_realize):
1560 Decorate the window, set WM hint for Matchbox
1562 * src/hildon-note.c (hildon_note_realize):
1563 * src/hildon-banner.c (hildon_banner_realize):
1564 Add WM hints for Matchbox
1566 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1568 * src/hildon-app-menu-private.h
1569 * src/hildon-app-menu.c
1570 (hildon_app_menu_init, hildon_app_menu_finalize)
1571 (hildon_app_menu_map, hildon_app_menu_unmap)
1572 (hildon_app_menu_button_release):
1573 Remove the grab window, it's not needed anymore
1575 * src/hildon-program.c
1576 Fixed typo in documentation
1578 * src/hildon-app-menu.h
1579 * src/hildon-app-menu.c
1580 * examples/hildon-app-menu-example.c
1581 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1583 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1586 Added new transfer_window and close_if_pressed_outside private
1588 (hildon_note_rebuild):
1589 Don't add a cancel button to the information note. It will be
1590 closed when tapping outside
1591 Remove the comment about the OK button in the documentation
1592 (hildon_note_realize):
1593 Set the notification type hint
1594 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1595 Grab/ungrab pointer and keyboard if the note has to be closed when
1597 (hildon_note_button_release):
1598 Close the note when tapping outside (if applicable)
1600 * src/hildon-app-menu.c
1601 Grab/ungrab pointer and keyboard on map/unmap
1602 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1603 Close the menu on button release, not button press
1605 * src/hildon-banner.c
1606 (hildon_banner_set_property)
1607 (hildon_banner_check_position):
1608 Make the banner use the full width of the screen
1609 (hildon_banner_show_information)
1610 (hildon_banner_show_information_with_markup):
1611 Don't display an icon by default
1613 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1615 Added fading scrollbars and adapted all the overshooting code to
1616 horizontal scrolling. We have also fixed bugs with overshooting
1617 and current fading implementation.
1619 * src/hildon-pannable-area.c
1620 (hildon_pannable_area_scroll_indicator_fade): Time out function
1621 used to change the transparency of the scrollbars.
1623 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1624 control and fixed a problem with fading, we now remove the fade
1625 timeout before adding a new one.
1627 (hildon_pannable_axis_scroll):
1628 (hildon_pannable_area_scroll):
1629 (hildon_pannable_area_timeout): Added this functions so we can use
1630 the scroll code both for vertical and horizontal.
1632 (hildon_pannable_area_motion_notify_cb):
1633 (hildon_pannable_area_button_release_cb): Added the horizontal
1634 scrolling control, fixed a problem with the overshooting timeout.
1636 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1637 painting of the scrolls.
1639 (hildon_pannable_draw_vscroll):
1640 (hildon_pannable_draw_hscroll):
1641 (hildon_pannable_area_expose_event):
1642 Draw both scrollbars and rectangles in the overshooting area.
1644 (hildon_pannable_area_get_property):
1645 (hildon_pannable_area_set_property):
1646 Modified the overshoot property to overshoot_max
1648 (hildon_pannable_area_map):
1649 Replaced the comments symbols.
1651 (hildon_pannable_area_size_allocate):
1652 (hildon_pannable_area_class_init):
1653 (hildon_pannable_area_init): Added horizontal scroll, fading
1654 effect properties, fixed a problem when overshooting in the bottom
1657 * examples/hildon-pannable-area-example.c:
1658 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1659 looks better in the example.
1661 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1663 * src/hildon-window.c
1664 * src/hildon-window.h
1665 (hildon_window_class_init)
1666 (hildon_window_unset_program)
1667 (hildon_window_unset_program_real):
1668 Make unset_program a virtual function
1670 * src/hildon-stackable-window.c
1671 * src/hildon-stackable-window.h
1672 Added hildon_stackable_window_go_home()
1674 * examples/Makefile.am
1675 * examples/hildon-stackable-window-example.c
1676 HildonStackableWindow example
1678 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1680 * hildon-pannable-area.c: Added the overshoot property and removed
1681 the OVERSHOOT define. Fixed an indent style error.
1682 (hildon_pannable_area_motion_notify_cb):
1683 (hildon_pannable_area_get_property):
1684 (hildon_pannable_area_set_property): Add overshoot property.
1686 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1689 (hildon_pannable_area_class_init): Installed the new property.
1691 * hildon-pannable-area-example.c: Added a sawtooth function, this
1692 way it is easier to check the movement in the pannable.
1693 (get_sawtooth_label): Added this function.
1694 (main): Now we get the labels from the new get_sawtooth_label
1697 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1699 * src/hildon-app-menu.h
1700 * src/hildon-app-menu.c
1701 Renamed API variables for consistency
1703 (hildon_app_menu_popup): Use also the default window size to
1704 decide where to place the menu
1706 (hildon_app_menu_init, hildon_app_menu_class_init): New
1707 external-border style property
1709 2008-05-26 Michael Natterer <mitch@imendio.com>
1711 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1712 widget_class->tap_and_hold_setup signal slot doesn't exist any
1713 longer, stop overriding it.
1715 (hildon_time_editor_init): g_signal_connect() to the
1716 tap-and-hold-setup signal instead.
1718 (hildon_time_editor_entry_keypress): add cast to fix warning.
1720 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1722 * doc/hildon-docs.sgml
1724 * examples/Makefile.am
1725 * examples/hildon-app-menu-example.c
1727 * src/hildon-app-menu-private.h
1728 * src/hildon-app-menu.c
1729 * src/hildon-app-menu.h
1731 New HildonAppMenu widget
1733 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1735 Rearranged the inheritance of the pannable area, now it inherits
1736 from GtkBin. This will allow us to control the event_window and
1737 the allocation process of the widget, required for some effects.
1739 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1740 GtkBin structures. * src/hildon-pannable-area.c: Added the
1741 event_window variable.
1742 (hildon_pannable_area_button_press_cb):
1743 (hildon_pannable_area_button_release_cb):
1744 (hildon_pannable_area_motion_notify_cb):
1745 Changed the signature of the method, now we override the event
1746 callback instead of connecting to the signal.
1748 (hildon_pannable_area_realize):
1749 (hildon_pannable_area_unrealize):
1750 (hildon_pannable_area_map):
1751 (hildon_pannable_area_unmap):
1752 (hildon_pannable_area_size_allocate):
1753 Added functions to control the widget construction. We add a
1754 INPUT_ONLY window and we put it over the widgets inside the
1755 container, this event_window handles the events.
1757 (hildon_pannable_area_class_init):
1758 Replaced the signal connections with overrides of the event
1761 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1763 Bouncing effect added when touching the borders, you can change
1764 the elasticity of the border changing the ELASTICITY define.
1766 * src/hildon-pannable-area.c: Added ELASTICITY define.
1767 (hildon_pannable_area_timeout): Added inverse velocity when
1768 touching the border of the child widget, that causes a bounce.
1770 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1772 Improved performance, we now do not go to the X server in order to
1773 get the list of window children. Apparently the effect is the
1774 same, we have to be careful and check if this breaks something in
1777 * src/hildon-pannable-area.c:
1778 (get_ordered_children): Removed this function.
1779 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1780 the children windows function with gdk_window_get_children.
1782 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1784 * src/hildon-pannable-area.c:
1785 (hildon_pannable_area_dispose): Fixed a crash when closing the
1786 window and kinetics is activated.
1788 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1790 * src/hildon-pannable-area.h
1791 * src/hildon-pannable-area.c
1792 Changed indentation style to meet the one used in Hildon
1794 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1796 Reviewed the interaction of the AUTO mode, now we use the time
1797 attribute of the events and calculate the velocity in the motion,
1798 doing a gimp like calculation. The velocity is calculated in each
1799 motion event using the last velocity and the current one, the
1800 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1802 * src/hildon-pannable-area.c: Replaced the time based algorithm
1804 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1805 timeout for the AUTO mode when we are still moving the cursor. We
1806 added also the velocity calculation in this function.
1807 (hildon_pannable_area_button_release_cb): launch the timeout in
1808 case we are in AUTO mode. There are still some constants here that
1809 come from the old implementation that should be reviewed and
1812 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1814 * doc/hildon-docs.sgml
1817 * src/hildon-stackable-window.c
1818 * src/hildon-stackable-window.h
1820 New HildonStackableWindow widget
1822 * examples/hildon-dialog-example.c
1823 * examples/hildon-pannable-area-example.c
1826 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1828 * src/hildon-dialog.c
1829 (hildon_dialog_new_with_buttons): New constructor.
1831 * examples/hildon-dialog-example.c
1832 (main): Update the example to use the new
1833 hildon_dialog_new_with_buttons().
1835 * examples/hildon-pannable-area-example.c
1836 (main): Update example.
1838 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1840 * doc/hildon-docs.sgml
1842 Added HildonPannableArea to the documentation.
1844 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1846 * doc/visual_index.xml
1847 Fix reference to HildonLoginDialog in documentation
1849 * doc/hildon-docs.sgml
1851 * examples/Makefile.am
1852 * examples/hildon-dialog-example.c
1854 * src/hildon-dialog.c
1855 * src/hildon-dialog.h
1857 New HildonDialog widget.
1859 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1861 * src/hildon-pannable-area.c
1862 Merge latest changes (r4318, r4342) from libmokoui trunk
1864 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1866 * examples/Makefile.am
1867 * examples/hildon-pannable-area-example.c
1869 * src/hildon-pannable-area.c
1870 * src/hildon-pannable-area.h
1872 New HildonPannableArea widget.
1874 2008-04-15 18:05:19 <timj@imendio.com>
1876 * src/hildon-banner.c: revert the recent change, that introduced
1877 gtk_window_present() calls. this reopens:
1878 Bug 78481 - [freetest] information banners are hidden under browser menu
1879 But resolves another variant of:
1880 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1882 2008-04-15 13:21:13 <timj@imendio.com>
1884 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1885 recreated its layout, spotted by Kris. this fixes all remaining
1886 artefacts and stability issues with the banner code. in particular:
1887 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1889 2008-04-14 16:52:59 <timj@imendio.com>
1891 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1892 operating on unrealized widgets, fixes:
1893 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1895 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1897 2008-04-09 Kristian Rietveld <kris@imendio.com>
1899 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1900 makes banner disappear.
1901 Fixes: NB#79182: info banner flickering with certain message lengts.
1903 * src/hildon-banner.c (hildon_banner_constructor),
1904 (hildon_banner_init), (hildon_banner_set_text),
1905 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1906 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1907 FALSE, reset size requests of label and banner,
1908 (force_to_wrap_truncated): when the text is too wide, always enforce
1909 the maximum possible width instead of recalculating it from the
1910 layout; enforce the maximum banner height of 3 lines,
1911 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1912 nicer wrapping and no truncated chars if space gets tight.
1914 * src/hildon-banner-private.h: add has_been_wrapped and
1915 has_been_truncated fields.
1917 2008-04-07 Sven Herzberg <sven@imendio.com>
1919 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1920 local values in hildon_date_editor_size_allocate
1922 * src/hildon-date-editor.c: moved the real allocation code into the
1925 2008-04-07 Sven Herzberg <sven@imendio.com>
1927 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1928 local values in hildon_date_editor_size_allocate
1930 * src/hildon-date-editor.c: merged the two if() branches together
1932 2008-04-07 Sven Herzberg <sven@imendio.com>
1934 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1935 local values in hildon_date_editor_size_allocate
1937 * src/hildon-date-editor.c: changed the arguments of the if()
1940 2008-04-07 Sven Herzberg <sven@imendio.com>
1942 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1943 local values in hildon_date_editor_size_allocate
1945 * src/hildon-date-editor.c: split the calculation of the allocation
1946 from the real allocation
1948 2008-03-27 Michael Natterer <mitch@imendio.com>
1950 Fixes: NB#81696: The passcode is not overwritten even after
1953 * src/hildon-code-dialog.c
1954 (hildon_code_dialog_button_clicked)
1955 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1956 because that doesn't overwrite selected text. Instead, emit the
1957 "commit" signal on the entry's im_context so the entry's normal
1958 insert logic is triggered. Set the cursor to the end of the entry
1959 after each insert operation so that we *only* insert in the middle
1960 of the text if something was selected.
1962 2008-03-27 Michael Natterer <mitch@imendio.com>
1964 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1965 selector cannot be opened
1967 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1968 when the popup color selector is created. Please connect to this
1969 signal in order to set the dialog's help ID.
1971 2008-03-25 Sven Herzberg <sven@imendio.com>
1973 Fixes: MB#1212: Hide info banners (infoprints) on click
1975 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1976 extracted the close event simulation into an extra function
1977 (hildon_banner_button_press_event): simulate a close event and destroy
1978 the widget if the event wasn't handled
1979 (hildon_banner_class_init): added the button_press_event handler
1980 (hildon_banner_init): added button-press events to the widget
1982 2008-03-25 Sven Herzberg <sven@imendio.com>
1984 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1985 Patch from: Mohammad Anwari <mdamt@maemo.org>
1987 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1988 instead of the right in RTL mode
1989 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1990 breadcrumb button list in RTL mode
1991 * src/hildon-caption.c: mirror the appearance of the caption widget in
1993 * src/hildon-date-editor.c: mirror appearance of the date editor in
1995 * src/hildon-time-editor.c: mirror appearance of the time editor in
1997 * src/hildon-window.c: fix the position of the popup in RTL mode
1999 2008-03-25 Sven Herzberg <sven@imendio.com>
2001 Amendment to the fix of NB#22072. Fix compilation.
2003 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2005 2008-03-19 Sven Herzberg <sven@imendio.com>
2007 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2010 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2011 timeout id properly when the timeout will disappear this leaves no
2012 artifacts around in the destroy(); there will only be the timeout
2013 created by hildon_banner_ensure_timeout() and adding a new timeout
2014 will also work if the timeout gets removed because the timeout_handler
2017 2008-03-19 Michael Natterer <mitch@imendio.com>
2019 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2021 * src/hildon-volumebar.c
2022 * src/hildon-vvolumebar.c
2023 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2024 the widget becomes focussable at all.
2026 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2027 set the focus to wither the mute button or the volumebar.
2029 Remove own "can-focus" property and instead listen to
2030 notify::can-focus in order to update the widget's state.
2032 Implement GtkWidget::focus() and make sure we can also *leave* the
2033 widget, not only enter it, depending on volumebar orientation and
2034 requested focus direction.
2036 Clean up set_mute() to cooperate nicely with all the above.
2038 2008-03-04 Michael Natterer <mitch@imendio.com>
2040 Fixes: NB#78481: information banners are hidden under browser menu
2042 * src/hildon-banner.c: call gtk_window_present() on the banners so
2043 they are risen if they are already visible.
2045 2008-03-03 Sven Herzberg <sven@imendio.com>
2047 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2049 * examples/hildon-window-menu-example.c: (main): extended the window
2050 menu example to serve as a testcase for automatically added
2051 accelerator groups, too
2052 * src/hildon-window.c: (hildon_window_add_accel_group),
2053 (hildon_window_set_menu): added patch by Tommi Komulainen
2055 2008-03-03 Sven Herzberg <sven@imendio.com>
2057 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2059 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2060 knowledge about the border allocators used within GTK+
2062 2008-02-26 Sven Herzberg <sven@imendio.com>
2064 Fixes: MB#2981: Build with asserts broken
2066 * src/hildon-date-editor.c,
2067 * src/hildon-number-editor.c,
2068 * src/hildon-time-editor.c,
2069 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2070 the proper GType instance check
2072 2008-02-25 Sven Herzberg <sven@imendio.com>
2074 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2076 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2077 * examples/hildon-window-menu-example.c: (main): explicitly show
2079 * src/hildon-window.c:
2080 (hildon_window_set_main_menu): moved most of the code from set_menu()
2081 to this place; skipped the call to gtk_widget_show_all(); also didn't
2082 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2083 (hildon_window_set_menu): removed most of the code, just keep the
2084 questionable gtk_widget_show_all()
2085 * src/hildon-window.h: added the new function and deprecate the old
2088 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2094 * debian/changelog: Updating.
2096 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2099 * pkgconfig/Makefile.am:
2100 * pkgconfig/hildon.pc.in:
2103 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2104 use newly created API_MAJOR_VERSION.
2106 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2112 * debian/changelog: Updating.
2114 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2116 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2118 Add outer_border style property, we use it but don't define it (!).
2122 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2124 * examples/hildon-bread-crumb-trail-example.c (main):
2128 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2130 Fix logic for the bread crumb trail node removal.
2134 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2140 * debian/changelog: Updating.
2142 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2144 Patch by Alejandro to get/set passwords dialogs accesibility.
2146 * hildon-1/src/hildon-get-password-dialog.c:
2147 * hildon-1/src/hildon-set-password-dialog.c:
2148 Set atk_set_name to the passwd entries in order to allow
2149 accessibility by name on this entries.
2151 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2156 * debian/control: Updating gtk dep.
2158 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2160 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2161 USE_MAEMO_GTK is enabled.
2163 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2165 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2166 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2168 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2174 * debian/changelog: Updating.
2176 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2178 * examples/Makefile.am:
2179 * examples/hildon-logical-color-example.c:
2180 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2181 applied + adding a test case. Fixes: NB#71660.
2183 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2185 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2186 to be visible, fixes warning on map for windows without toolbars.
2188 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2190 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2191 2.11.0, add a check for that besides the MAEMO_GTK check.
2193 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2199 * debian/changelog: Updating.
2201 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2203 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2204 visibility. Fixes: NB#70842 and MB#615.
2206 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2208 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2209 set the separator as no-show-all so it doesn't unintentionally appear when
2210 someone does a show_all.
2212 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2214 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2215 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2216 toplevel item. Fixes: NB#62031
2218 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2220 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2221 fix the name of the function in the docs.
2223 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2229 * debian/changelog: Updating.
2231 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2233 * examples/hildon-banner-long-example.c: Adding a test-case for long
2236 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2238 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2240 * src/hildon-color-chooser-dialog.c:
2241 * src/hildon-color-chooser.c:
2242 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2243 memory leaks in font selector and color selector. Fixes: NB#70499 and
2246 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2248 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2250 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2252 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2253 little bit bigger. Fixes: #NB63694.
2255 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2261 * debian/changelog: Updating.
2263 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2266 * doc/hildon-docs.sgml:
2267 * doc/images/bread-crumb-trail.png:
2268 * doc/images/calendar-popup.png:
2269 * doc/images/caption.png:
2270 * doc/images/code-dialog.png:
2271 * doc/images/color-button.png:
2272 * doc/images/color-chooser-dialog.png:
2273 * doc/images/color-chooser.png:
2274 * doc/images/controlbar.png:
2275 * doc/images/date-editor.png:
2276 * doc/images/font-selection-dialog.png:
2277 * doc/images/get-password-dialog.png:
2278 * doc/images/hvolumebar.png:
2279 * doc/images/login-dialog.png:
2280 * doc/images/note.png:
2281 * doc/images/number-editor.png:
2282 * doc/images/range-editor.png:
2283 * doc/images/seekbar.png:
2284 * doc/images/set-password-dialog.png:
2285 * doc/images/sort-dialog.png:
2286 * doc/images/time-editor.png:
2287 * doc/images/time-picker.png:
2288 * doc/images/vvolumebar.png:
2289 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2290 Adding the bread-crumb-trial and helpers to the documentation.
2292 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2294 * examples/hildon-find-toolbar-example.c:
2295 * src/hildon-find-toolbar.c:
2296 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2297 actually continue firing the other handlers if connected. Adding a new
2299 hildon_find_toolbar_get_last_index that gets the index of the most
2300 recently added (last) item. Fixes: NB#52301.
2302 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2304 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2305 behaviour. Fixes: NB#68610.
2307 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2309 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2312 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2314 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2315 when realizing the banner. Should make the infonbanner effect a bit more
2318 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2320 * src/hildon-volumebar.c:
2321 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2322 hildon_volumebar_set_range_insensitive_message and
2323 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2325 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2327 * src/hildon-window.c: Fixing the border freeing on destroy.
2329 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2331 * src/hildon-code-dialog-private.h:
2332 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2333 kw keyboard support in HildonCodeDialog.
2335 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2341 * debian/changelog: Updating.
2343 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2345 * src/hildon-date-editor.c:
2346 * src/hildon-number-editor.c:
2347 * src/hildon-private.c:
2348 * src/hildon-private.h:
2349 * src/hildon-time-editor.c:
2350 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2351 handling in subclassed composite widgets. Fixes: NB#66628.
2353 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2355 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2356 from destroy_ callback as it introduces problems in async dbus signal
2357 handlers. Fixes NB#66673.
2359 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2361 * examples/hildon-hvolumebar-example.c:
2362 * src/hildon-volumebar.c: Improving the focus handling in the
2363 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2364 set_property accessor so that "mute" property can be actually set. I'm
2365 scared that nobody noticed it's totally broken.
2367 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2369 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2372 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2374 * src/hildon-calendar.c:
2375 * src/hildon-number-editor.c:
2376 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2377 matches the spec of 6 chars per second. Fixes: NB#60489.
2379 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2381 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2382 gtk_style_lookup_color sometime returns FALSE even though color was
2383 found and values were filled properly. Weird. Removing the warning for the
2386 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2388 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2389 expand vertically. Adding some extra space to the find toolbar buttons to
2390 make them thumbable. Fixes NB#66060.
2392 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2394 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2395 popup with "Ok" and "Cancel". Fixes NB#59299.
2397 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2399 * src/hildon-calendar.c: Process all window updates before executing next
2400 timeout. Fixes: NB#54146.
2402 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2408 * debian/changelog: Updating.
2410 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2412 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2413 the client event and ignore it, since we use the delete event to close
2416 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2418 * src/hildon-helper.c: Remove the bogus warning about color not being
2419 found. Fixes NB#58352.
2421 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2423 * examples/Makefile.am:
2424 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2425 HildonSeekbar widget inside a toolbar.
2427 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2429 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2430 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2431 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2432 don't want to be closed by non-temporary windows on map.
2434 Also use G_DEFINE_TYPE instead of manually typed code.
2436 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2443 * debian/rules: Updating.
2445 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2447 * examples/Makefile.am:
2448 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2449 bug NB#61128. Strangely it works.
2451 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2453 * src/hildon-date-editor.c: When the date editor entry has been changed
2454 but the numbers of characters < max, turn off the skip validation flag.
2455 Prevents a situation when we enter first a valid year and later re-write
2456 it with an invalid one. Fixes NB#60154.
2458 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2460 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2461 code dialog. Fixes NB#64355.
2463 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2465 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2466 switching the page. Fixes NB#49374.
2468 * examples/Makefile.am:
2469 * examples/hildon-wizard-dialog-example.c: Adding an example for
2470 HildonWizardDialog that shows how to handle manual sensitivity setting on
2473 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2477 * src/hildon-version.h.in:
2478 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2480 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2482 * src/hildon-volumebar.c: Updating the docs.
2484 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2490 * debian/changelog: Updating.
2492 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2494 * src/hildon-find-toolbar.c:
2495 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2496 selected item: hildon_find_toolbar_set_active,
2497 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2498 hildon_find_toolbar_get_active_iter . They correspond to respective
2499 GtkComboBox functions.
2501 * examples/Makefile.am:
2502 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2505 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2507 * examples/Makefile.am:
2508 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2511 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2512 when font size > 32 and we pack a focusable widget inside. Actually using
2513 the default response would work too, but since we don't show default
2514 response state in any way (no theming) it would not be visible to the
2515 user. Fixes NB#63430.
2517 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2519 * src/hildon-date-editor.c: Adding the missing variable setter in the
2520 set_property handler. Fixes NB#54182.
2522 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2524 * src/hildon-window.h: Changing the long key press time from 1500ms to
2525 800ms as requested in NB#63700. I have a bad feeling about this, let's
2526 see... Fixes NB#63700.
2528 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2530 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2531 hildon_time_picker_map, hildon_time_picker_realize,
2532 hildon_time_picker_style_set): Split the contents of map to more
2533 appropriate functions; set window decorations on realize and update
2534 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2536 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2541 * debian/changelog: Updating.
2543 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2545 * src/Makefile.am: fixed installation of the header files
2547 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2553 * debian/changelog: Updating.
2555 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2557 * configure.ac: Removing some remaining of --enable-xan.
2559 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2561 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2562 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2564 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2565 2.10.12-osso6 because the move-focus signal needs to be available in
2568 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2570 * examples/Makefile.am:
2571 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2572 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2573 fine. Prolly NB#61128 is fixed now.
2575 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2577 * src/hildon-volumebar.c:
2578 * src/hildon-volumebar.h: Adding the
2579 hildon_volumebar_set_range_insensitive_message and
2580 hildon_volumebar_set_range_insensitive_messagef functions to set
2581 insensitive message on the slider of the volumebar. Fixes NB#61129.
2583 * examples/Makefile.am:
2584 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2585 test the new insensitive messsage functionality on HildonVolumebar.
2587 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2589 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2592 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2594 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2595 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2596 button on after clearing the trail.
2598 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2600 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2602 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2604 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2605 by splitting the installed headers in generated and non-generated groups. Use
2606 only the non-generated headers to create the hildon-enum-types.h file.
2608 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2610 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2612 * src/hildon-window.c: Hide the window before performing the destroy.
2613 Should make the app closing a little tiny bit more snappy.
2615 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2617 * src/hildon-seekbar.c: add gtkrange.h header
2618 * src/hildon-caption.c: remove unused variable
2620 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2622 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2625 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2631 * debian/changelog: Updating.
2633 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2635 * src/hildon-window.c (hildon_window_window_state_event,
2636 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2637 escape timeout on focus-out-event rather than notify::is-topmost; the
2638 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2640 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2642 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2643 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2645 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2647 * src/hildon-window: actually, you need to use the macro always, there's
2648 no private pointer in the instance structure. We should have cleaned this up
2649 when we had the chance...
2651 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2653 * src/hildon-window.c: do not get the private date from HildonWindow before
2654 it passes the g_return_if_fail check. Once it's passed the test, there's no
2655 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2656 if you are only going to access the data once. Whitespace cleanups.
2658 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2660 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2661 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2663 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2669 * debian/changelog: Updating.
2671 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2673 * src/hildon-window.c: When destroying the window, remove (if exists) the
2674 escape timeout handler. Fixes #NB59276.
2676 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2678 * src/hildon-banner.c: When realizing the widget, set the window
2679 transiency. Setting the transiency in the gobject constructor is not
2680 good, as the widget is not realized at that point. Fixes: #NB56624.
2682 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2684 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2685 Add padding for future expansions.
2687 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2689 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2690 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2691 will fake an activation on the previous to the last item of the trail, so
2692 the effect can be overrided by the developer as usual.
2693 Also change the callback for the back button to do the same thing, so its
2694 effect can be overrided too. Fixes: NB#58982
2696 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2698 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2699 HildonCaption. Fixes NB#52379.
2701 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2703 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2704 the internal state of the trail after the user has had the chance of executing
2705 his handler for the signal. Specifically, it may happen that the activated button
2706 is removed and the user still lets the default handler run. This would segfault
2709 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2711 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2712 scrollbar to the preview dialog. Fixes NB#54147.
2714 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2716 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2717 max/min year properties can be altered, so the client can modify it
2718 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2720 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2722 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2723 hildonlike by default. Fixing a problem with disappearing arrows when
2724 scrolling through months and years. Fixes NB#54127.
2726 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2728 * examples/hildon-date-editor-example.c: Adding error callback to the date
2731 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2737 * configure.ac: Updating.
2739 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2741 * configure.ac: Adding a special '--enable-xan' configure option that
2742 turns off the -Werror compilation setting. Usefull for development.
2744 * src/hildon-calendar.c:
2745 * src/hildon-number-editor.c:
2746 * src/hildon-time-picker.c: Adding the 5* multiplier to
2749 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2751 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2752 instead of g_object_ref + gtk_object_sink.
2754 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2760 * debian/changelog: Updating.
2762 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2764 * src/hildon-color-chooser-dialog.c:
2765 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2766 straight from Tommi labs.
2768 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2770 * examples/hildon-finger-example.c: Correcting the header file path.
2772 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2773 the changed signal. Fixes a small memory leak.
2775 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2779 * src/hildon-banner.c: Importing several usefull fixes from the
2780 ubuntu-mobile branch.
2782 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2784 * examples/Makefile.am:
2785 * examples/hildon-finger-example.c: Adding a finger-checking code
2788 * src/hildon-font-selection-dialog.c: Do not allocate the color
2789 structure using the g_new. Fixes NB#54061.
2791 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2793 * src/hildon-helper.c: Correcting tabs in file.
2795 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2797 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2798 control the visibility of the children.
2800 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2802 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2808 * debian/changelog: Updating.
2810 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2812 * src/hildon-bread-crumb-trail.c:
2813 (hildon_bread_crumb_trail_size_allocate):
2815 Make the back button always a square.
2817 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2819 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2820 from the .c file as it's a private file.
2822 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2824 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2825 uses slightly bigger height.
2827 * src/hildon-font-selection-dialog.c: Adding some checks before
2828 freeing memory in the font selection dialog.
2830 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2832 * src/hildon-font-selection-dialog.c: Adding a small check when
2835 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2836 buttons sensitivity on page switching.
2838 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2840 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2841 internal details of adding a bread crumb to the trail.
2843 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2849 * debian/changelog: Updating.
2851 * src/hildon-bread-crumb-trail.h:
2852 * src/hildon-bread-crumb.h: Changing the API guard to
2853 HILDON_ENABLE_UNSTABLE_API.
2855 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2863 * src/hildon-helper.h: Updating.
2865 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2873 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2877 * src/hildon-helper.h: Small fix to make the package actually compile.
2879 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2881 * src/hildon-bread-crumb-trail.h:
2882 * src/hildon-bread-crumb.h:
2884 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2885 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2887 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2889 * examples/hildon-bread-crumb-trail-example.c:
2891 * src/hildon-bread-crumb-trail.c:
2892 * src/hildon-bread-crumb-trail.h:
2893 * src/hildon-bread-crumb.c:
2894 * src/hildon-bread-crumb.h:
2895 * src/hildon-marshalers.list:
2896 * src/hildon-bread-crumb-widget.c:
2897 * src/hildon-bread-crumb-widget.h:
2899 Slight change in the widget design. The bread crumb trail API is
2900 unchanged, but HildonBreadCrumb is now an interface. A *private*
2901 implementation, hildon-bread-crumb-widget, is provided and used
2902 internally by the trail for the push_text/push_icon functions.
2904 The generic push API is still available, so anyone can implement
2905 and use its own bread crumb widget.
2907 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2909 * debian/rules: Fixing the shlibs.
2911 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2913 * src/hildon-banner.c: Fixing a problem with timed banners having
2914 their parrent destroyed before they are.
2916 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2918 * src/hildon-bread-crumb.c:
2919 * src/hildon-bread-crumb.h:
2921 Make the get_natural_size function a vfunc.
2923 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2925 * src/hildon-bread-crumb.c:
2926 * src/hildon-bread-crumb-trail.c:
2930 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2937 * debian/changelog: Updating for release.
2939 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2941 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2942 don't leak the pango layout.
2944 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2947 * examples/hildon-bread-crumb-trail-example.c:
2951 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2953 * debian/changelog: Removing the bug-fixed entries that were actually
2954 resolved as WONTFIX.
2956 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2959 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2961 * src/hildon-bread-crumb-trail.c:
2962 * src/hildon-bread-crumb-trail.h:
2963 * src/hildon-bread-crumb.c:
2964 * src/hildon-bread-crumb.h:
2968 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2970 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2971 until it's passed the type check.
2973 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2975 * examples/hildon-bread-crumb-trail-example.c
2979 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2981 * examples/Makefile.am
2982 * examples/hildon-bread-crumb-trail-example.c
2984 * src/hildon-bread-crumb-trail.c
2985 * src/hildon-bread-crumb-trail.h
2986 * src/hildon-bread-crumb.c
2987 * src/hildon-bread-crumb.h
2989 New HildonBreadCrumbTrail widget.
2991 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2993 * src/hildon-range-editor.c (hildon_range_editor_init),
2994 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2995 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2996 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2997 hildon_time_editor_class_init, hildon_time_editor_init),
2998 src/hildon-get-password-dialog.c (invalid_input,
2999 hildon_get_password_set_property, hildon_get_password_get_property,
3000 create_contents, hildon_get_password_dialog_set_max_characters),
3001 src/hildon-set-password-dialog.c (create_contents),
3002 src/hildon-date-editor.c (hildon_date_editor_init),
3003 src/hildon-login-dialog.c (hildon_login_dialog_init),
3004 src/hildon-number-editor.c (hildon_number_editor_init),
3005 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3006 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3007 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3008 configure option and adding the respective checks in the code.
3009 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3010 hildon_calendar_drag_data_received): fixed some build warnings.
3012 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3014 * debian/changelog: A 1.0.0 release notes.