1 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
7 * src/hildon-touch-selector.c
8 (_create_new_column): use g_object_set instead of two g_object_set_property
10 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
11 * src/hildon-touch-selector.c
12 (_create_new_column): use of hildon_gtk_tree_view_new to create
13 the treeview, instead of use directly g_object_new
14 (_create_new_column): update the property name "vindicator-mode" for the
15 new one "vscrollbar-policy"
16 * examples/hildon-date-button-example.c
17 * examples/hildon-picker-button-multicolumn-example.c
18 * examples/hildon-touch-selector-entry-example.c
19 * examples/hildon-touch-selector-example.c
20 * examples/hildon-time-button-example.c
21 * examples/hildon-picker-button-example.c
22 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
23 to all the treeviews inside a pannable area.
25 2008-08-27 Alberto Garcia <agarcia@igalia.com>
28 * src/hildon-button.c (hildon_button_init)
29 (hildon_button_set_arrangement, hildon_button_set_alignment)
30 (hildon_button_set_title_alignment)
31 (hildon_button_set_value_alignment)
32 (hildon_button_set_image_alignment)
33 (hildon_button_construct_child): New methods to set the alignment
34 of the individual components of the button (title, value,
35 image). Also, new method to alter the xscale and yscale properties
36 of the GtkAlignment inside the button, so more complex layouts can
39 2008-08-27 Alberto Garcia <agarcia@igalia.com>
41 * src/hildon-button.c (hildon_button_style_set)
42 (hildon_button_class_init, hildon_button_set_arrangement)
43 (hildon_button_construct_child): Apply style properties
44 correctly. Use the 'image-spacing' style property too.
46 2008-08-26 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-app-menu.c (hildon_app_menu_style_set)
49 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
52 2008-08-26 Alejandro G. Castro <alex@igalia.com>
54 * src/hildon-pannable-area.c,
55 (hildon_pannable_area_size_request): Fixed problem with
56 pannable-area size_request.
58 2008-08-26 Alejandro G. Castro <alex@igalia.com>
60 Added management for the grab-focus to a child widget, like a
61 range, we need to fade out the scrollbar when releasing.
63 * src/hildon-pannable-area.c,
64 (hildon_pannable_area_init): Connected the grab-focus signal to
66 (hildon_pannable_area_grab_notify): Added this function in order
67 to manage the situation when the grab-focus ends. We have to
68 fade-out the scrollbar.
70 2008-08-25 Alberto Garcia <agarcia@igalia.com>
72 * src/hildon-app-menu.c: Minor documentation update.
74 2008-08-25 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-app-menu.c
77 * examples/hildon-app-menu-example.c (create_menu): Update
78 examples and documentation to explain how to connect callbacks.
80 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
82 * examples/hildon-button-example.c
83 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
84 hildon_stackable_window_new instead of gtk_window_new
86 2008-08-22 Alejandro G. Castro <alex@igalia.com>
88 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
89 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
90 (hildon_pannable_area_set_property),
91 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
92 (hildon_pannable_area_unrealize),
93 (hildon_pannable_area_size_request),
94 (hildon_pannable_area_size_allocate),
95 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
96 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
97 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
98 (hildon_pannable_area_initial_effect),
99 (hildon_pannable_area_redraw),
100 (hildon_pannable_area_scroll_indicator_fade),
101 (hildon_pannable_area_expose_event),
102 (hildon_pannable_area_get_topmost), (synth_crossing),
103 (hildon_pannable_area_button_press_cb),
104 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
105 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
106 (hildon_pannable_area_motion_notify_cb),
107 (hildon_pannable_area_button_release_cb),
108 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
109 (hildon_pannable_area_remove),
110 (hildon_pannable_calculate_vel_factor): Widget refactorization,
111 chage the code layout to a more GtkWidget like. Review the use of
114 2008-08-21 Alejandro G. Castro <alex@igalia.com>
116 * examples/hildon-pannable-area-example-4.c,
117 (main): Modified the name of the hindicator_mode to
120 * src/hildon-pannable-area.c,
121 (hildon_pannable_area_class_init),
122 (hildon_pannable_area_motion_notify_cb),
123 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
124 we have reduced the amount of signals and managed reviewed its
125 rationale. Changed the default decelerate value.
127 (hildon_pannable_area_add),
128 (hildon_pannable_area_redraw): Refactored functions.
130 (hildon_pannable_area_init),
131 (hildon_pannable_area_get_property),
132 (hildon_pannable_area_set_property):
133 (hildon_pannable_draw_vscroll),
134 (hildon_pannable_draw_hscroll),
135 (hildon_pannable_area_initial_effect),
136 (hildon_pannable_area_expose_event),
137 (hildon_pannable_area_scroll),
138 (hildon_pannable_area_button_press_cb),
139 (hildon_pannable_area_realize): Replaced the names hindicator_mode
140 and vindicator_mode with hscrollbar_policy and
141 vscrollbar_policy. Replaced hscroll and vscroll with
142 hscroll_visible and vscroll_visible.
144 (hildon_pannable_area_refresh): Refactor the function, remove
145 variables and check the calls to this function, added resize
146 conditions in case the children change their layout.
148 (hildon_pannable_area_size_request): Added more detailed
149 size_request calculation.
152 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
154 * src/hildon-color-chooser.c
155 (init_borders): use the correct gtk_border_free instead of g_free, to
156 avoid a crash when this widget is used (ie: the three color selection
159 2008-08-20 Alejandro G. Castro <alex@igalia.com>
161 * src/hildon-check-button.c,
162 (hildon_check_button_set_active): Fixed problem when setting the
163 active value, the widget was not redrawn.
165 2008-08-20 Alejandro G. Castro <alex@igalia.com>
167 * src/hildon-pannable-area.c,
168 (hildon_pannable_area_refresh),
169 (hildon_pannable_area_scroll),
170 (hildon_pannable_area_motion_notify_cb): Small code style change.
172 (hildon_pannable_area_class_init): Default initial_hint set to
173 FALSE, it is not in the specs.
175 (hildon_pannable_area_initial_effect),
176 (hildon_pannable_area_expose_event),
177 (hildon_pannable_area_map),
178 (hildon_pannable_area_init): Moved the launching point of the
179 initial effect, it was in map but the sizes where not correct in
180 that method so we do not know if we have the reproduce it. Now it
181 is placed in the expose_event method and uses a variable to
182 reproduce it just once.
184 2008-08-19 Alejandro G. Castro <alex@igalia.com>
186 * src/hildon-pannable-area.c,
187 (hildon_pannable_draw_vscroll),
188 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
189 position allowed for the scrollbars.
191 (hildon_pannable_area_size_allocate): Small style change.
193 2008-08-19 Alejandro G. Castro <alex@igalia.com>
195 * src/hildon-pannable-area.c,
196 (hildon_pannable_area_scroll_indicator_fade),
197 (hildon_pannable_area_button_press_cb),
198 (hildon_pannable_area_button_release_cb),
199 (hildon_pannable_area_scroll_cb),
200 (hildon_pannable_area_expose_event),
201 (hildon_pannable_area_init): Added the define parameter
202 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
203 and refactor the fade variable.
205 2008-08-19 Alejandro G. Castro <alex@igalia.com>
207 * src/hildon-pannable-area.c,
208 (hildon_pannable_area_redraw),
209 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
210 lines, we were reimplemeting the redraw code.
212 2008-08-18 Alejandro G. Castro <alex@igalia.com>
214 * src/hildon-pannable-area.c,
215 (hildon_pannable_area_scroll_cb),
216 (hildon_pannable_area_realize),
217 (hildon_pannable_area_class_init): Added scroll_event management
218 for pannable area, now we can scroll the usual desktop method.
220 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
221 initialization of the parameters should depend on idle_id.
223 (hildon_pannable_area_init),
224 (hildon_pannable_area_map): Small code style modifications
226 2008-08-18 Alejandro G. Castro <alex@igalia.com>
228 * src/hildon-pannable-area.c
229 (hildon_pannable_area_button_press_cb),
230 (hildon_pannable_area_motion_notify_cb),
231 (hildon_pannable_area_button_release_cb),
232 (hildon_pannable_area_size_allocate),
233 (hildon_pannable_area_scroll_to): Improved the timeouts
234 management, we avoid creating them each time.
236 2008-08-14 Alejandro G. Castro <alex@igalia.com>
238 * src/hildon-pannable-area.c:
239 (hildon_pannable_area_refresh),
240 (hildon_pannable_area_motion_notify_cb),
241 (hildon_pannable_area_class_init):
242 * src/hildon-pannable-area.h:
243 * src/hildon-touch-selector.c
244 (_create_new_column):
245 * examples/hildon-pannable-area-example-4.c:
246 (horizontal_movement),
249 Replaced the names of enums in the HildonPannableArea:
250 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
251 HILDON_MOVEMENT_MODE_*
252 - HILDON_PANNABLE_AREA_MOV_* ->
254 - Removed HildonPannableAreaIndicatorMode, now we
257 2008-08-14 Alberto Garcia <agarcia@igalia.com>
259 * examples/hildon-pannable-area-touch-grid-example.c
260 * examples/hildon-pannable-area-touch-list-example.c: Fix
261 compilation warnings.
263 2008-08-14 Alberto Garcia <agarcia@igalia.com>
265 * src/hildon-gtk.c (hildon_gtk_button_new)
266 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
267 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
268 images overriding the value of the "gtk-button-images" setting.
270 2008-08-14 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-check-button.c (hildon_check_button_new):
273 Instead of using a custom container, display the label and the
274 checkbox using the standard GtkButton API.
276 * examples/hildon-check-button-example.c (main): Don't use
277 hildon_check_button_set_label() anymore
279 * src/hildon-check-button.h
280 * src/hildon-check-button.c
281 (hildon_check_button_set_label, hildon_check_button_get_label):
282 Set as deprecated, now we're using gtk_button_{get,set}_label()
284 2008-08-14 Alejandro G. Castro <alex@igalia.com>
286 * src/hildon-pannable-area.c,
287 (hildon_pannable_area_get_topmost): Fixed bug with click in the
288 GtkTreeview first line we detected it after the inclusion of the
289 GtkWindowImpl in gtk+. We now check if the window is visible, not
290 just if the pointer is over the window.
291 (hildon_pannable_axis_scroll),
292 (hildon_pannable_area_expose_event): Small style changes.
294 2008-08-13 Alberto Garcia <agarcia@igalia.com>
296 * src/hildon-button.c: Update documentation.
298 2008-08-13 Alberto Garcia <agarcia@igalia.com>
300 * examples/hildon-button-example.c: Add a switch to show images in
303 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
305 * doc/hildon-docs.sgml: Some docs reorganization.
307 2008-08-12 Alberto Garcia <agarcia@igalia.com>
309 * examples/hildon-pannable-area-touch-list-example.c
311 * examples/hildon-pannable-area-touch-grid-example.c
312 (create_icon_view): Use gtk_{tree,icon}_view_new() and
313 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
314 Fix memory leak when setting the tree model.
316 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
320 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
322 * doc/hildon.types: Remove duplicated hildon_window_get_type
323 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
324 documentation comment.
326 2008-08-12 Alberto Garcia <agarcia@igalia.com>
328 * doc/Makefile.am: Complete list of private headers.
330 2008-08-12 Alberto Garcia <agarcia@igalia.com>
332 * doc/hildon-docs.sgml
333 * src/hildon-app-menu.c
334 * src/hildon-bread-crumb.c
335 * src/hildon-button.c
337 * src/hildon-program.c
338 * src/hildon-stackable-window.c
339 * src/hildon-window.c: Lots of documentation updates.
341 2008-08-12 Alberto Garcia <agarcia@igalia.com>
343 * debian/control: Depend on Gtk 2:2.12.9-0osso3
345 * configure.ac: Require Gtk+ 2.12.9 at least
347 2008-08-12 Alejandro G. Castro <alex@igalia.com>
349 * src/hildon-pannable-area.c
350 (hildon_pannable_area_scroll_indicator_fade),
351 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
352 to protect the return of this timeout callbacks, avoiding deadlocks.
354 2008-08-12 Christian Dywan <christian@imendio.com>
357 * src/hildon-*.h: Ensure a consistent include order,
358 include <gtk/gtk.h> instead of particular files and
359 only include the topmost header in the gtk stack. See NB #39857
361 2008-08-12 Christian Dywan <christian@imendio.com>
363 * src/hildon-picker-dialog.c
364 * src/hildon-touch-selector.c: Fix warnings about unused and
365 uninitialized variables.
367 2008-08-11 Alberto Garcia <agarcia@igalia.com>
369 * examples/Makefile.am
370 * examples/hildon-check-button-example.c: Example of the hildon
373 2008-08-11 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-window.h
376 * src/hildon-window.c (hildon_window_class_init)
377 (hildon_window_unset_program): Don't make
378 hildon_window_unset_program a virtual function anymore.
380 * src/hildon-stackable-window.c: Update documentation
382 2008-08-11 Alberto Garcia <agarcia@igalia.com>
385 * doc/hildon-docs.sgml
386 * doc/visual_index.xml
387 * src/hildon-defines.c
389 * src/hildon-helper.c
390 * src/hildon-range-editor.c: Lots of documentation fixes.
392 2008-08-11 Alberto Garcia <agarcia@igalia.com>
394 * examples/hildon-picker-button-multicolumn-example.c
395 (create_touch_selector): Fix compilation warning.
397 2008-08-11 Alberto Garcia <agarcia@igalia.com>
399 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
400 (hildon_pannable_area_button_release_cb)
401 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
403 2008-08-11 Alberto Garcia <agarcia@igalia.com>
405 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
408 2008-08-11 Alberto Garcia <agarcia@igalia.com>
410 * src/hildon-bread-crumb-trail.h
411 * src/hildon-date-editor.c
412 * src/hildon-date-selector.c
413 * src/hildon-pannable-area.c
414 * src/hildon-picker-dialog.c
415 * src/hildon-time-selector.c
416 * src/hildon-touch-selector-entry.c
417 * src/hildon-touch-selector.c
418 * src/hildon-touch-selector.h: Misc documentation fixes
420 2008-08-11 Alberto Garcia <agarcia@igalia.com>
422 * examples/hildon-date-editor-example.c (main): Updated date
425 * examples/hildon-note-example.c (on_confirmation_clicked):
426 Updated confirmation note example.
428 * src/hildon-date-editor.c
429 * src/hildon-note.c: Updated sample programs in documentation.
432 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-date-button.h:
435 * src/hildon-picker-button.h:
436 * src/hildon-time-button.c:
437 * src/hildon-time-button.h:
439 Some declarations changes to allow gtk-doc to document the widgets
442 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
444 * src/hildon-date-button.c: Document the widget.
445 * src/hildon-time-button.c: Document the widget.
447 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
449 * src/hildon-picker-button.c: Document the widget.
450 * src/hildon-touch-selector-entry.c: Document the widget.
452 2008-08-08 Alberto Garcia <agarcia@igalia.com>
454 * doc/hildon-docs.sgml
457 * src/hildon-check-button.h
458 * src/hildon-check-button.c: New functions to create the Hildon
462 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
464 2008-08-08 Alberto Garcia <agarcia@igalia.com>
466 * src/hildon-button.h
467 * src/hildon-button.c
468 (hildon_button_add_title_size_group)
469 (hildon_button_add_value_size_group)
470 (hildon_button_add_image_size_group)
471 (hildon_button_add_size_groups): New functions to set size groups
472 for the button labels and image.
473 (hildon_button_new_full): Removed
475 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
477 * src/hildon-time-selector.c
478 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
479 in order to avoid a crash if gconf is not available
481 2008-08-08 Alberto Garcia <agarcia@igalia.com>
483 * src/hildon-button.c (hildon_button_set_arrangement)
484 (hildon_button_construct_child): Don't construct the button child
485 before setting the arrangement.
487 2008-08-08 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-program-private.h
490 * src/hildon-program.c
491 * src/hildon-program.h
492 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
493 (hildon_program_peek_window_stack)
494 (hildon_program_pop_window_stack)
495 (hildon_program_go_to_root_window): HildonProgram now has a
496 separate list for stackable windows. Functions are provided to
497 manage that list with a stack-like API.
499 * src/hildon-stackable-window.c: Stackable window management is
500 now much simpler with the new HildonProgram API. Windows no
501 longer need to be manually added to the program, they're
502 automatically pushed to the top of the stack when shown.
504 * examples/hildon-stackable-window-example.c: Updated example to
505 reflect the API changes.
507 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
509 * src/hildon-touch-selector.c: Comment out unimplemented
510 hildon_touch_selector_insert_column() to avoid a compile warning.
512 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
514 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
515 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
516 (hildon_touch_selector_set_column_selection_mode),
517 (_hildon_touch_selector_set_model),
518 (hildon_touch_selector_set_model):
520 Complete review of HildonTouchSelector documentation.
522 2008-08-08 Alberto Garcia <agarcia@igalia.com>
524 * doc/hildon-docs.sgml
528 * src/hildon-gtk.c: Convenience functions for standard Gtk
529 widgets, used to easily perform frequent operations.
531 * src/hildon-button-helpers.h
532 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
534 * src/hildon-helper.h
535 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
536 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
538 * src/hildon-button.h
539 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
541 2008-08-07 Alberto Garcia <agarcia@igalia.com>
543 * src/hildon-button.c (hildon_button_init)
544 (hildon_button_set_arrangement, hildon_button_construct_child):
545 Pack the image and the labels inside the same GtkAlignment so
546 gtk_button_set_alignment() can be used
548 2008-08-07 Alberto Garcia <agarcia@igalia.com>
550 * src/hildon-button.h
551 * src/hildon-button.c
552 (hildon_button_init, hildon_button_set_image)
553 (hildon_button_set_image_position)
554 (hildon_button_construct_child): New functions to add an image to
557 2008-08-07 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-date-button.c
560 * src/hildon-picker-button.c
561 * src/hildon-time-button.c
562 * src/hildon-button.c:
563 (hildon_button_class_init): "size-flags" renamed to "size"
564 (hildon_button_set_title): Hide the title label if set to NULL.
566 2008-08-07 Alberto Garcia <agarcia@igalia.com>
568 HildonButtonFlags split into HildonButtonArrangement (to set the
569 button layout) and HildonSizeType (which can be used for any
572 * src/hildon-button.h
573 * src/hildon-button.c
574 (hildon_button_class_init)
575 (hildon_button_set_arrangement)
576 (hildon_button_set_property): New "size-flags"
577 property. "arrangement-flags" renamed to "arrangement".
578 (hildon_button_new, hildon_button_new_with_text)
579 (hildon_button_new_full): Constructors updated to reflect type changes.
581 * src/hildon-helper.h
582 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
583 to set the size of a widget.
587 * src/hildon-button-helpers.c
588 * src/hildon-button-helpers.h: New hildon-button-helpers module.
590 * src/hildon-date-button.c
591 * src/hildon-date-button.h
592 * src/hildon-picker-button.c
593 * src/hildon-picker-button.h
594 * src/hildon-time-button.c
595 * src/hildon-time-button.h: Updated widgets to reflect
596 HildonButton API changes.
598 * examples/hildon-button-example.c
599 * examples/hildon-date-button-example.c
600 * examples/hildon-picker-button-example.c
601 * examples/hildon-picker-button-multicolumn-example.c
602 * examples/hildon-time-button-example.c
603 * examples/hildon-touch-selector-entry-example.c
604 * examples/hildon-touch-selector-example.c: Updated examples to
605 reflect HildonButton API changes.
607 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
609 * doc/hildon-docs.sgml:
611 * examples/Makefile.am:
612 * examples/hildon-touch-selector-entry-example.c:
614 * src/hildon-touch-selector-entry.c:
615 * src/hildon-touch-selector-entry.h:
618 Moved HildonTouchSelectorEntry from sandbox. Added its
619 documentation and examples.
621 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-touch-selector.h:
624 * examples/hildon-picker-button-multicolumn-example.c:
625 (hildon_touch_selector_append_text_column): Add a gboolean
626 parameter to determine if text must be centered in the column.
628 * src/hildon-date-selector.c: (hildon_date_selector_init):
629 * src/hildon-time-selector.c: (hildon_time_selector_init):
630 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
631 (create_touch_selector): Update widgets and example to reflect
634 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
636 * src/hildon-touch-selector.c:
637 (hildon_touch_selector_set_active_iter): Set also the cursor in
640 2008-08-06 Alberto Garcia <agarcia@igalia.com>
642 * doc/hildon-docs.sgml
645 * src/hildon-toggle-button.c
646 * src/hildon-toggle-button.h
647 * src/hildon.h: Removed HildonToggleButton widget, a derived
648 class is not necessary for this.
650 2008-08-06 Alejandro G. Castro <alex@igalia.com>
652 * src/hildon-pannable-area.c,
653 (hildon_pannable_area_realize),
654 (hildon_pannable_area_size_allocate): Code refactoring, add tests
657 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
659 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
660 "done" button the default widget for the dialog.
662 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
664 * src/hildon-touch-selector.c:
665 (hildon_touch_selector_class_init),
666 (hildon_touch_selector_get_property),
667 (_hildon_touch_selector_set_model),
668 (_hildon_touch_selector_has_multiple_selection),
669 (hildon_touch_selector_has_multiple_selection):
670 Add a "has-multiple-selection" property with a virtual
671 has_multiple_selection() method to allow derived classes to
672 override the default value for it. See the method and property
673 documentation for details.
675 * src/hildon-touch-selector.h: Add the new API.
677 * src/hildon-picker-dialog.c: (requires_done_button): Call
678 hildon_touch_selector_has_multiple_selection() instead of
679 determining the need for a button itself.
681 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
683 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
684 (_hildon_touch_selector_set_model),
685 (hildon_touch_selector_set_model): Move working code to
686 _hildon_touch_selector_set_mode(). Call the class method instead.
688 * src/hildon-touch-selector.h: Add (*set_model) to
689 HildonTouchSelectorClass.
691 Make hildon_touch_selector_set_model() a virtual method, so that
692 derived classes can extend it and do fancy stuff with the model.
694 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
696 * configure.ac: Set back the tarname in AC_INIT to hildon.
698 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
702 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
703 instead of libesd (NB#86876). Volume handling is still an open issue.
705 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
708 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
710 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
711 (hildon_touch_selector_append_column): Make the widget a GtkVBox
712 derived class to ease placement of an entry widget in
713 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
714 end, where the selector columns are packed now.
716 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-picker-button.c: Removed the simple _text() API.
719 * src/hildon-picker-button.h: Likewise.
721 * src/hildon-touch-selector.h:
722 * src/hildon-touch-selector.c:
723 (hildon_touch_selector_new_text),
724 (hildon_touch_selector_append_text),
725 (hildon_touch_selector_prepend_text),
726 (hildon_touch_selector_insert_text):
728 Moved the simple _text() API from HildonPickerButton to
729 HildonTouchPicker, to provide better escalability and not to tie
730 that API to HildonPickerButton.
732 * examples/hildon-picker-button-example.c: (main): Example updated.
734 2008-07-31 Alberto Garcia <agarcia@igalia.com>
736 * src/hildon-button.c: Updated documentation.
738 * examples/hildon-button-example.c: Add the posibility to create
739 the buttons using horizontal layout for title and value.
741 2008-07-31 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-app-menu-private.h
744 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
745 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
746 GtkSizeGroup for the filters, use the 'homogeneous' property of
749 2008-07-31 Alberto Garcia <agarcia@igalia.com>
751 * examples/hildon-button-example.c: Updated example.
753 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
755 * doc/hildon-docs.sgml:
758 Update documentation.
760 * examples/Makefile.am: Update renamed examples.
762 * examples/hildon-picker-button-multicolumn-example.c:
763 (create_touch_selector), (main): Update after the rename.
765 * examples/hildon-touch-picker-example.c: Removed.
766 * examples/hildon-touch-selector-example.c: (value_changed),
767 (create_selector), (get_visible_content), (main): Renamed from
768 hildon-touch-picker-example.c
770 * src/Makefile.am: Updated renamed files.
772 * src/hildon-date-button.c: (hildon_date_button_init),
773 (hildon_date_button_get_date), (hildon_date_button_set_date):
774 * src/hildon-date-selector.c: (hildon_date_selector_init),
775 (_custom_print_func), (_update_day_model),
776 (_manage_selector_change_cb),
777 (hildon_date_selector_select_current_date),
778 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
779 * src/hildon-date-selector.h:
780 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
781 (hildon_picker_button_set_property),
782 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
783 (hildon_picker_button_init), (hildon_picker_button_new_text),
784 (hildon_picker_button_append_text),
785 (hildon_picker_button_prepend_text),
786 (hildon_picker_button_insert_text),
787 (hildon_picker_button_set_selector),
788 (hildon_picker_button_get_selector):
789 * src/hildon-picker-button.h:
790 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
791 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
792 (_update_title_on_selector_changed_cb), (requires_done_button),
793 (_hildon_picker_dialog_set_selector),
794 (hildon_picker_dialog_set_selector),
795 (hildon_picker_dialog_get_selector):
796 * src/hildon-picker-dialog.h:
797 * src/hildon-time-button.c: (hildon_time_button_init),
798 (hildon_time_button_get_time), (hildon_time_button_set_time):
799 * src/hildon-time-selector.c: (hildon_time_selector_init),
800 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
801 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
802 * src/hildon-time-selector.h:
805 Massive code updates after the rename.
807 * src/hildon-touch-picker.c: Removed.
808 * src/hildon-touch-picker.h: Removed.
810 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
811 (hildon_touch_selector_init), (hildon_touch_selector_map),
812 (hildon_touch_selector_remove), (_default_print_func),
813 (_selection_changed_cb), (_create_new_column),
814 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
815 (hildon_touch_selector_append_text_column),
816 (hildon_touch_selector_remove_column),
817 (hildon_touch_selector_set_column_attributes),
818 (hildon_touch_selector_insert_column),
819 (hildon_touch_selector_get_num_columns),
820 (hildon_touch_selector_get_column_selection_mode),
821 (hildon_touch_selector_set_column_selection_mode),
822 (hildon_touch_selector_set_print_func),
823 (hildon_touch_selector_get_print_func),
824 (hildon_touch_selector_get_active_iter),
825 (hildon_touch_selector_set_active_iter),
826 (hildon_touch_selector_get_selected_rows),
827 (hildon_touch_selector_get_model),
828 (hildon_touch_selector_set_model),
829 (hildon_touch_selector_get_current_text),
830 (_hildon_touch_selector_center_on_selected_items):
831 * src/hildon-touch-selector.h: Renamed from
832 hildon-touch-picker.[ch]
834 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
835 references, code examples, and related documentation.
837 2008-07-30 Alberto Garcia <agarcia@igalia.com>
839 * doc/hildon-docs.sgml
842 * src/hildon-toggle-button.c
843 * src/hildon-toggle-button.h
844 * src/hildon.h: New HildonToggleButton widget.
846 2008-07-30 Alberto Garcia <agarcia@igalia.com>
848 * src/hildon-button.c: Add API documentation.
849 (hildon_button_set_size_groups): Check input parameters
851 2008-07-30 Alejandro G. Castro <alex@igalia.com>
853 * src/hildon-pannable-area.c
854 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
855 effect after reaching the movement thredshold. This way we start
856 using the distance after passing the thredshold.
858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-button.c: (hildon_button_set_property): Use the
861 appropriate g_value_get_flags() method.
863 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
865 * doc/hildon-docs.sgml:
868 Add the touch pickers, picker dialogs, and picker button widgets
869 to the documentation.
871 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
873 * src/hildon-button.c: (hildon_button_set_property),
874 (hildon_button_class_init): Make "arrangement-flags" a proper
875 G_TYPE_FLAGS derived property.
877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
879 * examples/Makefile.am: Add below examples.
880 * examples/hildon-date-button-example.c:
881 * examples/hildon-picker-button-example.c:
882 * examples/hildon-picker-button-multicolumn-example.c:
883 * examples/hildon-time-button-example.c:
884 * examples/hildon-touch-picker-example.c:
886 Add examples for the recently added touch pickers,
887 picker dialogs, and picker button widgets.
889 2008-07-29 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-button.c: Add some API documentation
893 2008-07-29 Alberto Garcia <agarcia@igalia.com>
895 * src/hildon-button.h
896 * src/hildon-button.c
898 (hildon_button_new_with_text): New constructor to create a button
900 (hildon_button_init, hildon_button_set_arrangement)
901 (hildon_button_set_title, hildon_button_set_value)
902 (hildon_button_set_text)
903 (hildon_button_construct_child): Hide the value when it's not used
904 so the rest of the text is properly aligned.
905 Allow creating buttons with arbitrary widgets inside (not just
908 * examples/hildon-button-example.c (vertical_buttons_window)
909 (horizontal_buttons_window): Update example to use new API.
911 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
913 * src/Makefile.am: Added HildonTimeButton.
914 * src/hildon-time-button.c: Added missing LGPL header.
915 * src/hildon-time-button.h: Added missing LGPL header.
916 * src/hildon.h: Add hildon-time-button.h
918 Copied HildonTimeButton from sandbox to trunk. Future work on this
919 widget must take place in trunk.
921 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
923 * src/Makefile.am: Added HildonDateButton.
924 * src/hildon-date-button.c: Update includes.
925 * src/hildon.h: Add hildon-date-button.h
927 Copied HildonDateButton from sandbox to trunk. Future work on this
928 widget must take place in trunk.
930 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
932 * src/Makefile.am: Added HildonPickerButton.
933 * src/hildon-picker-button.h: Update includes.
934 * src/hildon.h: Add hildon-picker-button.h
936 Copied HildonPickerButton from sandbox to trunk. Future work on
937 this widget must take place in trunk.
939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
941 * src/Makefile.am: Added HildonPickerDialog.
942 * src/hildon-picker-dialog.c: Update includes.
943 * src/hildon.h: Add hildon-picker-dialog.h
945 Copied HildonPickerDialog from sandbox to trunk. Future work
946 on this widget must take place in trunk.
948 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
950 * src/Makefile.am: Added HildonTimeSelector.
951 * src/hildon.h: Add hildon-time-selector.h
953 Copied HildonTimeSelector widget from sandbox to trunk. Future
954 work on this widget must happen in trunk.
956 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
958 * src/Makefile.am: Added HildonDateSelector.
959 * src/hildon.h: Add hildon-date-selector.h
961 Copied HildonDateSelector widget from sandbox to trunk. Future
962 work on this widget must happen in trunk.
964 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
966 * src/Makefile.am: Added HildonTouchPicker.
967 * src/hildon-touch-picker.c: Update includes.
968 * src/hildon.h: Add hildon-touch-picker.h
970 Copied HildonTouchPicker widget from sandbox to trunk. Future work
971 on this widget must happen in trunk.
973 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
975 * src/hildon-pannable-area.c:
976 (hildon_pannable_area_motion_notify_cb): Fix a typo.
978 2008-07-29 Alberto Garcia <agarcia@igalia.com>
980 * examples/hildon-app-menu-example.c (main): Let the window
983 2008-07-29 Alejandro G. Castro <alex@igalia.com>
985 * src/hildon-pannable-area.c
986 (hildon_pannable_area_class_init): Set the min value of the
987 overshoot properties to zero, which points out that not
988 overshooting allowed.
990 2008-07-29 Alejandro G. Castro <alex@igalia.com>
992 Modified the procedure to get the widget at a point inside the
993 pannable area when using the movement type signals. Now the user
994 has to call a function to get the child, that way we just
995 calculate the child in case the user really want to use it and not
998 * src/hildon-marshalers.list: Modified the marshallers, now we do
999 not have the widget as a parameter.
1001 * src/hildon-pannable-area.c
1002 (hildon_pannable_area_motion_notify_cb),
1003 (hildon_pannable_area_class_init),
1004 (hildon_pannable_get_child_widget_at): Removed the widget
1005 parameter from the signal callback. We have also refactored the
1006 emission of the signals.
1008 * src/hildon-pannable-area.h: Added a new method to the API to
1009 calculate a widget at a point inside the pannable area,
1010 hildon_pannable_get_child_widget_at.
1012 * examples/hildon-pannable-area-example-4.c
1013 (horizontal_movement): Modified the example to use the new API,
1014 added condition to control which widget is under the event. This
1015 way we can avoid scrolling laterally over other widgets.
1017 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1019 * src/hildon-pannable-area.c
1020 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1021 modes, we stop getting the pointer events due to returning the
1022 callback without properly calling the get pointer again. Fixed
1023 also an error using the hscroll and vscroll.
1025 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-app-menu-private.h
1028 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1029 (hildon_app_menu_button_release, hildon_app_menu_init)
1030 (hildon_app_menu_class_init): Don't hide the menu on button
1031 release if the user didn't press outside first.
1033 * src/hildon-window.h
1034 * src/hildon-window.c (hildon_window_toggle_menu)
1035 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1036 hildon_window_toggle_menu a virtual function for the stackable
1037 window to override it.
1039 * src/hildon-stackable-window.h
1040 * src/hildon-stackable-window-private.h
1041 * src/hildon-stackable-window.c
1042 (hildon_stackable_window_realize)
1043 (hildon_stackable_window_finalize)
1044 (hildon_stackable_window_class_init)
1045 (hildon_stackable_window_init)
1046 (hildon_stackable_window_set_main_menu): New function to set the
1047 app menu of a HildonStackableWindow.
1049 * examples/hildon-app-menu-example.c: Remove the button to show
1050 the app menu, now it'll be shown when clicking on the title bar
1053 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1055 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1056 set the widget name if the arrangement flags do not specify
1059 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-button.c: (hildon_button_set_property),
1062 (hildon_button_class_init), (hildon_button_new_full),
1063 (hildon_button_set_arrangement): Added "arrangement-flags"
1066 Make the HildonButtonFlags a construction-only property, to allow
1067 subclasses to set them properly.
1069 2008-07-21 Tim Janik <timj@imendio.com>
1071 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1072 insertion position after backspace, so additional digits are appended,
1075 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1077 * src/hildon-pannable-area.c,
1078 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1079 TODO list, it was complete and removed the g_debug and g_print
1082 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1084 Added the movement modes to the hildon-pannable-area, with this
1085 modes the developers can control in which directions the widget
1086 can scroll. They can also connect to signals in order to do
1087 something when that happens, allowing applications scroll. There
1088 is an example uploaded showing how to use it.
1090 * examples/Makefile.am:
1091 * examples/hildon-pannable-area-example-4.c: Added this example of
1092 an application using the modes.
1094 * src/hildon-marshalers.list: Added a new marshaller for the new
1097 * src/hildon-pannable-area.h: Added new enumerations and flags in
1098 order to control the movement modes and the new signals to warn
1099 about the movements in the area.
1101 * src/hildon-pannable-area.c:
1102 (hildon_pannable_axis_scroll),
1103 (hildon_pannable_area_scroll),
1104 (hildon_pannable_area_motion_notify_cb),
1105 (hildon_pannable_area_get_property),
1106 (hildon_pannable_area_set_property),
1107 (hildon_pannable_area_map),
1108 (hildon_pannable_area_class_init),
1109 (hildon_pannable_area_init),
1110 (hildon_pannable_area_jump_to): Added the modes to control the
1111 movement in the widget. We have added properties to control it,
1112 signals to warn about the movements and refactored some code.
1114 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1116 Changes required in order to allow vfast_factor set to zero to
1119 * src/hildon-pannable-area.c:
1120 (hildon_pannable_area_button_press_cb): Changed the condition, it
1121 is required for not allowing click when vfast_factor is zero.
1122 (hildon_pannable_area_timeout): Initialized velocity variables
1123 when we stop moving, it was less than 1 but not zero and we need
1124 to check zero in some situations.
1125 (hildon_pannable_area_class_init): Changed the default value of
1126 the speed factor, now the button_press is just sent in case the
1127 speed is 2 per cent of the max speed.
1128 (hildon_pannable_area_init): Initialization with 0.
1130 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1132 * src/hildon-pannable-area.c,
1133 (hildon_pannable_area_get_topmost): replaced
1134 gdk_window_get_children with gdk_window_peek_children, this way we
1135 do not have to free the list because it is not a copy.
1137 (hildon_pannable_axis_scroll),
1138 (hildon_pannable_area_scroll),
1139 (hildon_pannable_area_timeout),
1140 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1141 two parameters that were only used inside the
1142 hildon_pannable_area_scroll function.
1144 * examples/hildon-pannable-area-example.c,
1145 (get_sawtooth_label): Fixed small memory leak.
1147 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1149 More checks for the case where the overshoot is bigger than the
1152 * src/hildon-pannable-area.c:
1153 (hildon_pannable_draw_vscroll),
1154 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1155 to draw the slider of the scrollbar under the other scrollbar.
1156 (hildon_pannable_area_expose_event): added new checks to control
1157 the drawing of the overshooting area rectangle, in case it is too
1158 big for the area of the widget.
1159 (hildon_pannable_area_size_allocate): add more checks to avoid
1160 setting a position to the child widget outside the area.
1162 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1164 * src/hildon-pannable-area.c
1165 (hildon_pannable_area_size_allocate): Added conditions to control
1166 when overshooting is bigger than the allocated space for the
1167 children, this avoids negative allocations.
1169 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1171 * doc/hildon-docs.sgml
1173 * examples/Makefile.am
1174 * examples/hildon-button-example.c
1176 * src/hildon-button.c
1177 * src/hildon-button.h
1178 * src/hildon.h: Initial version of the new HildonButton widget,
1181 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-pannable-area.c:
1184 (hildon_pannable_area_button_press_cb),
1185 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1186 (hildon_pannable_area_motion_notify_cb),
1187 (hildon_pannable_area_button_release_cb),
1188 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1189 (hildon_pannable_area_jump_to_child):
1191 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1193 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1195 * examples/Makefile.am
1196 * examples/hildon-pannable-area-touch-grid-example.c
1197 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1198 the Hildon Touch List and Hildon Touch Grid using the
1199 HildonPannableArea widget.
1201 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1203 * src/hildon-pannable-area.c,
1204 (hildon_pannable_area_button_press_cb),
1205 (hildon_pannable_area_refresh),
1206 (hildon_pannable_area_scroll),
1207 (hildon_pannable_area_motion_notify_cb),
1208 (hildon_pannable_area_button_release_cb),
1209 (hildon_pannable_area_expose_event),
1210 (hildon_pannable_area_add),
1211 (hildon_pannable_area_remove),
1212 (hildon_pannable_area_realize),
1213 (hildon_pannable_area_size_allocate),
1214 (hildon_pannable_area_class_init),
1215 (hildon_pannable_area_init),
1216 (hildon_pannable_area_scroll_to_child),
1217 (hildon_pannable_area_jump_to_child): Fixed the problem of
1218 removing the child from the GtkBin, we have rearranged the widget
1219 hierarchy, now there is no GtkAlignment which was not doing
1220 anything interesting but breaking some of the assumptions of
1221 GtkContainer. Now developers if they want to add a GtkAlignment
1222 they could, but it is not inside the area.
1224 We had to review the whole allocation/expose process, now it is
1225 improved and we save at least three signals which would be saving
1226 some time when rendering the widget. The allocation of the
1227 scrollbars is now made in the allocate method as usual.
1229 We have also added some conditions in order to control when there
1230 is no child of the pannable area. Maybe we will need more work
1233 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_dispose): Released the fade-out timeout when
1237 disposing the widget.
1239 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1241 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1242 zero, we are going to use that property in order to deactivate the
1244 (hildon_pannable_axis_scroll),
1245 (hildon_pannable_area_size_allocate): Added conditions to control
1246 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1247 call, now it is called in all situations and we can remove calls
1248 in the allocate method.
1249 (hildon_pannable_area_map): Control the situation when
1250 overshoot_max is zero, we do not need the timeout.
1251 (hildon_pannable_area_class_init): Added documentation in order to
1252 point out that setting zero to overshoot_max means deactivate
1255 NOTE: removed trailing whitespaces from my previous comments of
1258 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1260 * src/hildon-pannable-area.c
1261 (hildon_pannable_area_get_property),
1262 (hildon_pannable_area_set_property),
1263 (hildon_pannable_area_map),
1264 (hildon_pannable_area_class_init),
1265 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1266 to cause the widget give a hint about its panning abilities upon
1269 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1271 * src/hildon-pannable-area.c: Several documentation improvements.
1273 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1275 * src/hildon-program.c
1276 * src/hildon-stackable-window.c: Update documentation.
1278 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1280 * src/hildon-stackable-window.c (get_previous_window_if_last):
1281 Renamed get_last_window()
1282 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1283 (hildon_stackable_window_unset_program):
1285 (get_previous_window_if_last):
1286 Detect if the window hasn't been added to a HildonProgram.
1288 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1290 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1292 * src/hildon-pannable-area.c
1293 (hildon_pannable_area_button_press_cb),
1294 (hildon_pannable_axis_scroll),
1295 (hildon_pannable_area_scroll),
1296 (hildon_pannable_area_timeout),
1297 (hildon_pannable_calculate_vel_factor),
1298 (hildon_pannable_area_get_property),
1299 (hildon_pannable_area_set_property),
1300 (hildon_pannable_area_class_init),
1301 (hildon_pannable_area_init),
1302 (hildon_pannable_area_scroll_to),
1303 (hildon_pannable_area_jump_to),
1304 (hildon_pannable_area_scroll_to_child),
1305 (hildon_pannable_area_jump_to_child):
1306 * src/hildon-pannable-area.h: Added the new API functions:
1307 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1308 hildon_pannable_area_scroll_to_child,
1309 hildon_pannable_area_jump_to_child
1312 * examples/Makefile.am
1313 * examples/hildon-pannable-area-example-2.c
1314 * examples/hildon-pannable-area-example-3.c: Added these two new
1315 examples in order to test and show how the new APIs work.
1317 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1319 * examples/hildon-stackable-window-example.c (new_window):
1320 * src/Makefile.am (noinst_HEADERS):
1321 * src/hildon-program.c (hildon_program_go_to_root_window):
1322 * src/hildon-program.h:
1323 * src/hildon-stackable-window-private.h:
1324 * src/hildon-stackable-window.c:
1325 * src/hildon-stackable-window.h:
1326 Create hildon-stackable-window-private.h
1327 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1329 * examples/hildon-app-menu-example.c (create_menu):
1330 * examples/hildon-hvolumebar-insensitive-example.c (main):
1331 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1332 * examples/hildon-toolbar-seekbar-example.c (main):
1333 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1334 * src/hildon-banner.c (hildon_banner_set_property):
1335 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1336 Fix compilation warnings
1338 * src/hildon-window.c:
1341 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1343 * src/hildon-stackable-window.c
1344 (hildon_stackable_window_unset_program):
1345 Calculate correctly whether to show the previous window if the
1346 last one is removed from the stack.
1347 (hildon_stackable_window_go_to_root_window):
1348 Send delete events starting from the topmost window.
1349 Stop if one of the windows is not destroyed.
1351 (hildon_stackable_window_delete_event)
1352 (hildon_stackable_window_class_init):
1353 Ignore the delete event if the window is not the topmost one.
1355 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1357 * src/hildon-pannable-area.c
1358 (hildon_pannable_area_expose_event): Fixed a problem when
1359 selecting the background color of the scrollbars.
1361 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1363 * examples/hildon-stackable-window-example.c
1364 * src/hildon-stackable-window.c
1365 * src/hildon-stackable-window.h
1366 hildon_stackable_window_go_home() renamed to
1367 hildon_stackable_window_go_to_root_window()
1368 Send delete events to windows rather than closing them with
1369 gtk_widget_destroy()
1371 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1373 * src/hildon-pannable-area.c
1374 (hildon_pannable_area_button_release_cb): Fix overshooting in
1377 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1379 * src/hildon-pannable-area.c
1380 (hildon_pannable_area_init): Initially show the scroll indicators.
1381 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1383 Add initial effect showing the widget is pannable.
1385 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1387 * src/hildon-pannable-area.c
1388 (hildon_pannable_area_class_init)
1389 (hildon_pannable_area_set_property)
1390 (hildon_pannable_area_get_property)
1391 (hildon_pannable_area_button_press_cb):
1392 New 'velocity_fast_factor' property to decide which velocity is
1395 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1397 * src/hildon-pannable-area.c
1398 (hildon_pannable_draw_hscroll)
1399 (hildon_pannable_draw_vscroll):
1400 Use float variables to calculate the size of the scrollbars to
1401 avoid error propagation and resizing during scrolling.
1403 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1405 * src/hildon-pannable-area.c
1406 (hildon_pannable_draw_vscroll)
1407 (hildon_pannable_draw_hscroll):
1408 Define a minimum size for the scroll bars
1410 * src/hildon-stackable-window.c
1411 (hildon_stackable_window_go_home): Fix compilation warning
1412 (get_last_window): Minor optimizations
1413 (hildon_stackable_window_class_init): Fix initialization of
1416 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1418 * src/hildon-stackable-window.c: Fixed typos in doc
1420 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1422 * src/hildon-pannable-area.c
1423 (hildon_pannable_area_scroll):
1424 Calculate here whether we need to scroll instead of using the booleans
1425 that tell us whether to /draw/ the scrolling bars.
1427 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1429 * src/hildon-app-menu.h
1431 * src/hildon-app-menu.c
1432 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1433 multiple filter groups related code and API. Now we support only
1435 * examples/hildon-app-menu-example.c:
1437 Update to reflect API changes.
1439 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1441 * src/hildon-stackable-window.c
1442 (hildon_stackable_window_class_init):
1443 Add hildon_stackable_window_realize.
1444 (hildon_stackable_window_realize):
1445 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1446 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1447 to apply theming and behavior specific to HildonStackableWindow
1450 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1452 * src/hildon-note.c (hildon_note_button_release):
1453 Close information notes also when tapping on them
1455 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1457 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1458 ELASTICITY, refactor and review, fix some issues with drawing
1461 * src/hildon-pannable-area.c:
1462 (hildon_pannable_area_button_press_cb): removed the conditions to
1463 avoid clicks when overshooting. It is not required
1465 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1466 define. Refatored and reviewed the code, now we do not need to
1467 manage velocity in motion_notify.
1469 (hildon_pannable_area_motion_notify_cb): We have moved the code
1470 that controls the area_scroll to the axis_scroll function and get
1471 rid of duplicated code.
1473 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1475 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1477 (hildon_pannable_draw_vscroll),
1478 (hildon_pannable_draw_hscroll): Fixed the problems with the
1479 scrollbar drawing, now we do not use two surfaces, it is easier
1480 and saves resources.
1482 (hildon_pannable_area_get_property): Style modification.
1484 (hildon_pannable_area_class_init): Changed some default values.
1486 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1488 * src/hildon-stackable-window.c: Fix some typos in the
1491 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1493 * src/hildon-dialog.c:
1494 Change indentation style
1497 (hildon_note_button_release):
1498 Use root coordinates to check if the release event happened
1501 * src/hildon-app-menu.c
1502 (hildon_app_menu_button_release):
1503 Remove unnecessary check
1505 * examples/hildon-app-menu-example.c
1507 Add cast to fix warning
1509 * src/hildon-app-menu.c
1510 (hildon_app_menu_class_init):
1511 New inner-border style property.
1512 Set all default spacings to 16
1513 (hildon_app_menu_init):
1514 Use vertical-spacing to set the space between filter buttons and
1515 regular menu buttons.
1516 Set the default container border using the inner-border value.
1518 * examples/hildon-app-menu-example.c
1520 Don't set the menu border explicitly, now we have the inner-border
1521 style property for that.
1523 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1525 * src/hildon-app-menu.c (hildon_app_menu_init):
1526 Make the window modal
1528 * src/hildon-note.c (hildon_note_map)
1529 * src/hildon-app-menu.c (hildon_app_menu_map):
1530 Destroy the grab window if we're unable to grab the pointer
1532 * src/hildon-app-menu-private.h
1533 * src/hildon-app-menu.c
1534 (hildon_app_menu_init, hildon_app_menu_finalize)
1535 (hildon_app_menu_map, hildon_app_menu_unmap)
1536 (hildon_app_menu_button_release)
1537 (grab_transfer_window_get):
1538 Bring back the grab window
1539 (hildon_app_menu_realize):
1540 Decorate the window, set WM hint for Matchbox
1542 * src/hildon-note.c (hildon_note_realize):
1543 * src/hildon-banner.c (hildon_banner_realize):
1544 Add WM hints for Matchbox
1546 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1548 * src/hildon-app-menu-private.h
1549 * src/hildon-app-menu.c
1550 (hildon_app_menu_init, hildon_app_menu_finalize)
1551 (hildon_app_menu_map, hildon_app_menu_unmap)
1552 (hildon_app_menu_button_release):
1553 Remove the grab window, it's not needed anymore
1555 * src/hildon-program.c
1556 Fixed typo in documentation
1558 * src/hildon-app-menu.h
1559 * src/hildon-app-menu.c
1560 * examples/hildon-app-menu-example.c
1561 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1563 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1566 Added new transfer_window and close_if_pressed_outside private
1568 (hildon_note_rebuild):
1569 Don't add a cancel button to the information note. It will be
1570 closed when tapping outside
1571 Remove the comment about the OK button in the documentation
1572 (hildon_note_realize):
1573 Set the notification type hint
1574 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1575 Grab/ungrab pointer and keyboard if the note has to be closed when
1577 (hildon_note_button_release):
1578 Close the note when tapping outside (if applicable)
1580 * src/hildon-app-menu.c
1581 Grab/ungrab pointer and keyboard on map/unmap
1582 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1583 Close the menu on button release, not button press
1585 * src/hildon-banner.c
1586 (hildon_banner_set_property)
1587 (hildon_banner_check_position):
1588 Make the banner use the full width of the screen
1589 (hildon_banner_show_information)
1590 (hildon_banner_show_information_with_markup):
1591 Don't display an icon by default
1593 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1595 Added fading scrollbars and adapted all the overshooting code to
1596 horizontal scrolling. We have also fixed bugs with overshooting
1597 and current fading implementation.
1599 * src/hildon-pannable-area.c
1600 (hildon_pannable_area_scroll_indicator_fade): Time out function
1601 used to change the transparency of the scrollbars.
1603 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1604 control and fixed a problem with fading, we now remove the fade
1605 timeout before adding a new one.
1607 (hildon_pannable_axis_scroll):
1608 (hildon_pannable_area_scroll):
1609 (hildon_pannable_area_timeout): Added this functions so we can use
1610 the scroll code both for vertical and horizontal.
1612 (hildon_pannable_area_motion_notify_cb):
1613 (hildon_pannable_area_button_release_cb): Added the horizontal
1614 scrolling control, fixed a problem with the overshooting timeout.
1616 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1617 painting of the scrolls.
1619 (hildon_pannable_draw_vscroll):
1620 (hildon_pannable_draw_hscroll):
1621 (hildon_pannable_area_expose_event):
1622 Draw both scrollbars and rectangles in the overshooting area.
1624 (hildon_pannable_area_get_property):
1625 (hildon_pannable_area_set_property):
1626 Modified the overshoot property to overshoot_max
1628 (hildon_pannable_area_map):
1629 Replaced the comments symbols.
1631 (hildon_pannable_area_size_allocate):
1632 (hildon_pannable_area_class_init):
1633 (hildon_pannable_area_init): Added horizontal scroll, fading
1634 effect properties, fixed a problem when overshooting in the bottom
1637 * examples/hildon-pannable-area-example.c:
1638 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1639 looks better in the example.
1641 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1643 * src/hildon-window.c
1644 * src/hildon-window.h
1645 (hildon_window_class_init)
1646 (hildon_window_unset_program)
1647 (hildon_window_unset_program_real):
1648 Make unset_program a virtual function
1650 * src/hildon-stackable-window.c
1651 * src/hildon-stackable-window.h
1652 Added hildon_stackable_window_go_home()
1654 * examples/Makefile.am
1655 * examples/hildon-stackable-window-example.c
1656 HildonStackableWindow example
1658 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1660 * hildon-pannable-area.c: Added the overshoot property and removed
1661 the OVERSHOOT define. Fixed an indent style error.
1662 (hildon_pannable_area_motion_notify_cb):
1663 (hildon_pannable_area_get_property):
1664 (hildon_pannable_area_set_property): Add overshoot property.
1666 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1669 (hildon_pannable_area_class_init): Installed the new property.
1671 * hildon-pannable-area-example.c: Added a sawtooth function, this
1672 way it is easier to check the movement in the pannable.
1673 (get_sawtooth_label): Added this function.
1674 (main): Now we get the labels from the new get_sawtooth_label
1677 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1679 * src/hildon-app-menu.h
1680 * src/hildon-app-menu.c
1681 Renamed API variables for consistency
1683 (hildon_app_menu_popup): Use also the default window size to
1684 decide where to place the menu
1686 (hildon_app_menu_init, hildon_app_menu_class_init): New
1687 external-border style property
1689 2008-05-26 Michael Natterer <mitch@imendio.com>
1691 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1692 widget_class->tap_and_hold_setup signal slot doesn't exist any
1693 longer, stop overriding it.
1695 (hildon_time_editor_init): g_signal_connect() to the
1696 tap-and-hold-setup signal instead.
1698 (hildon_time_editor_entry_keypress): add cast to fix warning.
1700 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1702 * doc/hildon-docs.sgml
1704 * examples/Makefile.am
1705 * examples/hildon-app-menu-example.c
1707 * src/hildon-app-menu-private.h
1708 * src/hildon-app-menu.c
1709 * src/hildon-app-menu.h
1711 New HildonAppMenu widget
1713 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1715 Rearranged the inheritance of the pannable area, now it inherits
1716 from GtkBin. This will allow us to control the event_window and
1717 the allocation process of the widget, required for some effects.
1719 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1720 GtkBin structures. * src/hildon-pannable-area.c: Added the
1721 event_window variable.
1722 (hildon_pannable_area_button_press_cb):
1723 (hildon_pannable_area_button_release_cb):
1724 (hildon_pannable_area_motion_notify_cb):
1725 Changed the signature of the method, now we override the event
1726 callback instead of connecting to the signal.
1728 (hildon_pannable_area_realize):
1729 (hildon_pannable_area_unrealize):
1730 (hildon_pannable_area_map):
1731 (hildon_pannable_area_unmap):
1732 (hildon_pannable_area_size_allocate):
1733 Added functions to control the widget construction. We add a
1734 INPUT_ONLY window and we put it over the widgets inside the
1735 container, this event_window handles the events.
1737 (hildon_pannable_area_class_init):
1738 Replaced the signal connections with overrides of the event
1741 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1743 Bouncing effect added when touching the borders, you can change
1744 the elasticity of the border changing the ELASTICITY define.
1746 * src/hildon-pannable-area.c: Added ELASTICITY define.
1747 (hildon_pannable_area_timeout): Added inverse velocity when
1748 touching the border of the child widget, that causes a bounce.
1750 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1752 Improved performance, we now do not go to the X server in order to
1753 get the list of window children. Apparently the effect is the
1754 same, we have to be careful and check if this breaks something in
1757 * src/hildon-pannable-area.c:
1758 (get_ordered_children): Removed this function.
1759 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1760 the children windows function with gdk_window_get_children.
1762 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1764 * src/hildon-pannable-area.c:
1765 (hildon_pannable_area_dispose): Fixed a crash when closing the
1766 window and kinetics is activated.
1768 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1770 * src/hildon-pannable-area.h
1771 * src/hildon-pannable-area.c
1772 Changed indentation style to meet the one used in Hildon
1774 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1776 Reviewed the interaction of the AUTO mode, now we use the time
1777 attribute of the events and calculate the velocity in the motion,
1778 doing a gimp like calculation. The velocity is calculated in each
1779 motion event using the last velocity and the current one, the
1780 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1782 * src/hildon-pannable-area.c: Replaced the time based algorithm
1784 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1785 timeout for the AUTO mode when we are still moving the cursor. We
1786 added also the velocity calculation in this function.
1787 (hildon_pannable_area_button_release_cb): launch the timeout in
1788 case we are in AUTO mode. There are still some constants here that
1789 come from the old implementation that should be reviewed and
1792 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1794 * doc/hildon-docs.sgml
1797 * src/hildon-stackable-window.c
1798 * src/hildon-stackable-window.h
1800 New HildonStackableWindow widget
1802 * examples/hildon-dialog-example.c
1803 * examples/hildon-pannable-area-example.c
1806 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1808 * src/hildon-dialog.c
1809 (hildon_dialog_new_with_buttons): New constructor.
1811 * examples/hildon-dialog-example.c
1812 (main): Update the example to use the new
1813 hildon_dialog_new_with_buttons().
1815 * examples/hildon-pannable-area-example.c
1816 (main): Update example.
1818 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1820 * doc/hildon-docs.sgml
1822 Added HildonPannableArea to the documentation.
1824 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1826 * doc/visual_index.xml
1827 Fix reference to HildonLoginDialog in documentation
1829 * doc/hildon-docs.sgml
1831 * examples/Makefile.am
1832 * examples/hildon-dialog-example.c
1834 * src/hildon-dialog.c
1835 * src/hildon-dialog.h
1837 New HildonDialog widget.
1839 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1841 * src/hildon-pannable-area.c
1842 Merge latest changes (r4318, r4342) from libmokoui trunk
1844 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1846 * examples/Makefile.am
1847 * examples/hildon-pannable-area-example.c
1849 * src/hildon-pannable-area.c
1850 * src/hildon-pannable-area.h
1852 New HildonPannableArea widget.
1854 2008-04-15 18:05:19 <timj@imendio.com>
1856 * src/hildon-banner.c: revert the recent change, that introduced
1857 gtk_window_present() calls. this reopens:
1858 Bug 78481 - [freetest] information banners are hidden under browser menu
1859 But resolves another variant of:
1860 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1862 2008-04-15 13:21:13 <timj@imendio.com>
1864 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1865 recreated its layout, spotted by Kris. this fixes all remaining
1866 artefacts and stability issues with the banner code. in particular:
1867 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1869 2008-04-14 16:52:59 <timj@imendio.com>
1871 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1872 operating on unrealized widgets, fixes:
1873 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1875 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1877 2008-04-09 Kristian Rietveld <kris@imendio.com>
1879 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1880 makes banner disappear.
1881 Fixes: NB#79182: info banner flickering with certain message lengts.
1883 * src/hildon-banner.c (hildon_banner_constructor),
1884 (hildon_banner_init), (hildon_banner_set_text),
1885 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1886 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1887 FALSE, reset size requests of label and banner,
1888 (force_to_wrap_truncated): when the text is too wide, always enforce
1889 the maximum possible width instead of recalculating it from the
1890 layout; enforce the maximum banner height of 3 lines,
1891 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1892 nicer wrapping and no truncated chars if space gets tight.
1894 * src/hildon-banner-private.h: add has_been_wrapped and
1895 has_been_truncated fields.
1897 2008-04-07 Sven Herzberg <sven@imendio.com>
1899 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1900 local values in hildon_date_editor_size_allocate
1902 * src/hildon-date-editor.c: moved the real allocation code into the
1905 2008-04-07 Sven Herzberg <sven@imendio.com>
1907 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1908 local values in hildon_date_editor_size_allocate
1910 * src/hildon-date-editor.c: merged the two if() branches together
1912 2008-04-07 Sven Herzberg <sven@imendio.com>
1914 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1915 local values in hildon_date_editor_size_allocate
1917 * src/hildon-date-editor.c: changed the arguments of the if()
1920 2008-04-07 Sven Herzberg <sven@imendio.com>
1922 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1923 local values in hildon_date_editor_size_allocate
1925 * src/hildon-date-editor.c: split the calculation of the allocation
1926 from the real allocation
1928 2008-03-27 Michael Natterer <mitch@imendio.com>
1930 Fixes: NB#81696: The passcode is not overwritten even after
1933 * src/hildon-code-dialog.c
1934 (hildon_code_dialog_button_clicked)
1935 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1936 because that doesn't overwrite selected text. Instead, emit the
1937 "commit" signal on the entry's im_context so the entry's normal
1938 insert logic is triggered. Set the cursor to the end of the entry
1939 after each insert operation so that we *only* insert in the middle
1940 of the text if something was selected.
1942 2008-03-27 Michael Natterer <mitch@imendio.com>
1944 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1945 selector cannot be opened
1947 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1948 when the popup color selector is created. Please connect to this
1949 signal in order to set the dialog's help ID.
1951 2008-03-25 Sven Herzberg <sven@imendio.com>
1953 Fixes: MB#1212: Hide info banners (infoprints) on click
1955 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1956 extracted the close event simulation into an extra function
1957 (hildon_banner_button_press_event): simulate a close event and destroy
1958 the widget if the event wasn't handled
1959 (hildon_banner_class_init): added the button_press_event handler
1960 (hildon_banner_init): added button-press events to the widget
1962 2008-03-25 Sven Herzberg <sven@imendio.com>
1964 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1965 Patch from: Mohammad Anwari <mdamt@maemo.org>
1967 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1968 instead of the right in RTL mode
1969 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1970 breadcrumb button list in RTL mode
1971 * src/hildon-caption.c: mirror the appearance of the caption widget in
1973 * src/hildon-date-editor.c: mirror appearance of the date editor in
1975 * src/hildon-time-editor.c: mirror appearance of the time editor in
1977 * src/hildon-window.c: fix the position of the popup in RTL mode
1979 2008-03-25 Sven Herzberg <sven@imendio.com>
1981 Amendment to the fix of NB#22072. Fix compilation.
1983 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1985 2008-03-19 Sven Herzberg <sven@imendio.com>
1987 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1990 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1991 timeout id properly when the timeout will disappear this leaves no
1992 artifacts around in the destroy(); there will only be the timeout
1993 created by hildon_banner_ensure_timeout() and adding a new timeout
1994 will also work if the timeout gets removed because the timeout_handler
1997 2008-03-19 Michael Natterer <mitch@imendio.com>
1999 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2001 * src/hildon-volumebar.c
2002 * src/hildon-vvolumebar.c
2003 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2004 the widget becomes focussable at all.
2006 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2007 set the focus to wither the mute button or the volumebar.
2009 Remove own "can-focus" property and instead listen to
2010 notify::can-focus in order to update the widget's state.
2012 Implement GtkWidget::focus() and make sure we can also *leave* the
2013 widget, not only enter it, depending on volumebar orientation and
2014 requested focus direction.
2016 Clean up set_mute() to cooperate nicely with all the above.
2018 2008-03-04 Michael Natterer <mitch@imendio.com>
2020 Fixes: NB#78481: information banners are hidden under browser menu
2022 * src/hildon-banner.c: call gtk_window_present() on the banners so
2023 they are risen if they are already visible.
2025 2008-03-03 Sven Herzberg <sven@imendio.com>
2027 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2029 * examples/hildon-window-menu-example.c: (main): extended the window
2030 menu example to serve as a testcase for automatically added
2031 accelerator groups, too
2032 * src/hildon-window.c: (hildon_window_add_accel_group),
2033 (hildon_window_set_menu): added patch by Tommi Komulainen
2035 2008-03-03 Sven Herzberg <sven@imendio.com>
2037 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2039 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2040 knowledge about the border allocators used within GTK+
2042 2008-02-26 Sven Herzberg <sven@imendio.com>
2044 Fixes: MB#2981: Build with asserts broken
2046 * src/hildon-date-editor.c,
2047 * src/hildon-number-editor.c,
2048 * src/hildon-time-editor.c,
2049 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2050 the proper GType instance check
2052 2008-02-25 Sven Herzberg <sven@imendio.com>
2054 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2056 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2057 * examples/hildon-window-menu-example.c: (main): explicitly show
2059 * src/hildon-window.c:
2060 (hildon_window_set_main_menu): moved most of the code from set_menu()
2061 to this place; skipped the call to gtk_widget_show_all(); also didn't
2062 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2063 (hildon_window_set_menu): removed most of the code, just keep the
2064 questionable gtk_widget_show_all()
2065 * src/hildon-window.h: added the new function and deprecate the old
2068 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2074 * debian/changelog: Updating.
2076 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2079 * pkgconfig/Makefile.am:
2080 * pkgconfig/hildon.pc.in:
2083 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2084 use newly created API_MAJOR_VERSION.
2086 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2092 * debian/changelog: Updating.
2094 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2096 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2098 Add outer_border style property, we use it but don't define it (!).
2102 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2104 * examples/hildon-bread-crumb-trail-example.c (main):
2108 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2110 Fix logic for the bread crumb trail node removal.
2114 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2120 * debian/changelog: Updating.
2122 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2124 Patch by Alejandro to get/set passwords dialogs accesibility.
2126 * hildon-1/src/hildon-get-password-dialog.c:
2127 * hildon-1/src/hildon-set-password-dialog.c:
2128 Set atk_set_name to the passwd entries in order to allow
2129 accessibility by name on this entries.
2131 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2136 * debian/control: Updating gtk dep.
2138 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2140 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2141 USE_MAEMO_GTK is enabled.
2143 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2145 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2146 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2148 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2154 * debian/changelog: Updating.
2156 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2158 * examples/Makefile.am:
2159 * examples/hildon-logical-color-example.c:
2160 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2161 applied + adding a test case. Fixes: NB#71660.
2163 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2165 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2166 to be visible, fixes warning on map for windows without toolbars.
2168 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2170 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2171 2.11.0, add a check for that besides the MAEMO_GTK check.
2173 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2179 * debian/changelog: Updating.
2181 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2183 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2184 visibility. Fixes: NB#70842 and MB#615.
2186 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2188 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2189 set the separator as no-show-all so it doesn't unintentionally appear when
2190 someone does a show_all.
2192 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2194 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2195 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2196 toplevel item. Fixes: NB#62031
2198 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2200 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2201 fix the name of the function in the docs.
2203 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2209 * debian/changelog: Updating.
2211 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2213 * examples/hildon-banner-long-example.c: Adding a test-case for long
2216 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2218 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2220 * src/hildon-color-chooser-dialog.c:
2221 * src/hildon-color-chooser.c:
2222 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2223 memory leaks in font selector and color selector. Fixes: NB#70499 and
2226 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2228 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2230 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2232 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2233 little bit bigger. Fixes: #NB63694.
2235 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2241 * debian/changelog: Updating.
2243 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2246 * doc/hildon-docs.sgml:
2247 * doc/images/bread-crumb-trail.png:
2248 * doc/images/calendar-popup.png:
2249 * doc/images/caption.png:
2250 * doc/images/code-dialog.png:
2251 * doc/images/color-button.png:
2252 * doc/images/color-chooser-dialog.png:
2253 * doc/images/color-chooser.png:
2254 * doc/images/controlbar.png:
2255 * doc/images/date-editor.png:
2256 * doc/images/font-selection-dialog.png:
2257 * doc/images/get-password-dialog.png:
2258 * doc/images/hvolumebar.png:
2259 * doc/images/login-dialog.png:
2260 * doc/images/note.png:
2261 * doc/images/number-editor.png:
2262 * doc/images/range-editor.png:
2263 * doc/images/seekbar.png:
2264 * doc/images/set-password-dialog.png:
2265 * doc/images/sort-dialog.png:
2266 * doc/images/time-editor.png:
2267 * doc/images/time-picker.png:
2268 * doc/images/vvolumebar.png:
2269 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2270 Adding the bread-crumb-trial and helpers to the documentation.
2272 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2274 * examples/hildon-find-toolbar-example.c:
2275 * src/hildon-find-toolbar.c:
2276 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2277 actually continue firing the other handlers if connected. Adding a new
2279 hildon_find_toolbar_get_last_index that gets the index of the most
2280 recently added (last) item. Fixes: NB#52301.
2282 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2284 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2285 behaviour. Fixes: NB#68610.
2287 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2289 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2292 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2294 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2295 when realizing the banner. Should make the infonbanner effect a bit more
2298 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2300 * src/hildon-volumebar.c:
2301 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2302 hildon_volumebar_set_range_insensitive_message and
2303 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2305 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2307 * src/hildon-window.c: Fixing the border freeing on destroy.
2309 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2311 * src/hildon-code-dialog-private.h:
2312 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2313 kw keyboard support in HildonCodeDialog.
2315 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2321 * debian/changelog: Updating.
2323 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2325 * src/hildon-date-editor.c:
2326 * src/hildon-number-editor.c:
2327 * src/hildon-private.c:
2328 * src/hildon-private.h:
2329 * src/hildon-time-editor.c:
2330 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2331 handling in subclassed composite widgets. Fixes: NB#66628.
2333 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2335 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2336 from destroy_ callback as it introduces problems in async dbus signal
2337 handlers. Fixes NB#66673.
2339 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2341 * examples/hildon-hvolumebar-example.c:
2342 * src/hildon-volumebar.c: Improving the focus handling in the
2343 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2344 set_property accessor so that "mute" property can be actually set. I'm
2345 scared that nobody noticed it's totally broken.
2347 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2349 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2352 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2354 * src/hildon-calendar.c:
2355 * src/hildon-number-editor.c:
2356 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2357 matches the spec of 6 chars per second. Fixes: NB#60489.
2359 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2361 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2362 gtk_style_lookup_color sometime returns FALSE even though color was
2363 found and values were filled properly. Weird. Removing the warning for the
2366 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2368 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2369 expand vertically. Adding some extra space to the find toolbar buttons to
2370 make them thumbable. Fixes NB#66060.
2372 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2374 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2375 popup with "Ok" and "Cancel". Fixes NB#59299.
2377 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2379 * src/hildon-calendar.c: Process all window updates before executing next
2380 timeout. Fixes: NB#54146.
2382 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2388 * debian/changelog: Updating.
2390 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2392 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2393 the client event and ignore it, since we use the delete event to close
2396 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2398 * src/hildon-helper.c: Remove the bogus warning about color not being
2399 found. Fixes NB#58352.
2401 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2403 * examples/Makefile.am:
2404 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2405 HildonSeekbar widget inside a toolbar.
2407 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2409 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2410 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2411 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2412 don't want to be closed by non-temporary windows on map.
2414 Also use G_DEFINE_TYPE instead of manually typed code.
2416 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2423 * debian/rules: Updating.
2425 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2427 * examples/Makefile.am:
2428 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2429 bug NB#61128. Strangely it works.
2431 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2433 * src/hildon-date-editor.c: When the date editor entry has been changed
2434 but the numbers of characters < max, turn off the skip validation flag.
2435 Prevents a situation when we enter first a valid year and later re-write
2436 it with an invalid one. Fixes NB#60154.
2438 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2440 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2441 code dialog. Fixes NB#64355.
2443 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2445 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2446 switching the page. Fixes NB#49374.
2448 * examples/Makefile.am:
2449 * examples/hildon-wizard-dialog-example.c: Adding an example for
2450 HildonWizardDialog that shows how to handle manual sensitivity setting on
2453 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2457 * src/hildon-version.h.in:
2458 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2460 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2462 * src/hildon-volumebar.c: Updating the docs.
2464 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2470 * debian/changelog: Updating.
2472 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2474 * src/hildon-find-toolbar.c:
2475 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2476 selected item: hildon_find_toolbar_set_active,
2477 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2478 hildon_find_toolbar_get_active_iter . They correspond to respective
2479 GtkComboBox functions.
2481 * examples/Makefile.am:
2482 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2485 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2487 * examples/Makefile.am:
2488 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2491 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2492 when font size > 32 and we pack a focusable widget inside. Actually using
2493 the default response would work too, but since we don't show default
2494 response state in any way (no theming) it would not be visible to the
2495 user. Fixes NB#63430.
2497 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2499 * src/hildon-date-editor.c: Adding the missing variable setter in the
2500 set_property handler. Fixes NB#54182.
2502 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2504 * src/hildon-window.h: Changing the long key press time from 1500ms to
2505 800ms as requested in NB#63700. I have a bad feeling about this, let's
2506 see... Fixes NB#63700.
2508 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2510 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2511 hildon_time_picker_map, hildon_time_picker_realize,
2512 hildon_time_picker_style_set): Split the contents of map to more
2513 appropriate functions; set window decorations on realize and update
2514 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2516 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2521 * debian/changelog: Updating.
2523 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2525 * src/Makefile.am: fixed installation of the header files
2527 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2533 * debian/changelog: Updating.
2535 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2537 * configure.ac: Removing some remaining of --enable-xan.
2539 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2541 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2542 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2544 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2545 2.10.12-osso6 because the move-focus signal needs to be available in
2548 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2550 * examples/Makefile.am:
2551 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2552 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2553 fine. Prolly NB#61128 is fixed now.
2555 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2557 * src/hildon-volumebar.c:
2558 * src/hildon-volumebar.h: Adding the
2559 hildon_volumebar_set_range_insensitive_message and
2560 hildon_volumebar_set_range_insensitive_messagef functions to set
2561 insensitive message on the slider of the volumebar. Fixes NB#61129.
2563 * examples/Makefile.am:
2564 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2565 test the new insensitive messsage functionality on HildonVolumebar.
2567 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2569 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2572 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2574 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2575 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2576 button on after clearing the trail.
2578 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2580 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2582 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2584 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2585 by splitting the installed headers in generated and non-generated groups. Use
2586 only the non-generated headers to create the hildon-enum-types.h file.
2588 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2590 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2592 * src/hildon-window.c: Hide the window before performing the destroy.
2593 Should make the app closing a little tiny bit more snappy.
2595 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2597 * src/hildon-seekbar.c: add gtkrange.h header
2598 * src/hildon-caption.c: remove unused variable
2600 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2602 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2605 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2611 * debian/changelog: Updating.
2613 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2615 * src/hildon-window.c (hildon_window_window_state_event,
2616 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2617 escape timeout on focus-out-event rather than notify::is-topmost; the
2618 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2620 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2622 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2623 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2625 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2627 * src/hildon-window: actually, you need to use the macro always, there's
2628 no private pointer in the instance structure. We should have cleaned this up
2629 when we had the chance...
2631 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2633 * src/hildon-window.c: do not get the private date from HildonWindow before
2634 it passes the g_return_if_fail check. Once it's passed the test, there's no
2635 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2636 if you are only going to access the data once. Whitespace cleanups.
2638 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2640 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2641 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2643 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2649 * debian/changelog: Updating.
2651 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2653 * src/hildon-window.c: When destroying the window, remove (if exists) the
2654 escape timeout handler. Fixes #NB59276.
2656 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2658 * src/hildon-banner.c: When realizing the widget, set the window
2659 transiency. Setting the transiency in the gobject constructor is not
2660 good, as the widget is not realized at that point. Fixes: #NB56624.
2662 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2664 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2665 Add padding for future expansions.
2667 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2669 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2670 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2671 will fake an activation on the previous to the last item of the trail, so
2672 the effect can be overrided by the developer as usual.
2673 Also change the callback for the back button to do the same thing, so its
2674 effect can be overrided too. Fixes: NB#58982
2676 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2678 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2679 HildonCaption. Fixes NB#52379.
2681 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2683 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2684 the internal state of the trail after the user has had the chance of executing
2685 his handler for the signal. Specifically, it may happen that the activated button
2686 is removed and the user still lets the default handler run. This would segfault
2689 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2691 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2692 scrollbar to the preview dialog. Fixes NB#54147.
2694 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2696 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2697 max/min year properties can be altered, so the client can modify it
2698 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2700 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2702 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2703 hildonlike by default. Fixing a problem with disappearing arrows when
2704 scrolling through months and years. Fixes NB#54127.
2706 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2708 * examples/hildon-date-editor-example.c: Adding error callback to the date
2711 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2717 * configure.ac: Updating.
2719 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2721 * configure.ac: Adding a special '--enable-xan' configure option that
2722 turns off the -Werror compilation setting. Usefull for development.
2724 * src/hildon-calendar.c:
2725 * src/hildon-number-editor.c:
2726 * src/hildon-time-picker.c: Adding the 5* multiplier to
2729 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2731 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2732 instead of g_object_ref + gtk_object_sink.
2734 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2740 * debian/changelog: Updating.
2742 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2744 * src/hildon-color-chooser-dialog.c:
2745 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2746 straight from Tommi labs.
2748 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2750 * examples/hildon-finger-example.c: Correcting the header file path.
2752 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2753 the changed signal. Fixes a small memory leak.
2755 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2759 * src/hildon-banner.c: Importing several usefull fixes from the
2760 ubuntu-mobile branch.
2762 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2764 * examples/Makefile.am:
2765 * examples/hildon-finger-example.c: Adding a finger-checking code
2768 * src/hildon-font-selection-dialog.c: Do not allocate the color
2769 structure using the g_new. Fixes NB#54061.
2771 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2773 * src/hildon-helper.c: Correcting tabs in file.
2775 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2777 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2778 control the visibility of the children.
2780 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2782 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2788 * debian/changelog: Updating.
2790 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2792 * src/hildon-bread-crumb-trail.c:
2793 (hildon_bread_crumb_trail_size_allocate):
2795 Make the back button always a square.
2797 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2799 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2800 from the .c file as it's a private file.
2802 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2804 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2805 uses slightly bigger height.
2807 * src/hildon-font-selection-dialog.c: Adding some checks before
2808 freeing memory in the font selection dialog.
2810 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2812 * src/hildon-font-selection-dialog.c: Adding a small check when
2815 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2816 buttons sensitivity on page switching.
2818 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2820 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2821 internal details of adding a bread crumb to the trail.
2823 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2829 * debian/changelog: Updating.
2831 * src/hildon-bread-crumb-trail.h:
2832 * src/hildon-bread-crumb.h: Changing the API guard to
2833 HILDON_ENABLE_UNSTABLE_API.
2835 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2843 * src/hildon-helper.h: Updating.
2845 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2853 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2857 * src/hildon-helper.h: Small fix to make the package actually compile.
2859 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2861 * src/hildon-bread-crumb-trail.h:
2862 * src/hildon-bread-crumb.h:
2864 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2865 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2867 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2869 * examples/hildon-bread-crumb-trail-example.c:
2871 * src/hildon-bread-crumb-trail.c:
2872 * src/hildon-bread-crumb-trail.h:
2873 * src/hildon-bread-crumb.c:
2874 * src/hildon-bread-crumb.h:
2875 * src/hildon-marshalers.list:
2876 * src/hildon-bread-crumb-widget.c:
2877 * src/hildon-bread-crumb-widget.h:
2879 Slight change in the widget design. The bread crumb trail API is
2880 unchanged, but HildonBreadCrumb is now an interface. A *private*
2881 implementation, hildon-bread-crumb-widget, is provided and used
2882 internally by the trail for the push_text/push_icon functions.
2884 The generic push API is still available, so anyone can implement
2885 and use its own bread crumb widget.
2887 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2889 * debian/rules: Fixing the shlibs.
2891 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2893 * src/hildon-banner.c: Fixing a problem with timed banners having
2894 their parrent destroyed before they are.
2896 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2898 * src/hildon-bread-crumb.c:
2899 * src/hildon-bread-crumb.h:
2901 Make the get_natural_size function a vfunc.
2903 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2905 * src/hildon-bread-crumb.c:
2906 * src/hildon-bread-crumb-trail.c:
2910 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2917 * debian/changelog: Updating for release.
2919 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2921 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2922 don't leak the pango layout.
2924 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2927 * examples/hildon-bread-crumb-trail-example.c:
2931 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2933 * debian/changelog: Removing the bug-fixed entries that were actually
2934 resolved as WONTFIX.
2936 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2939 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2941 * src/hildon-bread-crumb-trail.c:
2942 * src/hildon-bread-crumb-trail.h:
2943 * src/hildon-bread-crumb.c:
2944 * src/hildon-bread-crumb.h:
2948 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2950 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2951 until it's passed the type check.
2953 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2955 * examples/hildon-bread-crumb-trail-example.c
2959 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2961 * examples/Makefile.am
2962 * examples/hildon-bread-crumb-trail-example.c
2964 * src/hildon-bread-crumb-trail.c
2965 * src/hildon-bread-crumb-trail.h
2966 * src/hildon-bread-crumb.c
2967 * src/hildon-bread-crumb.h
2969 New HildonBreadCrumbTrail widget.
2971 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2973 * src/hildon-range-editor.c (hildon_range_editor_init),
2974 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2975 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2976 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2977 hildon_time_editor_class_init, hildon_time_editor_init),
2978 src/hildon-get-password-dialog.c (invalid_input,
2979 hildon_get_password_set_property, hildon_get_password_get_property,
2980 create_contents, hildon_get_password_dialog_set_max_characters),
2981 src/hildon-set-password-dialog.c (create_contents),
2982 src/hildon-date-editor.c (hildon_date_editor_init),
2983 src/hildon-login-dialog.c (hildon_login_dialog_init),
2984 src/hildon-number-editor.c (hildon_number_editor_init),
2985 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2986 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2987 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2988 configure option and adding the respective checks in the code.
2989 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2990 hildon_calendar_drag_data_received): fixed some build warnings.
2992 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2994 * debian/changelog: A 1.0.0 release notes.