1 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add a new
4 ::columns-changed signal.
5 (hildon_touch_selector_append_column): Emit ::columns-changed.
6 (hildon_touch_selector_remove_column): Emit ::columns-changed.
8 Add a ::columns-changed signal, emitted when the number of columns in a
9 HildonTouchSelector changes.
11 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
13 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
14 (_hildon_picker_dialog_set_selector): Factor out the code
15 to set up the dialog interaction mode.
17 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
19 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
20 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
23 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
25 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
28 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
30 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
31 Updated the logical ids related to ampm format, as now it is required to
32 show it correctly localized even on languages with no default abbreviations
34 (_check_am_pm_format): check correctly the 24h format gconf property
36 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
38 2008-11-27 Alberto Garcia <agarcia@igalia.com>
40 * src/hildon-button.c: Documentation updates.
42 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
44 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
45 * src/hildon-caption.c: (hildon_caption_class_init):
46 * src/hildon-color-button.c: (hildon_color_button_class_init):
47 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
48 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
49 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
50 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
52 Remove deprecated GTK+ marshalers and replace them with the ones provided
53 by GLib, for those available, add a marshaler for BOOLEAN:VOID, which
54 is not available in GLib, and use it.
56 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
58 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
59 the text from the previous column if there is no
60 HildonTouchSelectorColumn::text-property set.
62 2008-11-27 Alberto Garcia <agarcia@igalia.com>
65 * src/hildon-button.c (hildon_button_set_property)
66 (hildon_button_get_property, hildon_button_class_init)
67 (hildon_button_set_style, hildon_button_get_style):
68 New "style" property to change the visual appearance of the
71 * src/hildon-picker-button.c (hildon_picker_button_new):
72 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
74 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
75 HildonButton look like PickerButton)
77 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
79 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
80 column while building the default string.
82 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
84 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
85 scroll indicator by default.
87 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
89 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
91 * src/hildon-main.c: Fix the documentation for hildon_init()
93 2008-11-25 Alberto Garcia <agarcia@igalia.com>
95 * doc/hildon-docs.sgml
99 * src/hildon-window-stack-private.h
100 * src/hildon-window-stack.h
101 * src/hildon-window-stack.c:
102 New HildonWindowStack object, that adds support for multiple
103 stacks of windows per process.
105 * src/hildon-stackable-window-private.h
106 * src/hildon-stackable-window.h
107 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
108 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
109 (hildon_stackable_window_show, hildon_stackable_window_hide)
110 (hildon_stackable_window_class_init)
111 (hildon_stackable_window_init):
112 Use HildonWindowStack for stack management.
114 * src/hildon-program.c (hildon_program_pop_window_stack)
115 (hildon_program_peek_window_stack)
116 (hildon_program_go_to_root_window):
117 Add a fallback implementation to the deprecated functions using
120 * examples/hildon-stackable-window-example.c:
121 Use the new HildonWindowStack API.
123 2008-11-25 Alberto Garcia <agarcia@igalia.com>
125 * src/hildon-stackable-window-private.h
126 * src/hildon-stackable-window.c (hildon_stackable_window_show)
127 (hildon_stackable_window_hide, hildon_stackable_window_init):
128 Remove all window stack management.
130 * src/hildon-program-private.h
131 * src/hildon-program.h
132 * src/hildon-program.c (hildon_program_init)
133 (hildon_program_pop_window_stack)
134 (hildon_program_peek_window_stack)
135 (hildon_program_go_to_root_window):
136 Remove all window stack management and mark functions as
139 2008-11-25 Alberto Garcia <agarcia@igalia.com>
141 * src/hildon-app-menu.c (hildon_app_menu_realize):
142 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
144 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
146 * configure.ac: post release version bump
147 * debian/changelog: version bump
149 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
154 * configure.ac: bump version
155 * debian/changelog: updates
157 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
159 Based on initial code by Christian Dywan (christian@imendio.com)
161 * doc/hildon-docs.sgml: Add section for hildon-main.
162 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
163 * src/Makefile.am: Add new hildon-main.[ch]
164 * src/hildon-defines.h: Update the icon sizes.
165 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
166 new library initialization files and register icon sizes.
167 * src/hildon-main.h: New declarations.
168 * src/hildon.h: Include hildon-main.h
170 Add new initialization functions to the library. These methods
171 will register the hildon specific icon sizes and can be used in the
172 future for other hildon specific bits.
174 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
176 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
178 * src/hildon-window.c: (hildon_window_realize),
179 (hildon_window_notify), (-hildon_window_update_title): Do not set
180 the application name in the window title.
182 Fixes: NB#89754 (Applications shouldn't display their names in the
185 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
187 * src/hildon-note-private.h:
188 * src/hildon-note.c: (hildon_note_set_property),
189 (hildon_note_get_property), (hildon_note_class_init),
190 (hildon_note_init), (hildon_note_finalize),
191 (hildon_note_new_confirmation_with_icon_name),
192 (hildon_note_new_information_with_icon_name):
194 No need to mark as deprecated the actual code. Revert
195 to avoid missing symbols in widgets using deprecated API.
197 2008-11-20 Alberto Garcia <agarcia@igalia.com>
199 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
201 * src/hildon-volumebar.h
202 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
203 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
205 * src/hildon-helper.h
206 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
207 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
209 * examples/Makefile.am:
210 Deprecate hildon-insensitive-example
212 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
214 2008-11-20 Alberto Garcia <agarcia@igalia.com>
216 * examples/hildon-pannable-area-buttons-scroll-example.c:
217 Make all buttons finger height
219 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
221 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
223 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
224 update the day model only if it is really required, and to avoid the
225 full-reconstruction aproach. Now it only add or remove the required days.
227 The purpose of this is avoid superfluous HildonTouchSelector::changed
230 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
231 with strange parameters)
233 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
235 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
237 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
238 the WINDOW_TYPE property.
240 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
242 2008-11-19 Alberto Garcia <agarcia@igalia.com>
245 Fix dependency to allow parallel compilation with make -jX
247 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
249 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
250 color frame and some minor tweaks to make it more consistent with
253 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
254 highlighted but not visible)
256 2008-11-14 Alejandro G. Castro <alex@igalia.com>
258 * examples/Makefile.am: Fixed typo in the Makefile.am.
260 2008-11-14 Alejandro G. Castro <alex@igalia.com>
262 Reviewed the use of MAEMO_GTK define, now we add the define in the
263 compilation line, and we also add it to the pc file.
265 * configure.ac: Added MAEMO_GTK define to the compilation command
266 and removed it from the config.h.
268 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
269 do not have to take care about this define if the library was
273 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
275 2008-11-14 Alejandro G. Castro <alex@igalia.com>
277 * examples/Makefile.am,
278 * examples/hildon-pannable-area-buttons-scroll-example.c,
279 * examples/hildon-pannable-area-gesture-signals-example.c,
280 * examples/hildon-pannable-area-scroll-jump-example.c,
281 * examples/hildon-pannable-area-tree-view-example.c:
282 Renamed the pannable area examples, now they have more meaningful
285 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
287 * src/hildon-touch-selector.c:
288 (hildon_touch_selector_set_column_selection_mode): Used of
289 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
290 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
291 to avoid re-seting the same selection mode.
293 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
294 breaks HildonPickerDialog)
296 2008-11-13 Alejandro G. Castro <alex@igalia.com>
298 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
299 conditional in the Makefile.am
301 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
304 Remove unused methods.
306 2008-11-12 Alberto Garcia <agarcia@igalia.com>
308 * src/hildon-button.c (hildon_button_init):
309 Make button images center-aligned by default
311 2008-11-12 Alejandro G. Castro <alex@igalia.com>
314 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
315 activated, we have to think about how to deal with both defines
316 MAEMO_GTK and MAEMO_CHANGES.
318 2008-11-12 Alberto Garcia <agarcia@igalia.com>
320 * examples/hildon-app-menu-example.c (create_menu): Make all
323 2008-11-11 Alejandro G. Castro <alex@igalia.com>
325 Fixed the compilation without maemo gtk adding ifdefs with
326 MAEMO_GTK define to the code, we have to check this version more
329 * examples/Makefile.am: Added control to avoid some examples that
330 just make sense with maemo gtk.
333 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
334 hildon modes with the define.
336 * examples/hildon-edit-toolbar-example.c,
337 (create_icon_view): Create the icon view without hildon-gtk
338 helpers if we are not using maemo gtk.
340 * src/hildon-touch-selector.c,
341 (_create_new_column): Create the treeview without hildon-gtk
342 helpers if we are not using maemo gtk.
344 2008-11-11 Alejandro G. Castro <alex@igalia.com>
346 * src/hildon-pnnable-area.c,
347 (hildon_pannable_area_dispose),
348 (hildon_pannable_area_button_press_cb),
349 (hildon_pannable_area_child_mapped),
350 (hildon_pannable_area_add),
351 (hildon_pannable_area_remove): Added code to control the position
352 of the event_window when adding and removing children from the
353 pannable. We have to raise the event window when the child is
356 Fixes: NB#89811 (Not able to select first image thumbnail in multi
357 selection mode using custom widget inside pannable)
359 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
361 * configure.ac: post release version bump
362 * debian/changelog: version bump
364 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
369 * configure.ac: bump version
370 * debian/changelog: updates
372 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
374 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
375 search mode, in order to avoid lose the focus on the treeview when
376 a hw key (like enter) is pressed.
378 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
379 in HildonDateSelector dialog)
381 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
383 * debian/rules: Added --enable-maintainer-mode
384 * Makefile.am: Added ACLOCAL_AMFLAGS
386 This allows to properly regenerate the Makefiles if you modify the
387 configure.ac or any Makefile.am.
389 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
391 * examples/hildon-app-menu-example.c: (main): Do not set RC style
392 properties, not needed at all.
394 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-note-private.h: Add strings for the icon and stock_icon
398 * src/hildon-note.c: (hildon_note_set_property),
399 (hildon_note_get_property), (hildon_note_class_init),
400 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
401 (hildon_note_new_confirmation_add_buttons): Remove icons.
402 (hildon_note_new_confirmation_with_icon_name): Deprecate.
403 (hildon_note_new_information_with_icon_name): Deprecate.
404 (hildon_note_new_confirmation): Act directly, without calling
405 the deprecated constructor.
406 (hildon_note_new_information): Act directly, without calling
407 the deprecated constructor.
408 * src/hildon-note.h: Mark deprecate methods as such.
409 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
410 not run tests on the deprecated methods if built with deprecation
413 Fixes: NB#91688 (Never show icons in information notes/confirmation
416 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
419 (hildon_app_menu_key_press): Remove leftover usage of the
420 private structure in HildonAppMenu struct.
421 * src/hildon-app-menu.h: Remove leftover private structure
422 from the HildonAppMenu struct.
424 Fixes a crasher when using the HildonAppMenu.
426 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
428 * src/hildon-picker-dialog.c: Use appropriate logical id
429 for the default "Done" text.
431 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
433 * configure.ac: post release version bump
434 * debian/changelog: version bump
436 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
438 Modified the way to scroll to the current selection just when the touch
439 selector is shown on the screen, avoiding a g_idle. Added too a property
440 to configure this behaviour. See hildon_pannable_area_jump_to_child
441 documentation for more information.
443 * src/hildon-touch-selector.c
444 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
445 Added 'initial-scroll' property
446 (hildon_touch_selector_set_property): Added
447 (hildon_touch_selector_map): Removed as not required anymore
448 (_hildon_touch_selector_on_selected_items): Modified in order to manage
449 only a concrete column, instead of iterate along all the columns
451 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
456 * configure.ac: bump version
457 * debian/changelog: updates
459 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
462 compilation time warnings.
464 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
466 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
467 the default value for HildonPannableArea::mov-mode to
468 HILDON_PANNABLE_AREA_MODE_VERT.
470 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
472 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
474 Reverting following commit:
476 2008-10-13 Alberto Garcia <agarcia@igalia.com>
478 * src/hildon-app-menu-private.h
479 * src/hildon-app-menu.[ch]
480 * src/hildon-button.[ch]
481 * src/hildon-check-button.[ch]
482 * src/hildon-entry.[ch]
483 * src/hildon-pannable-area.[ch]
484 * src/hildon-text-view.[ch]:
485 Added private field to the object's structure.
487 because it causes an ABI breakage. We will need to introduce these
488 changes later at some point. See NB#91636 for an extensive
489 explanation and status.
491 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
493 Patch contributed by Daniel Borgmann (danielb@openismus.com)
495 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
496 remove special cases that are no longer necessary.
498 Fixes: NB#91016 (Change toolbar sizes, simplification)
500 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
502 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
503 is shown in the cancel note.
505 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
507 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
508 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
509 (hildon_seekbar_init): Remove steppers, remove expose event.
510 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
512 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
514 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
516 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
517 label font to "SmallSystemFont" for vertically arranged buttons.
519 Fixes: NB#90662 (HildonButton "value" and "detail" text is
522 2008-10-31 Alberto Garcia <agarcia@igalia.com>
524 * src/hildon-check-button.c
525 (hildon_check_button_set_active, hildon_check_button_clicked):
526 Don't access private parts directly, use getters instead.
528 2008-10-31 Alberto Garcia <agarcia@igalia.com>
530 * src/hildon-check-button.c (hildon_check_button_new):
531 Align the contents of the check button to the left.
533 2008-10-30 Alejandro G. Castro <alex@igalia.com>
535 * src/hildon-pannable-area.c,
536 (hildon_pannable_area_scroll_to),
537 (hildon_pannable_area_jump_to),
538 (hildon_pannable_area_scroll_to_child),
539 (hildon_pannable_area_jump_to_child): Replace the mapped
540 precondition of these functions with the realized, it is the
541 correct state of the widget in this case. Changed the
542 documentation according to this modification.
544 2008-10-30 Alejandro G. Castro <alex@igalia.com>
546 Added a new EXTRA_CFLAGS option to add the deprecated define to
547 the compilation command. This way we can avoid using the define in
548 the documentation compilation.
550 * configure.ac: Defined EXTRA_CFLAGS.
552 * examples/Makefile.am:
554 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
556 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
558 * src/hildon-picker-dialog.c:
559 Defined a utility macro with the desired touch selector height
560 Removed currently unused separator, and title_label variables from
562 (hildon_picker_dialog_init): Removed code related to the creation
563 of unused private variables title_label and separator.
564 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
565 to ensure correct visualization of the touch selector inside the dialog.
566 * src/hildon-touch-selector.c
567 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
568 ensure a concrete height of the widget.
570 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
575 Remove spurious whitespaces.
577 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
580 compilation warning after the cancel button removal.
582 2008-10-30 Alejandro G. Castro <alex@igalia.com>
584 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
586 * configure.ac: Added an AM_CONDITIONAL in order to use in the
587 Makefile.am, that way we can choose not to compile some examples
588 and tests of the deprecated widgets.
590 * examples/Makefile.am: Divided the sources in deprecated and
593 * src/Makefile.am: Added undef statement of the deprecated
594 symbol to the enums file generation process.
596 * src/hildon-color-chooser-dialog.c
597 * src/hildon-color-chooser-dialog.h
598 * src/hildon-color-button.c
599 * src/hildon-color-button.h
600 * src/hildon-color-chooser.c
601 * src/hildon-color-chooser.h
602 * src/hildon-controlbar.c
603 * src/hildon-controlbar.h
604 * src/hildon-date-editor.c
605 * src/hildon-date-editor.h
606 * src/hildon-hvolumebar.c
607 * src/hildon-hvolumebar.h
608 * src/hildon-private.c
609 * src/hildon-private.h
610 * src/hildon-range-editor.c
611 * src/hildon-range-editor.h
612 * src/hildon-seekbar.c
613 * src/hildon-seekbar.h
614 * src/hildon-time-editor.c
615 * src/hildon-time-editor.h
616 * src/hildon-time-picker.c
617 * src/hildon-time-picker.h
618 * src/hildon-volumebar.c
619 * src/hildon-volumebar.h
620 * src/hildon-vvolumebar.c
621 * src/hildon-vvolumebar.h
622 * src/hildon-bread-crumb-trail.h
623 * src/hildon-bread-crumb-trail.c
624 * src/hildon-calendar-popup.c
625 * src/hildon-calendar-popup.h
626 * src/hildon-weekday-picker.c:
627 * src/hildon-weekday-picker.h:
628 * src/hildon-bread-crumb-widget.c:
629 * src/hildon-bread-crumb-widget.h:
630 * src/hildon-bread-crumb.c:
631 * src/hildon-bread-crumb.h:
632 * src/hildon-calendar.c:
633 * src/hildon-calendar.h:
634 * src/hildon-caption.c:
635 * src/hildon-code-dialog.c:
636 * src/hildon-code-dialog.h:
637 * src/hildon-font-selection-dialog.c:
638 * src/hildon-font-selection-dialog.h:
639 * src/hildon-get-password-dialog.c:
640 * src/hildon-get-password-dialog.h:
641 * src/hildon-login-dialog.c:
642 * src/hildon-login-dialog.h:
643 * src/hildon-number-editor.c:
644 * src/hildon-number-editor.h:
645 * src/hildon-set-password-dialog.c:
646 * src/hildon-set-password-dialog.h:
647 * src/hildon-sort-dialog.c:
648 * src/hildon-sort-dialog.h: This is the list of deprecated
651 * src/hildon-touch-selector.c:
652 * src/hildon-window.c: Added undef statement to avoid compilation
655 * tests/Makefile.am: Divided the sources in deprecated and
658 * tests/check_test.c,
659 (configure_tests): Marked the deprecated code that was adding
660 suites with deprecated tests.
662 Fixes: NB#91135 (Deprecate legacy hildon widgets)
664 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
666 * src/hildon-touch-selector.c: (_default_print_func): Do not
667 duplicate a string returned by gtk_tree_model_get(), it is already
670 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
673 2008-10-28 Alejandro G. Castro <alex@igalia.com>
675 * src/hildon-pannable-area.c
676 (hildon_pannable_area_add_with_viewport): Reviewed the complete
677 method, it had problems when adding a widget with viewport the
678 second time. Now checks if it already has a viewport and uses it.
680 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
683 2008-10-28 Alejandro G. Castro <alex@igalia.com>
685 * src/hildon-pannable-area.c,
686 (hildon_pannable_area_scroll_to),
687 (hildon_pannable_area_jump_to),
688 (hildon_pannable_area_scroll_to_child),
689 (hildon_pannable_area_jump_to_child): Added a precondition to the
690 scroll and jump to functions: the widget must be mapped before we
691 can safely call these functions. We have also added documentation
692 to the functions to explain how to use them in this situation.
695 2008-10-28 Alejandro G. Castro <alex@igalia.com>
697 Reviewed the threading handling of the pannable widget, we have
698 used the gdk_threads_add_timeout function instead of the usual
699 glib handlers. This avoids some problems with the threads.
701 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
702 (hildon_pannable_area_initial_effect),
703 (hildon_pannable_area_scroll_indicator_fade),
704 (hildon_pannable_area_button_press_cb),
705 (hildon_pannable_area_timeout),
706 (hildon_pannable_area_motion_notify_cb),
707 (hildon_pannable_area_button_release_cb),
708 (hildon_pannable_area_scroll_cb),
709 (hildon_pannable_area_scroll_to): Removed the
710 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
711 gdk_threads_add_timeout.
713 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
715 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
720 * configure.ac: bump version
721 * debian/changelog: updates
723 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
725 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
726 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
727 * src/hildon-color-chooser-dialog.c:
728 (hildon_color_chooser_dialog_init):
729 * src/hildon-font-selection-dialog.c:
730 (hildon_font_selection_dialog_init):
731 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
733 Remove all cancel/close-like dialogs, as these are not going to be
736 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-note.c: (hildon_note_rebuild),
739 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
742 Fixes: NB#90661 (Delete dialog is displayed without NO button)
744 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
746 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
747 sure all buttons are shown, even the Cancel/Close-like ones.
749 Fixes: NB#90861 (Custom Confirmation dialogs should be
750 protected from cancel button removal)
752 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
754 * debian/control: Change libhildon1-examples dependency from libhildon1
756 * debian/libhildon1-examples.install
758 * Makefile.am: Modified the final install directory for the examples on
759 package libhildon1-examples
760 * Makefile.static: Update clean target in order to remove all the binary
763 Changes suggested by Claudio after review new libhildon1-examples package
765 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
767 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
768 * src/hildon-touch-selector.c: Ditto.
770 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
772 * debian/control: Added new package libhildon1-examples, in order to pack
773 the current hildon examples as documentation
774 * debian/rules: Not to compress .c files, modify some includes on the
775 examples (as normally are compiled locally, but when installed it will
776 require to include the installed libhildon1 library), and rename
778 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
779 install all the example files on the new example package
780 * examples/Makefile.static: Added static makefile that can be used to
781 compile the examples, once installed the new example package
782 * examples: Most of the examples were modified in order to grant that
783 all use only '#include "hildon.h"', in order to be easy to prepare
784 it on the example package
786 2008-10-23 Alberto Garcia <agarcia@igalia.com>
789 * debian/libhildon1-dev.install
790 * debian/libhildon1-doc.install:
791 Move all gtk-doc files to a separate libhildon1-doc package.
793 2008-10-23 Daniel Borgmann <danielb@openismus.com>
795 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
799 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
801 * debian/rules: Fixed a error in order to avoid unnecessary calls
802 to autogen.sh on package building
804 2008-10-22 Alberto Garcia <agarcia@igalia.com>
806 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
808 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
810 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
813 2008-10-21 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-picker-button.c
816 (hildon_picker_button_finalize):
817 Free priv->done_button_text
819 * src/hildon-time-button.c
820 (hildon_time_button_set_time)
821 * src/hildon-picker-button.c
822 (hildon_picker_button_clicked)
823 (hildon_picker_button_selector_selection_changed)
824 (hildon_picker_button_set_selector)
825 * src/hildon-date-button.c
826 (hildon_date_button_set_date):
827 Free strings returned by hildon_touch_selector_get_current_text()
829 * src/hildon-button.c (hildon_button_construct_child):
830 Fix leaks in priv->image and priv->label_box
832 Fixes: NB#90535 (Memory leak in picker button)
834 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
836 * src/hildon-button.c: (hildon_button_get_property): Do not access
837 private elements directly, use getters instead.
839 2008-10-20 Alberto Garcia <agarcia@igalia.com>
841 * src/hildon-app-menu-private.h
842 * src/hildon-app-menu.c
843 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
844 Store the menu's parent window.
846 * src/hildon-stackable-window.c
847 (hildon_stackable_window_toggle_menu)
848 (hildon_stackable_window_finalize):
849 Set the menu's parent window when the menu is shown, unset it when
852 * src/hildon-app-menu.c
853 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
854 (hildon_app_menu_class_init):
855 Send unhandled keyboard accelerators to the parent window.
857 2008-10-20 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-stackable-window.c
860 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
862 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
864 * configure.ac: post release version bump
866 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
869 * configure.ac: Bump version
870 * debian/changelog: Updates
871 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
874 2008-10-20 Alberto Garcia <agarcia@igalia.com>
876 Patch contributed by Daniel Borgmann (danielb@openismus.com)
879 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
880 GtkMenu with Hildon style.
882 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
884 * src/hildon-picker-button.c:
885 (hildon_picker_button_set_done_button_text): Set the dialog's
886 done button text here as well.
888 Fixes: NB#90232 (Picker button does not set the label on done button
891 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
896 2008-10-16 Alberto Garcia <agarcia@igalia.com>
898 * src/hildon-app-menu.c (hildon_app_menu_insert)
899 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
900 the HildonAppMenu to be activatable using keyboard accelerators
901 when the menu is not being shown.
903 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
905 2008-10-16 Alberto Garcia <agarcia@igalia.com>
907 * src/hildon-stackable-window.c
908 (hildon_stackable_window_show):
909 Don't hide old windows automatically when new windows are shown:
910 this is now a task for the window manager.
911 (hildon_stackable_window_class_init)
912 (hildon_stackable_window_hide):
913 Remove windows from the stack everytime they're hidden.
914 (hildon_stackable_window_realize):
915 Don't change the _NET_WM_WINDOW_TYPE property. Use
916 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
917 it as a stackable window.
919 * src/hildon-program.c
920 (hildon_program_pop_window_stack):
921 Just hide the window to remove it from the stack.
922 (hildon_program_go_to_root_window):
923 Don't call gtk_widget_show(), this is now a task for the window
926 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
928 2008-10-15 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-button.c
931 (hildon_button_construct_child):
932 Don't pack anything in the button until text or image are
933 set. This allows adding a custom child after creating the button
934 with hildon_button_new().
935 (hildon_button_finalize, hildon_button_class_init)
936 (hildon_button_init, hildon_button_set_arrangement): Destroy the
937 alignment and the label box even when they're not packed in the
940 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
942 * src/hildon-touch-selector.h:
943 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
944 currently the type definition was using GTK_TYPE_VBOX
945 * src/hildon-touch-selector.c:
946 Added some implementation notes in order to clarify that any other widget
947 added without the column related API will not be included on the
948 selection logic, and how the widget is freed, as some people ask about
950 (hildon_touch_selector_remove): Reimplemented in order to free properly
951 the column related data when you remove the private hbox.
952 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
953 to get a proper HildonTouchSelectorColumn documentation
955 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
957 * src/hildon-touch-selector-entry.c:
958 (hildon_touch_selector_entry_print_func): Return NULL if there is no
959 text in the GtkEntry and there is no item selected. Fixes a
962 2008-10-13 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-app-menu-private.h
965 * src/hildon-app-menu.[ch]
966 * src/hildon-button.[ch]
967 * src/hildon-check-button.[ch]
968 * src/hildon-entry.[ch]
969 * src/hildon-pannable-area.[ch]
970 * src/hildon-text-view.[ch]:
971 Added private field to the object's structure.
973 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
975 * configure.ac: post-release version bump
977 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
981 * configure.ac: pre-release version bump
983 * debian/changelog: updates.
985 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
987 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
988 Disconnect the handler for HildonTouchSelector::changed.
990 (hildon_picker_button_selector_selection_changed): Update the button
991 value if the selection change was not triggered by the
994 (hildon_picker_button_set_selector): connect to
995 HildonTouchSelector::changed.
997 Fixes: NB#89650 (Picker button is not updated, when selection in
998 selector has changed)
1000 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1002 * src/hildon-picker-dialog.c
1003 (hildon_picker_dialog_realize): Removed as not required
1004 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1005 * src/hildon-picker-button.c
1006 (_current_selector_empty): New function, checks if the selector is empty
1007 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1008 if the current selector is empty, in order to avoid to show the dialog
1009 close the dialog in this case (and shows a g_warning).
1011 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1013 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1015 * src/hildon-pannable-area.c,
1016 (hildon_pannable_area_scroll): Added clause to stop movement when
1017 the child of pannable is smaller than one page.
1018 (hildon_pannable_area_scroll_to): Added conditions to avoid
1019 starting the scrolling movement if the child is smaller than one
1020 page, the complete child is in the screen, we do not have to move.
1022 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1024 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1026 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1027 this is managed automatically by the widget when the size of the
1030 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-picker-button.c
1033 (hildon_picker_button_set_done_button_text): Make a copy of the
1034 text, and free the previous value.
1036 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-touch-selector-entry.c:
1039 (hildon_touch_selector_entry_print_func): Return the selected row's
1040 text if the entry is empty.
1042 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1045 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1049 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1052 * src/hildon-check-button.h
1053 * src/hildon-check-button.c
1054 * examples/hildon-check-button-example.c:
1055 HildonCheckButton is now a new widget. 'toggled' signal added.
1057 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-program-private.h
1060 * src/hildon-program.c (hildon_program_init)
1061 (hildon_program_finalize): Removed unused variables group_leader
1062 and name from HildonProgramPrivate.
1064 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-check-button.c (hildon_check_button_set_active)
1067 (hildon_check_button_get_active, hildon_check_button_new): Use
1068 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1070 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1072 * src/hildon-touch-selector.h
1073 (hildon_touch_selector_set_column_attributes): added deprecation
1074 guard HILDON_DISABLE_DEPRECATED
1075 * src/hildon-time-selector.c
1076 (hildon_time_selector_set_time)
1077 (hildon_time_selector_get_time): Fixed a typo on documentation
1078 * src/hildon-touch-selector.c: update HildonTouchSelector and
1079 HildonTouchSelectorColumn documentation
1080 * src/hildon-touch-selector-entry.c: update "text-column" property
1082 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1083 to be added to the general documentation.
1085 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1087 * examples/hildon-pannable-area-example-4.c,
1089 * examples/hildon-pannable-area-example.c,
1090 (main): Modified the code in order to use the container add, with
1091 viewport treeviews could have problems if they are really big.
1093 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1095 * src/hildon-weekday-picker.c,
1096 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1097 the agreement regarding deprecation in the library.
1099 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1101 * examples/hildon-picker-button-multicolumn-example.c:
1102 (main): Use custom "done" button text.
1104 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1105 (hildon_picker_button_set_property),
1106 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1107 (hildon_picker_button_init),
1108 (+hildon_picker_button_get_done_button_text),
1109 (+hildon_picker_button_set_done_button_text): New methods to customize
1110 the "done" button label in the launched HildonPickerDialog. Also,
1113 * src/hildon-picker-button.h: add the public API.
1115 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-date-selector.h:
1118 * src/hildon-picker-dialog.h:
1119 * src/hildon-time-selector.h:
1120 * src/hildon-touch-selector-column.h:
1121 * src/hildon-touch-selector.h:
1123 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1124 declarations. Fixes gtk-doc warnings.
1126 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-picker-dialog.h
1129 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1130 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1132 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1133 long text is set as label for done button)
1135 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1137 * src/hildon-dialog.c (hildon_dialog_add_button):
1138 Set fixed width to all buttons in the HildonDialog.
1140 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1142 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1144 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1145 Set widget name using class name plus "-finger" or "-thumb".
1147 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1150 'clicked' when the state of the button is manually changed.
1152 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-app-menu.c (hildon_app_menu_realize)
1155 (hildon_app_menu_unrealize, hildon_app_menu_init)
1156 (hildon_app_menu_class_init, item_visibility_changed):
1157 Change the menu layout when the size of the screen changes.
1158 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1159 Show warning only when changing the number of colums using the
1162 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1164 * debian/compat: Set to 5
1165 * debian/control: Update dependencies.
1166 * debian/libhildon1-dbg.install: Remove.
1167 * debian/libhildon1-dev.install: Update according to cdbs paths.
1168 * debian/libhildon1.install: Update according to cdbs paths.
1169 * debian/rules: Switch to cdbs.
1171 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1173 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1174 'item' variable renamed to 'filter'
1176 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-app-menu.c (hildon_app_menu_insert)
1179 (hildon_app_menu_add_filter, remove_item_from_list)
1180 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1181 Don't leak hidden items when the menu is destroyed.
1183 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-app-menu.c (hildon_app_menu_insert)
1186 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1187 (hildon_app_menu_set_columns, item_visibility_changed)
1188 (filter_visibility_changed, hildon_app_menu_repack_filters)
1189 (hildon_app_menu_repack_items):
1190 Repack items and filters separately.
1192 Don't repack all items, change only the ones that are needed to
1195 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1197 * src/Makefile.am: added hildon-touch-selector-column.h
1199 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1201 * src/hildon-touch-selector.c: added the property "text-column" to the
1202 class HildonTouchSelectorColumn, and related get/set functions
1203 (_default_printf_func): updated to use "text-column" property
1204 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1205 "text-column" in his documentation, as this is now included on
1206 HildonTouchSelectorColumn. The get/set_property can still be used,
1207 working as a wrapper to the concrete column "text-column" property
1208 (_text_column_modified): callback added in order to handle the signal
1209 "notify::text-column" of the concrete HildonTouchSelectorColumn
1210 (hildon_touch_selector_entry_get_text_column)
1211 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1212 modified in order to use the HildonTouchSelectorColumn "text-column"
1214 * src/hildon-time-selector.c:
1215 * src/hildon-date-selector.c:
1216 * examples/hildon-touch-selector-example.c
1217 * examples/hildon-touch-selector-multi-cells-example.c
1218 * examples/hildon-picker-button-multicolumn-example.c
1219 Set the right value to "text-column" property on the creation of a new
1220 column using hildon_touch_selector_append_column()
1222 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1224 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1226 * src/hildon-app-menu.c
1227 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1228 updating the layout of the menu, don't create all widgets again,
1229 just repack the items in their new places.
1231 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1233 * src/hildon-time-selector.c
1234 (hildon_time_selector_get_time)
1235 (hildon_time_selector_set_time)
1236 Added documentation of these public methods
1238 * src/hildon-date-button.h
1239 * src/hildon-touch-selector-column.h
1240 * src/hildon-time-button.h
1241 * src/hildon-picker-dialog.h
1242 * src/hildon-time-selector.h
1243 * src/hildon-picker-button.h
1244 * src/hildon-touch-selector.h
1245 * src/hildon-time-picker.h
1246 * src/hildon-date-selector.h
1247 * src/hildon-touch-selector-entry.h
1248 Modified in order to use hildon-widgets code style
1250 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1252 Added deprecated support to the compilation process using
1253 HILDON_DISABLE_DEPRECATED
1255 * configure.ac: Added the --disable-deprecated to the configure
1258 * src/hildon-weekday-picker.c:
1259 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1260 to use the deprecated support. We will update the other deprecated
1261 widgets status in a new patch.
1263 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1265 * configure.ac: Fixed typo with fatal warnings support, the
1266 variable name was not correct
1268 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-app-menu.c
1271 * src/hildon-program.c: Update documentation.
1273 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1275 * configure.ac: Post-release version bump.
1277 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1282 * configure.ac: Pre-release version bump.
1283 * debian/changelog: Updates.
1285 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1287 * NEWS: Update news for previous releases.
1289 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1291 * examples/hildon-touch-selector-multi-cells-example.c:
1292 (create_selector): Update the example to use
1293 hildon_touch_selector_append_column() with a NULL renderer and set
1294 the renderers later.
1295 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1296 passed a NULL renderer. This is documented behavior now.
1298 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1299 This must be used if the developer wants full control on the layout of
1300 the renderers to be added to the column.
1302 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1304 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/hildon-touch-selector.c: Documentation fixes.
1308 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-wizard-dialog-private.h: Remove image and box.
1311 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1312 (hildon_wizard_dialog_set_property), (response): Completely remove
1313 image/icon support, and the containers required for the layout.
1315 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1317 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-app-menu.c: Updated documentation.
1321 * src/hildon-stackable-window.c
1322 (hildon_stackable_window_set_main_menu): Unref the old menu after
1323 ref'ing the new one.
1325 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-stackable-window.c
1328 (hildon_stackable_window_set_main_menu): Unref the previous menu
1329 instead of destroying it.
1331 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1332 floating reference and set has_user_ref_count to FALSE to make
1333 HildonAppMenu act like a normal ref-counted widget and not a
1336 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1339 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1341 * src/hildon-touch-selector-column.h: new file
1342 * src/hildon-touch-selector.h
1343 * src/hildon-touch-selector.c
1344 Implemented GtkCellLayout interface, in order to allow to configure
1345 the cell layout on each individual selector column
1346 (hildon_touch_selector_set_column_attributes): marked as deprecated
1347 * examples/hildon-touch-selector-multi-cells-example.c
1348 Example of how to use the GtkCellLayout interface on the selector
1350 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1352 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-app-menu.h
1355 * src/hildon-app-menu.c
1356 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1357 (hildon_app_menu_append, hildon_app_menu_prepend):
1358 New methods to prepend, insert and move items in the menu.
1360 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-wizard-dialog.c:
1364 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1366 (create_title): Update logical IDs and related code.
1367 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1369 * src/hildon-wizard-dialog.h: Note that
1370 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1371 point, as it is not used anymore.
1373 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1375 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-note.c:
1378 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1379 shown. Do not display an icon in confirmation notes nor information
1381 (hildon_note_set_button_text): Update logical ID for cancel button.
1383 Fixes: NB#88850 (Update HildonNote button strings + signals)
1385 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-stackable-window.c
1388 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1390 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-app-menu-private.h
1393 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1394 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1395 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1396 temporary property 'columns' to change the number of columns.
1398 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1400 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1402 * examples/hildon-note-example.c: (on_information_clicked),
1403 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1404 debugging information.
1405 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1407 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1408 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1409 in order to close: this will be handled by the WM from now on.
1411 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1413 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-app-menu-private.h
1416 * src/hildon-app-menu.c
1417 (hildon_app_menu_append, hildon_app_menu_add_filter)
1418 (button_visibility_changed, hildon_app_menu_apply_style)
1419 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1420 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1421 layout everytime a button (item or filter) is shown or hidden.
1423 * src/hildon-stackable-window.c
1424 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1427 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1429 * src/hildon-touch-selector.c:
1430 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1431 that the treeview inside the touch selector is in fremantle hildon mode
1432 * examples/hildon-date-button-example.c
1433 * examples/hildon-picker-button-multicolumn-example.c
1434 * examples/hildon-touch-selector-entry-example.c
1435 * examples/hildon-touch-selector-example.c
1436 * examples/hildon-time-button-example.c
1437 * examples/hildon-picker-button-example.c:
1438 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1440 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1442 * examples/hildon-text-view-example.c: (main): Remove the
1443 gtkrc bits, now handled by the theme.
1445 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1450 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1452 * po/Makefile.am: Install properly the mo files.
1453 * po/en_GB.po: Update translation, to ease testing purposes.
1455 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1457 * examples/hildon-picker-button-example.c: (main): Select an item
1458 in the selector before setting it to the button.
1460 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1463 Update button's value if the selector has an item active.
1465 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1466 'value' with the selector)
1468 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1470 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1471 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1472 (hildon_picker_button_class_init): Plug the finalize method.
1473 (hildon_picker_button_set_selector): If there's a previously set
1474 selector, unref'it before setting a new one.
1476 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1477 HildonTouchSelector)
1479 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-touch-selector-entry.c:
1482 (hildon_touch_selector_entry_changed): Check if there is no text
1483 selected before setting the entry text.
1486 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-touch-selector.h
1489 * src/hildon-touch-selector.c
1490 (hildon_touch_selector_get_active)
1491 (hildon_touch_selector_set_active): New methods to set/get the
1492 index of the selected item.
1494 * src/hildon-picker-button.h
1495 * src/hildon-picker-button.c
1496 (hildon_picker_button_get_active)
1497 (hildon_picker_button_set_active): New methods to set/get the
1498 index of the selected item.
1500 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1502 * configure.ac: post-release version bump.
1504 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1508 * configure.ac: Pre-release version bump.
1509 * debian/changelog: Updates.
1510 * debian/control: Add myself as maintainer and depend on l10n
1513 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-window.c
1516 (hildon_window_set_main_menu)
1517 * src/hildon-stackable-window.c
1518 (hildon_stackable_window_set_main_menu):
1519 Updated documentation.
1521 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1524 Don't free selector->priv manually.
1527 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1530 (hildon_gtk_window_set_progress_indicator):
1531 * src/hildon-gtk.h: Added the new API
1532 hildon_gtk_window_set_progress_indicator, it changes the state of
1533 the window progress hint.
1535 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-button.c
1538 * src/hildon-stackable-window.c: Minor documentation updates.
1540 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-stackable-window.c: Updated documentation.
1544 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-defines.h: Update margins definitions
1547 to the Fremantle sizes.
1550 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-touch-selector.c,
1553 (_hildon_touch_selector_set_model): Cleaning the code after
1554 review, removed g_print and #if 0 from the code.
1556 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-edit-toolbar.c: Update documentation.
1560 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-check-button.h
1563 * src/hildon-check-button.c
1564 (hildon_check_button_set_label, hildon_check_button_get_label)
1565 * examples/hildon-check-button-example.c
1566 (button_clicked_cb):
1567 Removed deprecated methods.
1569 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1571 * src/hildon-text-view.c:
1572 Add sample code to the documentation.
1574 * src/hildon-entry.h
1575 * src/hildon-text-view.h:
1576 Minor cosmetic changes.
1578 * src/hildon-entry.c:
1579 Add sample code to the documentation.
1580 (hildon_entry_init, hildon_entry_refresh_contents):
1581 Don't allow NULL values in the placeholder.
1583 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1585 * doc/hildon-docs.sgml
1587 * examples/Makefile.am
1588 * examples/hildon-text-view-example.c
1590 * src/hildon-text-view.c
1591 * src/hildon-text-view.h
1593 New HildonTextView widget, with example.
1595 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1597 * po/POTFILES.in: Add missing files with translatable strings.
1598 Partially fixes NB#88287.
1600 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1602 * examples/hildon-pannable-area-example-2.c: (main): No need to
1603 set the cellrenderer height inside hildon touch lists, the theme does
1606 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1608 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1609 they are integrated in the theme.
1611 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1613 * examples/hildon-entry-example.c: Update the example adding
1614 widgets to modify the text and the placeholder of the HildonEntry.
1616 * src/hildon-entry.c: Show the placeholder everytime the widget
1617 is empty and loses the focus.
1619 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1621 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1623 * src/hildon-pannable-area.c,
1624 (hildon_pannable_area_size_request): Fixed bug in height
1625 requisition, avoid increasing size and add border twice.
1627 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1629 * configure.ac: postrelease version bump.
1631 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1635 * configure.ac: Prerelease version bump.
1636 * debian/changelog: update.
1637 * debian/rules: make -dbg package contain useful debugging symbols.
1639 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-dialog.h
1642 * src/hildon-dialog.c
1643 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1644 New methods to add buttons with finger size.
1645 (hildon_dialog_new_with_buttons):
1646 Create buttons with finger size.
1648 * examples/hildon-dialog-example.c (main): Use HildonDialog
1649 methods to add buttons.
1651 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-entry.c: Updated HildonButton documentation.
1655 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1658 button value label with (FALSE, FALSE) to prevent NB#88126 from
1661 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1663 * examples/hildon-pannable-area-example.c,
1664 (main): Removed examples panning a vbox inside a pannable
1665 area. Check bug NB#87965
1667 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1669 Patch contributed by Kris Rietveld (kris@imendio.com)
1671 * src/hildon-pannable-area.c,
1672 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1673 get_size and get_position, this saves an X server roundtrip.
1675 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1677 * doc/hildon-docs.sgml
1679 * examples/Makefile.am
1680 * examples/hildon-entry-example.c
1682 * src/hildon-entry.c
1683 * src/hildon-entry.h
1685 New HildonEntry widget, with example.
1687 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-button.c (hildon_button_construct_child): Pack the
1690 image with expand == fill == FALSE. This is a workaround for a bug
1693 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1695 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1696 labels for the text column, to make it more look more dynamic.
1698 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1700 * src/hildon-time-selector.c
1701 Define gettext auxiliar macro N_
1702 (_create_minutes_model)
1703 (_create_hours_model)
1704 (_create_ampm_model): use of strftime in order to fill the model
1705 * src/hildon-date-selector.c
1706 (hildon_date_selector_finalize):
1707 (_locales_init): remove the logic related to get the name of the months
1708 using nl_langinfo, as it is not required anymore
1710 (_create_year_model)
1711 (_create_month_model)
1712 (_update_day_model): use of strftime in order to fill the model properly
1715 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-button.h
1718 * src/hildon-button.c (hildon_button_get_image): New method to
1721 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1723 * src/hildon-touch-selector.c:
1724 (hildon_touch_selector_remove_column): Remove from the correct parent
1725 and also remove the list element and free it.
1728 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1730 * src/hildon-time-selector.c
1731 (_create_hours_model): change the range on 12h ampm format in order to use
1732 a 12-11 range instead of previous 01-12 range
1733 (hildon_time_selector_set_time): change the way to select the current time
1734 on 12h ampm format, due the change on the range
1735 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1738 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1740 * src/hildon-touch-selector.c
1741 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1742 in order to allow use this function on multiple row selection mode if
1743 the column is different that the first one
1746 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1748 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1749 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1751 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1753 * src/hildon-date-selector.h: clean some comments, now on the .c
1754 * src/hildon-date-selector.c
1755 (hildon_date_selector_select_month): first implementation
1756 (hildon_date_selector_select_day): added documentation, reimplemented
1757 using hildon_date_selector_select_current_date to avoid repeat code
1760 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1762 Reviewed interaction logic based on device experiences, refactored
1765 * src/hildon-pannable-area.c,
1766 (hildon_pannable_area_class_init): Updated default vmax speed.
1767 (hildon_pannable_area_calculate_velocity): Added this function, it
1768 avoids duplicate valocity calculation. Adjusted calculation to
1769 avoid problems with zero dist events.
1771 (hildon_pannable_area_motion_notify_cb): Now we use the
1772 calculate_velocity function.
1774 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1776 * src/hildon-date-selector.c
1777 (hildon_date_selector_select_current_date): fix the day range check
1778 as it failed using the last day of the current month
1781 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1783 * src/hildon-touch-selector.c
1784 (hildon_touch_selector_get_num_columns): added a parameter validation
1787 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1789 * examples/Makefile.am
1790 * examples/hildon-edit-toolbar-example.c: Example of the
1791 HildonEditToolbar widget.
1793 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1795 * configure.ac: postrelease version bump.
1797 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1801 * configure.ac: prerelease version bump.
1802 * debian/changelog: update.
1804 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1806 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1807 renderer to display stock icons in the touch list. Also, set the sizes
1808 to the recommended in the style guide.
1810 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1811 * src/hildon-touch-selector.h
1812 (hildon_touch_selector_set_active_iter): renamed, now is
1813 hildon_touch_selector_select_iter
1814 (hildon_touch_selector_get_active_iter): renamed, now is
1815 hildon_touch_selector_get_selected
1816 (hildon_touch_selector_unselect_iter): added
1817 * src/hildon-touch-selector.c
1818 Update after API modification (methods renamed)
1819 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1820 order to avoid problems selecting multiple elements on the column
1821 (hildon_touch_selector_unselect_iter): added the implementation
1822 * src/hildon-time-selector.c
1823 * src/hildon-date-selector.c
1824 * src/hildon-touch-selector-entry.c
1825 Update methods calls after hildon-touch-selector.h API modification (methods
1828 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-stackable-window.c
1831 (hildon_stackable_window_finalize): Call the parent class's finalize.
1833 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1835 * examples/hildon-touch-selector-example.c: (create_selector): Use
1836 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1839 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1841 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1842 set a cell background color, to respect theming.
1844 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1846 * doc/hildon-docs.sgml
1849 * src/hildon-edit-toolbar.c
1850 * src/hildon-edit-toolbar.h
1851 * src/hildon.h: New HildonEditToolbar widget.
1853 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1855 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1858 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1859 * src/hildon-touch-selector.c
1860 (_create_new_column): use g_object_set instead of two g_object_set_property
1862 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1863 * src/hildon-touch-selector.c
1864 (_create_new_column): use of hildon_gtk_tree_view_new to create
1865 the treeview, instead of use directly g_object_new
1866 (_create_new_column): update the property name "vindicator-mode" for the
1867 new one "vscrollbar-policy"
1868 * examples/hildon-date-button-example.c
1869 * examples/hildon-picker-button-multicolumn-example.c
1870 * examples/hildon-touch-selector-entry-example.c
1871 * examples/hildon-touch-selector-example.c
1872 * examples/hildon-time-button-example.c
1873 * examples/hildon-picker-button-example.c
1874 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1875 to all the treeviews inside a pannable area.
1877 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-button.h
1880 * src/hildon-button.c (hildon_button_init)
1881 (hildon_button_set_arrangement, hildon_button_set_alignment)
1882 (hildon_button_set_title_alignment)
1883 (hildon_button_set_value_alignment)
1884 (hildon_button_set_image_alignment)
1885 (hildon_button_construct_child): New methods to set the alignment
1886 of the individual components of the button (title, value,
1887 image). Also, new method to alter the xscale and yscale properties
1888 of the GtkAlignment inside the button, so more complex layouts can
1891 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1893 * src/hildon-button.c (hildon_button_style_set)
1894 (hildon_button_class_init, hildon_button_set_arrangement)
1895 (hildon_button_construct_child): Apply style properties
1896 correctly. Use the 'image-spacing' style property too.
1898 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1901 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1904 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_size_request): Fixed problem with
1908 pannable-area size_request.
1910 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1912 Added management for the grab-focus to a child widget, like a
1913 range, we need to fade out the scrollbar when releasing.
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_area_init): Connected the grab-focus signal to
1918 (hildon_pannable_area_grab_notify): Added this function in order
1919 to manage the situation when the grab-focus ends. We have to
1920 fade-out the scrollbar.
1922 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-app-menu.c: Minor documentation update.
1926 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-app-menu.c
1929 * examples/hildon-app-menu-example.c (create_menu): Update
1930 examples and documentation to explain how to connect callbacks.
1932 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1934 * examples/hildon-button-example.c
1935 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1936 hildon_stackable_window_new instead of gtk_window_new
1938 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1940 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1941 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1942 (hildon_pannable_area_set_property),
1943 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1944 (hildon_pannable_area_unrealize),
1945 (hildon_pannable_area_size_request),
1946 (hildon_pannable_area_size_allocate),
1947 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1948 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1949 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1950 (hildon_pannable_area_initial_effect),
1951 (hildon_pannable_area_redraw),
1952 (hildon_pannable_area_scroll_indicator_fade),
1953 (hildon_pannable_area_expose_event),
1954 (hildon_pannable_area_get_topmost), (synth_crossing),
1955 (hildon_pannable_area_button_press_cb),
1956 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1957 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1958 (hildon_pannable_area_motion_notify_cb),
1959 (hildon_pannable_area_button_release_cb),
1960 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1961 (hildon_pannable_area_remove),
1962 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1963 chage the code layout to a more GtkWidget like. Review the use of
1966 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1968 * examples/hildon-pannable-area-example-4.c,
1969 (main): Modified the name of the hindicator_mode to
1972 * src/hildon-pannable-area.c,
1973 (hildon_pannable_area_class_init),
1974 (hildon_pannable_area_motion_notify_cb),
1975 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1976 we have reduced the amount of signals and managed reviewed its
1977 rationale. Changed the default decelerate value.
1979 (hildon_pannable_area_add),
1980 (hildon_pannable_area_redraw): Refactored functions.
1982 (hildon_pannable_area_init),
1983 (hildon_pannable_area_get_property),
1984 (hildon_pannable_area_set_property):
1985 (hildon_pannable_draw_vscroll),
1986 (hildon_pannable_draw_hscroll),
1987 (hildon_pannable_area_initial_effect),
1988 (hildon_pannable_area_expose_event),
1989 (hildon_pannable_area_scroll),
1990 (hildon_pannable_area_button_press_cb),
1991 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1992 and vindicator_mode with hscrollbar_policy and
1993 vscrollbar_policy. Replaced hscroll and vscroll with
1994 hscroll_visible and vscroll_visible.
1996 (hildon_pannable_area_refresh): Refactor the function, remove
1997 variables and check the calls to this function, added resize
1998 conditions in case the children change their layout.
2000 (hildon_pannable_area_size_request): Added more detailed
2001 size_request calculation.
2004 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2006 * src/hildon-color-chooser.c
2007 (init_borders): use the correct gtk_border_free instead of g_free, to
2008 avoid a crash when this widget is used (ie: the three color selection
2011 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2013 * src/hildon-check-button.c,
2014 (hildon_check_button_set_active): Fixed problem when setting the
2015 active value, the widget was not redrawn.
2017 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c,
2020 (hildon_pannable_area_refresh),
2021 (hildon_pannable_area_scroll),
2022 (hildon_pannable_area_motion_notify_cb): Small code style change.
2024 (hildon_pannable_area_class_init): Default initial_hint set to
2025 FALSE, it is not in the specs.
2027 (hildon_pannable_area_initial_effect),
2028 (hildon_pannable_area_expose_event),
2029 (hildon_pannable_area_map),
2030 (hildon_pannable_area_init): Moved the launching point of the
2031 initial effect, it was in map but the sizes where not correct in
2032 that method so we do not know if we have the reproduce it. Now it
2033 is placed in the expose_event method and uses a variable to
2034 reproduce it just once.
2036 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2038 * src/hildon-pannable-area.c,
2039 (hildon_pannable_draw_vscroll),
2040 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2041 position allowed for the scrollbars.
2043 (hildon_pannable_area_size_allocate): Small style change.
2045 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2047 * src/hildon-pannable-area.c,
2048 (hildon_pannable_area_scroll_indicator_fade),
2049 (hildon_pannable_area_button_press_cb),
2050 (hildon_pannable_area_button_release_cb),
2051 (hildon_pannable_area_scroll_cb),
2052 (hildon_pannable_area_expose_event),
2053 (hildon_pannable_area_init): Added the define parameter
2054 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2055 and refactor the fade variable.
2057 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2059 * src/hildon-pannable-area.c,
2060 (hildon_pannable_area_redraw),
2061 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2062 lines, we were reimplemeting the redraw code.
2064 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2066 * src/hildon-pannable-area.c,
2067 (hildon_pannable_area_scroll_cb),
2068 (hildon_pannable_area_realize),
2069 (hildon_pannable_area_class_init): Added scroll_event management
2070 for pannable area, now we can scroll the usual desktop method.
2072 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2073 initialization of the parameters should depend on idle_id.
2075 (hildon_pannable_area_init),
2076 (hildon_pannable_area_map): Small code style modifications
2078 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2080 * src/hildon-pannable-area.c
2081 (hildon_pannable_area_button_press_cb),
2082 (hildon_pannable_area_motion_notify_cb),
2083 (hildon_pannable_area_button_release_cb),
2084 (hildon_pannable_area_size_allocate),
2085 (hildon_pannable_area_scroll_to): Improved the timeouts
2086 management, we avoid creating them each time.
2088 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2090 * src/hildon-pannable-area.c:
2091 (hildon_pannable_area_refresh),
2092 (hildon_pannable_area_motion_notify_cb),
2093 (hildon_pannable_area_class_init):
2094 * src/hildon-pannable-area.h:
2095 * src/hildon-touch-selector.c
2096 (_create_new_column):
2097 * examples/hildon-pannable-area-example-4.c:
2098 (horizontal_movement),
2099 (vertical_movement),
2101 Replaced the names of enums in the HildonPannableArea:
2102 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2103 HILDON_MOVEMENT_MODE_*
2104 - HILDON_PANNABLE_AREA_MOV_* ->
2106 - Removed HildonPannableAreaIndicatorMode, now we
2109 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2111 * examples/hildon-pannable-area-touch-grid-example.c
2112 * examples/hildon-pannable-area-touch-list-example.c: Fix
2113 compilation warnings.
2115 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-gtk.c (hildon_gtk_button_new)
2118 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2119 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2120 images overriding the value of the "gtk-button-images" setting.
2122 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-check-button.c (hildon_check_button_new):
2125 Instead of using a custom container, display the label and the
2126 checkbox using the standard GtkButton API.
2128 * examples/hildon-check-button-example.c (main): Don't use
2129 hildon_check_button_set_label() anymore
2131 * src/hildon-check-button.h
2132 * src/hildon-check-button.c
2133 (hildon_check_button_set_label, hildon_check_button_get_label):
2134 Set as deprecated, now we're using gtk_button_{get,set}_label()
2136 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2138 * src/hildon-pannable-area.c,
2139 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2140 GtkTreeview first line we detected it after the inclusion of the
2141 GtkWindowImpl in gtk+. We now check if the window is visible, not
2142 just if the pointer is over the window.
2143 (hildon_pannable_axis_scroll),
2144 (hildon_pannable_area_expose_event): Small style changes.
2146 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-button.c: Update documentation.
2150 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2152 * examples/hildon-button-example.c: Add a switch to show images in
2155 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2157 * doc/hildon-docs.sgml: Some docs reorganization.
2159 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2161 * examples/hildon-pannable-area-touch-list-example.c
2163 * examples/hildon-pannable-area-touch-grid-example.c
2164 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2165 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2166 Fix memory leak when setting the tree model.
2168 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2172 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2174 * doc/hildon.types: Remove duplicated hildon_window_get_type
2175 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2176 documentation comment.
2178 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2180 * doc/Makefile.am: Complete list of private headers.
2182 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2184 * doc/hildon-docs.sgml
2185 * src/hildon-app-menu.c
2186 * src/hildon-bread-crumb.c
2187 * src/hildon-button.c
2189 * src/hildon-program.c
2190 * src/hildon-stackable-window.c
2191 * src/hildon-window.c: Lots of documentation updates.
2193 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2195 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2197 * configure.ac: Require Gtk+ 2.12.9 at least
2199 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2201 * src/hildon-pannable-area.c
2202 (hildon_pannable_area_scroll_indicator_fade),
2203 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2204 to protect the return of this timeout callbacks, avoiding deadlocks.
2206 2008-08-12 Christian Dywan <christian@imendio.com>
2209 * src/hildon-*.h: Ensure a consistent include order,
2210 include <gtk/gtk.h> instead of particular files and
2211 only include the topmost header in the gtk stack. See NB #39857
2213 2008-08-12 Christian Dywan <christian@imendio.com>
2215 * src/hildon-picker-dialog.c
2216 * src/hildon-touch-selector.c: Fix warnings about unused and
2217 uninitialized variables.
2219 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2221 * examples/Makefile.am
2222 * examples/hildon-check-button-example.c: Example of the hildon
2225 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-window.h
2228 * src/hildon-window.c (hildon_window_class_init)
2229 (hildon_window_unset_program): Don't make
2230 hildon_window_unset_program a virtual function anymore.
2232 * src/hildon-stackable-window.c: Update documentation
2234 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2237 * doc/hildon-docs.sgml
2238 * doc/visual_index.xml
2239 * src/hildon-defines.c
2241 * src/hildon-helper.c
2242 * src/hildon-range-editor.c: Lots of documentation fixes.
2244 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2246 * examples/hildon-picker-button-multicolumn-example.c
2247 (create_touch_selector): Fix compilation warning.
2249 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2252 (hildon_pannable_area_button_release_cb)
2253 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2255 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2260 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-bread-crumb-trail.h
2263 * src/hildon-date-editor.c
2264 * src/hildon-date-selector.c
2265 * src/hildon-pannable-area.c
2266 * src/hildon-picker-dialog.c
2267 * src/hildon-time-selector.c
2268 * src/hildon-touch-selector-entry.c
2269 * src/hildon-touch-selector.c
2270 * src/hildon-touch-selector.h: Misc documentation fixes
2272 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2274 * examples/hildon-date-editor-example.c (main): Updated date
2277 * examples/hildon-note-example.c (on_confirmation_clicked):
2278 Updated confirmation note example.
2280 * src/hildon-date-editor.c
2281 * src/hildon-note.c: Updated sample programs in documentation.
2284 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/hildon-date-button.h:
2287 * src/hildon-picker-button.h:
2288 * src/hildon-time-button.c:
2289 * src/hildon-time-button.h:
2291 Some declarations changes to allow gtk-doc to document the widgets
2294 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2296 * src/hildon-date-button.c: Document the widget.
2297 * src/hildon-time-button.c: Document the widget.
2299 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-picker-button.c: Document the widget.
2302 * src/hildon-touch-selector-entry.c: Document the widget.
2304 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-docs.sgml
2309 * src/hildon-check-button.h
2310 * src/hildon-check-button.c: New functions to create the Hildon
2314 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2316 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2318 * src/hildon-button.h
2319 * src/hildon-button.c
2320 (hildon_button_add_title_size_group)
2321 (hildon_button_add_value_size_group)
2322 (hildon_button_add_image_size_group)
2323 (hildon_button_add_size_groups): New functions to set size groups
2324 for the button labels and image.
2325 (hildon_button_new_full): Removed
2327 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2329 * src/hildon-time-selector.c
2330 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2331 in order to avoid a crash if gconf is not available
2333 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2335 * src/hildon-button.c (hildon_button_set_arrangement)
2336 (hildon_button_construct_child): Don't construct the button child
2337 before setting the arrangement.
2339 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2341 * src/hildon-program-private.h
2342 * src/hildon-program.c
2343 * src/hildon-program.h
2344 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2345 (hildon_program_peek_window_stack)
2346 (hildon_program_pop_window_stack)
2347 (hildon_program_go_to_root_window): HildonProgram now has a
2348 separate list for stackable windows. Functions are provided to
2349 manage that list with a stack-like API.
2351 * src/hildon-stackable-window.c: Stackable window management is
2352 now much simpler with the new HildonProgram API. Windows no
2353 longer need to be manually added to the program, they're
2354 automatically pushed to the top of the stack when shown.
2356 * examples/hildon-stackable-window-example.c: Updated example to
2357 reflect the API changes.
2359 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-touch-selector.c: Comment out unimplemented
2362 hildon_touch_selector_insert_column() to avoid a compile warning.
2364 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2367 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2368 (hildon_touch_selector_set_column_selection_mode),
2369 (_hildon_touch_selector_set_model),
2370 (hildon_touch_selector_set_model):
2372 Complete review of HildonTouchSelector documentation.
2374 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2376 * doc/hildon-docs.sgml
2380 * src/hildon-gtk.c: Convenience functions for standard Gtk
2381 widgets, used to easily perform frequent operations.
2383 * src/hildon-button-helpers.h
2384 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2386 * src/hildon-helper.h
2387 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2388 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2390 * src/hildon-button.h
2391 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2393 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-button.c (hildon_button_init)
2396 (hildon_button_set_arrangement, hildon_button_construct_child):
2397 Pack the image and the labels inside the same GtkAlignment so
2398 gtk_button_set_alignment() can be used
2400 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-button.h
2403 * src/hildon-button.c
2404 (hildon_button_init, hildon_button_set_image)
2405 (hildon_button_set_image_position)
2406 (hildon_button_construct_child): New functions to add an image to
2409 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-date-button.c
2412 * src/hildon-picker-button.c
2413 * src/hildon-time-button.c
2414 * src/hildon-button.c:
2415 (hildon_button_class_init): "size-flags" renamed to "size"
2416 (hildon_button_set_title): Hide the title label if set to NULL.
2418 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2420 HildonButtonFlags split into HildonButtonArrangement (to set the
2421 button layout) and HildonSizeType (which can be used for any
2424 * src/hildon-button.h
2425 * src/hildon-button.c
2426 (hildon_button_class_init)
2427 (hildon_button_set_arrangement)
2428 (hildon_button_set_property): New "size-flags"
2429 property. "arrangement-flags" renamed to "arrangement".
2430 (hildon_button_new, hildon_button_new_with_text)
2431 (hildon_button_new_full): Constructors updated to reflect type changes.
2433 * src/hildon-helper.h
2434 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2435 to set the size of a widget.
2439 * src/hildon-button-helpers.c
2440 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2442 * src/hildon-date-button.c
2443 * src/hildon-date-button.h
2444 * src/hildon-picker-button.c
2445 * src/hildon-picker-button.h
2446 * src/hildon-time-button.c
2447 * src/hildon-time-button.h: Updated widgets to reflect
2448 HildonButton API changes.
2450 * examples/hildon-button-example.c
2451 * examples/hildon-date-button-example.c
2452 * examples/hildon-picker-button-example.c
2453 * examples/hildon-picker-button-multicolumn-example.c
2454 * examples/hildon-time-button-example.c
2455 * examples/hildon-touch-selector-entry-example.c
2456 * examples/hildon-touch-selector-example.c: Updated examples to
2457 reflect HildonButton API changes.
2459 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2461 * doc/hildon-docs.sgml:
2463 * examples/Makefile.am:
2464 * examples/hildon-touch-selector-entry-example.c:
2466 * src/hildon-touch-selector-entry.c:
2467 * src/hildon-touch-selector-entry.h:
2470 Moved HildonTouchSelectorEntry from sandbox. Added its
2471 documentation and examples.
2473 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-touch-selector.h:
2476 * examples/hildon-picker-button-multicolumn-example.c:
2477 (hildon_touch_selector_append_text_column): Add a gboolean
2478 parameter to determine if text must be centered in the column.
2480 * src/hildon-date-selector.c: (hildon_date_selector_init):
2481 * src/hildon-time-selector.c: (hildon_time_selector_init):
2482 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2483 (create_touch_selector): Update widgets and example to reflect
2486 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2488 * src/hildon-touch-selector.c:
2489 (hildon_touch_selector_set_active_iter): Set also the cursor in
2492 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2494 * doc/hildon-docs.sgml
2497 * src/hildon-toggle-button.c
2498 * src/hildon-toggle-button.h
2499 * src/hildon.h: Removed HildonToggleButton widget, a derived
2500 class is not necessary for this.
2502 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2504 * src/hildon-pannable-area.c,
2505 (hildon_pannable_area_realize),
2506 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2509 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2512 "done" button the default widget for the dialog.
2514 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-touch-selector.c:
2517 (hildon_touch_selector_class_init),
2518 (hildon_touch_selector_get_property),
2519 (_hildon_touch_selector_set_model),
2520 (_hildon_touch_selector_has_multiple_selection),
2521 (hildon_touch_selector_has_multiple_selection):
2522 Add a "has-multiple-selection" property with a virtual
2523 has_multiple_selection() method to allow derived classes to
2524 override the default value for it. See the method and property
2525 documentation for details.
2527 * src/hildon-touch-selector.h: Add the new API.
2529 * src/hildon-picker-dialog.c: (requires_done_button): Call
2530 hildon_touch_selector_has_multiple_selection() instead of
2531 determining the need for a button itself.
2533 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2536 (_hildon_touch_selector_set_model),
2537 (hildon_touch_selector_set_model): Move working code to
2538 _hildon_touch_selector_set_mode(). Call the class method instead.
2540 * src/hildon-touch-selector.h: Add (*set_model) to
2541 HildonTouchSelectorClass.
2543 Make hildon_touch_selector_set_model() a virtual method, so that
2544 derived classes can extend it and do fancy stuff with the model.
2546 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2548 * configure.ac: Set back the tarname in AC_INIT to hildon.
2550 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2554 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2555 instead of libesd (NB#86876). Volume handling is still an open issue.
2557 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2560 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2563 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2564 derived class to ease placement of an entry widget in
2565 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2566 end, where the selector columns are packed now.
2568 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-picker-button.c: Removed the simple _text() API.
2571 * src/hildon-picker-button.h: Likewise.
2573 * src/hildon-touch-selector.h:
2574 * src/hildon-touch-selector.c:
2575 (hildon_touch_selector_new_text),
2576 (hildon_touch_selector_append_text),
2577 (hildon_touch_selector_prepend_text),
2578 (hildon_touch_selector_insert_text):
2580 Moved the simple _text() API from HildonPickerButton to
2581 HildonTouchPicker, to provide better escalability and not to tie
2582 that API to HildonPickerButton.
2584 * examples/hildon-picker-button-example.c: (main): Example updated.
2586 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2588 * src/hildon-button.c: Updated documentation.
2590 * examples/hildon-button-example.c: Add the posibility to create
2591 the buttons using horizontal layout for title and value.
2593 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-app-menu-private.h
2596 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2597 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2598 GtkSizeGroup for the filters, use the 'homogeneous' property of
2601 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2603 * examples/hildon-button-example.c: Updated example.
2605 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2607 * doc/hildon-docs.sgml:
2610 Update documentation.
2612 * examples/Makefile.am: Update renamed examples.
2614 * examples/hildon-picker-button-multicolumn-example.c:
2615 (create_touch_selector), (main): Update after the rename.
2617 * examples/hildon-touch-picker-example.c: Removed.
2618 * examples/hildon-touch-selector-example.c: (value_changed),
2619 (create_selector), (get_visible_content), (main): Renamed from
2620 hildon-touch-picker-example.c
2622 * src/Makefile.am: Updated renamed files.
2624 * src/hildon-date-button.c: (hildon_date_button_init),
2625 (hildon_date_button_get_date), (hildon_date_button_set_date):
2626 * src/hildon-date-selector.c: (hildon_date_selector_init),
2627 (_custom_print_func), (_update_day_model),
2628 (_manage_selector_change_cb),
2629 (hildon_date_selector_select_current_date),
2630 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2631 * src/hildon-date-selector.h:
2632 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2633 (hildon_picker_button_set_property),
2634 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2635 (hildon_picker_button_init), (hildon_picker_button_new_text),
2636 (hildon_picker_button_append_text),
2637 (hildon_picker_button_prepend_text),
2638 (hildon_picker_button_insert_text),
2639 (hildon_picker_button_set_selector),
2640 (hildon_picker_button_get_selector):
2641 * src/hildon-picker-button.h:
2642 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2643 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2644 (_update_title_on_selector_changed_cb), (requires_done_button),
2645 (_hildon_picker_dialog_set_selector),
2646 (hildon_picker_dialog_set_selector),
2647 (hildon_picker_dialog_get_selector):
2648 * src/hildon-picker-dialog.h:
2649 * src/hildon-time-button.c: (hildon_time_button_init),
2650 (hildon_time_button_get_time), (hildon_time_button_set_time):
2651 * src/hildon-time-selector.c: (hildon_time_selector_init),
2652 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2653 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2654 * src/hildon-time-selector.h:
2657 Massive code updates after the rename.
2659 * src/hildon-touch-picker.c: Removed.
2660 * src/hildon-touch-picker.h: Removed.
2662 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2663 (hildon_touch_selector_init), (hildon_touch_selector_map),
2664 (hildon_touch_selector_remove), (_default_print_func),
2665 (_selection_changed_cb), (_create_new_column),
2666 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2667 (hildon_touch_selector_append_text_column),
2668 (hildon_touch_selector_remove_column),
2669 (hildon_touch_selector_set_column_attributes),
2670 (hildon_touch_selector_insert_column),
2671 (hildon_touch_selector_get_num_columns),
2672 (hildon_touch_selector_get_column_selection_mode),
2673 (hildon_touch_selector_set_column_selection_mode),
2674 (hildon_touch_selector_set_print_func),
2675 (hildon_touch_selector_get_print_func),
2676 (hildon_touch_selector_get_active_iter),
2677 (hildon_touch_selector_set_active_iter),
2678 (hildon_touch_selector_get_selected_rows),
2679 (hildon_touch_selector_get_model),
2680 (hildon_touch_selector_set_model),
2681 (hildon_touch_selector_get_current_text),
2682 (_hildon_touch_selector_center_on_selected_items):
2683 * src/hildon-touch-selector.h: Renamed from
2684 hildon-touch-picker.[ch]
2686 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2687 references, code examples, and related documentation.
2689 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2691 * doc/hildon-docs.sgml
2694 * src/hildon-toggle-button.c
2695 * src/hildon-toggle-button.h
2696 * src/hildon.h: New HildonToggleButton widget.
2698 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-button.c: Add API documentation.
2701 (hildon_button_set_size_groups): Check input parameters
2703 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2705 * src/hildon-pannable-area.c
2706 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2707 effect after reaching the movement thredshold. This way we start
2708 using the distance after passing the thredshold.
2710 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-button.c: (hildon_button_set_property): Use the
2713 appropriate g_value_get_flags() method.
2715 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2717 * doc/hildon-docs.sgml:
2720 Add the touch pickers, picker dialogs, and picker button widgets
2721 to the documentation.
2723 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2725 * src/hildon-button.c: (hildon_button_set_property),
2726 (hildon_button_class_init): Make "arrangement-flags" a proper
2727 G_TYPE_FLAGS derived property.
2729 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2731 * examples/Makefile.am: Add below examples.
2732 * examples/hildon-date-button-example.c:
2733 * examples/hildon-picker-button-example.c:
2734 * examples/hildon-picker-button-multicolumn-example.c:
2735 * examples/hildon-time-button-example.c:
2736 * examples/hildon-touch-picker-example.c:
2738 Add examples for the recently added touch pickers,
2739 picker dialogs, and picker button widgets.
2741 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2743 * src/hildon-button.c: Add some API documentation
2745 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2747 * src/hildon-button.h
2748 * src/hildon-button.c
2750 (hildon_button_new_with_text): New constructor to create a button
2751 with no text at all.
2752 (hildon_button_init, hildon_button_set_arrangement)
2753 (hildon_button_set_title, hildon_button_set_value)
2754 (hildon_button_set_text)
2755 (hildon_button_construct_child): Hide the value when it's not used
2756 so the rest of the text is properly aligned.
2757 Allow creating buttons with arbitrary widgets inside (not just
2758 title/value labels).
2760 * examples/hildon-button-example.c (vertical_buttons_window)
2761 (horizontal_buttons_window): Update example to use new API.
2763 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/Makefile.am: Added HildonTimeButton.
2766 * src/hildon-time-button.c: Added missing LGPL header.
2767 * src/hildon-time-button.h: Added missing LGPL header.
2768 * src/hildon.h: Add hildon-time-button.h
2770 Copied HildonTimeButton from sandbox to trunk. Future work on this
2771 widget must take place in trunk.
2773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/Makefile.am: Added HildonDateButton.
2776 * src/hildon-date-button.c: Update includes.
2777 * src/hildon.h: Add hildon-date-button.h
2779 Copied HildonDateButton from sandbox to trunk. Future work on this
2780 widget must take place in trunk.
2782 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/Makefile.am: Added HildonPickerButton.
2785 * src/hildon-picker-button.h: Update includes.
2786 * src/hildon.h: Add hildon-picker-button.h
2788 Copied HildonPickerButton from sandbox to trunk. Future work on
2789 this widget must take place in trunk.
2791 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/Makefile.am: Added HildonPickerDialog.
2794 * src/hildon-picker-dialog.c: Update includes.
2795 * src/hildon.h: Add hildon-picker-dialog.h
2797 Copied HildonPickerDialog from sandbox to trunk. Future work
2798 on this widget must take place in trunk.
2800 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2802 * src/Makefile.am: Added HildonTimeSelector.
2803 * src/hildon.h: Add hildon-time-selector.h
2805 Copied HildonTimeSelector widget from sandbox to trunk. Future
2806 work on this widget must happen in trunk.
2808 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/Makefile.am: Added HildonDateSelector.
2811 * src/hildon.h: Add hildon-date-selector.h
2813 Copied HildonDateSelector widget from sandbox to trunk. Future
2814 work on this widget must happen in trunk.
2816 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/Makefile.am: Added HildonTouchPicker.
2819 * src/hildon-touch-picker.c: Update includes.
2820 * src/hildon.h: Add hildon-touch-picker.h
2822 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2823 on this widget must happen in trunk.
2825 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-pannable-area.c:
2828 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2830 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2832 * examples/hildon-app-menu-example.c (main): Let the window
2835 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c
2838 (hildon_pannable_area_class_init): Set the min value of the
2839 overshoot properties to zero, which points out that not
2840 overshooting allowed.
2842 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2844 Modified the procedure to get the widget at a point inside the
2845 pannable area when using the movement type signals. Now the user
2846 has to call a function to get the child, that way we just
2847 calculate the child in case the user really want to use it and not
2850 * src/hildon-marshalers.list: Modified the marshallers, now we do
2851 not have the widget as a parameter.
2853 * src/hildon-pannable-area.c
2854 (hildon_pannable_area_motion_notify_cb),
2855 (hildon_pannable_area_class_init),
2856 (hildon_pannable_get_child_widget_at): Removed the widget
2857 parameter from the signal callback. We have also refactored the
2858 emission of the signals.
2860 * src/hildon-pannable-area.h: Added a new method to the API to
2861 calculate a widget at a point inside the pannable area,
2862 hildon_pannable_get_child_widget_at.
2864 * examples/hildon-pannable-area-example-4.c
2865 (horizontal_movement): Modified the example to use the new API,
2866 added condition to control which widget is under the event. This
2867 way we can avoid scrolling laterally over other widgets.
2869 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c
2872 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2873 modes, we stop getting the pointer events due to returning the
2874 callback without properly calling the get pointer again. Fixed
2875 also an error using the hscroll and vscroll.
2877 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2879 * src/hildon-app-menu-private.h
2880 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2881 (hildon_app_menu_button_release, hildon_app_menu_init)
2882 (hildon_app_menu_class_init): Don't hide the menu on button
2883 release if the user didn't press outside first.
2885 * src/hildon-window.h
2886 * src/hildon-window.c (hildon_window_toggle_menu)
2887 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2888 hildon_window_toggle_menu a virtual function for the stackable
2889 window to override it.
2891 * src/hildon-stackable-window.h
2892 * src/hildon-stackable-window-private.h
2893 * src/hildon-stackable-window.c
2894 (hildon_stackable_window_realize)
2895 (hildon_stackable_window_finalize)
2896 (hildon_stackable_window_class_init)
2897 (hildon_stackable_window_init)
2898 (hildon_stackable_window_set_main_menu): New function to set the
2899 app menu of a HildonStackableWindow.
2901 * examples/hildon-app-menu-example.c: Remove the button to show
2902 the app menu, now it'll be shown when clicking on the title bar
2905 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2908 set the widget name if the arrangement flags do not specify
2911 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-button.c: (hildon_button_set_property),
2914 (hildon_button_class_init), (hildon_button_new_full),
2915 (hildon_button_set_arrangement): Added "arrangement-flags"
2918 Make the HildonButtonFlags a construction-only property, to allow
2919 subclasses to set them properly.
2921 2008-07-21 Tim Janik <timj@imendio.com>
2923 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2924 insertion position after backspace, so additional digits are appended,
2927 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2929 * src/hildon-pannable-area.c,
2930 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2931 TODO list, it was complete and removed the g_debug and g_print
2934 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2936 Added the movement modes to the hildon-pannable-area, with this
2937 modes the developers can control in which directions the widget
2938 can scroll. They can also connect to signals in order to do
2939 something when that happens, allowing applications scroll. There
2940 is an example uploaded showing how to use it.
2942 * examples/Makefile.am:
2943 * examples/hildon-pannable-area-example-4.c: Added this example of
2944 an application using the modes.
2946 * src/hildon-marshalers.list: Added a new marshaller for the new
2949 * src/hildon-pannable-area.h: Added new enumerations and flags in
2950 order to control the movement modes and the new signals to warn
2951 about the movements in the area.
2953 * src/hildon-pannable-area.c:
2954 (hildon_pannable_axis_scroll),
2955 (hildon_pannable_area_scroll),
2956 (hildon_pannable_area_motion_notify_cb),
2957 (hildon_pannable_area_get_property),
2958 (hildon_pannable_area_set_property),
2959 (hildon_pannable_area_map),
2960 (hildon_pannable_area_class_init),
2961 (hildon_pannable_area_init),
2962 (hildon_pannable_area_jump_to): Added the modes to control the
2963 movement in the widget. We have added properties to control it,
2964 signals to warn about the movements and refactored some code.
2966 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2968 Changes required in order to allow vfast_factor set to zero to
2971 * src/hildon-pannable-area.c:
2972 (hildon_pannable_area_button_press_cb): Changed the condition, it
2973 is required for not allowing click when vfast_factor is zero.
2974 (hildon_pannable_area_timeout): Initialized velocity variables
2975 when we stop moving, it was less than 1 but not zero and we need
2976 to check zero in some situations.
2977 (hildon_pannable_area_class_init): Changed the default value of
2978 the speed factor, now the button_press is just sent in case the
2979 speed is 2 per cent of the max speed.
2980 (hildon_pannable_area_init): Initialization with 0.
2982 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2984 * src/hildon-pannable-area.c,
2985 (hildon_pannable_area_get_topmost): replaced
2986 gdk_window_get_children with gdk_window_peek_children, this way we
2987 do not have to free the list because it is not a copy.
2989 (hildon_pannable_axis_scroll),
2990 (hildon_pannable_area_scroll),
2991 (hildon_pannable_area_timeout),
2992 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2993 two parameters that were only used inside the
2994 hildon_pannable_area_scroll function.
2996 * examples/hildon-pannable-area-example.c,
2997 (get_sawtooth_label): Fixed small memory leak.
2999 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3001 More checks for the case where the overshoot is bigger than the
3004 * src/hildon-pannable-area.c:
3005 (hildon_pannable_draw_vscroll),
3006 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3007 to draw the slider of the scrollbar under the other scrollbar.
3008 (hildon_pannable_area_expose_event): added new checks to control
3009 the drawing of the overshooting area rectangle, in case it is too
3010 big for the area of the widget.
3011 (hildon_pannable_area_size_allocate): add more checks to avoid
3012 setting a position to the child widget outside the area.
3014 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3016 * src/hildon-pannable-area.c
3017 (hildon_pannable_area_size_allocate): Added conditions to control
3018 when overshooting is bigger than the allocated space for the
3019 children, this avoids negative allocations.
3021 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3023 * doc/hildon-docs.sgml
3025 * examples/Makefile.am
3026 * examples/hildon-button-example.c
3028 * src/hildon-button.c
3029 * src/hildon-button.h
3030 * src/hildon.h: Initial version of the new HildonButton widget,
3033 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3035 * src/hildon-pannable-area.c:
3036 (hildon_pannable_area_button_press_cb),
3037 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3038 (hildon_pannable_area_motion_notify_cb),
3039 (hildon_pannable_area_button_release_cb),
3040 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3041 (hildon_pannable_area_jump_to_child):
3043 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3045 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3047 * examples/Makefile.am
3048 * examples/hildon-pannable-area-touch-grid-example.c
3049 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3050 the Hildon Touch List and Hildon Touch Grid using the
3051 HildonPannableArea widget.
3053 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3055 * src/hildon-pannable-area.c,
3056 (hildon_pannable_area_button_press_cb),
3057 (hildon_pannable_area_refresh),
3058 (hildon_pannable_area_scroll),
3059 (hildon_pannable_area_motion_notify_cb),
3060 (hildon_pannable_area_button_release_cb),
3061 (hildon_pannable_area_expose_event),
3062 (hildon_pannable_area_add),
3063 (hildon_pannable_area_remove),
3064 (hildon_pannable_area_realize),
3065 (hildon_pannable_area_size_allocate),
3066 (hildon_pannable_area_class_init),
3067 (hildon_pannable_area_init),
3068 (hildon_pannable_area_scroll_to_child),
3069 (hildon_pannable_area_jump_to_child): Fixed the problem of
3070 removing the child from the GtkBin, we have rearranged the widget
3071 hierarchy, now there is no GtkAlignment which was not doing
3072 anything interesting but breaking some of the assumptions of
3073 GtkContainer. Now developers if they want to add a GtkAlignment
3074 they could, but it is not inside the area.
3076 We had to review the whole allocation/expose process, now it is
3077 improved and we save at least three signals which would be saving
3078 some time when rendering the widget. The allocation of the
3079 scrollbars is now made in the allocate method as usual.
3081 We have also added some conditions in order to control when there
3082 is no child of the pannable area. Maybe we will need more work
3085 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3087 * src/hildon-pannable-area.c,
3088 (hildon_pannable_area_dispose): Released the fade-out timeout when
3089 disposing the widget.
3091 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3093 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3094 zero, we are going to use that property in order to deactivate the
3096 (hildon_pannable_axis_scroll),
3097 (hildon_pannable_area_size_allocate): Added conditions to control
3098 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3099 call, now it is called in all situations and we can remove calls
3100 in the allocate method.
3101 (hildon_pannable_area_map): Control the situation when
3102 overshoot_max is zero, we do not need the timeout.
3103 (hildon_pannable_area_class_init): Added documentation in order to
3104 point out that setting zero to overshoot_max means deactivate
3107 NOTE: removed trailing whitespaces from my previous comments of
3110 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-pannable-area.c
3113 (hildon_pannable_area_get_property),
3114 (hildon_pannable_area_set_property),
3115 (hildon_pannable_area_map),
3116 (hildon_pannable_area_class_init),
3117 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3118 to cause the widget give a hint about its panning abilities upon
3121 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3123 * src/hildon-pannable-area.c: Several documentation improvements.
3125 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-program.c
3128 * src/hildon-stackable-window.c: Update documentation.
3130 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-stackable-window.c (get_previous_window_if_last):
3133 Renamed get_last_window()
3134 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3135 (hildon_stackable_window_unset_program):
3137 (get_previous_window_if_last):
3138 Detect if the window hasn't been added to a HildonProgram.
3140 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3142 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-pannable-area.c
3145 (hildon_pannable_area_button_press_cb),
3146 (hildon_pannable_axis_scroll),
3147 (hildon_pannable_area_scroll),
3148 (hildon_pannable_area_timeout),
3149 (hildon_pannable_calculate_vel_factor),
3150 (hildon_pannable_area_get_property),
3151 (hildon_pannable_area_set_property),
3152 (hildon_pannable_area_class_init),
3153 (hildon_pannable_area_init),
3154 (hildon_pannable_area_scroll_to),
3155 (hildon_pannable_area_jump_to),
3156 (hildon_pannable_area_scroll_to_child),
3157 (hildon_pannable_area_jump_to_child):
3158 * src/hildon-pannable-area.h: Added the new API functions:
3159 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3160 hildon_pannable_area_scroll_to_child,
3161 hildon_pannable_area_jump_to_child
3164 * examples/Makefile.am
3165 * examples/hildon-pannable-area-example-2.c
3166 * examples/hildon-pannable-area-example-3.c: Added these two new
3167 examples in order to test and show how the new APIs work.
3169 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3171 * examples/hildon-stackable-window-example.c (new_window):
3172 * src/Makefile.am (noinst_HEADERS):
3173 * src/hildon-program.c (hildon_program_go_to_root_window):
3174 * src/hildon-program.h:
3175 * src/hildon-stackable-window-private.h:
3176 * src/hildon-stackable-window.c:
3177 * src/hildon-stackable-window.h:
3178 Create hildon-stackable-window-private.h
3179 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3181 * examples/hildon-app-menu-example.c (create_menu):
3182 * examples/hildon-hvolumebar-insensitive-example.c (main):
3183 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3184 * examples/hildon-toolbar-seekbar-example.c (main):
3185 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3186 * src/hildon-banner.c (hildon_banner_set_property):
3187 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3188 Fix compilation warnings
3190 * src/hildon-window.c:
3193 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-stackable-window.c
3196 (hildon_stackable_window_unset_program):
3197 Calculate correctly whether to show the previous window if the
3198 last one is removed from the stack.
3199 (hildon_stackable_window_go_to_root_window):
3200 Send delete events starting from the topmost window.
3201 Stop if one of the windows is not destroyed.
3203 (hildon_stackable_window_delete_event)
3204 (hildon_stackable_window_class_init):
3205 Ignore the delete event if the window is not the topmost one.
3207 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3209 * src/hildon-pannable-area.c
3210 (hildon_pannable_area_expose_event): Fixed a problem when
3211 selecting the background color of the scrollbars.
3213 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3215 * examples/hildon-stackable-window-example.c
3216 * src/hildon-stackable-window.c
3217 * src/hildon-stackable-window.h
3218 hildon_stackable_window_go_home() renamed to
3219 hildon_stackable_window_go_to_root_window()
3220 Send delete events to windows rather than closing them with
3221 gtk_widget_destroy()
3223 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-pannable-area.c
3226 (hildon_pannable_area_button_release_cb): Fix overshooting in
3229 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-pannable-area.c
3232 (hildon_pannable_area_init): Initially show the scroll indicators.
3233 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3235 Add initial effect showing the widget is pannable.
3237 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-pannable-area.c
3240 (hildon_pannable_area_class_init)
3241 (hildon_pannable_area_set_property)
3242 (hildon_pannable_area_get_property)
3243 (hildon_pannable_area_button_press_cb):
3244 New 'velocity_fast_factor' property to decide which velocity is
3247 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-pannable-area.c
3250 (hildon_pannable_draw_hscroll)
3251 (hildon_pannable_draw_vscroll):
3252 Use float variables to calculate the size of the scrollbars to
3253 avoid error propagation and resizing during scrolling.
3255 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-pannable-area.c
3258 (hildon_pannable_draw_vscroll)
3259 (hildon_pannable_draw_hscroll):
3260 Define a minimum size for the scroll bars
3262 * src/hildon-stackable-window.c
3263 (hildon_stackable_window_go_home): Fix compilation warning
3264 (get_last_window): Minor optimizations
3265 (hildon_stackable_window_class_init): Fix initialization of
3268 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-stackable-window.c: Fixed typos in doc
3272 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-pannable-area.c
3275 (hildon_pannable_area_scroll):
3276 Calculate here whether we need to scroll instead of using the booleans
3277 that tell us whether to /draw/ the scrolling bars.
3279 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-app-menu.h
3283 * src/hildon-app-menu.c
3284 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3285 multiple filter groups related code and API. Now we support only
3287 * examples/hildon-app-menu-example.c:
3289 Update to reflect API changes.
3291 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-stackable-window.c
3294 (hildon_stackable_window_class_init):
3295 Add hildon_stackable_window_realize.
3296 (hildon_stackable_window_realize):
3297 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3298 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3299 to apply theming and behavior specific to HildonStackableWindow
3302 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3304 * src/hildon-note.c (hildon_note_button_release):
3305 Close information notes also when tapping on them
3307 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3309 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3310 ELASTICITY, refactor and review, fix some issues with drawing
3313 * src/hildon-pannable-area.c:
3314 (hildon_pannable_area_button_press_cb): removed the conditions to
3315 avoid clicks when overshooting. It is not required
3317 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3318 define. Refatored and reviewed the code, now we do not need to
3319 manage velocity in motion_notify.
3321 (hildon_pannable_area_motion_notify_cb): We have moved the code
3322 that controls the area_scroll to the axis_scroll function and get
3323 rid of duplicated code.
3325 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3327 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3329 (hildon_pannable_draw_vscroll),
3330 (hildon_pannable_draw_hscroll): Fixed the problems with the
3331 scrollbar drawing, now we do not use two surfaces, it is easier
3332 and saves resources.
3334 (hildon_pannable_area_get_property): Style modification.
3336 (hildon_pannable_area_class_init): Changed some default values.
3338 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-stackable-window.c: Fix some typos in the
3343 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-dialog.c:
3346 Change indentation style
3349 (hildon_note_button_release):
3350 Use root coordinates to check if the release event happened
3353 * src/hildon-app-menu.c
3354 (hildon_app_menu_button_release):
3355 Remove unnecessary check
3357 * examples/hildon-app-menu-example.c
3359 Add cast to fix warning
3361 * src/hildon-app-menu.c
3362 (hildon_app_menu_class_init):
3363 New inner-border style property.
3364 Set all default spacings to 16
3365 (hildon_app_menu_init):
3366 Use vertical-spacing to set the space between filter buttons and
3367 regular menu buttons.
3368 Set the default container border using the inner-border value.
3370 * examples/hildon-app-menu-example.c
3372 Don't set the menu border explicitly, now we have the inner-border
3373 style property for that.
3375 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3377 * src/hildon-app-menu.c (hildon_app_menu_init):
3378 Make the window modal
3380 * src/hildon-note.c (hildon_note_map)
3381 * src/hildon-app-menu.c (hildon_app_menu_map):
3382 Destroy the grab window if we're unable to grab the pointer
3384 * src/hildon-app-menu-private.h
3385 * src/hildon-app-menu.c
3386 (hildon_app_menu_init, hildon_app_menu_finalize)
3387 (hildon_app_menu_map, hildon_app_menu_unmap)
3388 (hildon_app_menu_button_release)
3389 (grab_transfer_window_get):
3390 Bring back the grab window
3391 (hildon_app_menu_realize):
3392 Decorate the window, set WM hint for Matchbox
3394 * src/hildon-note.c (hildon_note_realize):
3395 * src/hildon-banner.c (hildon_banner_realize):
3396 Add WM hints for Matchbox
3398 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3400 * src/hildon-app-menu-private.h
3401 * src/hildon-app-menu.c
3402 (hildon_app_menu_init, hildon_app_menu_finalize)
3403 (hildon_app_menu_map, hildon_app_menu_unmap)
3404 (hildon_app_menu_button_release):
3405 Remove the grab window, it's not needed anymore
3407 * src/hildon-program.c
3408 Fixed typo in documentation
3410 * src/hildon-app-menu.h
3411 * src/hildon-app-menu.c
3412 * examples/hildon-app-menu-example.c
3413 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3415 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3418 Added new transfer_window and close_if_pressed_outside private
3420 (hildon_note_rebuild):
3421 Don't add a cancel button to the information note. It will be
3422 closed when tapping outside
3423 Remove the comment about the OK button in the documentation
3424 (hildon_note_realize):
3425 Set the notification type hint
3426 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3427 Grab/ungrab pointer and keyboard if the note has to be closed when
3429 (hildon_note_button_release):
3430 Close the note when tapping outside (if applicable)
3432 * src/hildon-app-menu.c
3433 Grab/ungrab pointer and keyboard on map/unmap
3434 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3435 Close the menu on button release, not button press
3437 * src/hildon-banner.c
3438 (hildon_banner_set_property)
3439 (hildon_banner_check_position):
3440 Make the banner use the full width of the screen
3441 (hildon_banner_show_information)
3442 (hildon_banner_show_information_with_markup):
3443 Don't display an icon by default
3445 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3447 Added fading scrollbars and adapted all the overshooting code to
3448 horizontal scrolling. We have also fixed bugs with overshooting
3449 and current fading implementation.
3451 * src/hildon-pannable-area.c
3452 (hildon_pannable_area_scroll_indicator_fade): Time out function
3453 used to change the transparency of the scrollbars.
3455 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3456 control and fixed a problem with fading, we now remove the fade
3457 timeout before adding a new one.
3459 (hildon_pannable_axis_scroll):
3460 (hildon_pannable_area_scroll):
3461 (hildon_pannable_area_timeout): Added this functions so we can use
3462 the scroll code both for vertical and horizontal.
3464 (hildon_pannable_area_motion_notify_cb):
3465 (hildon_pannable_area_button_release_cb): Added the horizontal
3466 scrolling control, fixed a problem with the overshooting timeout.
3468 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3469 painting of the scrolls.
3471 (hildon_pannable_draw_vscroll):
3472 (hildon_pannable_draw_hscroll):
3473 (hildon_pannable_area_expose_event):
3474 Draw both scrollbars and rectangles in the overshooting area.
3476 (hildon_pannable_area_get_property):
3477 (hildon_pannable_area_set_property):
3478 Modified the overshoot property to overshoot_max
3480 (hildon_pannable_area_map):
3481 Replaced the comments symbols.
3483 (hildon_pannable_area_size_allocate):
3484 (hildon_pannable_area_class_init):
3485 (hildon_pannable_area_init): Added horizontal scroll, fading
3486 effect properties, fixed a problem when overshooting in the bottom
3489 * examples/hildon-pannable-area-example.c:
3490 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3491 looks better in the example.
3493 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3495 * src/hildon-window.c
3496 * src/hildon-window.h
3497 (hildon_window_class_init)
3498 (hildon_window_unset_program)
3499 (hildon_window_unset_program_real):
3500 Make unset_program a virtual function
3502 * src/hildon-stackable-window.c
3503 * src/hildon-stackable-window.h
3504 Added hildon_stackable_window_go_home()
3506 * examples/Makefile.am
3507 * examples/hildon-stackable-window-example.c
3508 HildonStackableWindow example
3510 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3512 * hildon-pannable-area.c: Added the overshoot property and removed
3513 the OVERSHOOT define. Fixed an indent style error.
3514 (hildon_pannable_area_motion_notify_cb):
3515 (hildon_pannable_area_get_property):
3516 (hildon_pannable_area_set_property): Add overshoot property.
3518 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3521 (hildon_pannable_area_class_init): Installed the new property.
3523 * hildon-pannable-area-example.c: Added a sawtooth function, this
3524 way it is easier to check the movement in the pannable.
3525 (get_sawtooth_label): Added this function.
3526 (main): Now we get the labels from the new get_sawtooth_label
3529 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-app-menu.h
3532 * src/hildon-app-menu.c
3533 Renamed API variables for consistency
3535 (hildon_app_menu_popup): Use also the default window size to
3536 decide where to place the menu
3538 (hildon_app_menu_init, hildon_app_menu_class_init): New
3539 external-border style property
3541 2008-05-26 Michael Natterer <mitch@imendio.com>
3543 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3544 widget_class->tap_and_hold_setup signal slot doesn't exist any
3545 longer, stop overriding it.
3547 (hildon_time_editor_init): g_signal_connect() to the
3548 tap-and-hold-setup signal instead.
3550 (hildon_time_editor_entry_keypress): add cast to fix warning.
3552 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3554 * doc/hildon-docs.sgml
3556 * examples/Makefile.am
3557 * examples/hildon-app-menu-example.c
3559 * src/hildon-app-menu-private.h
3560 * src/hildon-app-menu.c
3561 * src/hildon-app-menu.h
3563 New HildonAppMenu widget
3565 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3567 Rearranged the inheritance of the pannable area, now it inherits
3568 from GtkBin. This will allow us to control the event_window and
3569 the allocation process of the widget, required for some effects.
3571 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3572 GtkBin structures. * src/hildon-pannable-area.c: Added the
3573 event_window variable.
3574 (hildon_pannable_area_button_press_cb):
3575 (hildon_pannable_area_button_release_cb):
3576 (hildon_pannable_area_motion_notify_cb):
3577 Changed the signature of the method, now we override the event
3578 callback instead of connecting to the signal.
3580 (hildon_pannable_area_realize):
3581 (hildon_pannable_area_unrealize):
3582 (hildon_pannable_area_map):
3583 (hildon_pannable_area_unmap):
3584 (hildon_pannable_area_size_allocate):
3585 Added functions to control the widget construction. We add a
3586 INPUT_ONLY window and we put it over the widgets inside the
3587 container, this event_window handles the events.
3589 (hildon_pannable_area_class_init):
3590 Replaced the signal connections with overrides of the event
3593 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3595 Bouncing effect added when touching the borders, you can change
3596 the elasticity of the border changing the ELASTICITY define.
3598 * src/hildon-pannable-area.c: Added ELASTICITY define.
3599 (hildon_pannable_area_timeout): Added inverse velocity when
3600 touching the border of the child widget, that causes a bounce.
3602 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3604 Improved performance, we now do not go to the X server in order to
3605 get the list of window children. Apparently the effect is the
3606 same, we have to be careful and check if this breaks something in
3609 * src/hildon-pannable-area.c:
3610 (get_ordered_children): Removed this function.
3611 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3612 the children windows function with gdk_window_get_children.
3614 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3616 * src/hildon-pannable-area.c:
3617 (hildon_pannable_area_dispose): Fixed a crash when closing the
3618 window and kinetics is activated.
3620 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3622 * src/hildon-pannable-area.h
3623 * src/hildon-pannable-area.c
3624 Changed indentation style to meet the one used in Hildon
3626 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3628 Reviewed the interaction of the AUTO mode, now we use the time
3629 attribute of the events and calculate the velocity in the motion,
3630 doing a gimp like calculation. The velocity is calculated in each
3631 motion event using the last velocity and the current one, the
3632 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3634 * src/hildon-pannable-area.c: Replaced the time based algorithm
3636 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3637 timeout for the AUTO mode when we are still moving the cursor. We
3638 added also the velocity calculation in this function.
3639 (hildon_pannable_area_button_release_cb): launch the timeout in
3640 case we are in AUTO mode. There are still some constants here that
3641 come from the old implementation that should be reviewed and
3644 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3646 * doc/hildon-docs.sgml
3649 * src/hildon-stackable-window.c
3650 * src/hildon-stackable-window.h
3652 New HildonStackableWindow widget
3654 * examples/hildon-dialog-example.c
3655 * examples/hildon-pannable-area-example.c
3658 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-dialog.c
3661 (hildon_dialog_new_with_buttons): New constructor.
3663 * examples/hildon-dialog-example.c
3664 (main): Update the example to use the new
3665 hildon_dialog_new_with_buttons().
3667 * examples/hildon-pannable-area-example.c
3668 (main): Update example.
3670 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3672 * doc/hildon-docs.sgml
3674 Added HildonPannableArea to the documentation.
3676 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3678 * doc/visual_index.xml
3679 Fix reference to HildonLoginDialog in documentation
3681 * doc/hildon-docs.sgml
3683 * examples/Makefile.am
3684 * examples/hildon-dialog-example.c
3686 * src/hildon-dialog.c
3687 * src/hildon-dialog.h
3689 New HildonDialog widget.
3691 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3693 * src/hildon-pannable-area.c
3694 Merge latest changes (r4318, r4342) from libmokoui trunk
3696 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3698 * examples/Makefile.am
3699 * examples/hildon-pannable-area-example.c
3701 * src/hildon-pannable-area.c
3702 * src/hildon-pannable-area.h
3704 New HildonPannableArea widget.
3706 2008-04-15 18:05:19 <timj@imendio.com>
3708 * src/hildon-banner.c: revert the recent change, that introduced
3709 gtk_window_present() calls. this reopens:
3710 Bug 78481 - [freetest] information banners are hidden under browser menu
3711 But resolves another variant of:
3712 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3714 2008-04-15 13:21:13 <timj@imendio.com>
3716 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3717 recreated its layout, spotted by Kris. this fixes all remaining
3718 artefacts and stability issues with the banner code. in particular:
3719 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3721 2008-04-14 16:52:59 <timj@imendio.com>
3723 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3724 operating on unrealized widgets, fixes:
3725 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3727 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3729 2008-04-09 Kristian Rietveld <kris@imendio.com>
3731 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3732 makes banner disappear.
3733 Fixes: NB#79182: info banner flickering with certain message lengts.
3735 * src/hildon-banner.c (hildon_banner_constructor),
3736 (hildon_banner_init), (hildon_banner_set_text),
3737 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3738 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3739 FALSE, reset size requests of label and banner,
3740 (force_to_wrap_truncated): when the text is too wide, always enforce
3741 the maximum possible width instead of recalculating it from the
3742 layout; enforce the maximum banner height of 3 lines,
3743 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3744 nicer wrapping and no truncated chars if space gets tight.
3746 * src/hildon-banner-private.h: add has_been_wrapped and
3747 has_been_truncated fields.
3749 2008-04-07 Sven Herzberg <sven@imendio.com>
3751 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3752 local values in hildon_date_editor_size_allocate
3754 * src/hildon-date-editor.c: moved the real allocation code into the
3757 2008-04-07 Sven Herzberg <sven@imendio.com>
3759 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3760 local values in hildon_date_editor_size_allocate
3762 * src/hildon-date-editor.c: merged the two if() branches together
3764 2008-04-07 Sven Herzberg <sven@imendio.com>
3766 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3767 local values in hildon_date_editor_size_allocate
3769 * src/hildon-date-editor.c: changed the arguments of the if()
3772 2008-04-07 Sven Herzberg <sven@imendio.com>
3774 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3775 local values in hildon_date_editor_size_allocate
3777 * src/hildon-date-editor.c: split the calculation of the allocation
3778 from the real allocation
3780 2008-03-27 Michael Natterer <mitch@imendio.com>
3782 Fixes: NB#81696: The passcode is not overwritten even after
3785 * src/hildon-code-dialog.c
3786 (hildon_code_dialog_button_clicked)
3787 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3788 because that doesn't overwrite selected text. Instead, emit the
3789 "commit" signal on the entry's im_context so the entry's normal
3790 insert logic is triggered. Set the cursor to the end of the entry
3791 after each insert operation so that we *only* insert in the middle
3792 of the text if something was selected.
3794 2008-03-27 Michael Natterer <mitch@imendio.com>
3796 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3797 selector cannot be opened
3799 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3800 when the popup color selector is created. Please connect to this
3801 signal in order to set the dialog's help ID.
3803 2008-03-25 Sven Herzberg <sven@imendio.com>
3805 Fixes: MB#1212: Hide info banners (infoprints) on click
3807 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3808 extracted the close event simulation into an extra function
3809 (hildon_banner_button_press_event): simulate a close event and destroy
3810 the widget if the event wasn't handled
3811 (hildon_banner_class_init): added the button_press_event handler
3812 (hildon_banner_init): added button-press events to the widget
3814 2008-03-25 Sven Herzberg <sven@imendio.com>
3816 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3817 Patch from: Mohammad Anwari <mdamt@maemo.org>
3819 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3820 instead of the right in RTL mode
3821 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3822 breadcrumb button list in RTL mode
3823 * src/hildon-caption.c: mirror the appearance of the caption widget in
3825 * src/hildon-date-editor.c: mirror appearance of the date editor in
3827 * src/hildon-time-editor.c: mirror appearance of the time editor in
3829 * src/hildon-window.c: fix the position of the popup in RTL mode
3831 2008-03-25 Sven Herzberg <sven@imendio.com>
3833 Amendment to the fix of NB#22072. Fix compilation.
3835 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3837 2008-03-19 Sven Herzberg <sven@imendio.com>
3839 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3842 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3843 timeout id properly when the timeout will disappear this leaves no
3844 artifacts around in the destroy(); there will only be the timeout
3845 created by hildon_banner_ensure_timeout() and adding a new timeout
3846 will also work if the timeout gets removed because the timeout_handler
3849 2008-03-19 Michael Natterer <mitch@imendio.com>
3851 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3853 * src/hildon-volumebar.c
3854 * src/hildon-vvolumebar.c
3855 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3856 the widget becomes focussable at all.
3858 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3859 set the focus to wither the mute button or the volumebar.
3861 Remove own "can-focus" property and instead listen to
3862 notify::can-focus in order to update the widget's state.
3864 Implement GtkWidget::focus() and make sure we can also *leave* the
3865 widget, not only enter it, depending on volumebar orientation and
3866 requested focus direction.
3868 Clean up set_mute() to cooperate nicely with all the above.
3870 2008-03-04 Michael Natterer <mitch@imendio.com>
3872 Fixes: NB#78481: information banners are hidden under browser menu
3874 * src/hildon-banner.c: call gtk_window_present() on the banners so
3875 they are risen if they are already visible.
3877 2008-03-03 Sven Herzberg <sven@imendio.com>
3879 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3881 * examples/hildon-window-menu-example.c: (main): extended the window
3882 menu example to serve as a testcase for automatically added
3883 accelerator groups, too
3884 * src/hildon-window.c: (hildon_window_add_accel_group),
3885 (hildon_window_set_menu): added patch by Tommi Komulainen
3887 2008-03-03 Sven Herzberg <sven@imendio.com>
3889 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3891 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3892 knowledge about the border allocators used within GTK+
3894 2008-02-26 Sven Herzberg <sven@imendio.com>
3896 Fixes: MB#2981: Build with asserts broken
3898 * src/hildon-date-editor.c,
3899 * src/hildon-number-editor.c,
3900 * src/hildon-time-editor.c,
3901 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3902 the proper GType instance check
3904 2008-02-25 Sven Herzberg <sven@imendio.com>
3906 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3908 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3909 * examples/hildon-window-menu-example.c: (main): explicitly show
3911 * src/hildon-window.c:
3912 (hildon_window_set_main_menu): moved most of the code from set_menu()
3913 to this place; skipped the call to gtk_widget_show_all(); also didn't
3914 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3915 (hildon_window_set_menu): removed most of the code, just keep the
3916 questionable gtk_widget_show_all()
3917 * src/hildon-window.h: added the new function and deprecate the old
3920 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3926 * debian/changelog: Updating.
3928 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3931 * pkgconfig/Makefile.am:
3932 * pkgconfig/hildon.pc.in:
3935 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3936 use newly created API_MAJOR_VERSION.
3938 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3944 * debian/changelog: Updating.
3946 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3948 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3950 Add outer_border style property, we use it but don't define it (!).
3954 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3956 * examples/hildon-bread-crumb-trail-example.c (main):
3960 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3962 Fix logic for the bread crumb trail node removal.
3966 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3972 * debian/changelog: Updating.
3974 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3976 Patch by Alejandro to get/set passwords dialogs accesibility.
3978 * hildon-1/src/hildon-get-password-dialog.c:
3979 * hildon-1/src/hildon-set-password-dialog.c:
3980 Set atk_set_name to the passwd entries in order to allow
3981 accessibility by name on this entries.
3983 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3988 * debian/control: Updating gtk dep.
3990 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3992 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3993 USE_MAEMO_GTK is enabled.
3995 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3997 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3998 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4000 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4006 * debian/changelog: Updating.
4008 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4010 * examples/Makefile.am:
4011 * examples/hildon-logical-color-example.c:
4012 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4013 applied + adding a test case. Fixes: NB#71660.
4015 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4017 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4018 to be visible, fixes warning on map for windows without toolbars.
4020 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4022 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4023 2.11.0, add a check for that besides the MAEMO_GTK check.
4025 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4031 * debian/changelog: Updating.
4033 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4035 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4036 visibility. Fixes: NB#70842 and MB#615.
4038 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4040 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4041 set the separator as no-show-all so it doesn't unintentionally appear when
4042 someone does a show_all.
4044 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4046 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4047 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4048 toplevel item. Fixes: NB#62031
4050 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4052 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4053 fix the name of the function in the docs.
4055 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4061 * debian/changelog: Updating.
4063 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * examples/hildon-banner-long-example.c: Adding a test-case for long
4068 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4070 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4072 * src/hildon-color-chooser-dialog.c:
4073 * src/hildon-color-chooser.c:
4074 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4075 memory leaks in font selector and color selector. Fixes: NB#70499 and
4078 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4080 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4082 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4084 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4085 little bit bigger. Fixes: #NB63694.
4087 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4093 * debian/changelog: Updating.
4095 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * doc/hildon-docs.sgml:
4099 * doc/images/bread-crumb-trail.png:
4100 * doc/images/calendar-popup.png:
4101 * doc/images/caption.png:
4102 * doc/images/code-dialog.png:
4103 * doc/images/color-button.png:
4104 * doc/images/color-chooser-dialog.png:
4105 * doc/images/color-chooser.png:
4106 * doc/images/controlbar.png:
4107 * doc/images/date-editor.png:
4108 * doc/images/font-selection-dialog.png:
4109 * doc/images/get-password-dialog.png:
4110 * doc/images/hvolumebar.png:
4111 * doc/images/login-dialog.png:
4112 * doc/images/note.png:
4113 * doc/images/number-editor.png:
4114 * doc/images/range-editor.png:
4115 * doc/images/seekbar.png:
4116 * doc/images/set-password-dialog.png:
4117 * doc/images/sort-dialog.png:
4118 * doc/images/time-editor.png:
4119 * doc/images/time-picker.png:
4120 * doc/images/vvolumebar.png:
4121 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4122 Adding the bread-crumb-trial and helpers to the documentation.
4124 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * examples/hildon-find-toolbar-example.c:
4127 * src/hildon-find-toolbar.c:
4128 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4129 actually continue firing the other handlers if connected. Adding a new
4131 hildon_find_toolbar_get_last_index that gets the index of the most
4132 recently added (last) item. Fixes: NB#52301.
4134 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4137 behaviour. Fixes: NB#68610.
4139 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4141 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4144 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4146 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4147 when realizing the banner. Should make the infonbanner effect a bit more
4150 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * src/hildon-volumebar.c:
4153 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4154 hildon_volumebar_set_range_insensitive_message and
4155 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4157 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4159 * src/hildon-window.c: Fixing the border freeing on destroy.
4161 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4163 * src/hildon-code-dialog-private.h:
4164 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4165 kw keyboard support in HildonCodeDialog.
4167 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4173 * debian/changelog: Updating.
4175 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4177 * src/hildon-date-editor.c:
4178 * src/hildon-number-editor.c:
4179 * src/hildon-private.c:
4180 * src/hildon-private.h:
4181 * src/hildon-time-editor.c:
4182 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4183 handling in subclassed composite widgets. Fixes: NB#66628.
4185 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4187 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4188 from destroy_ callback as it introduces problems in async dbus signal
4189 handlers. Fixes NB#66673.
4191 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * examples/hildon-hvolumebar-example.c:
4194 * src/hildon-volumebar.c: Improving the focus handling in the
4195 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4196 set_property accessor so that "mute" property can be actually set. I'm
4197 scared that nobody noticed it's totally broken.
4199 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4201 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4204 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4206 * src/hildon-calendar.c:
4207 * src/hildon-number-editor.c:
4208 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4209 matches the spec of 6 chars per second. Fixes: NB#60489.
4211 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4213 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4214 gtk_style_lookup_color sometime returns FALSE even though color was
4215 found and values were filled properly. Weird. Removing the warning for the
4218 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4220 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4221 expand vertically. Adding some extra space to the find toolbar buttons to
4222 make them thumbable. Fixes NB#66060.
4224 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4226 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4227 popup with "Ok" and "Cancel". Fixes NB#59299.
4229 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * src/hildon-calendar.c: Process all window updates before executing next
4232 timeout. Fixes: NB#54146.
4234 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4240 * debian/changelog: Updating.
4242 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4244 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4245 the client event and ignore it, since we use the delete event to close
4248 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4250 * src/hildon-helper.c: Remove the bogus warning about color not being
4251 found. Fixes NB#58352.
4253 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4255 * examples/Makefile.am:
4256 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4257 HildonSeekbar widget inside a toolbar.
4259 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4261 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4262 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4263 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4264 don't want to be closed by non-temporary windows on map.
4266 Also use G_DEFINE_TYPE instead of manually typed code.
4268 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4275 * debian/rules: Updating.
4277 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4279 * examples/Makefile.am:
4280 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4281 bug NB#61128. Strangely it works.
4283 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4285 * src/hildon-date-editor.c: When the date editor entry has been changed
4286 but the numbers of characters < max, turn off the skip validation flag.
4287 Prevents a situation when we enter first a valid year and later re-write
4288 it with an invalid one. Fixes NB#60154.
4290 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4292 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4293 code dialog. Fixes NB#64355.
4295 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4297 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4298 switching the page. Fixes NB#49374.
4300 * examples/Makefile.am:
4301 * examples/hildon-wizard-dialog-example.c: Adding an example for
4302 HildonWizardDialog that shows how to handle manual sensitivity setting on
4305 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4309 * src/hildon-version.h.in:
4310 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4312 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4314 * src/hildon-volumebar.c: Updating the docs.
4316 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4322 * debian/changelog: Updating.
4324 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * src/hildon-find-toolbar.c:
4327 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4328 selected item: hildon_find_toolbar_set_active,
4329 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4330 hildon_find_toolbar_get_active_iter . They correspond to respective
4331 GtkComboBox functions.
4333 * examples/Makefile.am:
4334 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4337 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4339 * examples/Makefile.am:
4340 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4343 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4344 when font size > 32 and we pack a focusable widget inside. Actually using
4345 the default response would work too, but since we don't show default
4346 response state in any way (no theming) it would not be visible to the
4347 user. Fixes NB#63430.
4349 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4351 * src/hildon-date-editor.c: Adding the missing variable setter in the
4352 set_property handler. Fixes NB#54182.
4354 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4356 * src/hildon-window.h: Changing the long key press time from 1500ms to
4357 800ms as requested in NB#63700. I have a bad feeling about this, let's
4358 see... Fixes NB#63700.
4360 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4362 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4363 hildon_time_picker_map, hildon_time_picker_realize,
4364 hildon_time_picker_style_set): Split the contents of map to more
4365 appropriate functions; set window decorations on realize and update
4366 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4368 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4373 * debian/changelog: Updating.
4375 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4377 * src/Makefile.am: fixed installation of the header files
4379 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4385 * debian/changelog: Updating.
4387 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4389 * configure.ac: Removing some remaining of --enable-xan.
4391 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4393 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4394 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4396 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4397 2.10.12-osso6 because the move-focus signal needs to be available in
4400 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4402 * examples/Makefile.am:
4403 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4404 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4405 fine. Prolly NB#61128 is fixed now.
4407 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4409 * src/hildon-volumebar.c:
4410 * src/hildon-volumebar.h: Adding the
4411 hildon_volumebar_set_range_insensitive_message and
4412 hildon_volumebar_set_range_insensitive_messagef functions to set
4413 insensitive message on the slider of the volumebar. Fixes NB#61129.
4415 * examples/Makefile.am:
4416 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4417 test the new insensitive messsage functionality on HildonVolumebar.
4419 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4421 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4424 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4426 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4427 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4428 button on after clearing the trail.
4430 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4432 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4434 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4436 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4437 by splitting the installed headers in generated and non-generated groups. Use
4438 only the non-generated headers to create the hildon-enum-types.h file.
4440 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4442 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4444 * src/hildon-window.c: Hide the window before performing the destroy.
4445 Should make the app closing a little tiny bit more snappy.
4447 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4449 * src/hildon-seekbar.c: add gtkrange.h header
4450 * src/hildon-caption.c: remove unused variable
4452 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4454 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4457 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4463 * debian/changelog: Updating.
4465 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4467 * src/hildon-window.c (hildon_window_window_state_event,
4468 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4469 escape timeout on focus-out-event rather than notify::is-topmost; the
4470 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4472 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4474 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4475 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4477 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4479 * src/hildon-window: actually, you need to use the macro always, there's
4480 no private pointer in the instance structure. We should have cleaned this up
4481 when we had the chance...
4483 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4485 * src/hildon-window.c: do not get the private date from HildonWindow before
4486 it passes the g_return_if_fail check. Once it's passed the test, there's no
4487 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4488 if you are only going to access the data once. Whitespace cleanups.
4490 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4492 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4493 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4495 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4501 * debian/changelog: Updating.
4503 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4505 * src/hildon-window.c: When destroying the window, remove (if exists) the
4506 escape timeout handler. Fixes #NB59276.
4508 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4510 * src/hildon-banner.c: When realizing the widget, set the window
4511 transiency. Setting the transiency in the gobject constructor is not
4512 good, as the widget is not realized at that point. Fixes: #NB56624.
4514 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4516 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4517 Add padding for future expansions.
4519 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4521 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4522 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4523 will fake an activation on the previous to the last item of the trail, so
4524 the effect can be overrided by the developer as usual.
4525 Also change the callback for the back button to do the same thing, so its
4526 effect can be overrided too. Fixes: NB#58982
4528 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4530 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4531 HildonCaption. Fixes NB#52379.
4533 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4535 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4536 the internal state of the trail after the user has had the chance of executing
4537 his handler for the signal. Specifically, it may happen that the activated button
4538 is removed and the user still lets the default handler run. This would segfault
4541 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4543 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4544 scrollbar to the preview dialog. Fixes NB#54147.
4546 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4548 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4549 max/min year properties can be altered, so the client can modify it
4550 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4552 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4554 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4555 hildonlike by default. Fixing a problem with disappearing arrows when
4556 scrolling through months and years. Fixes NB#54127.
4558 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4560 * examples/hildon-date-editor-example.c: Adding error callback to the date
4563 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4569 * configure.ac: Updating.
4571 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4573 * configure.ac: Adding a special '--enable-xan' configure option that
4574 turns off the -Werror compilation setting. Usefull for development.
4576 * src/hildon-calendar.c:
4577 * src/hildon-number-editor.c:
4578 * src/hildon-time-picker.c: Adding the 5* multiplier to
4581 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4583 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4584 instead of g_object_ref + gtk_object_sink.
4586 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4592 * debian/changelog: Updating.
4594 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4596 * src/hildon-color-chooser-dialog.c:
4597 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4598 straight from Tommi labs.
4600 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4602 * examples/hildon-finger-example.c: Correcting the header file path.
4604 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4605 the changed signal. Fixes a small memory leak.
4607 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4611 * src/hildon-banner.c: Importing several usefull fixes from the
4612 ubuntu-mobile branch.
4614 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4616 * examples/Makefile.am:
4617 * examples/hildon-finger-example.c: Adding a finger-checking code
4620 * src/hildon-font-selection-dialog.c: Do not allocate the color
4621 structure using the g_new. Fixes NB#54061.
4623 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4625 * src/hildon-helper.c: Correcting tabs in file.
4627 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4629 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4630 control the visibility of the children.
4632 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4634 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4640 * debian/changelog: Updating.
4642 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4644 * src/hildon-bread-crumb-trail.c:
4645 (hildon_bread_crumb_trail_size_allocate):
4647 Make the back button always a square.
4649 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4651 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4652 from the .c file as it's a private file.
4654 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4656 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4657 uses slightly bigger height.
4659 * src/hildon-font-selection-dialog.c: Adding some checks before
4660 freeing memory in the font selection dialog.
4662 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4664 * src/hildon-font-selection-dialog.c: Adding a small check when
4667 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4668 buttons sensitivity on page switching.
4670 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4672 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4673 internal details of adding a bread crumb to the trail.
4675 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4681 * debian/changelog: Updating.
4683 * src/hildon-bread-crumb-trail.h:
4684 * src/hildon-bread-crumb.h: Changing the API guard to
4685 HILDON_ENABLE_UNSTABLE_API.
4687 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4695 * src/hildon-helper.h: Updating.
4697 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4705 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4709 * src/hildon-helper.h: Small fix to make the package actually compile.
4711 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4713 * src/hildon-bread-crumb-trail.h:
4714 * src/hildon-bread-crumb.h:
4716 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4717 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4719 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4721 * examples/hildon-bread-crumb-trail-example.c:
4723 * src/hildon-bread-crumb-trail.c:
4724 * src/hildon-bread-crumb-trail.h:
4725 * src/hildon-bread-crumb.c:
4726 * src/hildon-bread-crumb.h:
4727 * src/hildon-marshalers.list:
4728 * src/hildon-bread-crumb-widget.c:
4729 * src/hildon-bread-crumb-widget.h:
4731 Slight change in the widget design. The bread crumb trail API is
4732 unchanged, but HildonBreadCrumb is now an interface. A *private*
4733 implementation, hildon-bread-crumb-widget, is provided and used
4734 internally by the trail for the push_text/push_icon functions.
4736 The generic push API is still available, so anyone can implement
4737 and use its own bread crumb widget.
4739 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4741 * debian/rules: Fixing the shlibs.
4743 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4745 * src/hildon-banner.c: Fixing a problem with timed banners having
4746 their parrent destroyed before they are.
4748 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4750 * src/hildon-bread-crumb.c:
4751 * src/hildon-bread-crumb.h:
4753 Make the get_natural_size function a vfunc.
4755 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4757 * src/hildon-bread-crumb.c:
4758 * src/hildon-bread-crumb-trail.c:
4762 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4769 * debian/changelog: Updating for release.
4771 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4773 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4774 don't leak the pango layout.
4776 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4779 * examples/hildon-bread-crumb-trail-example.c:
4783 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4785 * debian/changelog: Removing the bug-fixed entries that were actually
4786 resolved as WONTFIX.
4788 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4791 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4793 * src/hildon-bread-crumb-trail.c:
4794 * src/hildon-bread-crumb-trail.h:
4795 * src/hildon-bread-crumb.c:
4796 * src/hildon-bread-crumb.h:
4800 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4802 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4803 until it's passed the type check.
4805 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4807 * examples/hildon-bread-crumb-trail-example.c
4811 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4813 * examples/Makefile.am
4814 * examples/hildon-bread-crumb-trail-example.c
4816 * src/hildon-bread-crumb-trail.c
4817 * src/hildon-bread-crumb-trail.h
4818 * src/hildon-bread-crumb.c
4819 * src/hildon-bread-crumb.h
4821 New HildonBreadCrumbTrail widget.
4823 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4825 * src/hildon-range-editor.c (hildon_range_editor_init),
4826 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4827 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4828 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4829 hildon_time_editor_class_init, hildon_time_editor_init),
4830 src/hildon-get-password-dialog.c (invalid_input,
4831 hildon_get_password_set_property, hildon_get_password_get_property,
4832 create_contents, hildon_get_password_dialog_set_max_characters),
4833 src/hildon-set-password-dialog.c (create_contents),
4834 src/hildon-date-editor.c (hildon_date_editor_init),
4835 src/hildon-login-dialog.c (hildon_login_dialog_init),
4836 src/hildon-number-editor.c (hildon_number_editor_init),
4837 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4838 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4839 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4840 configure option and adding the respective checks in the code.
4841 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4842 hildon_calendar_drag_data_received): fixed some build warnings.
4844 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4846 * debian/changelog: A 1.0.0 release notes.