1 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c: Minor documentation update.
5 2008-08-25 Alberto Garcia <agarcia@igalia.com>
7 * src/hildon-app-menu.c
8 * examples/hildon-app-menu-example.c (create_menu): Update
9 examples and documentation to explain how to connect callbacks.
11 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
13 * examples/hildon-button-example.c
14 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
15 hildon_stackable_window_new instead of gtk_window_new
17 2008-08-22 Alejandro G. Castro <alex@igalia.com>
19 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
20 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
21 (hildon_pannable_area_set_property),
22 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
23 (hildon_pannable_area_unrealize),
24 (hildon_pannable_area_size_request),
25 (hildon_pannable_area_size_allocate),
26 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
27 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
28 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
29 (hildon_pannable_area_initial_effect),
30 (hildon_pannable_area_redraw),
31 (hildon_pannable_area_scroll_indicator_fade),
32 (hildon_pannable_area_expose_event),
33 (hildon_pannable_area_get_topmost), (synth_crossing),
34 (hildon_pannable_area_button_press_cb),
35 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
36 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
37 (hildon_pannable_area_motion_notify_cb),
38 (hildon_pannable_area_button_release_cb),
39 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
40 (hildon_pannable_area_remove),
41 (hildon_pannable_calculate_vel_factor): Widget refactorization,
42 chage the code layout to a more GtkWidget like. Review the use of
45 2008-08-21 Alejandro G. Castro <alex@igalia.com>
47 * examples/hildon-pannable-area-example-4.c,
48 (main): Modified the name of the hindicator_mode to
51 * src/hildon-pannable-area.c,
52 (hildon_pannable_area_class_init),
53 (hildon_pannable_area_motion_notify_cb),
54 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
55 we have reduced the amount of signals and managed reviewed its
56 rationale. Changed the default decelerate value.
58 (hildon_pannable_area_add),
59 (hildon_pannable_area_redraw): Refactored functions.
61 (hildon_pannable_area_init),
62 (hildon_pannable_area_get_property),
63 (hildon_pannable_area_set_property):
64 (hildon_pannable_draw_vscroll),
65 (hildon_pannable_draw_hscroll),
66 (hildon_pannable_area_initial_effect),
67 (hildon_pannable_area_expose_event),
68 (hildon_pannable_area_scroll),
69 (hildon_pannable_area_button_press_cb),
70 (hildon_pannable_area_realize): Replaced the names hindicator_mode
71 and vindicator_mode with hscrollbar_policy and
72 vscrollbar_policy. Replaced hscroll and vscroll with
73 hscroll_visible and vscroll_visible.
75 (hildon_pannable_area_refresh): Refactor the function, remove
76 variables and check the calls to this function, added resize
77 conditions in case the children change their layout.
79 (hildon_pannable_area_size_request): Added more detailed
80 size_request calculation.
83 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
85 * src/hildon-color-chooser.c
86 (init_borders): use the correct gtk_border_free instead of g_free, to
87 avoid a crash when this widget is used (ie: the three color selection
90 2008-08-20 Alejandro G. Castro <alex@igalia.com>
92 * src/hildon-check-button.c,
93 (hildon_check_button_set_active): Fixed problem when setting the
94 active value, the widget was not redrawn.
96 2008-08-20 Alejandro G. Castro <alex@igalia.com>
98 * src/hildon-pannable-area.c,
99 (hildon_pannable_area_refresh),
100 (hildon_pannable_area_scroll),
101 (hildon_pannable_area_motion_notify_cb): Small code style change.
103 (hildon_pannable_area_class_init): Default initial_hint set to
104 FALSE, it is not in the specs.
106 (hildon_pannable_area_initial_effect),
107 (hildon_pannable_area_expose_event),
108 (hildon_pannable_area_map),
109 (hildon_pannable_area_init): Moved the launching point of the
110 initial effect, it was in map but the sizes where not correct in
111 that method so we do not know if we have the reproduce it. Now it
112 is placed in the expose_event method and uses a variable to
113 reproduce it just once.
115 2008-08-19 Alejandro G. Castro <alex@igalia.com>
117 * src/hildon-pannable-area.c,
118 (hildon_pannable_draw_vscroll),
119 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
120 position allowed for the scrollbars.
122 (hildon_pannable_area_size_allocate): Small style change.
124 2008-08-19 Alejandro G. Castro <alex@igalia.com>
126 * src/hildon-pannable-area.c,
127 (hildon_pannable_area_scroll_indicator_fade),
128 (hildon_pannable_area_button_press_cb),
129 (hildon_pannable_area_button_release_cb),
130 (hildon_pannable_area_scroll_cb),
131 (hildon_pannable_area_expose_event),
132 (hildon_pannable_area_init): Added the define parameter
133 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
134 and refactor the fade variable.
136 2008-08-19 Alejandro G. Castro <alex@igalia.com>
138 * src/hildon-pannable-area.c,
139 (hildon_pannable_area_redraw),
140 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
141 lines, we were reimplemeting the redraw code.
143 2008-08-18 Alejandro G. Castro <alex@igalia.com>
145 * src/hildon-pannable-area.c,
146 (hildon_pannable_area_scroll_cb),
147 (hildon_pannable_area_realize),
148 (hildon_pannable_area_class_init): Added scroll_event management
149 for pannable area, now we can scroll the usual desktop method.
151 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
152 initialization of the parameters should depend on idle_id.
154 (hildon_pannable_area_init),
155 (hildon_pannable_area_map): Small code style modifications
157 2008-08-18 Alejandro G. Castro <alex@igalia.com>
159 * src/hildon-pannable-area.c
160 (hildon_pannable_area_button_press_cb),
161 (hildon_pannable_area_motion_notify_cb),
162 (hildon_pannable_area_button_release_cb),
163 (hildon_pannable_area_size_allocate),
164 (hildon_pannable_area_scroll_to): Improved the timeouts
165 management, we avoid creating them each time.
167 2008-08-14 Alejandro G. Castro <alex@igalia.com>
169 * src/hildon-pannable-area.c:
170 (hildon_pannable_area_refresh),
171 (hildon_pannable_area_motion_notify_cb),
172 (hildon_pannable_area_class_init):
173 * src/hildon-pannable-area.h:
174 * src/hildon-touch-selector.c
175 (_create_new_column):
176 * examples/hildon-pannable-area-example-4.c:
177 (horizontal_movement),
180 Replaced the names of enums in the HildonPannableArea:
181 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
182 HILDON_MOVEMENT_MODE_*
183 - HILDON_PANNABLE_AREA_MOV_* ->
185 - Removed HildonPannableAreaIndicatorMode, now we
188 2008-08-14 Alberto Garcia <agarcia@igalia.com>
190 * examples/hildon-pannable-area-touch-grid-example.c
191 * examples/hildon-pannable-area-touch-list-example.c: Fix
192 compilation warnings.
194 2008-08-14 Alberto Garcia <agarcia@igalia.com>
196 * src/hildon-gtk.c (hildon_gtk_button_new)
197 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
198 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
199 images overriding the value of the "gtk-button-images" setting.
201 2008-08-14 Alberto Garcia <agarcia@igalia.com>
203 * src/hildon-check-button.c (hildon_check_button_new):
204 Instead of using a custom container, display the label and the
205 checkbox using the standard GtkButton API.
207 * examples/hildon-check-button-example.c (main): Don't use
208 hildon_check_button_set_label() anymore
210 * src/hildon-check-button.h
211 * src/hildon-check-button.c
212 (hildon_check_button_set_label, hildon_check_button_get_label):
213 Set as deprecated, now we're using gtk_button_{get,set}_label()
215 2008-08-14 Alejandro G. Castro <alex@igalia.com>
217 * src/hildon-pannable-area.c,
218 (hildon_pannable_area_get_topmost): Fixed bug with click in the
219 GtkTreeview first line we detected it after the inclusion of the
220 GtkWindowImpl in gtk+. We now check if the window is visible, not
221 just if the pointer is over the window.
222 (hildon_pannable_axis_scroll),
223 (hildon_pannable_area_expose_event): Small style changes.
225 2008-08-13 Alberto Garcia <agarcia@igalia.com>
227 * src/hildon-button.c: Update documentation.
229 2008-08-13 Alberto Garcia <agarcia@igalia.com>
231 * examples/hildon-button-example.c: Add a switch to show images in
234 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
236 * doc/hildon-docs.sgml: Some docs reorganization.
238 2008-08-12 Alberto Garcia <agarcia@igalia.com>
240 * examples/hildon-pannable-area-touch-list-example.c
242 * examples/hildon-pannable-area-touch-grid-example.c
243 (create_icon_view): Use gtk_{tree,icon}_view_new() and
244 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
245 Fix memory leak when setting the tree model.
247 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
251 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
253 * doc/hildon.types: Remove duplicated hildon_window_get_type
254 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
255 documentation comment.
257 2008-08-12 Alberto Garcia <agarcia@igalia.com>
259 * doc/Makefile.am: Complete list of private headers.
261 2008-08-12 Alberto Garcia <agarcia@igalia.com>
263 * doc/hildon-docs.sgml
264 * src/hildon-app-menu.c
265 * src/hildon-bread-crumb.c
266 * src/hildon-button.c
268 * src/hildon-program.c
269 * src/hildon-stackable-window.c
270 * src/hildon-window.c: Lots of documentation updates.
272 2008-08-12 Alberto Garcia <agarcia@igalia.com>
274 * debian/control: Depend on Gtk 2:2.12.9-0osso3
276 * configure.ac: Require Gtk+ 2.12.9 at least
278 2008-08-12 Alejandro G. Castro <alex@igalia.com>
280 * src/hildon-pannable-area.c
281 (hildon_pannable_area_scroll_indicator_fade),
282 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
283 to protect the return of this timeout callbacks, avoiding deadlocks.
285 2008-08-12 Christian Dywan <christian@imendio.com>
288 * src/hildon-*.h: Ensure a consistent include order,
289 include <gtk/gtk.h> instead of particular files and
290 only include the topmost header in the gtk stack. See NB #39857
292 2008-08-12 Christian Dywan <christian@imendio.com>
294 * src/hildon-picker-dialog.c
295 * src/hildon-touch-selector.c: Fix warnings about unused and
296 uninitialized variables.
298 2008-08-11 Alberto Garcia <agarcia@igalia.com>
300 * examples/Makefile.am
301 * examples/hildon-check-button-example.c: Example of the hildon
304 2008-08-11 Alberto Garcia <agarcia@igalia.com>
306 * src/hildon-window.h
307 * src/hildon-window.c (hildon_window_class_init)
308 (hildon_window_unset_program): Don't make
309 hildon_window_unset_program a virtual function anymore.
311 * src/hildon-stackable-window.c: Update documentation
313 2008-08-11 Alberto Garcia <agarcia@igalia.com>
316 * doc/hildon-docs.sgml
317 * doc/visual_index.xml
318 * src/hildon-defines.c
320 * src/hildon-helper.c
321 * src/hildon-range-editor.c: Lots of documentation fixes.
323 2008-08-11 Alberto Garcia <agarcia@igalia.com>
325 * examples/hildon-picker-button-multicolumn-example.c
326 (create_touch_selector): Fix compilation warning.
328 2008-08-11 Alberto Garcia <agarcia@igalia.com>
330 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
331 (hildon_pannable_area_button_release_cb)
332 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
334 2008-08-11 Alberto Garcia <agarcia@igalia.com>
336 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
341 * src/hildon-bread-crumb-trail.h
342 * src/hildon-date-editor.c
343 * src/hildon-date-selector.c
344 * src/hildon-pannable-area.c
345 * src/hildon-picker-dialog.c
346 * src/hildon-time-selector.c
347 * src/hildon-touch-selector-entry.c
348 * src/hildon-touch-selector.c
349 * src/hildon-touch-selector.h: Misc documentation fixes
351 2008-08-11 Alberto Garcia <agarcia@igalia.com>
353 * examples/hildon-date-editor-example.c (main): Updated date
356 * examples/hildon-note-example.c (on_confirmation_clicked):
357 Updated confirmation note example.
359 * src/hildon-date-editor.c
360 * src/hildon-note.c: Updated sample programs in documentation.
363 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
365 * src/hildon-date-button.h:
366 * src/hildon-picker-button.h:
367 * src/hildon-time-button.c:
368 * src/hildon-time-button.h:
370 Some declarations changes to allow gtk-doc to document the widgets
373 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
375 * src/hildon-date-button.c: Document the widget.
376 * src/hildon-time-button.c: Document the widget.
378 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
380 * src/hildon-picker-button.c: Document the widget.
381 * src/hildon-touch-selector-entry.c: Document the widget.
383 2008-08-08 Alberto Garcia <agarcia@igalia.com>
385 * doc/hildon-docs.sgml
388 * src/hildon-check-button.h
389 * src/hildon-check-button.c: New functions to create the Hildon
393 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
395 2008-08-08 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-button.h
398 * src/hildon-button.c
399 (hildon_button_add_title_size_group)
400 (hildon_button_add_value_size_group)
401 (hildon_button_add_image_size_group)
402 (hildon_button_add_size_groups): New functions to set size groups
403 for the button labels and image.
404 (hildon_button_new_full): Removed
406 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
408 * src/hildon-time-selector.c
409 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
410 in order to avoid a crash if gconf is not available
412 2008-08-08 Alberto Garcia <agarcia@igalia.com>
414 * src/hildon-button.c (hildon_button_set_arrangement)
415 (hildon_button_construct_child): Don't construct the button child
416 before setting the arrangement.
418 2008-08-08 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-program-private.h
421 * src/hildon-program.c
422 * src/hildon-program.h
423 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
424 (hildon_program_peek_window_stack)
425 (hildon_program_pop_window_stack)
426 (hildon_program_go_to_root_window): HildonProgram now has a
427 separate list for stackable windows. Functions are provided to
428 manage that list with a stack-like API.
430 * src/hildon-stackable-window.c: Stackable window management is
431 now much simpler with the new HildonProgram API. Windows no
432 longer need to be manually added to the program, they're
433 automatically pushed to the top of the stack when shown.
435 * examples/hildon-stackable-window-example.c: Updated example to
436 reflect the API changes.
438 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-touch-selector.c: Comment out unimplemented
441 hildon_touch_selector_insert_column() to avoid a compile warning.
443 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
446 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
447 (hildon_touch_selector_set_column_selection_mode),
448 (_hildon_touch_selector_set_model),
449 (hildon_touch_selector_set_model):
451 Complete review of HildonTouchSelector documentation.
453 2008-08-08 Alberto Garcia <agarcia@igalia.com>
455 * doc/hildon-docs.sgml
459 * src/hildon-gtk.c: Convenience functions for standard Gtk
460 widgets, used to easily perform frequent operations.
462 * src/hildon-button-helpers.h
463 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
465 * src/hildon-helper.h
466 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
467 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
469 * src/hildon-button.h
470 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
472 2008-08-07 Alberto Garcia <agarcia@igalia.com>
474 * src/hildon-button.c (hildon_button_init)
475 (hildon_button_set_arrangement, hildon_button_construct_child):
476 Pack the image and the labels inside the same GtkAlignment so
477 gtk_button_set_alignment() can be used
479 2008-08-07 Alberto Garcia <agarcia@igalia.com>
481 * src/hildon-button.h
482 * src/hildon-button.c
483 (hildon_button_init, hildon_button_set_image)
484 (hildon_button_set_image_position)
485 (hildon_button_construct_child): New functions to add an image to
488 2008-08-07 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-date-button.c
491 * src/hildon-picker-button.c
492 * src/hildon-time-button.c
493 * src/hildon-button.c:
494 (hildon_button_class_init): "size-flags" renamed to "size"
495 (hildon_button_set_title): Hide the title label if set to NULL.
497 2008-08-07 Alberto Garcia <agarcia@igalia.com>
499 HildonButtonFlags split into HildonButtonArrangement (to set the
500 button layout) and HildonSizeType (which can be used for any
503 * src/hildon-button.h
504 * src/hildon-button.c
505 (hildon_button_class_init)
506 (hildon_button_set_arrangement)
507 (hildon_button_set_property): New "size-flags"
508 property. "arrangement-flags" renamed to "arrangement".
509 (hildon_button_new, hildon_button_new_with_text)
510 (hildon_button_new_full): Constructors updated to reflect type changes.
512 * src/hildon-helper.h
513 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
514 to set the size of a widget.
518 * src/hildon-button-helpers.c
519 * src/hildon-button-helpers.h: New hildon-button-helpers module.
521 * src/hildon-date-button.c
522 * src/hildon-date-button.h
523 * src/hildon-picker-button.c
524 * src/hildon-picker-button.h
525 * src/hildon-time-button.c
526 * src/hildon-time-button.h: Updated widgets to reflect
527 HildonButton API changes.
529 * examples/hildon-button-example.c
530 * examples/hildon-date-button-example.c
531 * examples/hildon-picker-button-example.c
532 * examples/hildon-picker-button-multicolumn-example.c
533 * examples/hildon-time-button-example.c
534 * examples/hildon-touch-selector-entry-example.c
535 * examples/hildon-touch-selector-example.c: Updated examples to
536 reflect HildonButton API changes.
538 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
540 * doc/hildon-docs.sgml:
542 * examples/Makefile.am:
543 * examples/hildon-touch-selector-entry-example.c:
545 * src/hildon-touch-selector-entry.c:
546 * src/hildon-touch-selector-entry.h:
549 Moved HildonTouchSelectorEntry from sandbox. Added its
550 documentation and examples.
552 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
554 * src/hildon-touch-selector.h:
555 * examples/hildon-picker-button-multicolumn-example.c:
556 (hildon_touch_selector_append_text_column): Add a gboolean
557 parameter to determine if text must be centered in the column.
559 * src/hildon-date-selector.c: (hildon_date_selector_init):
560 * src/hildon-time-selector.c: (hildon_time_selector_init):
561 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
562 (create_touch_selector): Update widgets and example to reflect
565 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
567 * src/hildon-touch-selector.c:
568 (hildon_touch_selector_set_active_iter): Set also the cursor in
571 2008-08-06 Alberto Garcia <agarcia@igalia.com>
573 * doc/hildon-docs.sgml
576 * src/hildon-toggle-button.c
577 * src/hildon-toggle-button.h
578 * src/hildon.h: Removed HildonToggleButton widget, a derived
579 class is not necessary for this.
581 2008-08-06 Alejandro G. Castro <alex@igalia.com>
583 * src/hildon-pannable-area.c,
584 (hildon_pannable_area_realize),
585 (hildon_pannable_area_size_allocate): Code refactoring, add tests
588 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
590 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
591 "done" button the default widget for the dialog.
593 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
595 * src/hildon-touch-selector.c:
596 (hildon_touch_selector_class_init),
597 (hildon_touch_selector_get_property),
598 (_hildon_touch_selector_set_model),
599 (_hildon_touch_selector_has_multiple_selection),
600 (hildon_touch_selector_has_multiple_selection):
601 Add a "has-multiple-selection" property with a virtual
602 has_multiple_selection() method to allow derived classes to
603 override the default value for it. See the method and property
604 documentation for details.
606 * src/hildon-touch-selector.h: Add the new API.
608 * src/hildon-picker-dialog.c: (requires_done_button): Call
609 hildon_touch_selector_has_multiple_selection() instead of
610 determining the need for a button itself.
612 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
614 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
615 (_hildon_touch_selector_set_model),
616 (hildon_touch_selector_set_model): Move working code to
617 _hildon_touch_selector_set_mode(). Call the class method instead.
619 * src/hildon-touch-selector.h: Add (*set_model) to
620 HildonTouchSelectorClass.
622 Make hildon_touch_selector_set_model() a virtual method, so that
623 derived classes can extend it and do fancy stuff with the model.
625 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
627 * configure.ac: Set back the tarname in AC_INIT to hildon.
629 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
633 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
634 instead of libesd (NB#86876). Volume handling is still an open issue.
636 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
639 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
642 (hildon_touch_selector_append_column): Make the widget a GtkVBox
643 derived class to ease placement of an entry widget in
644 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
645 end, where the selector columns are packed now.
647 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-picker-button.c: Removed the simple _text() API.
650 * src/hildon-picker-button.h: Likewise.
652 * src/hildon-touch-selector.h:
653 * src/hildon-touch-selector.c:
654 (hildon_touch_selector_new_text),
655 (hildon_touch_selector_append_text),
656 (hildon_touch_selector_prepend_text),
657 (hildon_touch_selector_insert_text):
659 Moved the simple _text() API from HildonPickerButton to
660 HildonTouchPicker, to provide better escalability and not to tie
661 that API to HildonPickerButton.
663 * examples/hildon-picker-button-example.c: (main): Example updated.
665 2008-07-31 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-button.c: Updated documentation.
669 * examples/hildon-button-example.c: Add the posibility to create
670 the buttons using horizontal layout for title and value.
672 2008-07-31 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-app-menu-private.h
675 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
676 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
677 GtkSizeGroup for the filters, use the 'homogeneous' property of
680 2008-07-31 Alberto Garcia <agarcia@igalia.com>
682 * examples/hildon-button-example.c: Updated example.
684 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
686 * doc/hildon-docs.sgml:
689 Update documentation.
691 * examples/Makefile.am: Update renamed examples.
693 * examples/hildon-picker-button-multicolumn-example.c:
694 (create_touch_selector), (main): Update after the rename.
696 * examples/hildon-touch-picker-example.c: Removed.
697 * examples/hildon-touch-selector-example.c: (value_changed),
698 (create_selector), (get_visible_content), (main): Renamed from
699 hildon-touch-picker-example.c
701 * src/Makefile.am: Updated renamed files.
703 * src/hildon-date-button.c: (hildon_date_button_init),
704 (hildon_date_button_get_date), (hildon_date_button_set_date):
705 * src/hildon-date-selector.c: (hildon_date_selector_init),
706 (_custom_print_func), (_update_day_model),
707 (_manage_selector_change_cb),
708 (hildon_date_selector_select_current_date),
709 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
710 * src/hildon-date-selector.h:
711 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
712 (hildon_picker_button_set_property),
713 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
714 (hildon_picker_button_init), (hildon_picker_button_new_text),
715 (hildon_picker_button_append_text),
716 (hildon_picker_button_prepend_text),
717 (hildon_picker_button_insert_text),
718 (hildon_picker_button_set_selector),
719 (hildon_picker_button_get_selector):
720 * src/hildon-picker-button.h:
721 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
722 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
723 (_update_title_on_selector_changed_cb), (requires_done_button),
724 (_hildon_picker_dialog_set_selector),
725 (hildon_picker_dialog_set_selector),
726 (hildon_picker_dialog_get_selector):
727 * src/hildon-picker-dialog.h:
728 * src/hildon-time-button.c: (hildon_time_button_init),
729 (hildon_time_button_get_time), (hildon_time_button_set_time):
730 * src/hildon-time-selector.c: (hildon_time_selector_init),
731 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
732 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
733 * src/hildon-time-selector.h:
736 Massive code updates after the rename.
738 * src/hildon-touch-picker.c: Removed.
739 * src/hildon-touch-picker.h: Removed.
741 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
742 (hildon_touch_selector_init), (hildon_touch_selector_map),
743 (hildon_touch_selector_remove), (_default_print_func),
744 (_selection_changed_cb), (_create_new_column),
745 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
746 (hildon_touch_selector_append_text_column),
747 (hildon_touch_selector_remove_column),
748 (hildon_touch_selector_set_column_attributes),
749 (hildon_touch_selector_insert_column),
750 (hildon_touch_selector_get_num_columns),
751 (hildon_touch_selector_get_column_selection_mode),
752 (hildon_touch_selector_set_column_selection_mode),
753 (hildon_touch_selector_set_print_func),
754 (hildon_touch_selector_get_print_func),
755 (hildon_touch_selector_get_active_iter),
756 (hildon_touch_selector_set_active_iter),
757 (hildon_touch_selector_get_selected_rows),
758 (hildon_touch_selector_get_model),
759 (hildon_touch_selector_set_model),
760 (hildon_touch_selector_get_current_text),
761 (_hildon_touch_selector_center_on_selected_items):
762 * src/hildon-touch-selector.h: Renamed from
763 hildon-touch-picker.[ch]
765 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
766 references, code examples, and related documentation.
768 2008-07-30 Alberto Garcia <agarcia@igalia.com>
770 * doc/hildon-docs.sgml
773 * src/hildon-toggle-button.c
774 * src/hildon-toggle-button.h
775 * src/hildon.h: New HildonToggleButton widget.
777 2008-07-30 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-button.c: Add API documentation.
780 (hildon_button_set_size_groups): Check input parameters
782 2008-07-30 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c
785 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
786 effect after reaching the movement thredshold. This way we start
787 using the distance after passing the thredshold.
789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
791 * src/hildon-button.c: (hildon_button_set_property): Use the
792 appropriate g_value_get_flags() method.
794 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
796 * doc/hildon-docs.sgml:
799 Add the touch pickers, picker dialogs, and picker button widgets
800 to the documentation.
802 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-button.c: (hildon_button_set_property),
805 (hildon_button_class_init): Make "arrangement-flags" a proper
806 G_TYPE_FLAGS derived property.
808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
810 * examples/Makefile.am: Add below examples.
811 * examples/hildon-date-button-example.c:
812 * examples/hildon-picker-button-example.c:
813 * examples/hildon-picker-button-multicolumn-example.c:
814 * examples/hildon-time-button-example.c:
815 * examples/hildon-touch-picker-example.c:
817 Add examples for the recently added touch pickers,
818 picker dialogs, and picker button widgets.
820 2008-07-29 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-button.c: Add some API documentation
824 2008-07-29 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-button.h
827 * src/hildon-button.c
829 (hildon_button_new_with_text): New constructor to create a button
831 (hildon_button_init, hildon_button_set_arrangement)
832 (hildon_button_set_title, hildon_button_set_value)
833 (hildon_button_set_text)
834 (hildon_button_construct_child): Hide the value when it's not used
835 so the rest of the text is properly aligned.
836 Allow creating buttons with arbitrary widgets inside (not just
839 * examples/hildon-button-example.c (vertical_buttons_window)
840 (horizontal_buttons_window): Update example to use new API.
842 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
844 * src/Makefile.am: Added HildonTimeButton.
845 * src/hildon-time-button.c: Added missing LGPL header.
846 * src/hildon-time-button.h: Added missing LGPL header.
847 * src/hildon.h: Add hildon-time-button.h
849 Copied HildonTimeButton from sandbox to trunk. Future work on this
850 widget must take place in trunk.
852 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
854 * src/Makefile.am: Added HildonDateButton.
855 * src/hildon-date-button.c: Update includes.
856 * src/hildon.h: Add hildon-date-button.h
858 Copied HildonDateButton from sandbox to trunk. Future work on this
859 widget must take place in trunk.
861 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
863 * src/Makefile.am: Added HildonPickerButton.
864 * src/hildon-picker-button.h: Update includes.
865 * src/hildon.h: Add hildon-picker-button.h
867 Copied HildonPickerButton from sandbox to trunk. Future work on
868 this widget must take place in trunk.
870 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
872 * src/Makefile.am: Added HildonPickerDialog.
873 * src/hildon-picker-dialog.c: Update includes.
874 * src/hildon.h: Add hildon-picker-dialog.h
876 Copied HildonPickerDialog from sandbox to trunk. Future work
877 on this widget must take place in trunk.
879 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
881 * src/Makefile.am: Added HildonTimeSelector.
882 * src/hildon.h: Add hildon-time-selector.h
884 Copied HildonTimeSelector widget from sandbox to trunk. Future
885 work on this widget must happen in trunk.
887 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
889 * src/Makefile.am: Added HildonDateSelector.
890 * src/hildon.h: Add hildon-date-selector.h
892 Copied HildonDateSelector widget from sandbox to trunk. Future
893 work on this widget must happen in trunk.
895 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
897 * src/Makefile.am: Added HildonTouchPicker.
898 * src/hildon-touch-picker.c: Update includes.
899 * src/hildon.h: Add hildon-touch-picker.h
901 Copied HildonTouchPicker widget from sandbox to trunk. Future work
902 on this widget must happen in trunk.
904 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
906 * src/hildon-pannable-area.c:
907 (hildon_pannable_area_motion_notify_cb): Fix a typo.
909 2008-07-29 Alberto Garcia <agarcia@igalia.com>
911 * examples/hildon-app-menu-example.c (main): Let the window
914 2008-07-29 Alejandro G. Castro <alex@igalia.com>
916 * src/hildon-pannable-area.c
917 (hildon_pannable_area_class_init): Set the min value of the
918 overshoot properties to zero, which points out that not
919 overshooting allowed.
921 2008-07-29 Alejandro G. Castro <alex@igalia.com>
923 Modified the procedure to get the widget at a point inside the
924 pannable area when using the movement type signals. Now the user
925 has to call a function to get the child, that way we just
926 calculate the child in case the user really want to use it and not
929 * src/hildon-marshalers.list: Modified the marshallers, now we do
930 not have the widget as a parameter.
932 * src/hildon-pannable-area.c
933 (hildon_pannable_area_motion_notify_cb),
934 (hildon_pannable_area_class_init),
935 (hildon_pannable_get_child_widget_at): Removed the widget
936 parameter from the signal callback. We have also refactored the
937 emission of the signals.
939 * src/hildon-pannable-area.h: Added a new method to the API to
940 calculate a widget at a point inside the pannable area,
941 hildon_pannable_get_child_widget_at.
943 * examples/hildon-pannable-area-example-4.c
944 (horizontal_movement): Modified the example to use the new API,
945 added condition to control which widget is under the event. This
946 way we can avoid scrolling laterally over other widgets.
948 2008-07-29 Alejandro G. Castro <alex@igalia.com>
950 * src/hildon-pannable-area.c
951 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
952 modes, we stop getting the pointer events due to returning the
953 callback without properly calling the get pointer again. Fixed
954 also an error using the hscroll and vscroll.
956 2008-07-28 Alberto Garcia <agarcia@igalia.com>
958 * src/hildon-app-menu-private.h
959 * src/hildon-app-menu.c (hildon_app_menu_button_press)
960 (hildon_app_menu_button_release, hildon_app_menu_init)
961 (hildon_app_menu_class_init): Don't hide the menu on button
962 release if the user didn't press outside first.
964 * src/hildon-window.h
965 * src/hildon-window.c (hildon_window_toggle_menu)
966 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
967 hildon_window_toggle_menu a virtual function for the stackable
968 window to override it.
970 * src/hildon-stackable-window.h
971 * src/hildon-stackable-window-private.h
972 * src/hildon-stackable-window.c
973 (hildon_stackable_window_realize)
974 (hildon_stackable_window_finalize)
975 (hildon_stackable_window_class_init)
976 (hildon_stackable_window_init)
977 (hildon_stackable_window_set_main_menu): New function to set the
978 app menu of a HildonStackableWindow.
980 * examples/hildon-app-menu-example.c: Remove the button to show
981 the app menu, now it'll be shown when clicking on the title bar
984 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
986 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
987 set the widget name if the arrangement flags do not specify
990 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
992 * src/hildon-button.c: (hildon_button_set_property),
993 (hildon_button_class_init), (hildon_button_new_full),
994 (hildon_button_set_arrangement): Added "arrangement-flags"
997 Make the HildonButtonFlags a construction-only property, to allow
998 subclasses to set them properly.
1000 2008-07-21 Tim Janik <timj@imendio.com>
1002 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1003 insertion position after backspace, so additional digits are appended,
1006 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1008 * src/hildon-pannable-area.c,
1009 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1010 TODO list, it was complete and removed the g_debug and g_print
1013 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1015 Added the movement modes to the hildon-pannable-area, with this
1016 modes the developers can control in which directions the widget
1017 can scroll. They can also connect to signals in order to do
1018 something when that happens, allowing applications scroll. There
1019 is an example uploaded showing how to use it.
1021 * examples/Makefile.am:
1022 * examples/hildon-pannable-area-example-4.c: Added this example of
1023 an application using the modes.
1025 * src/hildon-marshalers.list: Added a new marshaller for the new
1028 * src/hildon-pannable-area.h: Added new enumerations and flags in
1029 order to control the movement modes and the new signals to warn
1030 about the movements in the area.
1032 * src/hildon-pannable-area.c:
1033 (hildon_pannable_axis_scroll),
1034 (hildon_pannable_area_scroll),
1035 (hildon_pannable_area_motion_notify_cb),
1036 (hildon_pannable_area_get_property),
1037 (hildon_pannable_area_set_property),
1038 (hildon_pannable_area_map),
1039 (hildon_pannable_area_class_init),
1040 (hildon_pannable_area_init),
1041 (hildon_pannable_area_jump_to): Added the modes to control the
1042 movement in the widget. We have added properties to control it,
1043 signals to warn about the movements and refactored some code.
1045 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1047 Changes required in order to allow vfast_factor set to zero to
1050 * src/hildon-pannable-area.c:
1051 (hildon_pannable_area_button_press_cb): Changed the condition, it
1052 is required for not allowing click when vfast_factor is zero.
1053 (hildon_pannable_area_timeout): Initialized velocity variables
1054 when we stop moving, it was less than 1 but not zero and we need
1055 to check zero in some situations.
1056 (hildon_pannable_area_class_init): Changed the default value of
1057 the speed factor, now the button_press is just sent in case the
1058 speed is 2 per cent of the max speed.
1059 (hildon_pannable_area_init): Initialization with 0.
1061 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1063 * src/hildon-pannable-area.c,
1064 (hildon_pannable_area_get_topmost): replaced
1065 gdk_window_get_children with gdk_window_peek_children, this way we
1066 do not have to free the list because it is not a copy.
1068 (hildon_pannable_axis_scroll),
1069 (hildon_pannable_area_scroll),
1070 (hildon_pannable_area_timeout),
1071 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1072 two parameters that were only used inside the
1073 hildon_pannable_area_scroll function.
1075 * examples/hildon-pannable-area-example.c,
1076 (get_sawtooth_label): Fixed small memory leak.
1078 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1080 More checks for the case where the overshoot is bigger than the
1083 * src/hildon-pannable-area.c:
1084 (hildon_pannable_draw_vscroll),
1085 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1086 to draw the slider of the scrollbar under the other scrollbar.
1087 (hildon_pannable_area_expose_event): added new checks to control
1088 the drawing of the overshooting area rectangle, in case it is too
1089 big for the area of the widget.
1090 (hildon_pannable_area_size_allocate): add more checks to avoid
1091 setting a position to the child widget outside the area.
1093 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1095 * src/hildon-pannable-area.c
1096 (hildon_pannable_area_size_allocate): Added conditions to control
1097 when overshooting is bigger than the allocated space for the
1098 children, this avoids negative allocations.
1100 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1102 * doc/hildon-docs.sgml
1104 * examples/Makefile.am
1105 * examples/hildon-button-example.c
1107 * src/hildon-button.c
1108 * src/hildon-button.h
1109 * src/hildon.h: Initial version of the new HildonButton widget,
1112 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1114 * src/hildon-pannable-area.c:
1115 (hildon_pannable_area_button_press_cb),
1116 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1117 (hildon_pannable_area_motion_notify_cb),
1118 (hildon_pannable_area_button_release_cb),
1119 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1120 (hildon_pannable_area_jump_to_child):
1122 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1124 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1126 * examples/Makefile.am
1127 * examples/hildon-pannable-area-touch-grid-example.c
1128 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1129 the Hildon Touch List and Hildon Touch Grid using the
1130 HildonPannableArea widget.
1132 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1134 * src/hildon-pannable-area.c,
1135 (hildon_pannable_area_button_press_cb),
1136 (hildon_pannable_area_refresh),
1137 (hildon_pannable_area_scroll),
1138 (hildon_pannable_area_motion_notify_cb),
1139 (hildon_pannable_area_button_release_cb),
1140 (hildon_pannable_area_expose_event),
1141 (hildon_pannable_area_add),
1142 (hildon_pannable_area_remove),
1143 (hildon_pannable_area_realize),
1144 (hildon_pannable_area_size_allocate),
1145 (hildon_pannable_area_class_init),
1146 (hildon_pannable_area_init),
1147 (hildon_pannable_area_scroll_to_child),
1148 (hildon_pannable_area_jump_to_child): Fixed the problem of
1149 removing the child from the GtkBin, we have rearranged the widget
1150 hierarchy, now there is no GtkAlignment which was not doing
1151 anything interesting but breaking some of the assumptions of
1152 GtkContainer. Now developers if they want to add a GtkAlignment
1153 they could, but it is not inside the area.
1155 We had to review the whole allocation/expose process, now it is
1156 improved and we save at least three signals which would be saving
1157 some time when rendering the widget. The allocation of the
1158 scrollbars is now made in the allocate method as usual.
1160 We have also added some conditions in order to control when there
1161 is no child of the pannable area. Maybe we will need more work
1164 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1166 * src/hildon-pannable-area.c,
1167 (hildon_pannable_area_dispose): Released the fade-out timeout when
1168 disposing the widget.
1170 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1172 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1173 zero, we are going to use that property in order to deactivate the
1175 (hildon_pannable_axis_scroll),
1176 (hildon_pannable_area_size_allocate): Added conditions to control
1177 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1178 call, now it is called in all situations and we can remove calls
1179 in the allocate method.
1180 (hildon_pannable_area_map): Control the situation when
1181 overshoot_max is zero, we do not need the timeout.
1182 (hildon_pannable_area_class_init): Added documentation in order to
1183 point out that setting zero to overshoot_max means deactivate
1186 NOTE: removed trailing whitespaces from my previous comments of
1189 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1191 * src/hildon-pannable-area.c
1192 (hildon_pannable_area_get_property),
1193 (hildon_pannable_area_set_property),
1194 (hildon_pannable_area_map),
1195 (hildon_pannable_area_class_init),
1196 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1197 to cause the widget give a hint about its panning abilities upon
1200 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1202 * src/hildon-pannable-area.c: Several documentation improvements.
1204 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1206 * src/hildon-program.c
1207 * src/hildon-stackable-window.c: Update documentation.
1209 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1211 * src/hildon-stackable-window.c (get_previous_window_if_last):
1212 Renamed get_last_window()
1213 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1214 (hildon_stackable_window_unset_program):
1216 (get_previous_window_if_last):
1217 Detect if the window hasn't been added to a HildonProgram.
1219 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1221 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1223 * src/hildon-pannable-area.c
1224 (hildon_pannable_area_button_press_cb),
1225 (hildon_pannable_axis_scroll),
1226 (hildon_pannable_area_scroll),
1227 (hildon_pannable_area_timeout),
1228 (hildon_pannable_calculate_vel_factor),
1229 (hildon_pannable_area_get_property),
1230 (hildon_pannable_area_set_property),
1231 (hildon_pannable_area_class_init),
1232 (hildon_pannable_area_init),
1233 (hildon_pannable_area_scroll_to),
1234 (hildon_pannable_area_jump_to),
1235 (hildon_pannable_area_scroll_to_child),
1236 (hildon_pannable_area_jump_to_child):
1237 * src/hildon-pannable-area.h: Added the new API functions:
1238 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1239 hildon_pannable_area_scroll_to_child,
1240 hildon_pannable_area_jump_to_child
1243 * examples/Makefile.am
1244 * examples/hildon-pannable-area-example-2.c
1245 * examples/hildon-pannable-area-example-3.c: Added these two new
1246 examples in order to test and show how the new APIs work.
1248 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1250 * examples/hildon-stackable-window-example.c (new_window):
1251 * src/Makefile.am (noinst_HEADERS):
1252 * src/hildon-program.c (hildon_program_go_to_root_window):
1253 * src/hildon-program.h:
1254 * src/hildon-stackable-window-private.h:
1255 * src/hildon-stackable-window.c:
1256 * src/hildon-stackable-window.h:
1257 Create hildon-stackable-window-private.h
1258 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1260 * examples/hildon-app-menu-example.c (create_menu):
1261 * examples/hildon-hvolumebar-insensitive-example.c (main):
1262 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1263 * examples/hildon-toolbar-seekbar-example.c (main):
1264 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1265 * src/hildon-banner.c (hildon_banner_set_property):
1266 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1267 Fix compilation warnings
1269 * src/hildon-window.c:
1272 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1274 * src/hildon-stackable-window.c
1275 (hildon_stackable_window_unset_program):
1276 Calculate correctly whether to show the previous window if the
1277 last one is removed from the stack.
1278 (hildon_stackable_window_go_to_root_window):
1279 Send delete events starting from the topmost window.
1280 Stop if one of the windows is not destroyed.
1282 (hildon_stackable_window_delete_event)
1283 (hildon_stackable_window_class_init):
1284 Ignore the delete event if the window is not the topmost one.
1286 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1288 * src/hildon-pannable-area.c
1289 (hildon_pannable_area_expose_event): Fixed a problem when
1290 selecting the background color of the scrollbars.
1292 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1294 * examples/hildon-stackable-window-example.c
1295 * src/hildon-stackable-window.c
1296 * src/hildon-stackable-window.h
1297 hildon_stackable_window_go_home() renamed to
1298 hildon_stackable_window_go_to_root_window()
1299 Send delete events to windows rather than closing them with
1300 gtk_widget_destroy()
1302 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1304 * src/hildon-pannable-area.c
1305 (hildon_pannable_area_button_release_cb): Fix overshooting in
1308 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1310 * src/hildon-pannable-area.c
1311 (hildon_pannable_area_init): Initially show the scroll indicators.
1312 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1314 Add initial effect showing the widget is pannable.
1316 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1318 * src/hildon-pannable-area.c
1319 (hildon_pannable_area_class_init)
1320 (hildon_pannable_area_set_property)
1321 (hildon_pannable_area_get_property)
1322 (hildon_pannable_area_button_press_cb):
1323 New 'velocity_fast_factor' property to decide which velocity is
1326 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1328 * src/hildon-pannable-area.c
1329 (hildon_pannable_draw_hscroll)
1330 (hildon_pannable_draw_vscroll):
1331 Use float variables to calculate the size of the scrollbars to
1332 avoid error propagation and resizing during scrolling.
1334 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1336 * src/hildon-pannable-area.c
1337 (hildon_pannable_draw_vscroll)
1338 (hildon_pannable_draw_hscroll):
1339 Define a minimum size for the scroll bars
1341 * src/hildon-stackable-window.c
1342 (hildon_stackable_window_go_home): Fix compilation warning
1343 (get_last_window): Minor optimizations
1344 (hildon_stackable_window_class_init): Fix initialization of
1347 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1349 * src/hildon-stackable-window.c: Fixed typos in doc
1351 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1353 * src/hildon-pannable-area.c
1354 (hildon_pannable_area_scroll):
1355 Calculate here whether we need to scroll instead of using the booleans
1356 that tell us whether to /draw/ the scrolling bars.
1358 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1360 * src/hildon-app-menu.h
1362 * src/hildon-app-menu.c
1363 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1364 multiple filter groups related code and API. Now we support only
1366 * examples/hildon-app-menu-example.c:
1368 Update to reflect API changes.
1370 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1372 * src/hildon-stackable-window.c
1373 (hildon_stackable_window_class_init):
1374 Add hildon_stackable_window_realize.
1375 (hildon_stackable_window_realize):
1376 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1377 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1378 to apply theming and behavior specific to HildonStackableWindow
1381 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1383 * src/hildon-note.c (hildon_note_button_release):
1384 Close information notes also when tapping on them
1386 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1388 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1389 ELASTICITY, refactor and review, fix some issues with drawing
1392 * src/hildon-pannable-area.c:
1393 (hildon_pannable_area_button_press_cb): removed the conditions to
1394 avoid clicks when overshooting. It is not required
1396 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1397 define. Refatored and reviewed the code, now we do not need to
1398 manage velocity in motion_notify.
1400 (hildon_pannable_area_motion_notify_cb): We have moved the code
1401 that controls the area_scroll to the axis_scroll function and get
1402 rid of duplicated code.
1404 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1406 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1408 (hildon_pannable_draw_vscroll),
1409 (hildon_pannable_draw_hscroll): Fixed the problems with the
1410 scrollbar drawing, now we do not use two surfaces, it is easier
1411 and saves resources.
1413 (hildon_pannable_area_get_property): Style modification.
1415 (hildon_pannable_area_class_init): Changed some default values.
1417 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1419 * src/hildon-stackable-window.c: Fix some typos in the
1422 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1424 * src/hildon-dialog.c:
1425 Change indentation style
1428 (hildon_note_button_release):
1429 Use root coordinates to check if the release event happened
1432 * src/hildon-app-menu.c
1433 (hildon_app_menu_button_release):
1434 Remove unnecessary check
1436 * examples/hildon-app-menu-example.c
1438 Add cast to fix warning
1440 * src/hildon-app-menu.c
1441 (hildon_app_menu_class_init):
1442 New inner-border style property.
1443 Set all default spacings to 16
1444 (hildon_app_menu_init):
1445 Use vertical-spacing to set the space between filter buttons and
1446 regular menu buttons.
1447 Set the default container border using the inner-border value.
1449 * examples/hildon-app-menu-example.c
1451 Don't set the menu border explicitly, now we have the inner-border
1452 style property for that.
1454 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1456 * src/hildon-app-menu.c (hildon_app_menu_init):
1457 Make the window modal
1459 * src/hildon-note.c (hildon_note_map)
1460 * src/hildon-app-menu.c (hildon_app_menu_map):
1461 Destroy the grab window if we're unable to grab the pointer
1463 * src/hildon-app-menu-private.h
1464 * src/hildon-app-menu.c
1465 (hildon_app_menu_init, hildon_app_menu_finalize)
1466 (hildon_app_menu_map, hildon_app_menu_unmap)
1467 (hildon_app_menu_button_release)
1468 (grab_transfer_window_get):
1469 Bring back the grab window
1470 (hildon_app_menu_realize):
1471 Decorate the window, set WM hint for Matchbox
1473 * src/hildon-note.c (hildon_note_realize):
1474 * src/hildon-banner.c (hildon_banner_realize):
1475 Add WM hints for Matchbox
1477 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1479 * src/hildon-app-menu-private.h
1480 * src/hildon-app-menu.c
1481 (hildon_app_menu_init, hildon_app_menu_finalize)
1482 (hildon_app_menu_map, hildon_app_menu_unmap)
1483 (hildon_app_menu_button_release):
1484 Remove the grab window, it's not needed anymore
1486 * src/hildon-program.c
1487 Fixed typo in documentation
1489 * src/hildon-app-menu.h
1490 * src/hildon-app-menu.c
1491 * examples/hildon-app-menu-example.c
1492 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1494 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1497 Added new transfer_window and close_if_pressed_outside private
1499 (hildon_note_rebuild):
1500 Don't add a cancel button to the information note. It will be
1501 closed when tapping outside
1502 Remove the comment about the OK button in the documentation
1503 (hildon_note_realize):
1504 Set the notification type hint
1505 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1506 Grab/ungrab pointer and keyboard if the note has to be closed when
1508 (hildon_note_button_release):
1509 Close the note when tapping outside (if applicable)
1511 * src/hildon-app-menu.c
1512 Grab/ungrab pointer and keyboard on map/unmap
1513 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1514 Close the menu on button release, not button press
1516 * src/hildon-banner.c
1517 (hildon_banner_set_property)
1518 (hildon_banner_check_position):
1519 Make the banner use the full width of the screen
1520 (hildon_banner_show_information)
1521 (hildon_banner_show_information_with_markup):
1522 Don't display an icon by default
1524 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1526 Added fading scrollbars and adapted all the overshooting code to
1527 horizontal scrolling. We have also fixed bugs with overshooting
1528 and current fading implementation.
1530 * src/hildon-pannable-area.c
1531 (hildon_pannable_area_scroll_indicator_fade): Time out function
1532 used to change the transparency of the scrollbars.
1534 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1535 control and fixed a problem with fading, we now remove the fade
1536 timeout before adding a new one.
1538 (hildon_pannable_axis_scroll):
1539 (hildon_pannable_area_scroll):
1540 (hildon_pannable_area_timeout): Added this functions so we can use
1541 the scroll code both for vertical and horizontal.
1543 (hildon_pannable_area_motion_notify_cb):
1544 (hildon_pannable_area_button_release_cb): Added the horizontal
1545 scrolling control, fixed a problem with the overshooting timeout.
1547 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1548 painting of the scrolls.
1550 (hildon_pannable_draw_vscroll):
1551 (hildon_pannable_draw_hscroll):
1552 (hildon_pannable_area_expose_event):
1553 Draw both scrollbars and rectangles in the overshooting area.
1555 (hildon_pannable_area_get_property):
1556 (hildon_pannable_area_set_property):
1557 Modified the overshoot property to overshoot_max
1559 (hildon_pannable_area_map):
1560 Replaced the comments symbols.
1562 (hildon_pannable_area_size_allocate):
1563 (hildon_pannable_area_class_init):
1564 (hildon_pannable_area_init): Added horizontal scroll, fading
1565 effect properties, fixed a problem when overshooting in the bottom
1568 * examples/hildon-pannable-area-example.c:
1569 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1570 looks better in the example.
1572 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1574 * src/hildon-window.c
1575 * src/hildon-window.h
1576 (hildon_window_class_init)
1577 (hildon_window_unset_program)
1578 (hildon_window_unset_program_real):
1579 Make unset_program a virtual function
1581 * src/hildon-stackable-window.c
1582 * src/hildon-stackable-window.h
1583 Added hildon_stackable_window_go_home()
1585 * examples/Makefile.am
1586 * examples/hildon-stackable-window-example.c
1587 HildonStackableWindow example
1589 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1591 * hildon-pannable-area.c: Added the overshoot property and removed
1592 the OVERSHOOT define. Fixed an indent style error.
1593 (hildon_pannable_area_motion_notify_cb):
1594 (hildon_pannable_area_get_property):
1595 (hildon_pannable_area_set_property): Add overshoot property.
1597 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1600 (hildon_pannable_area_class_init): Installed the new property.
1602 * hildon-pannable-area-example.c: Added a sawtooth function, this
1603 way it is easier to check the movement in the pannable.
1604 (get_sawtooth_label): Added this function.
1605 (main): Now we get the labels from the new get_sawtooth_label
1608 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1610 * src/hildon-app-menu.h
1611 * src/hildon-app-menu.c
1612 Renamed API variables for consistency
1614 (hildon_app_menu_popup): Use also the default window size to
1615 decide where to place the menu
1617 (hildon_app_menu_init, hildon_app_menu_class_init): New
1618 external-border style property
1620 2008-05-26 Michael Natterer <mitch@imendio.com>
1622 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1623 widget_class->tap_and_hold_setup signal slot doesn't exist any
1624 longer, stop overriding it.
1626 (hildon_time_editor_init): g_signal_connect() to the
1627 tap-and-hold-setup signal instead.
1629 (hildon_time_editor_entry_keypress): add cast to fix warning.
1631 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1633 * doc/hildon-docs.sgml
1635 * examples/Makefile.am
1636 * examples/hildon-app-menu-example.c
1638 * src/hildon-app-menu-private.h
1639 * src/hildon-app-menu.c
1640 * src/hildon-app-menu.h
1642 New HildonAppMenu widget
1644 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1646 Rearranged the inheritance of the pannable area, now it inherits
1647 from GtkBin. This will allow us to control the event_window and
1648 the allocation process of the widget, required for some effects.
1650 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1651 GtkBin structures. * src/hildon-pannable-area.c: Added the
1652 event_window variable.
1653 (hildon_pannable_area_button_press_cb):
1654 (hildon_pannable_area_button_release_cb):
1655 (hildon_pannable_area_motion_notify_cb):
1656 Changed the signature of the method, now we override the event
1657 callback instead of connecting to the signal.
1659 (hildon_pannable_area_realize):
1660 (hildon_pannable_area_unrealize):
1661 (hildon_pannable_area_map):
1662 (hildon_pannable_area_unmap):
1663 (hildon_pannable_area_size_allocate):
1664 Added functions to control the widget construction. We add a
1665 INPUT_ONLY window and we put it over the widgets inside the
1666 container, this event_window handles the events.
1668 (hildon_pannable_area_class_init):
1669 Replaced the signal connections with overrides of the event
1672 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1674 Bouncing effect added when touching the borders, you can change
1675 the elasticity of the border changing the ELASTICITY define.
1677 * src/hildon-pannable-area.c: Added ELASTICITY define.
1678 (hildon_pannable_area_timeout): Added inverse velocity when
1679 touching the border of the child widget, that causes a bounce.
1681 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1683 Improved performance, we now do not go to the X server in order to
1684 get the list of window children. Apparently the effect is the
1685 same, we have to be careful and check if this breaks something in
1688 * src/hildon-pannable-area.c:
1689 (get_ordered_children): Removed this function.
1690 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1691 the children windows function with gdk_window_get_children.
1693 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1695 * src/hildon-pannable-area.c:
1696 (hildon_pannable_area_dispose): Fixed a crash when closing the
1697 window and kinetics is activated.
1699 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1701 * src/hildon-pannable-area.h
1702 * src/hildon-pannable-area.c
1703 Changed indentation style to meet the one used in Hildon
1705 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1707 Reviewed the interaction of the AUTO mode, now we use the time
1708 attribute of the events and calculate the velocity in the motion,
1709 doing a gimp like calculation. The velocity is calculated in each
1710 motion event using the last velocity and the current one, the
1711 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1713 * src/hildon-pannable-area.c: Replaced the time based algorithm
1715 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1716 timeout for the AUTO mode when we are still moving the cursor. We
1717 added also the velocity calculation in this function.
1718 (hildon_pannable_area_button_release_cb): launch the timeout in
1719 case we are in AUTO mode. There are still some constants here that
1720 come from the old implementation that should be reviewed and
1723 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1725 * doc/hildon-docs.sgml
1728 * src/hildon-stackable-window.c
1729 * src/hildon-stackable-window.h
1731 New HildonStackableWindow widget
1733 * examples/hildon-dialog-example.c
1734 * examples/hildon-pannable-area-example.c
1737 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1739 * src/hildon-dialog.c
1740 (hildon_dialog_new_with_buttons): New constructor.
1742 * examples/hildon-dialog-example.c
1743 (main): Update the example to use the new
1744 hildon_dialog_new_with_buttons().
1746 * examples/hildon-pannable-area-example.c
1747 (main): Update example.
1749 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1751 * doc/hildon-docs.sgml
1753 Added HildonPannableArea to the documentation.
1755 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1757 * doc/visual_index.xml
1758 Fix reference to HildonLoginDialog in documentation
1760 * doc/hildon-docs.sgml
1762 * examples/Makefile.am
1763 * examples/hildon-dialog-example.c
1765 * src/hildon-dialog.c
1766 * src/hildon-dialog.h
1768 New HildonDialog widget.
1770 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1772 * src/hildon-pannable-area.c
1773 Merge latest changes (r4318, r4342) from libmokoui trunk
1775 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1777 * examples/Makefile.am
1778 * examples/hildon-pannable-area-example.c
1780 * src/hildon-pannable-area.c
1781 * src/hildon-pannable-area.h
1783 New HildonPannableArea widget.
1785 2008-04-15 18:05:19 <timj@imendio.com>
1787 * src/hildon-banner.c: revert the recent change, that introduced
1788 gtk_window_present() calls. this reopens:
1789 Bug 78481 - [freetest] information banners are hidden under browser menu
1790 But resolves another variant of:
1791 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1793 2008-04-15 13:21:13 <timj@imendio.com>
1795 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1796 recreated its layout, spotted by Kris. this fixes all remaining
1797 artefacts and stability issues with the banner code. in particular:
1798 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1800 2008-04-14 16:52:59 <timj@imendio.com>
1802 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1803 operating on unrealized widgets, fixes:
1804 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1806 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1808 2008-04-09 Kristian Rietveld <kris@imendio.com>
1810 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1811 makes banner disappear.
1812 Fixes: NB#79182: info banner flickering with certain message lengts.
1814 * src/hildon-banner.c (hildon_banner_constructor),
1815 (hildon_banner_init), (hildon_banner_set_text),
1816 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1817 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1818 FALSE, reset size requests of label and banner,
1819 (force_to_wrap_truncated): when the text is too wide, always enforce
1820 the maximum possible width instead of recalculating it from the
1821 layout; enforce the maximum banner height of 3 lines,
1822 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1823 nicer wrapping and no truncated chars if space gets tight.
1825 * src/hildon-banner-private.h: add has_been_wrapped and
1826 has_been_truncated fields.
1828 2008-04-07 Sven Herzberg <sven@imendio.com>
1830 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1831 local values in hildon_date_editor_size_allocate
1833 * src/hildon-date-editor.c: moved the real allocation code into the
1836 2008-04-07 Sven Herzberg <sven@imendio.com>
1838 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1839 local values in hildon_date_editor_size_allocate
1841 * src/hildon-date-editor.c: merged the two if() branches together
1843 2008-04-07 Sven Herzberg <sven@imendio.com>
1845 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1846 local values in hildon_date_editor_size_allocate
1848 * src/hildon-date-editor.c: changed the arguments of the if()
1851 2008-04-07 Sven Herzberg <sven@imendio.com>
1853 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1854 local values in hildon_date_editor_size_allocate
1856 * src/hildon-date-editor.c: split the calculation of the allocation
1857 from the real allocation
1859 2008-03-27 Michael Natterer <mitch@imendio.com>
1861 Fixes: NB#81696: The passcode is not overwritten even after
1864 * src/hildon-code-dialog.c
1865 (hildon_code_dialog_button_clicked)
1866 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1867 because that doesn't overwrite selected text. Instead, emit the
1868 "commit" signal on the entry's im_context so the entry's normal
1869 insert logic is triggered. Set the cursor to the end of the entry
1870 after each insert operation so that we *only* insert in the middle
1871 of the text if something was selected.
1873 2008-03-27 Michael Natterer <mitch@imendio.com>
1875 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1876 selector cannot be opened
1878 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1879 when the popup color selector is created. Please connect to this
1880 signal in order to set the dialog's help ID.
1882 2008-03-25 Sven Herzberg <sven@imendio.com>
1884 Fixes: MB#1212: Hide info banners (infoprints) on click
1886 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1887 extracted the close event simulation into an extra function
1888 (hildon_banner_button_press_event): simulate a close event and destroy
1889 the widget if the event wasn't handled
1890 (hildon_banner_class_init): added the button_press_event handler
1891 (hildon_banner_init): added button-press events to the widget
1893 2008-03-25 Sven Herzberg <sven@imendio.com>
1895 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1896 Patch from: Mohammad Anwari <mdamt@maemo.org>
1898 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1899 instead of the right in RTL mode
1900 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1901 breadcrumb button list in RTL mode
1902 * src/hildon-caption.c: mirror the appearance of the caption widget in
1904 * src/hildon-date-editor.c: mirror appearance of the date editor in
1906 * src/hildon-time-editor.c: mirror appearance of the time editor in
1908 * src/hildon-window.c: fix the position of the popup in RTL mode
1910 2008-03-25 Sven Herzberg <sven@imendio.com>
1912 Amendment to the fix of NB#22072. Fix compilation.
1914 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1916 2008-03-19 Sven Herzberg <sven@imendio.com>
1918 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1921 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1922 timeout id properly when the timeout will disappear this leaves no
1923 artifacts around in the destroy(); there will only be the timeout
1924 created by hildon_banner_ensure_timeout() and adding a new timeout
1925 will also work if the timeout gets removed because the timeout_handler
1928 2008-03-19 Michael Natterer <mitch@imendio.com>
1930 Fixes: NB#79791: Cannot set focus to Master volume using stylus
1932 * src/hildon-volumebar.c
1933 * src/hildon-vvolumebar.c
1934 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1935 the widget becomes focussable at all.
1937 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1938 set the focus to wither the mute button or the volumebar.
1940 Remove own "can-focus" property and instead listen to
1941 notify::can-focus in order to update the widget's state.
1943 Implement GtkWidget::focus() and make sure we can also *leave* the
1944 widget, not only enter it, depending on volumebar orientation and
1945 requested focus direction.
1947 Clean up set_mute() to cooperate nicely with all the above.
1949 2008-03-04 Michael Natterer <mitch@imendio.com>
1951 Fixes: NB#78481: information banners are hidden under browser menu
1953 * src/hildon-banner.c: call gtk_window_present() on the banners so
1954 they are risen if they are already visible.
1956 2008-03-03 Sven Herzberg <sven@imendio.com>
1958 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
1960 * examples/hildon-window-menu-example.c: (main): extended the window
1961 menu example to serve as a testcase for automatically added
1962 accelerator groups, too
1963 * src/hildon-window.c: (hildon_window_add_accel_group),
1964 (hildon_window_set_menu): added patch by Tommi Komulainen
1966 2008-03-03 Sven Herzberg <sven@imendio.com>
1968 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
1970 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
1971 knowledge about the border allocators used within GTK+
1973 2008-02-26 Sven Herzberg <sven@imendio.com>
1975 Fixes: MB#2981: Build with asserts broken
1977 * src/hildon-date-editor.c,
1978 * src/hildon-number-editor.c,
1979 * src/hildon-time-editor.c,
1980 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
1981 the proper GType instance check
1983 2008-02-25 Sven Herzberg <sven@imendio.com>
1985 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
1987 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
1988 * examples/hildon-window-menu-example.c: (main): explicitly show
1990 * src/hildon-window.c:
1991 (hildon_window_set_main_menu): moved most of the code from set_menu()
1992 to this place; skipped the call to gtk_widget_show_all(); also didn't
1993 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
1994 (hildon_window_set_menu): removed most of the code, just keep the
1995 questionable gtk_widget_show_all()
1996 * src/hildon-window.h: added the new function and deprecate the old
1999 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2005 * debian/changelog: Updating.
2007 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2010 * pkgconfig/Makefile.am:
2011 * pkgconfig/hildon.pc.in:
2014 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2015 use newly created API_MAJOR_VERSION.
2017 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2023 * debian/changelog: Updating.
2025 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2027 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2029 Add outer_border style property, we use it but don't define it (!).
2033 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2035 * examples/hildon-bread-crumb-trail-example.c (main):
2039 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2041 Fix logic for the bread crumb trail node removal.
2045 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2051 * debian/changelog: Updating.
2053 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2055 Patch by Alejandro to get/set passwords dialogs accesibility.
2057 * hildon-1/src/hildon-get-password-dialog.c:
2058 * hildon-1/src/hildon-set-password-dialog.c:
2059 Set atk_set_name to the passwd entries in order to allow
2060 accessibility by name on this entries.
2062 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2067 * debian/control: Updating gtk dep.
2069 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2071 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2072 USE_MAEMO_GTK is enabled.
2074 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2076 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2077 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2079 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2085 * debian/changelog: Updating.
2087 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2089 * examples/Makefile.am:
2090 * examples/hildon-logical-color-example.c:
2091 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2092 applied + adding a test case. Fixes: NB#71660.
2094 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2096 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2097 to be visible, fixes warning on map for windows without toolbars.
2099 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2101 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2102 2.11.0, add a check for that besides the MAEMO_GTK check.
2104 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2110 * debian/changelog: Updating.
2112 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2114 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2115 visibility. Fixes: NB#70842 and MB#615.
2117 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2119 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2120 set the separator as no-show-all so it doesn't unintentionally appear when
2121 someone does a show_all.
2123 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2125 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2126 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2127 toplevel item. Fixes: NB#62031
2129 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2131 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2132 fix the name of the function in the docs.
2134 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2140 * debian/changelog: Updating.
2142 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2144 * examples/hildon-banner-long-example.c: Adding a test-case for long
2147 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2149 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2151 * src/hildon-color-chooser-dialog.c:
2152 * src/hildon-color-chooser.c:
2153 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2154 memory leaks in font selector and color selector. Fixes: NB#70499 and
2157 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2159 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2161 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2163 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2164 little bit bigger. Fixes: #NB63694.
2166 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2172 * debian/changelog: Updating.
2174 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2177 * doc/hildon-docs.sgml:
2178 * doc/images/bread-crumb-trail.png:
2179 * doc/images/calendar-popup.png:
2180 * doc/images/caption.png:
2181 * doc/images/code-dialog.png:
2182 * doc/images/color-button.png:
2183 * doc/images/color-chooser-dialog.png:
2184 * doc/images/color-chooser.png:
2185 * doc/images/controlbar.png:
2186 * doc/images/date-editor.png:
2187 * doc/images/font-selection-dialog.png:
2188 * doc/images/get-password-dialog.png:
2189 * doc/images/hvolumebar.png:
2190 * doc/images/login-dialog.png:
2191 * doc/images/note.png:
2192 * doc/images/number-editor.png:
2193 * doc/images/range-editor.png:
2194 * doc/images/seekbar.png:
2195 * doc/images/set-password-dialog.png:
2196 * doc/images/sort-dialog.png:
2197 * doc/images/time-editor.png:
2198 * doc/images/time-picker.png:
2199 * doc/images/vvolumebar.png:
2200 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2201 Adding the bread-crumb-trial and helpers to the documentation.
2203 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2205 * examples/hildon-find-toolbar-example.c:
2206 * src/hildon-find-toolbar.c:
2207 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2208 actually continue firing the other handlers if connected. Adding a new
2210 hildon_find_toolbar_get_last_index that gets the index of the most
2211 recently added (last) item. Fixes: NB#52301.
2213 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2215 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2216 behaviour. Fixes: NB#68610.
2218 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2220 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2223 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2225 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2226 when realizing the banner. Should make the infonbanner effect a bit more
2229 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2231 * src/hildon-volumebar.c:
2232 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2233 hildon_volumebar_set_range_insensitive_message and
2234 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2236 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2238 * src/hildon-window.c: Fixing the border freeing on destroy.
2240 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2242 * src/hildon-code-dialog-private.h:
2243 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2244 kw keyboard support in HildonCodeDialog.
2246 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2252 * debian/changelog: Updating.
2254 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2256 * src/hildon-date-editor.c:
2257 * src/hildon-number-editor.c:
2258 * src/hildon-private.c:
2259 * src/hildon-private.h:
2260 * src/hildon-time-editor.c:
2261 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2262 handling in subclassed composite widgets. Fixes: NB#66628.
2264 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2266 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2267 from destroy_ callback as it introduces problems in async dbus signal
2268 handlers. Fixes NB#66673.
2270 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2272 * examples/hildon-hvolumebar-example.c:
2273 * src/hildon-volumebar.c: Improving the focus handling in the
2274 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2275 set_property accessor so that "mute" property can be actually set. I'm
2276 scared that nobody noticed it's totally broken.
2278 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2280 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2283 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2285 * src/hildon-calendar.c:
2286 * src/hildon-number-editor.c:
2287 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2288 matches the spec of 6 chars per second. Fixes: NB#60489.
2290 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2292 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2293 gtk_style_lookup_color sometime returns FALSE even though color was
2294 found and values were filled properly. Weird. Removing the warning for the
2297 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2299 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2300 expand vertically. Adding some extra space to the find toolbar buttons to
2301 make them thumbable. Fixes NB#66060.
2303 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2305 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2306 popup with "Ok" and "Cancel". Fixes NB#59299.
2308 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2310 * src/hildon-calendar.c: Process all window updates before executing next
2311 timeout. Fixes: NB#54146.
2313 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2319 * debian/changelog: Updating.
2321 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2323 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2324 the client event and ignore it, since we use the delete event to close
2327 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2329 * src/hildon-helper.c: Remove the bogus warning about color not being
2330 found. Fixes NB#58352.
2332 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2334 * examples/Makefile.am:
2335 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2336 HildonSeekbar widget inside a toolbar.
2338 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2340 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2341 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2342 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2343 don't want to be closed by non-temporary windows on map.
2345 Also use G_DEFINE_TYPE instead of manually typed code.
2347 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2354 * debian/rules: Updating.
2356 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2358 * examples/Makefile.am:
2359 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2360 bug NB#61128. Strangely it works.
2362 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2364 * src/hildon-date-editor.c: When the date editor entry has been changed
2365 but the numbers of characters < max, turn off the skip validation flag.
2366 Prevents a situation when we enter first a valid year and later re-write
2367 it with an invalid one. Fixes NB#60154.
2369 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2371 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2372 code dialog. Fixes NB#64355.
2374 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2376 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2377 switching the page. Fixes NB#49374.
2379 * examples/Makefile.am:
2380 * examples/hildon-wizard-dialog-example.c: Adding an example for
2381 HildonWizardDialog that shows how to handle manual sensitivity setting on
2384 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2388 * src/hildon-version.h.in:
2389 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2391 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2393 * src/hildon-volumebar.c: Updating the docs.
2395 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2401 * debian/changelog: Updating.
2403 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2405 * src/hildon-find-toolbar.c:
2406 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2407 selected item: hildon_find_toolbar_set_active,
2408 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2409 hildon_find_toolbar_get_active_iter . They correspond to respective
2410 GtkComboBox functions.
2412 * examples/Makefile.am:
2413 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2416 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2418 * examples/Makefile.am:
2419 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2422 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2423 when font size > 32 and we pack a focusable widget inside. Actually using
2424 the default response would work too, but since we don't show default
2425 response state in any way (no theming) it would not be visible to the
2426 user. Fixes NB#63430.
2428 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2430 * src/hildon-date-editor.c: Adding the missing variable setter in the
2431 set_property handler. Fixes NB#54182.
2433 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2435 * src/hildon-window.h: Changing the long key press time from 1500ms to
2436 800ms as requested in NB#63700. I have a bad feeling about this, let's
2437 see... Fixes NB#63700.
2439 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2441 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2442 hildon_time_picker_map, hildon_time_picker_realize,
2443 hildon_time_picker_style_set): Split the contents of map to more
2444 appropriate functions; set window decorations on realize and update
2445 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2447 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2452 * debian/changelog: Updating.
2454 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2456 * src/Makefile.am: fixed installation of the header files
2458 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2464 * debian/changelog: Updating.
2466 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2468 * configure.ac: Removing some remaining of --enable-xan.
2470 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2472 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2473 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2475 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2476 2.10.12-osso6 because the move-focus signal needs to be available in
2479 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2481 * examples/Makefile.am:
2482 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2483 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2484 fine. Prolly NB#61128 is fixed now.
2486 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2488 * src/hildon-volumebar.c:
2489 * src/hildon-volumebar.h: Adding the
2490 hildon_volumebar_set_range_insensitive_message and
2491 hildon_volumebar_set_range_insensitive_messagef functions to set
2492 insensitive message on the slider of the volumebar. Fixes NB#61129.
2494 * examples/Makefile.am:
2495 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2496 test the new insensitive messsage functionality on HildonVolumebar.
2498 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2500 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2503 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2505 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2506 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2507 button on after clearing the trail.
2509 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2511 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2513 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2515 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2516 by splitting the installed headers in generated and non-generated groups. Use
2517 only the non-generated headers to create the hildon-enum-types.h file.
2519 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2521 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2523 * src/hildon-window.c: Hide the window before performing the destroy.
2524 Should make the app closing a little tiny bit more snappy.
2526 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2528 * src/hildon-seekbar.c: add gtkrange.h header
2529 * src/hildon-caption.c: remove unused variable
2531 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2533 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2536 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2542 * debian/changelog: Updating.
2544 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2546 * src/hildon-window.c (hildon_window_window_state_event,
2547 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2548 escape timeout on focus-out-event rather than notify::is-topmost; the
2549 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2551 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2553 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2554 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2556 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2558 * src/hildon-window: actually, you need to use the macro always, there's
2559 no private pointer in the instance structure. We should have cleaned this up
2560 when we had the chance...
2562 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2564 * src/hildon-window.c: do not get the private date from HildonWindow before
2565 it passes the g_return_if_fail check. Once it's passed the test, there's no
2566 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2567 if you are only going to access the data once. Whitespace cleanups.
2569 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2571 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2572 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2574 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2580 * debian/changelog: Updating.
2582 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2584 * src/hildon-window.c: When destroying the window, remove (if exists) the
2585 escape timeout handler. Fixes #NB59276.
2587 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2589 * src/hildon-banner.c: When realizing the widget, set the window
2590 transiency. Setting the transiency in the gobject constructor is not
2591 good, as the widget is not realized at that point. Fixes: #NB56624.
2593 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2595 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2596 Add padding for future expansions.
2598 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2600 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2601 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2602 will fake an activation on the previous to the last item of the trail, so
2603 the effect can be overrided by the developer as usual.
2604 Also change the callback for the back button to do the same thing, so its
2605 effect can be overrided too. Fixes: NB#58982
2607 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2609 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2610 HildonCaption. Fixes NB#52379.
2612 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2614 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2615 the internal state of the trail after the user has had the chance of executing
2616 his handler for the signal. Specifically, it may happen that the activated button
2617 is removed and the user still lets the default handler run. This would segfault
2620 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2622 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2623 scrollbar to the preview dialog. Fixes NB#54147.
2625 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2627 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2628 max/min year properties can be altered, so the client can modify it
2629 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2631 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2633 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2634 hildonlike by default. Fixing a problem with disappearing arrows when
2635 scrolling through months and years. Fixes NB#54127.
2637 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2639 * examples/hildon-date-editor-example.c: Adding error callback to the date
2642 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2648 * configure.ac: Updating.
2650 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2652 * configure.ac: Adding a special '--enable-xan' configure option that
2653 turns off the -Werror compilation setting. Usefull for development.
2655 * src/hildon-calendar.c:
2656 * src/hildon-number-editor.c:
2657 * src/hildon-time-picker.c: Adding the 5* multiplier to
2660 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2662 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2663 instead of g_object_ref + gtk_object_sink.
2665 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2671 * debian/changelog: Updating.
2673 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2675 * src/hildon-color-chooser-dialog.c:
2676 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2677 straight from Tommi labs.
2679 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2681 * examples/hildon-finger-example.c: Correcting the header file path.
2683 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2684 the changed signal. Fixes a small memory leak.
2686 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2690 * src/hildon-banner.c: Importing several usefull fixes from the
2691 ubuntu-mobile branch.
2693 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2695 * examples/Makefile.am:
2696 * examples/hildon-finger-example.c: Adding a finger-checking code
2699 * src/hildon-font-selection-dialog.c: Do not allocate the color
2700 structure using the g_new. Fixes NB#54061.
2702 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2704 * src/hildon-helper.c: Correcting tabs in file.
2706 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2708 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2709 control the visibility of the children.
2711 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2713 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2719 * debian/changelog: Updating.
2721 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2723 * src/hildon-bread-crumb-trail.c:
2724 (hildon_bread_crumb_trail_size_allocate):
2726 Make the back button always a square.
2728 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2730 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2731 from the .c file as it's a private file.
2733 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2735 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2736 uses slightly bigger height.
2738 * src/hildon-font-selection-dialog.c: Adding some checks before
2739 freeing memory in the font selection dialog.
2741 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2743 * src/hildon-font-selection-dialog.c: Adding a small check when
2746 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2747 buttons sensitivity on page switching.
2749 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2751 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2752 internal details of adding a bread crumb to the trail.
2754 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2760 * debian/changelog: Updating.
2762 * src/hildon-bread-crumb-trail.h:
2763 * src/hildon-bread-crumb.h: Changing the API guard to
2764 HILDON_ENABLE_UNSTABLE_API.
2766 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2774 * src/hildon-helper.h: Updating.
2776 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2784 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2788 * src/hildon-helper.h: Small fix to make the package actually compile.
2790 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2792 * src/hildon-bread-crumb-trail.h:
2793 * src/hildon-bread-crumb.h:
2795 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2796 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2798 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2800 * examples/hildon-bread-crumb-trail-example.c:
2802 * src/hildon-bread-crumb-trail.c:
2803 * src/hildon-bread-crumb-trail.h:
2804 * src/hildon-bread-crumb.c:
2805 * src/hildon-bread-crumb.h:
2806 * src/hildon-marshalers.list:
2807 * src/hildon-bread-crumb-widget.c:
2808 * src/hildon-bread-crumb-widget.h:
2810 Slight change in the widget design. The bread crumb trail API is
2811 unchanged, but HildonBreadCrumb is now an interface. A *private*
2812 implementation, hildon-bread-crumb-widget, is provided and used
2813 internally by the trail for the push_text/push_icon functions.
2815 The generic push API is still available, so anyone can implement
2816 and use its own bread crumb widget.
2818 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2820 * debian/rules: Fixing the shlibs.
2822 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2824 * src/hildon-banner.c: Fixing a problem with timed banners having
2825 their parrent destroyed before they are.
2827 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2829 * src/hildon-bread-crumb.c:
2830 * src/hildon-bread-crumb.h:
2832 Make the get_natural_size function a vfunc.
2834 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2836 * src/hildon-bread-crumb.c:
2837 * src/hildon-bread-crumb-trail.c:
2841 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2848 * debian/changelog: Updating for release.
2850 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2852 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2853 don't leak the pango layout.
2855 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2858 * examples/hildon-bread-crumb-trail-example.c:
2862 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2864 * debian/changelog: Removing the bug-fixed entries that were actually
2865 resolved as WONTFIX.
2867 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2870 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2872 * src/hildon-bread-crumb-trail.c:
2873 * src/hildon-bread-crumb-trail.h:
2874 * src/hildon-bread-crumb.c:
2875 * src/hildon-bread-crumb.h:
2879 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2881 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2882 until it's passed the type check.
2884 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2886 * examples/hildon-bread-crumb-trail-example.c
2890 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2892 * examples/Makefile.am
2893 * examples/hildon-bread-crumb-trail-example.c
2895 * src/hildon-bread-crumb-trail.c
2896 * src/hildon-bread-crumb-trail.h
2897 * src/hildon-bread-crumb.c
2898 * src/hildon-bread-crumb.h
2900 New HildonBreadCrumbTrail widget.
2902 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2904 * src/hildon-range-editor.c (hildon_range_editor_init),
2905 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2906 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2907 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2908 hildon_time_editor_class_init, hildon_time_editor_init),
2909 src/hildon-get-password-dialog.c (invalid_input,
2910 hildon_get_password_set_property, hildon_get_password_get_property,
2911 create_contents, hildon_get_password_dialog_set_max_characters),
2912 src/hildon-set-password-dialog.c (create_contents),
2913 src/hildon-date-editor.c (hildon_date_editor_init),
2914 src/hildon-login-dialog.c (hildon_login_dialog_init),
2915 src/hildon-number-editor.c (hildon_number_editor_init),
2916 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2917 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2918 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2919 configure option and adding the respective checks in the code.
2920 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2921 hildon_calendar_drag_data_received): fixed some build warnings.
2923 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2925 * debian/changelog: A 1.0.0 release notes.