1 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c
4 (hildon_app_menu_insert, hildon_app_menu_add_filter):
5 Make sure that all menu items have finger height.
7 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
9 * src/hildon-picker-dialog.c:
10 (_on_dialog_response), (_save_current_selection),
11 (_restore_current_selection), (_clean_current_selection),
12 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
13 Defined new functions in order to save the current internal selector
14 selection previous open the dialog, in case that the use cancel the
15 interaction, so the widget restores the previous selection.
19 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
21 2008-11-28 Alberto Garcia <agarcia@igalia.com>
23 * src/hildon-button.c: Add a reference to the button examples in
24 hildon-button-example.c
26 * examples/hildon-button-example.c: Added examples of the most
27 common button layouts.
29 2008-11-28 Alberto Garcia <agarcia@igalia.com>
31 * src/hildon-app-menu.c (hildon_app_menu_show)
32 (hildon_app_menu_class_init): Don't show the menu if it's empty.
34 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
36 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
38 * src/hildon-picker-dialog.c:
39 (hildon_picker_dialog_init): Initialize the signal id for
40 HildonTouchSelector::columns-changed.
41 (+on_selector_columns_changed): Set up the interaction mode everytime a
42 column is added or removed from the HildonTouchSelector.
43 (_hildon_picker_dialog_set_selector): Connect to
44 HildonTouchSelector::columns-changed and keep track of it.
46 Make sure to update the interaction mode of the dialog everytime a
47 column is added or removed in the HildonTouchSelector.
49 Fixes: NB#93228 (Done button is not shown always in listpicker)
51 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
54 a new ::columns-changed signal.
55 (hildon_touch_selector_append_column): Emit ::columns-changed.
56 (hildon_touch_selector_remove_column): Emit ::columns-changed.
58 Add a ::columns-changed signal, emitted when the number of columns in a
59 HildonTouchSelector changes.
61 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
63 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
64 (_hildon_picker_dialog_set_selector): Factor out the code
65 to set up the dialog interaction mode.
67 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
69 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
70 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
73 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
75 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
78 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
80 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
81 Updated the logical ids related to ampm format, as now it is required to
82 show it correctly localized even on languages with no default
83 abbreviations for am or pm
84 (_check_am_pm_format): check correctly the 24h format gconf property
86 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
88 2008-11-27 Alberto Garcia <agarcia@igalia.com>
90 * src/hildon-button.c: Documentation updates.
92 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
94 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
95 * src/hildon-caption.c: (hildon_caption_class_init):
96 * src/hildon-color-button.c: (hildon_color_button_class_init):
97 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
98 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
99 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
100 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
102 Remove deprecated GTK+ marshalers and replace them with the ones
103 provided by GLib, for those available, add a marshaler for
104 BOOLEAN:VOID, which is not available in GLib, and use it.
106 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
109 the text from the previous column if there is no
110 HildonTouchSelectorColumn::text-property set.
112 2008-11-27 Alberto Garcia <agarcia@igalia.com>
114 * src/hildon-button.h
115 * src/hildon-button.c (hildon_button_set_property)
116 (hildon_button_get_property, hildon_button_class_init)
117 (hildon_button_set_style, hildon_button_get_style):
118 New "style" property to change the visual appearance of the
121 * src/hildon-picker-button.c (hildon_picker_button_new):
122 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
124 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
125 HildonButton look like PickerButton)
127 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
129 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
130 column while building the default string.
132 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
134 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
135 scroll indicator by default.
137 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
139 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
141 * src/hildon-main.c: Fix the documentation for hildon_init()
143 2008-11-25 Alberto Garcia <agarcia@igalia.com>
145 * doc/hildon-docs.sgml
149 * src/hildon-window-stack-private.h
150 * src/hildon-window-stack.h
151 * src/hildon-window-stack.c:
152 New HildonWindowStack object, that adds support for multiple
153 stacks of windows per process.
155 * src/hildon-stackable-window-private.h
156 * src/hildon-stackable-window.h
157 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
158 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
159 (hildon_stackable_window_show, hildon_stackable_window_hide)
160 (hildon_stackable_window_class_init)
161 (hildon_stackable_window_init):
162 Use HildonWindowStack for stack management.
164 * src/hildon-program.c (hildon_program_pop_window_stack)
165 (hildon_program_peek_window_stack)
166 (hildon_program_go_to_root_window):
167 Add a fallback implementation to the deprecated functions using
170 * examples/hildon-stackable-window-example.c:
171 Use the new HildonWindowStack API.
173 2008-11-25 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-stackable-window-private.h
176 * src/hildon-stackable-window.c (hildon_stackable_window_show)
177 (hildon_stackable_window_hide, hildon_stackable_window_init):
178 Remove all window stack management.
180 * src/hildon-program-private.h
181 * src/hildon-program.h
182 * src/hildon-program.c (hildon_program_init)
183 (hildon_program_pop_window_stack)
184 (hildon_program_peek_window_stack)
185 (hildon_program_go_to_root_window):
186 Remove all window stack management and mark functions as
189 2008-11-25 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-app-menu.c (hildon_app_menu_realize):
192 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
194 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
196 * configure.ac: post release version bump
197 * debian/changelog: version bump
199 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
204 * configure.ac: bump version
205 * debian/changelog: updates
207 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
209 Based on initial code by Christian Dywan (christian@imendio.com)
211 * doc/hildon-docs.sgml: Add section for hildon-main.
212 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
213 * src/Makefile.am: Add new hildon-main.[ch]
214 * src/hildon-defines.h: Update the icon sizes.
215 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
216 new library initialization files and register icon sizes.
217 * src/hildon-main.h: New declarations.
218 * src/hildon.h: Include hildon-main.h
220 Add new initialization functions to the library. These methods
221 will register the hildon specific icon sizes and can be used in the
222 future for other hildon specific bits.
224 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
226 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
228 * src/hildon-window.c: (hildon_window_realize),
229 (hildon_window_notify), (-hildon_window_update_title): Do not set
230 the application name in the window title.
232 Fixes: NB#89754 (Applications shouldn't display their names in the
235 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
237 * src/hildon-note-private.h:
238 * src/hildon-note.c: (hildon_note_set_property),
239 (hildon_note_get_property), (hildon_note_class_init),
240 (hildon_note_init), (hildon_note_finalize),
241 (hildon_note_new_confirmation_with_icon_name),
242 (hildon_note_new_information_with_icon_name):
244 No need to mark as deprecated the actual code. Revert
245 to avoid missing symbols in widgets using deprecated API.
247 2008-11-20 Alberto Garcia <agarcia@igalia.com>
249 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
251 * src/hildon-volumebar.h
252 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
253 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
255 * src/hildon-helper.h
256 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
257 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
259 * examples/Makefile.am:
260 Deprecate hildon-insensitive-example
262 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
264 2008-11-20 Alberto Garcia <agarcia@igalia.com>
266 * examples/hildon-pannable-area-buttons-scroll-example.c:
267 Make all buttons finger height
269 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
271 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
273 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
274 update the day model only if it is really required, and to avoid the
275 full-reconstruction aproach. Now it only add or remove the required days.
277 The purpose of this is avoid superfluous HildonTouchSelector::changed
280 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
281 with strange parameters)
283 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
285 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
287 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
288 the WINDOW_TYPE property.
290 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
292 2008-11-19 Alberto Garcia <agarcia@igalia.com>
295 Fix dependency to allow parallel compilation with make -jX
297 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
299 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
300 color frame and some minor tweaks to make it more consistent with
303 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
304 highlighted but not visible)
306 2008-11-14 Alejandro G. Castro <alex@igalia.com>
308 * examples/Makefile.am: Fixed typo in the Makefile.am.
310 2008-11-14 Alejandro G. Castro <alex@igalia.com>
312 Reviewed the use of MAEMO_GTK define, now we add the define in the
313 compilation line, and we also add it to the pc file.
315 * configure.ac: Added MAEMO_GTK define to the compilation command
316 and removed it from the config.h.
318 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
319 do not have to take care about this define if the library was
323 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
325 2008-11-14 Alejandro G. Castro <alex@igalia.com>
327 * examples/Makefile.am,
328 * examples/hildon-pannable-area-buttons-scroll-example.c,
329 * examples/hildon-pannable-area-gesture-signals-example.c,
330 * examples/hildon-pannable-area-scroll-jump-example.c,
331 * examples/hildon-pannable-area-tree-view-example.c:
332 Renamed the pannable area examples, now they have more meaningful
335 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
337 * src/hildon-touch-selector.c:
338 (hildon_touch_selector_set_column_selection_mode): Used of
339 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
340 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
341 to avoid re-seting the same selection mode.
343 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
344 breaks HildonPickerDialog)
346 2008-11-13 Alejandro G. Castro <alex@igalia.com>
348 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
349 conditional in the Makefile.am
351 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
353 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
354 Remove unused methods.
356 2008-11-12 Alberto Garcia <agarcia@igalia.com>
358 * src/hildon-button.c (hildon_button_init):
359 Make button images center-aligned by default
361 2008-11-12 Alejandro G. Castro <alex@igalia.com>
364 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
365 activated, we have to think about how to deal with both defines
366 MAEMO_GTK and MAEMO_CHANGES.
368 2008-11-12 Alberto Garcia <agarcia@igalia.com>
370 * examples/hildon-app-menu-example.c (create_menu): Make all
373 2008-11-11 Alejandro G. Castro <alex@igalia.com>
375 Fixed the compilation without maemo gtk adding ifdefs with
376 MAEMO_GTK define to the code, we have to check this version more
379 * examples/Makefile.am: Added control to avoid some examples that
380 just make sense with maemo gtk.
383 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
384 hildon modes with the define.
386 * examples/hildon-edit-toolbar-example.c,
387 (create_icon_view): Create the icon view without hildon-gtk
388 helpers if we are not using maemo gtk.
390 * src/hildon-touch-selector.c,
391 (_create_new_column): Create the treeview without hildon-gtk
392 helpers if we are not using maemo gtk.
394 2008-11-11 Alejandro G. Castro <alex@igalia.com>
396 * src/hildon-pnnable-area.c,
397 (hildon_pannable_area_dispose),
398 (hildon_pannable_area_button_press_cb),
399 (hildon_pannable_area_child_mapped),
400 (hildon_pannable_area_add),
401 (hildon_pannable_area_remove): Added code to control the position
402 of the event_window when adding and removing children from the
403 pannable. We have to raise the event window when the child is
406 Fixes: NB#89811 (Not able to select first image thumbnail in multi
407 selection mode using custom widget inside pannable)
409 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
411 * configure.ac: post release version bump
412 * debian/changelog: version bump
414 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
419 * configure.ac: bump version
420 * debian/changelog: updates
422 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
424 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
425 search mode, in order to avoid lose the focus on the treeview when
426 a hw key (like enter) is pressed.
428 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
429 in HildonDateSelector dialog)
431 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
433 * debian/rules: Added --enable-maintainer-mode
434 * Makefile.am: Added ACLOCAL_AMFLAGS
436 This allows to properly regenerate the Makefiles if you modify the
437 configure.ac or any Makefile.am.
439 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
441 * examples/hildon-app-menu-example.c: (main): Do not set RC style
442 properties, not needed at all.
444 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-note-private.h: Add strings for the icon and stock_icon
448 * src/hildon-note.c: (hildon_note_set_property),
449 (hildon_note_get_property), (hildon_note_class_init),
450 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
451 (hildon_note_new_confirmation_add_buttons): Remove icons.
452 (hildon_note_new_confirmation_with_icon_name): Deprecate.
453 (hildon_note_new_information_with_icon_name): Deprecate.
454 (hildon_note_new_confirmation): Act directly, without calling
455 the deprecated constructor.
456 (hildon_note_new_information): Act directly, without calling
457 the deprecated constructor.
458 * src/hildon-note.h: Mark deprecate methods as such.
459 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
460 not run tests on the deprecated methods if built with deprecation
463 Fixes: NB#91688 (Never show icons in information notes/confirmation
466 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
468 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
469 (hildon_app_menu_key_press): Remove leftover usage of the
470 private structure in HildonAppMenu struct.
471 * src/hildon-app-menu.h: Remove leftover private structure
472 from the HildonAppMenu struct.
474 Fixes a crasher when using the HildonAppMenu.
476 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
478 * src/hildon-picker-dialog.c: Use appropriate logical id
479 for the default "Done" text.
481 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
483 * configure.ac: post release version bump
484 * debian/changelog: version bump
486 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
488 Modified the way to scroll to the current selection just when the touch
489 selector is shown on the screen, avoiding a g_idle. Added too a property
490 to configure this behaviour. See hildon_pannable_area_jump_to_child
491 documentation for more information.
493 * src/hildon-touch-selector.c
494 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
495 Added 'initial-scroll' property
496 (hildon_touch_selector_set_property): Added
497 (hildon_touch_selector_map): Removed as not required anymore
498 (_hildon_touch_selector_on_selected_items): Modified in order to manage
499 only a concrete column, instead of iterate along all the columns
501 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
506 * configure.ac: bump version
507 * debian/changelog: updates
509 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
512 compilation time warnings.
514 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
516 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
517 the default value for HildonPannableArea::mov-mode to
518 HILDON_PANNABLE_AREA_MODE_VERT.
520 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
522 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
524 Reverting following commit:
526 2008-10-13 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-app-menu-private.h
529 * src/hildon-app-menu.[ch]
530 * src/hildon-button.[ch]
531 * src/hildon-check-button.[ch]
532 * src/hildon-entry.[ch]
533 * src/hildon-pannable-area.[ch]
534 * src/hildon-text-view.[ch]:
535 Added private field to the object's structure.
537 because it causes an ABI breakage. We will need to introduce these
538 changes later at some point. See NB#91636 for an extensive
539 explanation and status.
541 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
543 Patch contributed by Daniel Borgmann (danielb@openismus.com)
545 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
546 remove special cases that are no longer necessary.
548 Fixes: NB#91016 (Change toolbar sizes, simplification)
550 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
553 is shown in the cancel note.
555 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
557 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
558 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
559 (hildon_seekbar_init): Remove steppers, remove expose event.
560 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
562 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
564 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
567 label font to "SmallSystemFont" for vertically arranged buttons.
569 Fixes: NB#90662 (HildonButton "value" and "detail" text is
572 2008-10-31 Alberto Garcia <agarcia@igalia.com>
574 * src/hildon-check-button.c
575 (hildon_check_button_set_active, hildon_check_button_clicked):
576 Don't access private parts directly, use getters instead.
578 2008-10-31 Alberto Garcia <agarcia@igalia.com>
580 * src/hildon-check-button.c (hildon_check_button_new):
581 Align the contents of the check button to the left.
583 2008-10-30 Alejandro G. Castro <alex@igalia.com>
585 * src/hildon-pannable-area.c,
586 (hildon_pannable_area_scroll_to),
587 (hildon_pannable_area_jump_to),
588 (hildon_pannable_area_scroll_to_child),
589 (hildon_pannable_area_jump_to_child): Replace the mapped
590 precondition of these functions with the realized, it is the
591 correct state of the widget in this case. Changed the
592 documentation according to this modification.
594 2008-10-30 Alejandro G. Castro <alex@igalia.com>
596 Added a new EXTRA_CFLAGS option to add the deprecated define to
597 the compilation command. This way we can avoid using the define in
598 the documentation compilation.
600 * configure.ac: Defined EXTRA_CFLAGS.
602 * examples/Makefile.am:
604 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
606 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
608 * src/hildon-picker-dialog.c:
609 Defined a utility macro with the desired touch selector height
610 Removed currently unused separator, and title_label variables from
612 (hildon_picker_dialog_init): Removed code related to the creation
613 of unused private variables title_label and separator.
614 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
615 to ensure correct visualization of the touch selector inside the dialog.
616 * src/hildon-touch-selector.c
617 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
618 ensure a concrete height of the widget.
620 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
625 Remove spurious whitespaces.
627 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
629 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
630 compilation warning after the cancel button removal.
632 2008-10-30 Alejandro G. Castro <alex@igalia.com>
634 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
636 * configure.ac: Added an AM_CONDITIONAL in order to use in the
637 Makefile.am, that way we can choose not to compile some examples
638 and tests of the deprecated widgets.
640 * examples/Makefile.am: Divided the sources in deprecated and
643 * src/Makefile.am: Added undef statement of the deprecated
644 symbol to the enums file generation process.
646 * src/hildon-color-chooser-dialog.c
647 * src/hildon-color-chooser-dialog.h
648 * src/hildon-color-button.c
649 * src/hildon-color-button.h
650 * src/hildon-color-chooser.c
651 * src/hildon-color-chooser.h
652 * src/hildon-controlbar.c
653 * src/hildon-controlbar.h
654 * src/hildon-date-editor.c
655 * src/hildon-date-editor.h
656 * src/hildon-hvolumebar.c
657 * src/hildon-hvolumebar.h
658 * src/hildon-private.c
659 * src/hildon-private.h
660 * src/hildon-range-editor.c
661 * src/hildon-range-editor.h
662 * src/hildon-seekbar.c
663 * src/hildon-seekbar.h
664 * src/hildon-time-editor.c
665 * src/hildon-time-editor.h
666 * src/hildon-time-picker.c
667 * src/hildon-time-picker.h
668 * src/hildon-volumebar.c
669 * src/hildon-volumebar.h
670 * src/hildon-vvolumebar.c
671 * src/hildon-vvolumebar.h
672 * src/hildon-bread-crumb-trail.h
673 * src/hildon-bread-crumb-trail.c
674 * src/hildon-calendar-popup.c
675 * src/hildon-calendar-popup.h
676 * src/hildon-weekday-picker.c:
677 * src/hildon-weekday-picker.h:
678 * src/hildon-bread-crumb-widget.c:
679 * src/hildon-bread-crumb-widget.h:
680 * src/hildon-bread-crumb.c:
681 * src/hildon-bread-crumb.h:
682 * src/hildon-calendar.c:
683 * src/hildon-calendar.h:
684 * src/hildon-caption.c:
685 * src/hildon-code-dialog.c:
686 * src/hildon-code-dialog.h:
687 * src/hildon-font-selection-dialog.c:
688 * src/hildon-font-selection-dialog.h:
689 * src/hildon-get-password-dialog.c:
690 * src/hildon-get-password-dialog.h:
691 * src/hildon-login-dialog.c:
692 * src/hildon-login-dialog.h:
693 * src/hildon-number-editor.c:
694 * src/hildon-number-editor.h:
695 * src/hildon-set-password-dialog.c:
696 * src/hildon-set-password-dialog.h:
697 * src/hildon-sort-dialog.c:
698 * src/hildon-sort-dialog.h: This is the list of deprecated
701 * src/hildon-touch-selector.c:
702 * src/hildon-window.c: Added undef statement to avoid compilation
705 * tests/Makefile.am: Divided the sources in deprecated and
708 * tests/check_test.c,
709 (configure_tests): Marked the deprecated code that was adding
710 suites with deprecated tests.
712 Fixes: NB#91135 (Deprecate legacy hildon widgets)
714 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
716 * src/hildon-touch-selector.c: (_default_print_func): Do not
717 duplicate a string returned by gtk_tree_model_get(), it is already
720 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
723 2008-10-28 Alejandro G. Castro <alex@igalia.com>
725 * src/hildon-pannable-area.c
726 (hildon_pannable_area_add_with_viewport): Reviewed the complete
727 method, it had problems when adding a widget with viewport the
728 second time. Now checks if it already has a viewport and uses it.
730 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
733 2008-10-28 Alejandro G. Castro <alex@igalia.com>
735 * src/hildon-pannable-area.c,
736 (hildon_pannable_area_scroll_to),
737 (hildon_pannable_area_jump_to),
738 (hildon_pannable_area_scroll_to_child),
739 (hildon_pannable_area_jump_to_child): Added a precondition to the
740 scroll and jump to functions: the widget must be mapped before we
741 can safely call these functions. We have also added documentation
742 to the functions to explain how to use them in this situation.
745 2008-10-28 Alejandro G. Castro <alex@igalia.com>
747 Reviewed the threading handling of the pannable widget, we have
748 used the gdk_threads_add_timeout function instead of the usual
749 glib handlers. This avoids some problems with the threads.
751 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
752 (hildon_pannable_area_initial_effect),
753 (hildon_pannable_area_scroll_indicator_fade),
754 (hildon_pannable_area_button_press_cb),
755 (hildon_pannable_area_timeout),
756 (hildon_pannable_area_motion_notify_cb),
757 (hildon_pannable_area_button_release_cb),
758 (hildon_pannable_area_scroll_cb),
759 (hildon_pannable_area_scroll_to): Removed the
760 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
761 gdk_threads_add_timeout.
763 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
765 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
770 * configure.ac: bump version
771 * debian/changelog: updates
773 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
775 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
776 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
777 * src/hildon-color-chooser-dialog.c:
778 (hildon_color_chooser_dialog_init):
779 * src/hildon-font-selection-dialog.c:
780 (hildon_font_selection_dialog_init):
781 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
783 Remove all cancel/close-like dialogs, as these are not going to be
786 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
788 * src/hildon-note.c: (hildon_note_rebuild),
789 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
792 Fixes: NB#90661 (Delete dialog is displayed without NO button)
794 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
797 sure all buttons are shown, even the Cancel/Close-like ones.
799 Fixes: NB#90861 (Custom Confirmation dialogs should be
800 protected from cancel button removal)
802 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
804 * debian/control: Change libhildon1-examples dependency from libhildon1
806 * debian/libhildon1-examples.install
808 * Makefile.am: Modified the final install directory for the examples on
809 package libhildon1-examples
810 * Makefile.static: Update clean target in order to remove all the binary
813 Changes suggested by Claudio after review new libhildon1-examples package
815 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
817 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
818 * src/hildon-touch-selector.c: Ditto.
820 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
822 * debian/control: Added new package libhildon1-examples, in order to pack
823 the current hildon examples as documentation
824 * debian/rules: Not to compress .c files, modify some includes on the
825 examples (as normally are compiled locally, but when installed it will
826 require to include the installed libhildon1 library), and rename
828 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
829 install all the example files on the new example package
830 * examples/Makefile.static: Added static makefile that can be used to
831 compile the examples, once installed the new example package
832 * examples: Most of the examples were modified in order to grant that
833 all use only '#include "hildon.h"', in order to be easy to prepare
834 it on the example package
836 2008-10-23 Alberto Garcia <agarcia@igalia.com>
839 * debian/libhildon1-dev.install
840 * debian/libhildon1-doc.install:
841 Move all gtk-doc files to a separate libhildon1-doc package.
843 2008-10-23 Daniel Borgmann <danielb@openismus.com>
845 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
847 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
849 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
851 * debian/rules: Fixed a error in order to avoid unnecessary calls
852 to autogen.sh on package building
854 2008-10-22 Alberto Garcia <agarcia@igalia.com>
856 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
858 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
863 2008-10-21 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-picker-button.c
866 (hildon_picker_button_finalize):
867 Free priv->done_button_text
869 * src/hildon-time-button.c
870 (hildon_time_button_set_time)
871 * src/hildon-picker-button.c
872 (hildon_picker_button_clicked)
873 (hildon_picker_button_selector_selection_changed)
874 (hildon_picker_button_set_selector)
875 * src/hildon-date-button.c
876 (hildon_date_button_set_date):
877 Free strings returned by hildon_touch_selector_get_current_text()
879 * src/hildon-button.c (hildon_button_construct_child):
880 Fix leaks in priv->image and priv->label_box
882 Fixes: NB#90535 (Memory leak in picker button)
884 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
886 * src/hildon-button.c: (hildon_button_get_property): Do not access
887 private elements directly, use getters instead.
889 2008-10-20 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-app-menu-private.h
892 * src/hildon-app-menu.c
893 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
894 Store the menu's parent window.
896 * src/hildon-stackable-window.c
897 (hildon_stackable_window_toggle_menu)
898 (hildon_stackable_window_finalize):
899 Set the menu's parent window when the menu is shown, unset it when
902 * src/hildon-app-menu.c
903 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
904 (hildon_app_menu_class_init):
905 Send unhandled keyboard accelerators to the parent window.
907 2008-10-20 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-stackable-window.c
910 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
912 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: post release version bump
916 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
919 * configure.ac: Bump version
920 * debian/changelog: Updates
921 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
924 2008-10-20 Alberto Garcia <agarcia@igalia.com>
926 Patch contributed by Daniel Borgmann (danielb@openismus.com)
929 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
930 GtkMenu with Hildon style.
932 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
934 * src/hildon-picker-button.c:
935 (hildon_picker_button_set_done_button_text): Set the dialog's
936 done button text here as well.
938 Fixes: NB#90232 (Picker button does not set the label on done button
941 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
946 2008-10-16 Alberto Garcia <agarcia@igalia.com>
948 * src/hildon-app-menu.c (hildon_app_menu_insert)
949 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
950 the HildonAppMenu to be activatable using keyboard accelerators
951 when the menu is not being shown.
953 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
955 2008-10-16 Alberto Garcia <agarcia@igalia.com>
957 * src/hildon-stackable-window.c
958 (hildon_stackable_window_show):
959 Don't hide old windows automatically when new windows are shown:
960 this is now a task for the window manager.
961 (hildon_stackable_window_class_init)
962 (hildon_stackable_window_hide):
963 Remove windows from the stack everytime they're hidden.
964 (hildon_stackable_window_realize):
965 Don't change the _NET_WM_WINDOW_TYPE property. Use
966 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
967 it as a stackable window.
969 * src/hildon-program.c
970 (hildon_program_pop_window_stack):
971 Just hide the window to remove it from the stack.
972 (hildon_program_go_to_root_window):
973 Don't call gtk_widget_show(), this is now a task for the window
976 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
978 2008-10-15 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-button.c
981 (hildon_button_construct_child):
982 Don't pack anything in the button until text or image are
983 set. This allows adding a custom child after creating the button
984 with hildon_button_new().
985 (hildon_button_finalize, hildon_button_class_init)
986 (hildon_button_init, hildon_button_set_arrangement): Destroy the
987 alignment and the label box even when they're not packed in the
990 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
992 * src/hildon-touch-selector.h:
993 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
994 currently the type definition was using GTK_TYPE_VBOX
995 * src/hildon-touch-selector.c:
996 Added some implementation notes in order to clarify that any other widget
997 added without the column related API will not be included on the
998 selection logic, and how the widget is freed, as some people ask about
1000 (hildon_touch_selector_remove): Reimplemented in order to free properly
1001 the column related data when you remove the private hbox.
1002 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1003 to get a proper HildonTouchSelectorColumn documentation
1005 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-touch-selector-entry.c:
1008 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1009 text in the GtkEntry and there is no item selected. Fixes a
1012 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1014 * src/hildon-app-menu-private.h
1015 * src/hildon-app-menu.[ch]
1016 * src/hildon-button.[ch]
1017 * src/hildon-check-button.[ch]
1018 * src/hildon-entry.[ch]
1019 * src/hildon-pannable-area.[ch]
1020 * src/hildon-text-view.[ch]:
1021 Added private field to the object's structure.
1023 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1025 * configure.ac: post-release version bump
1027 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1031 * configure.ac: pre-release version bump
1033 * debian/changelog: updates.
1035 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1037 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1038 Disconnect the handler for HildonTouchSelector::changed.
1040 (hildon_picker_button_selector_selection_changed): Update the button
1041 value if the selection change was not triggered by the
1044 (hildon_picker_button_set_selector): connect to
1045 HildonTouchSelector::changed.
1047 Fixes: NB#89650 (Picker button is not updated, when selection in
1048 selector has changed)
1050 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1052 * src/hildon-picker-dialog.c
1053 (hildon_picker_dialog_realize): Removed as not required
1054 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1055 * src/hildon-picker-button.c
1056 (_current_selector_empty): New function, checks if the selector is empty
1057 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1058 if the current selector is empty, in order to avoid to show the dialog
1059 close the dialog in this case (and shows a g_warning).
1061 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1063 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1065 * src/hildon-pannable-area.c,
1066 (hildon_pannable_area_scroll): Added clause to stop movement when
1067 the child of pannable is smaller than one page.
1068 (hildon_pannable_area_scroll_to): Added conditions to avoid
1069 starting the scrolling movement if the child is smaller than one
1070 page, the complete child is in the screen, we do not have to move.
1072 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1074 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1076 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1077 this is managed automatically by the widget when the size of the
1080 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1082 * src/hildon-picker-button.c
1083 (hildon_picker_button_set_done_button_text): Make a copy of the
1084 text, and free the previous value.
1086 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-touch-selector-entry.c:
1089 (hildon_touch_selector_entry_print_func): Return the selected row's
1090 text if the entry is empty.
1092 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1095 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1099 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-check-button.h
1103 * src/hildon-check-button.c
1104 * examples/hildon-check-button-example.c:
1105 HildonCheckButton is now a new widget. 'toggled' signal added.
1107 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-program-private.h
1110 * src/hildon-program.c (hildon_program_init)
1111 (hildon_program_finalize): Removed unused variables group_leader
1112 and name from HildonProgramPrivate.
1114 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1116 * src/hildon-check-button.c (hildon_check_button_set_active)
1117 (hildon_check_button_get_active, hildon_check_button_new): Use
1118 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1120 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1122 * src/hildon-touch-selector.h
1123 (hildon_touch_selector_set_column_attributes): added deprecation
1124 guard HILDON_DISABLE_DEPRECATED
1125 * src/hildon-time-selector.c
1126 (hildon_time_selector_set_time)
1127 (hildon_time_selector_get_time): Fixed a typo on documentation
1128 * src/hildon-touch-selector.c: update HildonTouchSelector and
1129 HildonTouchSelectorColumn documentation
1130 * src/hildon-touch-selector-entry.c: update "text-column" property
1132 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1133 to be added to the general documentation.
1135 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1137 * examples/hildon-pannable-area-example-4.c,
1139 * examples/hildon-pannable-area-example.c,
1140 (main): Modified the code in order to use the container add, with
1141 viewport treeviews could have problems if they are really big.
1143 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1145 * src/hildon-weekday-picker.c,
1146 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1147 the agreement regarding deprecation in the library.
1149 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1151 * examples/hildon-picker-button-multicolumn-example.c:
1152 (main): Use custom "done" button text.
1154 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1155 (hildon_picker_button_set_property),
1156 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1157 (hildon_picker_button_init),
1158 (+hildon_picker_button_get_done_button_text),
1159 (+hildon_picker_button_set_done_button_text): New methods to customize
1160 the "done" button label in the launched HildonPickerDialog. Also,
1163 * src/hildon-picker-button.h: add the public API.
1165 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-date-selector.h:
1168 * src/hildon-picker-dialog.h:
1169 * src/hildon-time-selector.h:
1170 * src/hildon-touch-selector-column.h:
1171 * src/hildon-touch-selector.h:
1173 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1174 declarations. Fixes gtk-doc warnings.
1176 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-picker-dialog.h
1179 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1180 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1182 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1183 long text is set as label for done button)
1185 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1187 * src/hildon-dialog.c (hildon_dialog_add_button):
1188 Set fixed width to all buttons in the HildonDialog.
1190 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1192 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1194 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1195 Set widget name using class name plus "-finger" or "-thumb".
1197 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1200 'clicked' when the state of the button is manually changed.
1202 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-app-menu.c (hildon_app_menu_realize)
1205 (hildon_app_menu_unrealize, hildon_app_menu_init)
1206 (hildon_app_menu_class_init, item_visibility_changed):
1207 Change the menu layout when the size of the screen changes.
1208 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1209 Show warning only when changing the number of colums using the
1212 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1214 * debian/compat: Set to 5
1215 * debian/control: Update dependencies.
1216 * debian/libhildon1-dbg.install: Remove.
1217 * debian/libhildon1-dev.install: Update according to cdbs paths.
1218 * debian/libhildon1.install: Update according to cdbs paths.
1219 * debian/rules: Switch to cdbs.
1221 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1223 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1224 'item' variable renamed to 'filter'
1226 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1228 * src/hildon-app-menu.c (hildon_app_menu_insert)
1229 (hildon_app_menu_add_filter, remove_item_from_list)
1230 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1231 Don't leak hidden items when the menu is destroyed.
1233 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1235 * src/hildon-app-menu.c (hildon_app_menu_insert)
1236 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1237 (hildon_app_menu_set_columns, item_visibility_changed)
1238 (filter_visibility_changed, hildon_app_menu_repack_filters)
1239 (hildon_app_menu_repack_items):
1240 Repack items and filters separately.
1242 Don't repack all items, change only the ones that are needed to
1245 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1247 * src/Makefile.am: added hildon-touch-selector-column.h
1249 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * src/hildon-touch-selector.c: added the property "text-column" to the
1252 class HildonTouchSelectorColumn, and related get/set functions
1253 (_default_printf_func): updated to use "text-column" property
1254 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1255 "text-column" in his documentation, as this is now included on
1256 HildonTouchSelectorColumn. The get/set_property can still be used,
1257 working as a wrapper to the concrete column "text-column" property
1258 (_text_column_modified): callback added in order to handle the signal
1259 "notify::text-column" of the concrete HildonTouchSelectorColumn
1260 (hildon_touch_selector_entry_get_text_column)
1261 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1262 modified in order to use the HildonTouchSelectorColumn "text-column"
1264 * src/hildon-time-selector.c:
1265 * src/hildon-date-selector.c:
1266 * examples/hildon-touch-selector-example.c
1267 * examples/hildon-touch-selector-multi-cells-example.c
1268 * examples/hildon-picker-button-multicolumn-example.c
1269 Set the right value to "text-column" property on the creation of a new
1270 column using hildon_touch_selector_append_column()
1272 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1274 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-app-menu.c
1277 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1278 updating the layout of the menu, don't create all widgets again,
1279 just repack the items in their new places.
1281 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1283 * src/hildon-time-selector.c
1284 (hildon_time_selector_get_time)
1285 (hildon_time_selector_set_time)
1286 Added documentation of these public methods
1288 * src/hildon-date-button.h
1289 * src/hildon-touch-selector-column.h
1290 * src/hildon-time-button.h
1291 * src/hildon-picker-dialog.h
1292 * src/hildon-time-selector.h
1293 * src/hildon-picker-button.h
1294 * src/hildon-touch-selector.h
1295 * src/hildon-time-picker.h
1296 * src/hildon-date-selector.h
1297 * src/hildon-touch-selector-entry.h
1298 Modified in order to use hildon-widgets code style
1300 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1302 Added deprecated support to the compilation process using
1303 HILDON_DISABLE_DEPRECATED
1305 * configure.ac: Added the --disable-deprecated to the configure
1308 * src/hildon-weekday-picker.c:
1309 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1310 to use the deprecated support. We will update the other deprecated
1311 widgets status in a new patch.
1313 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1315 * configure.ac: Fixed typo with fatal warnings support, the
1316 variable name was not correct
1318 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1320 * src/hildon-app-menu.c
1321 * src/hildon-program.c: Update documentation.
1323 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1325 * configure.ac: Post-release version bump.
1327 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * configure.ac: Pre-release version bump.
1333 * debian/changelog: Updates.
1335 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1337 * NEWS: Update news for previous releases.
1339 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1341 * examples/hildon-touch-selector-multi-cells-example.c:
1342 (create_selector): Update the example to use
1343 hildon_touch_selector_append_column() with a NULL renderer and set
1344 the renderers later.
1345 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1346 passed a NULL renderer. This is documented behavior now.
1348 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1349 This must be used if the developer wants full control on the layout of
1350 the renderers to be added to the column.
1352 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1354 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1356 * src/hildon-touch-selector.c: Documentation fixes.
1358 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1360 * src/hildon-wizard-dialog-private.h: Remove image and box.
1361 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1362 (hildon_wizard_dialog_set_property), (response): Completely remove
1363 image/icon support, and the containers required for the layout.
1365 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1367 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1369 * src/hildon-app-menu.c: Updated documentation.
1371 * src/hildon-stackable-window.c
1372 (hildon_stackable_window_set_main_menu): Unref the old menu after
1373 ref'ing the new one.
1375 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1377 * src/hildon-stackable-window.c
1378 (hildon_stackable_window_set_main_menu): Unref the previous menu
1379 instead of destroying it.
1381 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1382 floating reference and set has_user_ref_count to FALSE to make
1383 HildonAppMenu act like a normal ref-counted widget and not a
1386 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1389 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1391 * src/hildon-touch-selector-column.h: new file
1392 * src/hildon-touch-selector.h
1393 * src/hildon-touch-selector.c
1394 Implemented GtkCellLayout interface, in order to allow to configure
1395 the cell layout on each individual selector column
1396 (hildon_touch_selector_set_column_attributes): marked as deprecated
1397 * examples/hildon-touch-selector-multi-cells-example.c
1398 Example of how to use the GtkCellLayout interface on the selector
1400 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1402 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-app-menu.h
1405 * src/hildon-app-menu.c
1406 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1407 (hildon_app_menu_append, hildon_app_menu_prepend):
1408 New methods to prepend, insert and move items in the menu.
1410 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1412 * src/hildon-wizard-dialog.c:
1414 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1416 (create_title): Update logical IDs and related code.
1417 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1419 * src/hildon-wizard-dialog.h: Note that
1420 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1421 point, as it is not used anymore.
1423 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1425 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-note.c:
1428 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1429 shown. Do not display an icon in confirmation notes nor information
1431 (hildon_note_set_button_text): Update logical ID for cancel button.
1433 Fixes: NB#88850 (Update HildonNote button strings + signals)
1435 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-stackable-window.c
1438 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1440 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-app-menu-private.h
1443 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1444 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1445 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1446 temporary property 'columns' to change the number of columns.
1448 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1450 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1452 * examples/hildon-note-example.c: (on_information_clicked),
1453 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1454 debugging information.
1455 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1457 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1458 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1459 in order to close: this will be handled by the WM from now on.
1461 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1463 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-app-menu-private.h
1466 * src/hildon-app-menu.c
1467 (hildon_app_menu_append, hildon_app_menu_add_filter)
1468 (button_visibility_changed, hildon_app_menu_apply_style)
1469 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1470 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1471 layout everytime a button (item or filter) is shown or hidden.
1473 * src/hildon-stackable-window.c
1474 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1477 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1479 * src/hildon-touch-selector.c:
1480 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1481 that the treeview inside the touch selector is in fremantle hildon mode
1482 * examples/hildon-date-button-example.c
1483 * examples/hildon-picker-button-multicolumn-example.c
1484 * examples/hildon-touch-selector-entry-example.c
1485 * examples/hildon-touch-selector-example.c
1486 * examples/hildon-time-button-example.c
1487 * examples/hildon-picker-button-example.c:
1488 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1490 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1492 * examples/hildon-text-view-example.c: (main): Remove the
1493 gtkrc bits, now handled by the theme.
1495 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1500 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1502 * po/Makefile.am: Install properly the mo files.
1503 * po/en_GB.po: Update translation, to ease testing purposes.
1505 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1507 * examples/hildon-picker-button-example.c: (main): Select an item
1508 in the selector before setting it to the button.
1510 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1513 Update button's value if the selector has an item active.
1515 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1516 'value' with the selector)
1518 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1520 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1521 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1522 (hildon_picker_button_class_init): Plug the finalize method.
1523 (hildon_picker_button_set_selector): If there's a previously set
1524 selector, unref'it before setting a new one.
1526 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1527 HildonTouchSelector)
1529 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1531 * src/hildon-touch-selector-entry.c:
1532 (hildon_touch_selector_entry_changed): Check if there is no text
1533 selected before setting the entry text.
1536 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-touch-selector.h
1539 * src/hildon-touch-selector.c
1540 (hildon_touch_selector_get_active)
1541 (hildon_touch_selector_set_active): New methods to set/get the
1542 index of the selected item.
1544 * src/hildon-picker-button.h
1545 * src/hildon-picker-button.c
1546 (hildon_picker_button_get_active)
1547 (hildon_picker_button_set_active): New methods to set/get the
1548 index of the selected item.
1550 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1552 * configure.ac: post-release version bump.
1554 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1558 * configure.ac: Pre-release version bump.
1559 * debian/changelog: Updates.
1560 * debian/control: Add myself as maintainer and depend on l10n
1563 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-window.c
1566 (hildon_window_set_main_menu)
1567 * src/hildon-stackable-window.c
1568 (hildon_stackable_window_set_main_menu):
1569 Updated documentation.
1571 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1574 Don't free selector->priv manually.
1577 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1580 (hildon_gtk_window_set_progress_indicator):
1581 * src/hildon-gtk.h: Added the new API
1582 hildon_gtk_window_set_progress_indicator, it changes the state of
1583 the window progress hint.
1585 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-button.c
1588 * src/hildon-stackable-window.c: Minor documentation updates.
1590 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-stackable-window.c: Updated documentation.
1594 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-defines.h: Update margins definitions
1597 to the Fremantle sizes.
1600 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1602 * src/hildon-touch-selector.c,
1603 (_hildon_touch_selector_set_model): Cleaning the code after
1604 review, removed g_print and #if 0 from the code.
1606 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1608 * src/hildon-edit-toolbar.c: Update documentation.
1610 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1612 * src/hildon-check-button.h
1613 * src/hildon-check-button.c
1614 (hildon_check_button_set_label, hildon_check_button_get_label)
1615 * examples/hildon-check-button-example.c
1616 (button_clicked_cb):
1617 Removed deprecated methods.
1619 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-text-view.c:
1622 Add sample code to the documentation.
1624 * src/hildon-entry.h
1625 * src/hildon-text-view.h:
1626 Minor cosmetic changes.
1628 * src/hildon-entry.c:
1629 Add sample code to the documentation.
1630 (hildon_entry_init, hildon_entry_refresh_contents):
1631 Don't allow NULL values in the placeholder.
1633 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1635 * doc/hildon-docs.sgml
1637 * examples/Makefile.am
1638 * examples/hildon-text-view-example.c
1640 * src/hildon-text-view.c
1641 * src/hildon-text-view.h
1643 New HildonTextView widget, with example.
1645 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1647 * po/POTFILES.in: Add missing files with translatable strings.
1648 Partially fixes NB#88287.
1650 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1652 * examples/hildon-pannable-area-example-2.c: (main): No need to
1653 set the cellrenderer height inside hildon touch lists, the theme does
1656 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1658 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1659 they are integrated in the theme.
1661 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1663 * examples/hildon-entry-example.c: Update the example adding
1664 widgets to modify the text and the placeholder of the HildonEntry.
1666 * src/hildon-entry.c: Show the placeholder everytime the widget
1667 is empty and loses the focus.
1669 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1671 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1673 * src/hildon-pannable-area.c,
1674 (hildon_pannable_area_size_request): Fixed bug in height
1675 requisition, avoid increasing size and add border twice.
1677 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1679 * configure.ac: postrelease version bump.
1681 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1685 * configure.ac: Prerelease version bump.
1686 * debian/changelog: update.
1687 * debian/rules: make -dbg package contain useful debugging symbols.
1689 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1691 * src/hildon-dialog.h
1692 * src/hildon-dialog.c
1693 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1694 New methods to add buttons with finger size.
1695 (hildon_dialog_new_with_buttons):
1696 Create buttons with finger size.
1698 * examples/hildon-dialog-example.c (main): Use HildonDialog
1699 methods to add buttons.
1701 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-entry.c: Updated HildonButton documentation.
1705 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1708 button value label with (FALSE, FALSE) to prevent NB#88126 from
1711 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1713 * examples/hildon-pannable-area-example.c,
1714 (main): Removed examples panning a vbox inside a pannable
1715 area. Check bug NB#87965
1717 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1719 Patch contributed by Kris Rietveld (kris@imendio.com)
1721 * src/hildon-pannable-area.c,
1722 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1723 get_size and get_position, this saves an X server roundtrip.
1725 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1727 * doc/hildon-docs.sgml
1729 * examples/Makefile.am
1730 * examples/hildon-entry-example.c
1732 * src/hildon-entry.c
1733 * src/hildon-entry.h
1735 New HildonEntry widget, with example.
1737 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-button.c (hildon_button_construct_child): Pack the
1740 image with expand == fill == FALSE. This is a workaround for a bug
1743 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1745 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1746 labels for the text column, to make it more look more dynamic.
1748 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1750 * src/hildon-time-selector.c
1751 Define gettext auxiliar macro N_
1752 (_create_minutes_model)
1753 (_create_hours_model)
1754 (_create_ampm_model): use of strftime in order to fill the model
1755 * src/hildon-date-selector.c
1756 (hildon_date_selector_finalize):
1757 (_locales_init): remove the logic related to get the name of the months
1758 using nl_langinfo, as it is not required anymore
1760 (_create_year_model)
1761 (_create_month_model)
1762 (_update_day_model): use of strftime in order to fill the model properly
1765 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1767 * src/hildon-button.h
1768 * src/hildon-button.c (hildon_button_get_image): New method to
1771 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-touch-selector.c:
1774 (hildon_touch_selector_remove_column): Remove from the correct parent
1775 and also remove the list element and free it.
1778 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1780 * src/hildon-time-selector.c
1781 (_create_hours_model): change the range on 12h ampm format in order to use
1782 a 12-11 range instead of previous 01-12 range
1783 (hildon_time_selector_set_time): change the way to select the current time
1784 on 12h ampm format, due the change on the range
1785 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1788 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1790 * src/hildon-touch-selector.c
1791 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1792 in order to allow use this function on multiple row selection mode if
1793 the column is different that the first one
1796 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1799 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1801 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1803 * src/hildon-date-selector.h: clean some comments, now on the .c
1804 * src/hildon-date-selector.c
1805 (hildon_date_selector_select_month): first implementation
1806 (hildon_date_selector_select_day): added documentation, reimplemented
1807 using hildon_date_selector_select_current_date to avoid repeat code
1810 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1812 Reviewed interaction logic based on device experiences, refactored
1815 * src/hildon-pannable-area.c,
1816 (hildon_pannable_area_class_init): Updated default vmax speed.
1817 (hildon_pannable_area_calculate_velocity): Added this function, it
1818 avoids duplicate valocity calculation. Adjusted calculation to
1819 avoid problems with zero dist events.
1821 (hildon_pannable_area_motion_notify_cb): Now we use the
1822 calculate_velocity function.
1824 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1826 * src/hildon-date-selector.c
1827 (hildon_date_selector_select_current_date): fix the day range check
1828 as it failed using the last day of the current month
1831 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1833 * src/hildon-touch-selector.c
1834 (hildon_touch_selector_get_num_columns): added a parameter validation
1837 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1839 * examples/Makefile.am
1840 * examples/hildon-edit-toolbar-example.c: Example of the
1841 HildonEditToolbar widget.
1843 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1845 * configure.ac: postrelease version bump.
1847 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1851 * configure.ac: prerelease version bump.
1852 * debian/changelog: update.
1854 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1856 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1857 renderer to display stock icons in the touch list. Also, set the sizes
1858 to the recommended in the style guide.
1860 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1861 * src/hildon-touch-selector.h
1862 (hildon_touch_selector_set_active_iter): renamed, now is
1863 hildon_touch_selector_select_iter
1864 (hildon_touch_selector_get_active_iter): renamed, now is
1865 hildon_touch_selector_get_selected
1866 (hildon_touch_selector_unselect_iter): added
1867 * src/hildon-touch-selector.c
1868 Update after API modification (methods renamed)
1869 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1870 order to avoid problems selecting multiple elements on the column
1871 (hildon_touch_selector_unselect_iter): added the implementation
1872 * src/hildon-time-selector.c
1873 * src/hildon-date-selector.c
1874 * src/hildon-touch-selector-entry.c
1875 Update methods calls after hildon-touch-selector.h API modification (methods
1878 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-stackable-window.c
1881 (hildon_stackable_window_finalize): Call the parent class's finalize.
1883 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1885 * examples/hildon-touch-selector-example.c: (create_selector): Use
1886 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1889 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1891 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1892 set a cell background color, to respect theming.
1894 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1896 * doc/hildon-docs.sgml
1899 * src/hildon-edit-toolbar.c
1900 * src/hildon-edit-toolbar.h
1901 * src/hildon.h: New HildonEditToolbar widget.
1903 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1905 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1908 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1909 * src/hildon-touch-selector.c
1910 (_create_new_column): use g_object_set instead of two g_object_set_property
1912 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1913 * src/hildon-touch-selector.c
1914 (_create_new_column): use of hildon_gtk_tree_view_new to create
1915 the treeview, instead of use directly g_object_new
1916 (_create_new_column): update the property name "vindicator-mode" for the
1917 new one "vscrollbar-policy"
1918 * examples/hildon-date-button-example.c
1919 * examples/hildon-picker-button-multicolumn-example.c
1920 * examples/hildon-touch-selector-entry-example.c
1921 * examples/hildon-touch-selector-example.c
1922 * examples/hildon-time-button-example.c
1923 * examples/hildon-picker-button-example.c
1924 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1925 to all the treeviews inside a pannable area.
1927 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1929 * src/hildon-button.h
1930 * src/hildon-button.c (hildon_button_init)
1931 (hildon_button_set_arrangement, hildon_button_set_alignment)
1932 (hildon_button_set_title_alignment)
1933 (hildon_button_set_value_alignment)
1934 (hildon_button_set_image_alignment)
1935 (hildon_button_construct_child): New methods to set the alignment
1936 of the individual components of the button (title, value,
1937 image). Also, new method to alter the xscale and yscale properties
1938 of the GtkAlignment inside the button, so more complex layouts can
1941 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-button.c (hildon_button_style_set)
1944 (hildon_button_class_init, hildon_button_set_arrangement)
1945 (hildon_button_construct_child): Apply style properties
1946 correctly. Use the 'image-spacing' style property too.
1948 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1950 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1951 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1954 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1956 * src/hildon-pannable-area.c,
1957 (hildon_pannable_area_size_request): Fixed problem with
1958 pannable-area size_request.
1960 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1962 Added management for the grab-focus to a child widget, like a
1963 range, we need to fade out the scrollbar when releasing.
1965 * src/hildon-pannable-area.c,
1966 (hildon_pannable_area_init): Connected the grab-focus signal to
1968 (hildon_pannable_area_grab_notify): Added this function in order
1969 to manage the situation when the grab-focus ends. We have to
1970 fade-out the scrollbar.
1972 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-app-menu.c: Minor documentation update.
1976 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-app-menu.c
1979 * examples/hildon-app-menu-example.c (create_menu): Update
1980 examples and documentation to explain how to connect callbacks.
1982 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1984 * examples/hildon-button-example.c
1985 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1986 hildon_stackable_window_new instead of gtk_window_new
1988 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1991 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1992 (hildon_pannable_area_set_property),
1993 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1994 (hildon_pannable_area_unrealize),
1995 (hildon_pannable_area_size_request),
1996 (hildon_pannable_area_size_allocate),
1997 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1998 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1999 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2000 (hildon_pannable_area_initial_effect),
2001 (hildon_pannable_area_redraw),
2002 (hildon_pannable_area_scroll_indicator_fade),
2003 (hildon_pannable_area_expose_event),
2004 (hildon_pannable_area_get_topmost), (synth_crossing),
2005 (hildon_pannable_area_button_press_cb),
2006 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2007 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2008 (hildon_pannable_area_motion_notify_cb),
2009 (hildon_pannable_area_button_release_cb),
2010 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2011 (hildon_pannable_area_remove),
2012 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2013 chage the code layout to a more GtkWidget like. Review the use of
2016 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2018 * examples/hildon-pannable-area-example-4.c,
2019 (main): Modified the name of the hindicator_mode to
2022 * src/hildon-pannable-area.c,
2023 (hildon_pannable_area_class_init),
2024 (hildon_pannable_area_motion_notify_cb),
2025 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2026 we have reduced the amount of signals and managed reviewed its
2027 rationale. Changed the default decelerate value.
2029 (hildon_pannable_area_add),
2030 (hildon_pannable_area_redraw): Refactored functions.
2032 (hildon_pannable_area_init),
2033 (hildon_pannable_area_get_property),
2034 (hildon_pannable_area_set_property):
2035 (hildon_pannable_draw_vscroll),
2036 (hildon_pannable_draw_hscroll),
2037 (hildon_pannable_area_initial_effect),
2038 (hildon_pannable_area_expose_event),
2039 (hildon_pannable_area_scroll),
2040 (hildon_pannable_area_button_press_cb),
2041 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2042 and vindicator_mode with hscrollbar_policy and
2043 vscrollbar_policy. Replaced hscroll and vscroll with
2044 hscroll_visible and vscroll_visible.
2046 (hildon_pannable_area_refresh): Refactor the function, remove
2047 variables and check the calls to this function, added resize
2048 conditions in case the children change their layout.
2050 (hildon_pannable_area_size_request): Added more detailed
2051 size_request calculation.
2054 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2056 * src/hildon-color-chooser.c
2057 (init_borders): use the correct gtk_border_free instead of g_free, to
2058 avoid a crash when this widget is used (ie: the three color selection
2061 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-check-button.c,
2064 (hildon_check_button_set_active): Fixed problem when setting the
2065 active value, the widget was not redrawn.
2067 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2069 * src/hildon-pannable-area.c,
2070 (hildon_pannable_area_refresh),
2071 (hildon_pannable_area_scroll),
2072 (hildon_pannable_area_motion_notify_cb): Small code style change.
2074 (hildon_pannable_area_class_init): Default initial_hint set to
2075 FALSE, it is not in the specs.
2077 (hildon_pannable_area_initial_effect),
2078 (hildon_pannable_area_expose_event),
2079 (hildon_pannable_area_map),
2080 (hildon_pannable_area_init): Moved the launching point of the
2081 initial effect, it was in map but the sizes where not correct in
2082 that method so we do not know if we have the reproduce it. Now it
2083 is placed in the expose_event method and uses a variable to
2084 reproduce it just once.
2086 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2088 * src/hildon-pannable-area.c,
2089 (hildon_pannable_draw_vscroll),
2090 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2091 position allowed for the scrollbars.
2093 (hildon_pannable_area_size_allocate): Small style change.
2095 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2097 * src/hildon-pannable-area.c,
2098 (hildon_pannable_area_scroll_indicator_fade),
2099 (hildon_pannable_area_button_press_cb),
2100 (hildon_pannable_area_button_release_cb),
2101 (hildon_pannable_area_scroll_cb),
2102 (hildon_pannable_area_expose_event),
2103 (hildon_pannable_area_init): Added the define parameter
2104 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2105 and refactor the fade variable.
2107 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2109 * src/hildon-pannable-area.c,
2110 (hildon_pannable_area_redraw),
2111 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2112 lines, we were reimplemeting the redraw code.
2114 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2116 * src/hildon-pannable-area.c,
2117 (hildon_pannable_area_scroll_cb),
2118 (hildon_pannable_area_realize),
2119 (hildon_pannable_area_class_init): Added scroll_event management
2120 for pannable area, now we can scroll the usual desktop method.
2122 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2123 initialization of the parameters should depend on idle_id.
2125 (hildon_pannable_area_init),
2126 (hildon_pannable_area_map): Small code style modifications
2128 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2130 * src/hildon-pannable-area.c
2131 (hildon_pannable_area_button_press_cb),
2132 (hildon_pannable_area_motion_notify_cb),
2133 (hildon_pannable_area_button_release_cb),
2134 (hildon_pannable_area_size_allocate),
2135 (hildon_pannable_area_scroll_to): Improved the timeouts
2136 management, we avoid creating them each time.
2138 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c:
2141 (hildon_pannable_area_refresh),
2142 (hildon_pannable_area_motion_notify_cb),
2143 (hildon_pannable_area_class_init):
2144 * src/hildon-pannable-area.h:
2145 * src/hildon-touch-selector.c
2146 (_create_new_column):
2147 * examples/hildon-pannable-area-example-4.c:
2148 (horizontal_movement),
2149 (vertical_movement),
2151 Replaced the names of enums in the HildonPannableArea:
2152 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2153 HILDON_MOVEMENT_MODE_*
2154 - HILDON_PANNABLE_AREA_MOV_* ->
2156 - Removed HildonPannableAreaIndicatorMode, now we
2159 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2161 * examples/hildon-pannable-area-touch-grid-example.c
2162 * examples/hildon-pannable-area-touch-list-example.c: Fix
2163 compilation warnings.
2165 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2167 * src/hildon-gtk.c (hildon_gtk_button_new)
2168 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2169 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2170 images overriding the value of the "gtk-button-images" setting.
2172 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-check-button.c (hildon_check_button_new):
2175 Instead of using a custom container, display the label and the
2176 checkbox using the standard GtkButton API.
2178 * examples/hildon-check-button-example.c (main): Don't use
2179 hildon_check_button_set_label() anymore
2181 * src/hildon-check-button.h
2182 * src/hildon-check-button.c
2183 (hildon_check_button_set_label, hildon_check_button_get_label):
2184 Set as deprecated, now we're using gtk_button_{get,set}_label()
2186 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2188 * src/hildon-pannable-area.c,
2189 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2190 GtkTreeview first line we detected it after the inclusion of the
2191 GtkWindowImpl in gtk+. We now check if the window is visible, not
2192 just if the pointer is over the window.
2193 (hildon_pannable_axis_scroll),
2194 (hildon_pannable_area_expose_event): Small style changes.
2196 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-button.c: Update documentation.
2200 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2202 * examples/hildon-button-example.c: Add a switch to show images in
2205 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2207 * doc/hildon-docs.sgml: Some docs reorganization.
2209 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2211 * examples/hildon-pannable-area-touch-list-example.c
2213 * examples/hildon-pannable-area-touch-grid-example.c
2214 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2215 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2216 Fix memory leak when setting the tree model.
2218 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2222 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2224 * doc/hildon.types: Remove duplicated hildon_window_get_type
2225 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2226 documentation comment.
2228 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2230 * doc/Makefile.am: Complete list of private headers.
2232 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2234 * doc/hildon-docs.sgml
2235 * src/hildon-app-menu.c
2236 * src/hildon-bread-crumb.c
2237 * src/hildon-button.c
2239 * src/hildon-program.c
2240 * src/hildon-stackable-window.c
2241 * src/hildon-window.c: Lots of documentation updates.
2243 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2245 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2247 * configure.ac: Require Gtk+ 2.12.9 at least
2249 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2251 * src/hildon-pannable-area.c
2252 (hildon_pannable_area_scroll_indicator_fade),
2253 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2254 to protect the return of this timeout callbacks, avoiding deadlocks.
2256 2008-08-12 Christian Dywan <christian@imendio.com>
2259 * src/hildon-*.h: Ensure a consistent include order,
2260 include <gtk/gtk.h> instead of particular files and
2261 only include the topmost header in the gtk stack. See NB #39857
2263 2008-08-12 Christian Dywan <christian@imendio.com>
2265 * src/hildon-picker-dialog.c
2266 * src/hildon-touch-selector.c: Fix warnings about unused and
2267 uninitialized variables.
2269 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2271 * examples/Makefile.am
2272 * examples/hildon-check-button-example.c: Example of the hildon
2275 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-window.h
2278 * src/hildon-window.c (hildon_window_class_init)
2279 (hildon_window_unset_program): Don't make
2280 hildon_window_unset_program a virtual function anymore.
2282 * src/hildon-stackable-window.c: Update documentation
2284 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2287 * doc/hildon-docs.sgml
2288 * doc/visual_index.xml
2289 * src/hildon-defines.c
2291 * src/hildon-helper.c
2292 * src/hildon-range-editor.c: Lots of documentation fixes.
2294 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2296 * examples/hildon-picker-button-multicolumn-example.c
2297 (create_touch_selector): Fix compilation warning.
2299 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2302 (hildon_pannable_area_button_release_cb)
2303 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2305 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2310 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-bread-crumb-trail.h
2313 * src/hildon-date-editor.c
2314 * src/hildon-date-selector.c
2315 * src/hildon-pannable-area.c
2316 * src/hildon-picker-dialog.c
2317 * src/hildon-time-selector.c
2318 * src/hildon-touch-selector-entry.c
2319 * src/hildon-touch-selector.c
2320 * src/hildon-touch-selector.h: Misc documentation fixes
2322 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2324 * examples/hildon-date-editor-example.c (main): Updated date
2327 * examples/hildon-note-example.c (on_confirmation_clicked):
2328 Updated confirmation note example.
2330 * src/hildon-date-editor.c
2331 * src/hildon-note.c: Updated sample programs in documentation.
2334 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-date-button.h:
2337 * src/hildon-picker-button.h:
2338 * src/hildon-time-button.c:
2339 * src/hildon-time-button.h:
2341 Some declarations changes to allow gtk-doc to document the widgets
2344 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-date-button.c: Document the widget.
2347 * src/hildon-time-button.c: Document the widget.
2349 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-picker-button.c: Document the widget.
2352 * src/hildon-touch-selector-entry.c: Document the widget.
2354 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2356 * doc/hildon-docs.sgml
2359 * src/hildon-check-button.h
2360 * src/hildon-check-button.c: New functions to create the Hildon
2364 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2366 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-button.h
2369 * src/hildon-button.c
2370 (hildon_button_add_title_size_group)
2371 (hildon_button_add_value_size_group)
2372 (hildon_button_add_image_size_group)
2373 (hildon_button_add_size_groups): New functions to set size groups
2374 for the button labels and image.
2375 (hildon_button_new_full): Removed
2377 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2379 * src/hildon-time-selector.c
2380 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2381 in order to avoid a crash if gconf is not available
2383 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2385 * src/hildon-button.c (hildon_button_set_arrangement)
2386 (hildon_button_construct_child): Don't construct the button child
2387 before setting the arrangement.
2389 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-program-private.h
2392 * src/hildon-program.c
2393 * src/hildon-program.h
2394 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2395 (hildon_program_peek_window_stack)
2396 (hildon_program_pop_window_stack)
2397 (hildon_program_go_to_root_window): HildonProgram now has a
2398 separate list for stackable windows. Functions are provided to
2399 manage that list with a stack-like API.
2401 * src/hildon-stackable-window.c: Stackable window management is
2402 now much simpler with the new HildonProgram API. Windows no
2403 longer need to be manually added to the program, they're
2404 automatically pushed to the top of the stack when shown.
2406 * examples/hildon-stackable-window-example.c: Updated example to
2407 reflect the API changes.
2409 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-touch-selector.c: Comment out unimplemented
2412 hildon_touch_selector_insert_column() to avoid a compile warning.
2414 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2417 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2418 (hildon_touch_selector_set_column_selection_mode),
2419 (_hildon_touch_selector_set_model),
2420 (hildon_touch_selector_set_model):
2422 Complete review of HildonTouchSelector documentation.
2424 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2426 * doc/hildon-docs.sgml
2430 * src/hildon-gtk.c: Convenience functions for standard Gtk
2431 widgets, used to easily perform frequent operations.
2433 * src/hildon-button-helpers.h
2434 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2436 * src/hildon-helper.h
2437 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2438 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2440 * src/hildon-button.h
2441 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2443 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2445 * src/hildon-button.c (hildon_button_init)
2446 (hildon_button_set_arrangement, hildon_button_construct_child):
2447 Pack the image and the labels inside the same GtkAlignment so
2448 gtk_button_set_alignment() can be used
2450 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2452 * src/hildon-button.h
2453 * src/hildon-button.c
2454 (hildon_button_init, hildon_button_set_image)
2455 (hildon_button_set_image_position)
2456 (hildon_button_construct_child): New functions to add an image to
2459 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-date-button.c
2462 * src/hildon-picker-button.c
2463 * src/hildon-time-button.c
2464 * src/hildon-button.c:
2465 (hildon_button_class_init): "size-flags" renamed to "size"
2466 (hildon_button_set_title): Hide the title label if set to NULL.
2468 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2470 HildonButtonFlags split into HildonButtonArrangement (to set the
2471 button layout) and HildonSizeType (which can be used for any
2474 * src/hildon-button.h
2475 * src/hildon-button.c
2476 (hildon_button_class_init)
2477 (hildon_button_set_arrangement)
2478 (hildon_button_set_property): New "size-flags"
2479 property. "arrangement-flags" renamed to "arrangement".
2480 (hildon_button_new, hildon_button_new_with_text)
2481 (hildon_button_new_full): Constructors updated to reflect type changes.
2483 * src/hildon-helper.h
2484 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2485 to set the size of a widget.
2489 * src/hildon-button-helpers.c
2490 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2492 * src/hildon-date-button.c
2493 * src/hildon-date-button.h
2494 * src/hildon-picker-button.c
2495 * src/hildon-picker-button.h
2496 * src/hildon-time-button.c
2497 * src/hildon-time-button.h: Updated widgets to reflect
2498 HildonButton API changes.
2500 * examples/hildon-button-example.c
2501 * examples/hildon-date-button-example.c
2502 * examples/hildon-picker-button-example.c
2503 * examples/hildon-picker-button-multicolumn-example.c
2504 * examples/hildon-time-button-example.c
2505 * examples/hildon-touch-selector-entry-example.c
2506 * examples/hildon-touch-selector-example.c: Updated examples to
2507 reflect HildonButton API changes.
2509 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2511 * doc/hildon-docs.sgml:
2513 * examples/Makefile.am:
2514 * examples/hildon-touch-selector-entry-example.c:
2516 * src/hildon-touch-selector-entry.c:
2517 * src/hildon-touch-selector-entry.h:
2520 Moved HildonTouchSelectorEntry from sandbox. Added its
2521 documentation and examples.
2523 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-touch-selector.h:
2526 * examples/hildon-picker-button-multicolumn-example.c:
2527 (hildon_touch_selector_append_text_column): Add a gboolean
2528 parameter to determine if text must be centered in the column.
2530 * src/hildon-date-selector.c: (hildon_date_selector_init):
2531 * src/hildon-time-selector.c: (hildon_time_selector_init):
2532 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2533 (create_touch_selector): Update widgets and example to reflect
2536 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-touch-selector.c:
2539 (hildon_touch_selector_set_active_iter): Set also the cursor in
2542 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2544 * doc/hildon-docs.sgml
2547 * src/hildon-toggle-button.c
2548 * src/hildon-toggle-button.h
2549 * src/hildon.h: Removed HildonToggleButton widget, a derived
2550 class is not necessary for this.
2552 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2554 * src/hildon-pannable-area.c,
2555 (hildon_pannable_area_realize),
2556 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2559 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2562 "done" button the default widget for the dialog.
2564 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-touch-selector.c:
2567 (hildon_touch_selector_class_init),
2568 (hildon_touch_selector_get_property),
2569 (_hildon_touch_selector_set_model),
2570 (_hildon_touch_selector_has_multiple_selection),
2571 (hildon_touch_selector_has_multiple_selection):
2572 Add a "has-multiple-selection" property with a virtual
2573 has_multiple_selection() method to allow derived classes to
2574 override the default value for it. See the method and property
2575 documentation for details.
2577 * src/hildon-touch-selector.h: Add the new API.
2579 * src/hildon-picker-dialog.c: (requires_done_button): Call
2580 hildon_touch_selector_has_multiple_selection() instead of
2581 determining the need for a button itself.
2583 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2586 (_hildon_touch_selector_set_model),
2587 (hildon_touch_selector_set_model): Move working code to
2588 _hildon_touch_selector_set_mode(). Call the class method instead.
2590 * src/hildon-touch-selector.h: Add (*set_model) to
2591 HildonTouchSelectorClass.
2593 Make hildon_touch_selector_set_model() a virtual method, so that
2594 derived classes can extend it and do fancy stuff with the model.
2596 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2598 * configure.ac: Set back the tarname in AC_INIT to hildon.
2600 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2604 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2605 instead of libesd (NB#86876). Volume handling is still an open issue.
2607 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2610 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2613 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2614 derived class to ease placement of an entry widget in
2615 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2616 end, where the selector columns are packed now.
2618 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-picker-button.c: Removed the simple _text() API.
2621 * src/hildon-picker-button.h: Likewise.
2623 * src/hildon-touch-selector.h:
2624 * src/hildon-touch-selector.c:
2625 (hildon_touch_selector_new_text),
2626 (hildon_touch_selector_append_text),
2627 (hildon_touch_selector_prepend_text),
2628 (hildon_touch_selector_insert_text):
2630 Moved the simple _text() API from HildonPickerButton to
2631 HildonTouchPicker, to provide better escalability and not to tie
2632 that API to HildonPickerButton.
2634 * examples/hildon-picker-button-example.c: (main): Example updated.
2636 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-button.c: Updated documentation.
2640 * examples/hildon-button-example.c: Add the posibility to create
2641 the buttons using horizontal layout for title and value.
2643 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-app-menu-private.h
2646 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2647 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2648 GtkSizeGroup for the filters, use the 'homogeneous' property of
2651 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2653 * examples/hildon-button-example.c: Updated example.
2655 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2657 * doc/hildon-docs.sgml:
2660 Update documentation.
2662 * examples/Makefile.am: Update renamed examples.
2664 * examples/hildon-picker-button-multicolumn-example.c:
2665 (create_touch_selector), (main): Update after the rename.
2667 * examples/hildon-touch-picker-example.c: Removed.
2668 * examples/hildon-touch-selector-example.c: (value_changed),
2669 (create_selector), (get_visible_content), (main): Renamed from
2670 hildon-touch-picker-example.c
2672 * src/Makefile.am: Updated renamed files.
2674 * src/hildon-date-button.c: (hildon_date_button_init),
2675 (hildon_date_button_get_date), (hildon_date_button_set_date):
2676 * src/hildon-date-selector.c: (hildon_date_selector_init),
2677 (_custom_print_func), (_update_day_model),
2678 (_manage_selector_change_cb),
2679 (hildon_date_selector_select_current_date),
2680 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2681 * src/hildon-date-selector.h:
2682 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2683 (hildon_picker_button_set_property),
2684 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2685 (hildon_picker_button_init), (hildon_picker_button_new_text),
2686 (hildon_picker_button_append_text),
2687 (hildon_picker_button_prepend_text),
2688 (hildon_picker_button_insert_text),
2689 (hildon_picker_button_set_selector),
2690 (hildon_picker_button_get_selector):
2691 * src/hildon-picker-button.h:
2692 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2693 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2694 (_update_title_on_selector_changed_cb), (requires_done_button),
2695 (_hildon_picker_dialog_set_selector),
2696 (hildon_picker_dialog_set_selector),
2697 (hildon_picker_dialog_get_selector):
2698 * src/hildon-picker-dialog.h:
2699 * src/hildon-time-button.c: (hildon_time_button_init),
2700 (hildon_time_button_get_time), (hildon_time_button_set_time):
2701 * src/hildon-time-selector.c: (hildon_time_selector_init),
2702 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2703 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2704 * src/hildon-time-selector.h:
2707 Massive code updates after the rename.
2709 * src/hildon-touch-picker.c: Removed.
2710 * src/hildon-touch-picker.h: Removed.
2712 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2713 (hildon_touch_selector_init), (hildon_touch_selector_map),
2714 (hildon_touch_selector_remove), (_default_print_func),
2715 (_selection_changed_cb), (_create_new_column),
2716 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2717 (hildon_touch_selector_append_text_column),
2718 (hildon_touch_selector_remove_column),
2719 (hildon_touch_selector_set_column_attributes),
2720 (hildon_touch_selector_insert_column),
2721 (hildon_touch_selector_get_num_columns),
2722 (hildon_touch_selector_get_column_selection_mode),
2723 (hildon_touch_selector_set_column_selection_mode),
2724 (hildon_touch_selector_set_print_func),
2725 (hildon_touch_selector_get_print_func),
2726 (hildon_touch_selector_get_active_iter),
2727 (hildon_touch_selector_set_active_iter),
2728 (hildon_touch_selector_get_selected_rows),
2729 (hildon_touch_selector_get_model),
2730 (hildon_touch_selector_set_model),
2731 (hildon_touch_selector_get_current_text),
2732 (_hildon_touch_selector_center_on_selected_items):
2733 * src/hildon-touch-selector.h: Renamed from
2734 hildon-touch-picker.[ch]
2736 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2737 references, code examples, and related documentation.
2739 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2741 * doc/hildon-docs.sgml
2744 * src/hildon-toggle-button.c
2745 * src/hildon-toggle-button.h
2746 * src/hildon.h: New HildonToggleButton widget.
2748 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-button.c: Add API documentation.
2751 (hildon_button_set_size_groups): Check input parameters
2753 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2755 * src/hildon-pannable-area.c
2756 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2757 effect after reaching the movement thredshold. This way we start
2758 using the distance after passing the thredshold.
2760 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-button.c: (hildon_button_set_property): Use the
2763 appropriate g_value_get_flags() method.
2765 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2767 * doc/hildon-docs.sgml:
2770 Add the touch pickers, picker dialogs, and picker button widgets
2771 to the documentation.
2773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-button.c: (hildon_button_set_property),
2776 (hildon_button_class_init): Make "arrangement-flags" a proper
2777 G_TYPE_FLAGS derived property.
2779 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2781 * examples/Makefile.am: Add below examples.
2782 * examples/hildon-date-button-example.c:
2783 * examples/hildon-picker-button-example.c:
2784 * examples/hildon-picker-button-multicolumn-example.c:
2785 * examples/hildon-time-button-example.c:
2786 * examples/hildon-touch-picker-example.c:
2788 Add examples for the recently added touch pickers,
2789 picker dialogs, and picker button widgets.
2791 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-button.c: Add some API documentation
2795 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-button.h
2798 * src/hildon-button.c
2800 (hildon_button_new_with_text): New constructor to create a button
2801 with no text at all.
2802 (hildon_button_init, hildon_button_set_arrangement)
2803 (hildon_button_set_title, hildon_button_set_value)
2804 (hildon_button_set_text)
2805 (hildon_button_construct_child): Hide the value when it's not used
2806 so the rest of the text is properly aligned.
2807 Allow creating buttons with arbitrary widgets inside (not just
2808 title/value labels).
2810 * examples/hildon-button-example.c (vertical_buttons_window)
2811 (horizontal_buttons_window): Update example to use new API.
2813 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/Makefile.am: Added HildonTimeButton.
2816 * src/hildon-time-button.c: Added missing LGPL header.
2817 * src/hildon-time-button.h: Added missing LGPL header.
2818 * src/hildon.h: Add hildon-time-button.h
2820 Copied HildonTimeButton from sandbox to trunk. Future work on this
2821 widget must take place in trunk.
2823 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/Makefile.am: Added HildonDateButton.
2826 * src/hildon-date-button.c: Update includes.
2827 * src/hildon.h: Add hildon-date-button.h
2829 Copied HildonDateButton from sandbox to trunk. Future work on this
2830 widget must take place in trunk.
2832 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/Makefile.am: Added HildonPickerButton.
2835 * src/hildon-picker-button.h: Update includes.
2836 * src/hildon.h: Add hildon-picker-button.h
2838 Copied HildonPickerButton from sandbox to trunk. Future work on
2839 this widget must take place in trunk.
2841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/Makefile.am: Added HildonPickerDialog.
2844 * src/hildon-picker-dialog.c: Update includes.
2845 * src/hildon.h: Add hildon-picker-dialog.h
2847 Copied HildonPickerDialog from sandbox to trunk. Future work
2848 on this widget must take place in trunk.
2850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/Makefile.am: Added HildonTimeSelector.
2853 * src/hildon.h: Add hildon-time-selector.h
2855 Copied HildonTimeSelector widget from sandbox to trunk. Future
2856 work on this widget must happen in trunk.
2858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/Makefile.am: Added HildonDateSelector.
2861 * src/hildon.h: Add hildon-date-selector.h
2863 Copied HildonDateSelector widget from sandbox to trunk. Future
2864 work on this widget must happen in trunk.
2866 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/Makefile.am: Added HildonTouchPicker.
2869 * src/hildon-touch-picker.c: Update includes.
2870 * src/hildon.h: Add hildon-touch-picker.h
2872 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2873 on this widget must happen in trunk.
2875 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-pannable-area.c:
2878 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2880 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2882 * examples/hildon-app-menu-example.c (main): Let the window
2885 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2887 * src/hildon-pannable-area.c
2888 (hildon_pannable_area_class_init): Set the min value of the
2889 overshoot properties to zero, which points out that not
2890 overshooting allowed.
2892 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2894 Modified the procedure to get the widget at a point inside the
2895 pannable area when using the movement type signals. Now the user
2896 has to call a function to get the child, that way we just
2897 calculate the child in case the user really want to use it and not
2900 * src/hildon-marshalers.list: Modified the marshallers, now we do
2901 not have the widget as a parameter.
2903 * src/hildon-pannable-area.c
2904 (hildon_pannable_area_motion_notify_cb),
2905 (hildon_pannable_area_class_init),
2906 (hildon_pannable_get_child_widget_at): Removed the widget
2907 parameter from the signal callback. We have also refactored the
2908 emission of the signals.
2910 * src/hildon-pannable-area.h: Added a new method to the API to
2911 calculate a widget at a point inside the pannable area,
2912 hildon_pannable_get_child_widget_at.
2914 * examples/hildon-pannable-area-example-4.c
2915 (horizontal_movement): Modified the example to use the new API,
2916 added condition to control which widget is under the event. This
2917 way we can avoid scrolling laterally over other widgets.
2919 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2921 * src/hildon-pannable-area.c
2922 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2923 modes, we stop getting the pointer events due to returning the
2924 callback without properly calling the get pointer again. Fixed
2925 also an error using the hscroll and vscroll.
2927 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-app-menu-private.h
2930 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2931 (hildon_app_menu_button_release, hildon_app_menu_init)
2932 (hildon_app_menu_class_init): Don't hide the menu on button
2933 release if the user didn't press outside first.
2935 * src/hildon-window.h
2936 * src/hildon-window.c (hildon_window_toggle_menu)
2937 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2938 hildon_window_toggle_menu a virtual function for the stackable
2939 window to override it.
2941 * src/hildon-stackable-window.h
2942 * src/hildon-stackable-window-private.h
2943 * src/hildon-stackable-window.c
2944 (hildon_stackable_window_realize)
2945 (hildon_stackable_window_finalize)
2946 (hildon_stackable_window_class_init)
2947 (hildon_stackable_window_init)
2948 (hildon_stackable_window_set_main_menu): New function to set the
2949 app menu of a HildonStackableWindow.
2951 * examples/hildon-app-menu-example.c: Remove the button to show
2952 the app menu, now it'll be shown when clicking on the title bar
2955 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2958 set the widget name if the arrangement flags do not specify
2961 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-button.c: (hildon_button_set_property),
2964 (hildon_button_class_init), (hildon_button_new_full),
2965 (hildon_button_set_arrangement): Added "arrangement-flags"
2968 Make the HildonButtonFlags a construction-only property, to allow
2969 subclasses to set them properly.
2971 2008-07-21 Tim Janik <timj@imendio.com>
2973 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2974 insertion position after backspace, so additional digits are appended,
2977 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2979 * src/hildon-pannable-area.c,
2980 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2981 TODO list, it was complete and removed the g_debug and g_print
2984 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2986 Added the movement modes to the hildon-pannable-area, with this
2987 modes the developers can control in which directions the widget
2988 can scroll. They can also connect to signals in order to do
2989 something when that happens, allowing applications scroll. There
2990 is an example uploaded showing how to use it.
2992 * examples/Makefile.am:
2993 * examples/hildon-pannable-area-example-4.c: Added this example of
2994 an application using the modes.
2996 * src/hildon-marshalers.list: Added a new marshaller for the new
2999 * src/hildon-pannable-area.h: Added new enumerations and flags in
3000 order to control the movement modes and the new signals to warn
3001 about the movements in the area.
3003 * src/hildon-pannable-area.c:
3004 (hildon_pannable_axis_scroll),
3005 (hildon_pannable_area_scroll),
3006 (hildon_pannable_area_motion_notify_cb),
3007 (hildon_pannable_area_get_property),
3008 (hildon_pannable_area_set_property),
3009 (hildon_pannable_area_map),
3010 (hildon_pannable_area_class_init),
3011 (hildon_pannable_area_init),
3012 (hildon_pannable_area_jump_to): Added the modes to control the
3013 movement in the widget. We have added properties to control it,
3014 signals to warn about the movements and refactored some code.
3016 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3018 Changes required in order to allow vfast_factor set to zero to
3021 * src/hildon-pannable-area.c:
3022 (hildon_pannable_area_button_press_cb): Changed the condition, it
3023 is required for not allowing click when vfast_factor is zero.
3024 (hildon_pannable_area_timeout): Initialized velocity variables
3025 when we stop moving, it was less than 1 but not zero and we need
3026 to check zero in some situations.
3027 (hildon_pannable_area_class_init): Changed the default value of
3028 the speed factor, now the button_press is just sent in case the
3029 speed is 2 per cent of the max speed.
3030 (hildon_pannable_area_init): Initialization with 0.
3032 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3034 * src/hildon-pannable-area.c,
3035 (hildon_pannable_area_get_topmost): replaced
3036 gdk_window_get_children with gdk_window_peek_children, this way we
3037 do not have to free the list because it is not a copy.
3039 (hildon_pannable_axis_scroll),
3040 (hildon_pannable_area_scroll),
3041 (hildon_pannable_area_timeout),
3042 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3043 two parameters that were only used inside the
3044 hildon_pannable_area_scroll function.
3046 * examples/hildon-pannable-area-example.c,
3047 (get_sawtooth_label): Fixed small memory leak.
3049 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3051 More checks for the case where the overshoot is bigger than the
3054 * src/hildon-pannable-area.c:
3055 (hildon_pannable_draw_vscroll),
3056 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3057 to draw the slider of the scrollbar under the other scrollbar.
3058 (hildon_pannable_area_expose_event): added new checks to control
3059 the drawing of the overshooting area rectangle, in case it is too
3060 big for the area of the widget.
3061 (hildon_pannable_area_size_allocate): add more checks to avoid
3062 setting a position to the child widget outside the area.
3064 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3066 * src/hildon-pannable-area.c
3067 (hildon_pannable_area_size_allocate): Added conditions to control
3068 when overshooting is bigger than the allocated space for the
3069 children, this avoids negative allocations.
3071 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3073 * doc/hildon-docs.sgml
3075 * examples/Makefile.am
3076 * examples/hildon-button-example.c
3078 * src/hildon-button.c
3079 * src/hildon-button.h
3080 * src/hildon.h: Initial version of the new HildonButton widget,
3083 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3085 * src/hildon-pannable-area.c:
3086 (hildon_pannable_area_button_press_cb),
3087 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3088 (hildon_pannable_area_motion_notify_cb),
3089 (hildon_pannable_area_button_release_cb),
3090 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3091 (hildon_pannable_area_jump_to_child):
3093 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3095 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3097 * examples/Makefile.am
3098 * examples/hildon-pannable-area-touch-grid-example.c
3099 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3100 the Hildon Touch List and Hildon Touch Grid using the
3101 HildonPannableArea widget.
3103 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3105 * src/hildon-pannable-area.c,
3106 (hildon_pannable_area_button_press_cb),
3107 (hildon_pannable_area_refresh),
3108 (hildon_pannable_area_scroll),
3109 (hildon_pannable_area_motion_notify_cb),
3110 (hildon_pannable_area_button_release_cb),
3111 (hildon_pannable_area_expose_event),
3112 (hildon_pannable_area_add),
3113 (hildon_pannable_area_remove),
3114 (hildon_pannable_area_realize),
3115 (hildon_pannable_area_size_allocate),
3116 (hildon_pannable_area_class_init),
3117 (hildon_pannable_area_init),
3118 (hildon_pannable_area_scroll_to_child),
3119 (hildon_pannable_area_jump_to_child): Fixed the problem of
3120 removing the child from the GtkBin, we have rearranged the widget
3121 hierarchy, now there is no GtkAlignment which was not doing
3122 anything interesting but breaking some of the assumptions of
3123 GtkContainer. Now developers if they want to add a GtkAlignment
3124 they could, but it is not inside the area.
3126 We had to review the whole allocation/expose process, now it is
3127 improved and we save at least three signals which would be saving
3128 some time when rendering the widget. The allocation of the
3129 scrollbars is now made in the allocate method as usual.
3131 We have also added some conditions in order to control when there
3132 is no child of the pannable area. Maybe we will need more work
3135 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3137 * src/hildon-pannable-area.c,
3138 (hildon_pannable_area_dispose): Released the fade-out timeout when
3139 disposing the widget.
3141 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3143 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3144 zero, we are going to use that property in order to deactivate the
3146 (hildon_pannable_axis_scroll),
3147 (hildon_pannable_area_size_allocate): Added conditions to control
3148 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3149 call, now it is called in all situations and we can remove calls
3150 in the allocate method.
3151 (hildon_pannable_area_map): Control the situation when
3152 overshoot_max is zero, we do not need the timeout.
3153 (hildon_pannable_area_class_init): Added documentation in order to
3154 point out that setting zero to overshoot_max means deactivate
3157 NOTE: removed trailing whitespaces from my previous comments of
3160 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-pannable-area.c
3163 (hildon_pannable_area_get_property),
3164 (hildon_pannable_area_set_property),
3165 (hildon_pannable_area_map),
3166 (hildon_pannable_area_class_init),
3167 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3168 to cause the widget give a hint about its panning abilities upon
3171 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-pannable-area.c: Several documentation improvements.
3175 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-program.c
3178 * src/hildon-stackable-window.c: Update documentation.
3180 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-stackable-window.c (get_previous_window_if_last):
3183 Renamed get_last_window()
3184 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3185 (hildon_stackable_window_unset_program):
3187 (get_previous_window_if_last):
3188 Detect if the window hasn't been added to a HildonProgram.
3190 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3192 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3194 * src/hildon-pannable-area.c
3195 (hildon_pannable_area_button_press_cb),
3196 (hildon_pannable_axis_scroll),
3197 (hildon_pannable_area_scroll),
3198 (hildon_pannable_area_timeout),
3199 (hildon_pannable_calculate_vel_factor),
3200 (hildon_pannable_area_get_property),
3201 (hildon_pannable_area_set_property),
3202 (hildon_pannable_area_class_init),
3203 (hildon_pannable_area_init),
3204 (hildon_pannable_area_scroll_to),
3205 (hildon_pannable_area_jump_to),
3206 (hildon_pannable_area_scroll_to_child),
3207 (hildon_pannable_area_jump_to_child):
3208 * src/hildon-pannable-area.h: Added the new API functions:
3209 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3210 hildon_pannable_area_scroll_to_child,
3211 hildon_pannable_area_jump_to_child
3214 * examples/Makefile.am
3215 * examples/hildon-pannable-area-example-2.c
3216 * examples/hildon-pannable-area-example-3.c: Added these two new
3217 examples in order to test and show how the new APIs work.
3219 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3221 * examples/hildon-stackable-window-example.c (new_window):
3222 * src/Makefile.am (noinst_HEADERS):
3223 * src/hildon-program.c (hildon_program_go_to_root_window):
3224 * src/hildon-program.h:
3225 * src/hildon-stackable-window-private.h:
3226 * src/hildon-stackable-window.c:
3227 * src/hildon-stackable-window.h:
3228 Create hildon-stackable-window-private.h
3229 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3231 * examples/hildon-app-menu-example.c (create_menu):
3232 * examples/hildon-hvolumebar-insensitive-example.c (main):
3233 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3234 * examples/hildon-toolbar-seekbar-example.c (main):
3235 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3236 * src/hildon-banner.c (hildon_banner_set_property):
3237 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3238 Fix compilation warnings
3240 * src/hildon-window.c:
3243 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-stackable-window.c
3246 (hildon_stackable_window_unset_program):
3247 Calculate correctly whether to show the previous window if the
3248 last one is removed from the stack.
3249 (hildon_stackable_window_go_to_root_window):
3250 Send delete events starting from the topmost window.
3251 Stop if one of the windows is not destroyed.
3253 (hildon_stackable_window_delete_event)
3254 (hildon_stackable_window_class_init):
3255 Ignore the delete event if the window is not the topmost one.
3257 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3259 * src/hildon-pannable-area.c
3260 (hildon_pannable_area_expose_event): Fixed a problem when
3261 selecting the background color of the scrollbars.
3263 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3265 * examples/hildon-stackable-window-example.c
3266 * src/hildon-stackable-window.c
3267 * src/hildon-stackable-window.h
3268 hildon_stackable_window_go_home() renamed to
3269 hildon_stackable_window_go_to_root_window()
3270 Send delete events to windows rather than closing them with
3271 gtk_widget_destroy()
3273 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-pannable-area.c
3276 (hildon_pannable_area_button_release_cb): Fix overshooting in
3279 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-pannable-area.c
3282 (hildon_pannable_area_init): Initially show the scroll indicators.
3283 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3285 Add initial effect showing the widget is pannable.
3287 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-pannable-area.c
3290 (hildon_pannable_area_class_init)
3291 (hildon_pannable_area_set_property)
3292 (hildon_pannable_area_get_property)
3293 (hildon_pannable_area_button_press_cb):
3294 New 'velocity_fast_factor' property to decide which velocity is
3297 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-pannable-area.c
3300 (hildon_pannable_draw_hscroll)
3301 (hildon_pannable_draw_vscroll):
3302 Use float variables to calculate the size of the scrollbars to
3303 avoid error propagation and resizing during scrolling.
3305 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3307 * src/hildon-pannable-area.c
3308 (hildon_pannable_draw_vscroll)
3309 (hildon_pannable_draw_hscroll):
3310 Define a minimum size for the scroll bars
3312 * src/hildon-stackable-window.c
3313 (hildon_stackable_window_go_home): Fix compilation warning
3314 (get_last_window): Minor optimizations
3315 (hildon_stackable_window_class_init): Fix initialization of
3318 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-stackable-window.c: Fixed typos in doc
3322 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3324 * src/hildon-pannable-area.c
3325 (hildon_pannable_area_scroll):
3326 Calculate here whether we need to scroll instead of using the booleans
3327 that tell us whether to /draw/ the scrolling bars.
3329 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3331 * src/hildon-app-menu.h
3333 * src/hildon-app-menu.c
3334 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3335 multiple filter groups related code and API. Now we support only
3337 * examples/hildon-app-menu-example.c:
3339 Update to reflect API changes.
3341 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-stackable-window.c
3344 (hildon_stackable_window_class_init):
3345 Add hildon_stackable_window_realize.
3346 (hildon_stackable_window_realize):
3347 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3348 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3349 to apply theming and behavior specific to HildonStackableWindow
3352 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-note.c (hildon_note_button_release):
3355 Close information notes also when tapping on them
3357 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3359 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3360 ELASTICITY, refactor and review, fix some issues with drawing
3363 * src/hildon-pannable-area.c:
3364 (hildon_pannable_area_button_press_cb): removed the conditions to
3365 avoid clicks when overshooting. It is not required
3367 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3368 define. Refatored and reviewed the code, now we do not need to
3369 manage velocity in motion_notify.
3371 (hildon_pannable_area_motion_notify_cb): We have moved the code
3372 that controls the area_scroll to the axis_scroll function and get
3373 rid of duplicated code.
3375 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3377 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3379 (hildon_pannable_draw_vscroll),
3380 (hildon_pannable_draw_hscroll): Fixed the problems with the
3381 scrollbar drawing, now we do not use two surfaces, it is easier
3382 and saves resources.
3384 (hildon_pannable_area_get_property): Style modification.
3386 (hildon_pannable_area_class_init): Changed some default values.
3388 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3390 * src/hildon-stackable-window.c: Fix some typos in the
3393 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3395 * src/hildon-dialog.c:
3396 Change indentation style
3399 (hildon_note_button_release):
3400 Use root coordinates to check if the release event happened
3403 * src/hildon-app-menu.c
3404 (hildon_app_menu_button_release):
3405 Remove unnecessary check
3407 * examples/hildon-app-menu-example.c
3409 Add cast to fix warning
3411 * src/hildon-app-menu.c
3412 (hildon_app_menu_class_init):
3413 New inner-border style property.
3414 Set all default spacings to 16
3415 (hildon_app_menu_init):
3416 Use vertical-spacing to set the space between filter buttons and
3417 regular menu buttons.
3418 Set the default container border using the inner-border value.
3420 * examples/hildon-app-menu-example.c
3422 Don't set the menu border explicitly, now we have the inner-border
3423 style property for that.
3425 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-app-menu.c (hildon_app_menu_init):
3428 Make the window modal
3430 * src/hildon-note.c (hildon_note_map)
3431 * src/hildon-app-menu.c (hildon_app_menu_map):
3432 Destroy the grab window if we're unable to grab the pointer
3434 * src/hildon-app-menu-private.h
3435 * src/hildon-app-menu.c
3436 (hildon_app_menu_init, hildon_app_menu_finalize)
3437 (hildon_app_menu_map, hildon_app_menu_unmap)
3438 (hildon_app_menu_button_release)
3439 (grab_transfer_window_get):
3440 Bring back the grab window
3441 (hildon_app_menu_realize):
3442 Decorate the window, set WM hint for Matchbox
3444 * src/hildon-note.c (hildon_note_realize):
3445 * src/hildon-banner.c (hildon_banner_realize):
3446 Add WM hints for Matchbox
3448 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-app-menu-private.h
3451 * src/hildon-app-menu.c
3452 (hildon_app_menu_init, hildon_app_menu_finalize)
3453 (hildon_app_menu_map, hildon_app_menu_unmap)
3454 (hildon_app_menu_button_release):
3455 Remove the grab window, it's not needed anymore
3457 * src/hildon-program.c
3458 Fixed typo in documentation
3460 * src/hildon-app-menu.h
3461 * src/hildon-app-menu.c
3462 * examples/hildon-app-menu-example.c
3463 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3465 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3468 Added new transfer_window and close_if_pressed_outside private
3470 (hildon_note_rebuild):
3471 Don't add a cancel button to the information note. It will be
3472 closed when tapping outside
3473 Remove the comment about the OK button in the documentation
3474 (hildon_note_realize):
3475 Set the notification type hint
3476 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3477 Grab/ungrab pointer and keyboard if the note has to be closed when
3479 (hildon_note_button_release):
3480 Close the note when tapping outside (if applicable)
3482 * src/hildon-app-menu.c
3483 Grab/ungrab pointer and keyboard on map/unmap
3484 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3485 Close the menu on button release, not button press
3487 * src/hildon-banner.c
3488 (hildon_banner_set_property)
3489 (hildon_banner_check_position):
3490 Make the banner use the full width of the screen
3491 (hildon_banner_show_information)
3492 (hildon_banner_show_information_with_markup):
3493 Don't display an icon by default
3495 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3497 Added fading scrollbars and adapted all the overshooting code to
3498 horizontal scrolling. We have also fixed bugs with overshooting
3499 and current fading implementation.
3501 * src/hildon-pannable-area.c
3502 (hildon_pannable_area_scroll_indicator_fade): Time out function
3503 used to change the transparency of the scrollbars.
3505 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3506 control and fixed a problem with fading, we now remove the fade
3507 timeout before adding a new one.
3509 (hildon_pannable_axis_scroll):
3510 (hildon_pannable_area_scroll):
3511 (hildon_pannable_area_timeout): Added this functions so we can use
3512 the scroll code both for vertical and horizontal.
3514 (hildon_pannable_area_motion_notify_cb):
3515 (hildon_pannable_area_button_release_cb): Added the horizontal
3516 scrolling control, fixed a problem with the overshooting timeout.
3518 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3519 painting of the scrolls.
3521 (hildon_pannable_draw_vscroll):
3522 (hildon_pannable_draw_hscroll):
3523 (hildon_pannable_area_expose_event):
3524 Draw both scrollbars and rectangles in the overshooting area.
3526 (hildon_pannable_area_get_property):
3527 (hildon_pannable_area_set_property):
3528 Modified the overshoot property to overshoot_max
3530 (hildon_pannable_area_map):
3531 Replaced the comments symbols.
3533 (hildon_pannable_area_size_allocate):
3534 (hildon_pannable_area_class_init):
3535 (hildon_pannable_area_init): Added horizontal scroll, fading
3536 effect properties, fixed a problem when overshooting in the bottom
3539 * examples/hildon-pannable-area-example.c:
3540 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3541 looks better in the example.
3543 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-window.c
3546 * src/hildon-window.h
3547 (hildon_window_class_init)
3548 (hildon_window_unset_program)
3549 (hildon_window_unset_program_real):
3550 Make unset_program a virtual function
3552 * src/hildon-stackable-window.c
3553 * src/hildon-stackable-window.h
3554 Added hildon_stackable_window_go_home()
3556 * examples/Makefile.am
3557 * examples/hildon-stackable-window-example.c
3558 HildonStackableWindow example
3560 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3562 * hildon-pannable-area.c: Added the overshoot property and removed
3563 the OVERSHOOT define. Fixed an indent style error.
3564 (hildon_pannable_area_motion_notify_cb):
3565 (hildon_pannable_area_get_property):
3566 (hildon_pannable_area_set_property): Add overshoot property.
3568 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3571 (hildon_pannable_area_class_init): Installed the new property.
3573 * hildon-pannable-area-example.c: Added a sawtooth function, this
3574 way it is easier to check the movement in the pannable.
3575 (get_sawtooth_label): Added this function.
3576 (main): Now we get the labels from the new get_sawtooth_label
3579 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-app-menu.h
3582 * src/hildon-app-menu.c
3583 Renamed API variables for consistency
3585 (hildon_app_menu_popup): Use also the default window size to
3586 decide where to place the menu
3588 (hildon_app_menu_init, hildon_app_menu_class_init): New
3589 external-border style property
3591 2008-05-26 Michael Natterer <mitch@imendio.com>
3593 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3594 widget_class->tap_and_hold_setup signal slot doesn't exist any
3595 longer, stop overriding it.
3597 (hildon_time_editor_init): g_signal_connect() to the
3598 tap-and-hold-setup signal instead.
3600 (hildon_time_editor_entry_keypress): add cast to fix warning.
3602 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3604 * doc/hildon-docs.sgml
3606 * examples/Makefile.am
3607 * examples/hildon-app-menu-example.c
3609 * src/hildon-app-menu-private.h
3610 * src/hildon-app-menu.c
3611 * src/hildon-app-menu.h
3613 New HildonAppMenu widget
3615 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3617 Rearranged the inheritance of the pannable area, now it inherits
3618 from GtkBin. This will allow us to control the event_window and
3619 the allocation process of the widget, required for some effects.
3621 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3622 GtkBin structures. * src/hildon-pannable-area.c: Added the
3623 event_window variable.
3624 (hildon_pannable_area_button_press_cb):
3625 (hildon_pannable_area_button_release_cb):
3626 (hildon_pannable_area_motion_notify_cb):
3627 Changed the signature of the method, now we override the event
3628 callback instead of connecting to the signal.
3630 (hildon_pannable_area_realize):
3631 (hildon_pannable_area_unrealize):
3632 (hildon_pannable_area_map):
3633 (hildon_pannable_area_unmap):
3634 (hildon_pannable_area_size_allocate):
3635 Added functions to control the widget construction. We add a
3636 INPUT_ONLY window and we put it over the widgets inside the
3637 container, this event_window handles the events.
3639 (hildon_pannable_area_class_init):
3640 Replaced the signal connections with overrides of the event
3643 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3645 Bouncing effect added when touching the borders, you can change
3646 the elasticity of the border changing the ELASTICITY define.
3648 * src/hildon-pannable-area.c: Added ELASTICITY define.
3649 (hildon_pannable_area_timeout): Added inverse velocity when
3650 touching the border of the child widget, that causes a bounce.
3652 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3654 Improved performance, we now do not go to the X server in order to
3655 get the list of window children. Apparently the effect is the
3656 same, we have to be careful and check if this breaks something in
3659 * src/hildon-pannable-area.c:
3660 (get_ordered_children): Removed this function.
3661 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3662 the children windows function with gdk_window_get_children.
3664 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c:
3667 (hildon_pannable_area_dispose): Fixed a crash when closing the
3668 window and kinetics is activated.
3670 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3672 * src/hildon-pannable-area.h
3673 * src/hildon-pannable-area.c
3674 Changed indentation style to meet the one used in Hildon
3676 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3678 Reviewed the interaction of the AUTO mode, now we use the time
3679 attribute of the events and calculate the velocity in the motion,
3680 doing a gimp like calculation. The velocity is calculated in each
3681 motion event using the last velocity and the current one, the
3682 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3684 * src/hildon-pannable-area.c: Replaced the time based algorithm
3686 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3687 timeout for the AUTO mode when we are still moving the cursor. We
3688 added also the velocity calculation in this function.
3689 (hildon_pannable_area_button_release_cb): launch the timeout in
3690 case we are in AUTO mode. There are still some constants here that
3691 come from the old implementation that should be reviewed and
3694 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3696 * doc/hildon-docs.sgml
3699 * src/hildon-stackable-window.c
3700 * src/hildon-stackable-window.h
3702 New HildonStackableWindow widget
3704 * examples/hildon-dialog-example.c
3705 * examples/hildon-pannable-area-example.c
3708 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3710 * src/hildon-dialog.c
3711 (hildon_dialog_new_with_buttons): New constructor.
3713 * examples/hildon-dialog-example.c
3714 (main): Update the example to use the new
3715 hildon_dialog_new_with_buttons().
3717 * examples/hildon-pannable-area-example.c
3718 (main): Update example.
3720 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3722 * doc/hildon-docs.sgml
3724 Added HildonPannableArea to the documentation.
3726 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3728 * doc/visual_index.xml
3729 Fix reference to HildonLoginDialog in documentation
3731 * doc/hildon-docs.sgml
3733 * examples/Makefile.am
3734 * examples/hildon-dialog-example.c
3736 * src/hildon-dialog.c
3737 * src/hildon-dialog.h
3739 New HildonDialog widget.
3741 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-pannable-area.c
3744 Merge latest changes (r4318, r4342) from libmokoui trunk
3746 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3748 * examples/Makefile.am
3749 * examples/hildon-pannable-area-example.c
3751 * src/hildon-pannable-area.c
3752 * src/hildon-pannable-area.h
3754 New HildonPannableArea widget.
3756 2008-04-15 18:05:19 <timj@imendio.com>
3758 * src/hildon-banner.c: revert the recent change, that introduced
3759 gtk_window_present() calls. this reopens:
3760 Bug 78481 - [freetest] information banners are hidden under browser menu
3761 But resolves another variant of:
3762 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3764 2008-04-15 13:21:13 <timj@imendio.com>
3766 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3767 recreated its layout, spotted by Kris. this fixes all remaining
3768 artefacts and stability issues with the banner code. in particular:
3769 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3771 2008-04-14 16:52:59 <timj@imendio.com>
3773 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3774 operating on unrealized widgets, fixes:
3775 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3777 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3779 2008-04-09 Kristian Rietveld <kris@imendio.com>
3781 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3782 makes banner disappear.
3783 Fixes: NB#79182: info banner flickering with certain message lengts.
3785 * src/hildon-banner.c (hildon_banner_constructor),
3786 (hildon_banner_init), (hildon_banner_set_text),
3787 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3788 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3789 FALSE, reset size requests of label and banner,
3790 (force_to_wrap_truncated): when the text is too wide, always enforce
3791 the maximum possible width instead of recalculating it from the
3792 layout; enforce the maximum banner height of 3 lines,
3793 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3794 nicer wrapping and no truncated chars if space gets tight.
3796 * src/hildon-banner-private.h: add has_been_wrapped and
3797 has_been_truncated fields.
3799 2008-04-07 Sven Herzberg <sven@imendio.com>
3801 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3802 local values in hildon_date_editor_size_allocate
3804 * src/hildon-date-editor.c: moved the real allocation code into the
3807 2008-04-07 Sven Herzberg <sven@imendio.com>
3809 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3810 local values in hildon_date_editor_size_allocate
3812 * src/hildon-date-editor.c: merged the two if() branches together
3814 2008-04-07 Sven Herzberg <sven@imendio.com>
3816 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3817 local values in hildon_date_editor_size_allocate
3819 * src/hildon-date-editor.c: changed the arguments of the if()
3822 2008-04-07 Sven Herzberg <sven@imendio.com>
3824 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3825 local values in hildon_date_editor_size_allocate
3827 * src/hildon-date-editor.c: split the calculation of the allocation
3828 from the real allocation
3830 2008-03-27 Michael Natterer <mitch@imendio.com>
3832 Fixes: NB#81696: The passcode is not overwritten even after
3835 * src/hildon-code-dialog.c
3836 (hildon_code_dialog_button_clicked)
3837 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3838 because that doesn't overwrite selected text. Instead, emit the
3839 "commit" signal on the entry's im_context so the entry's normal
3840 insert logic is triggered. Set the cursor to the end of the entry
3841 after each insert operation so that we *only* insert in the middle
3842 of the text if something was selected.
3844 2008-03-27 Michael Natterer <mitch@imendio.com>
3846 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3847 selector cannot be opened
3849 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3850 when the popup color selector is created. Please connect to this
3851 signal in order to set the dialog's help ID.
3853 2008-03-25 Sven Herzberg <sven@imendio.com>
3855 Fixes: MB#1212: Hide info banners (infoprints) on click
3857 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3858 extracted the close event simulation into an extra function
3859 (hildon_banner_button_press_event): simulate a close event and destroy
3860 the widget if the event wasn't handled
3861 (hildon_banner_class_init): added the button_press_event handler
3862 (hildon_banner_init): added button-press events to the widget
3864 2008-03-25 Sven Herzberg <sven@imendio.com>
3866 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3867 Patch from: Mohammad Anwari <mdamt@maemo.org>
3869 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3870 instead of the right in RTL mode
3871 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3872 breadcrumb button list in RTL mode
3873 * src/hildon-caption.c: mirror the appearance of the caption widget in
3875 * src/hildon-date-editor.c: mirror appearance of the date editor in
3877 * src/hildon-time-editor.c: mirror appearance of the time editor in
3879 * src/hildon-window.c: fix the position of the popup in RTL mode
3881 2008-03-25 Sven Herzberg <sven@imendio.com>
3883 Amendment to the fix of NB#22072. Fix compilation.
3885 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3887 2008-03-19 Sven Herzberg <sven@imendio.com>
3889 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3892 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3893 timeout id properly when the timeout will disappear this leaves no
3894 artifacts around in the destroy(); there will only be the timeout
3895 created by hildon_banner_ensure_timeout() and adding a new timeout
3896 will also work if the timeout gets removed because the timeout_handler
3899 2008-03-19 Michael Natterer <mitch@imendio.com>
3901 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3903 * src/hildon-volumebar.c
3904 * src/hildon-vvolumebar.c
3905 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3906 the widget becomes focussable at all.
3908 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3909 set the focus to wither the mute button or the volumebar.
3911 Remove own "can-focus" property and instead listen to
3912 notify::can-focus in order to update the widget's state.
3914 Implement GtkWidget::focus() and make sure we can also *leave* the
3915 widget, not only enter it, depending on volumebar orientation and
3916 requested focus direction.
3918 Clean up set_mute() to cooperate nicely with all the above.
3920 2008-03-04 Michael Natterer <mitch@imendio.com>
3922 Fixes: NB#78481: information banners are hidden under browser menu
3924 * src/hildon-banner.c: call gtk_window_present() on the banners so
3925 they are risen if they are already visible.
3927 2008-03-03 Sven Herzberg <sven@imendio.com>
3929 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3931 * examples/hildon-window-menu-example.c: (main): extended the window
3932 menu example to serve as a testcase for automatically added
3933 accelerator groups, too
3934 * src/hildon-window.c: (hildon_window_add_accel_group),
3935 (hildon_window_set_menu): added patch by Tommi Komulainen
3937 2008-03-03 Sven Herzberg <sven@imendio.com>
3939 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3941 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3942 knowledge about the border allocators used within GTK+
3944 2008-02-26 Sven Herzberg <sven@imendio.com>
3946 Fixes: MB#2981: Build with asserts broken
3948 * src/hildon-date-editor.c,
3949 * src/hildon-number-editor.c,
3950 * src/hildon-time-editor.c,
3951 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3952 the proper GType instance check
3954 2008-02-25 Sven Herzberg <sven@imendio.com>
3956 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3958 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3959 * examples/hildon-window-menu-example.c: (main): explicitly show
3961 * src/hildon-window.c:
3962 (hildon_window_set_main_menu): moved most of the code from set_menu()
3963 to this place; skipped the call to gtk_widget_show_all(); also didn't
3964 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3965 (hildon_window_set_menu): removed most of the code, just keep the
3966 questionable gtk_widget_show_all()
3967 * src/hildon-window.h: added the new function and deprecate the old
3970 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3976 * debian/changelog: Updating.
3978 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3981 * pkgconfig/Makefile.am:
3982 * pkgconfig/hildon.pc.in:
3985 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3986 use newly created API_MAJOR_VERSION.
3988 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3994 * debian/changelog: Updating.
3996 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3998 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4000 Add outer_border style property, we use it but don't define it (!).
4004 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4006 * examples/hildon-bread-crumb-trail-example.c (main):
4010 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4012 Fix logic for the bread crumb trail node removal.
4016 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4022 * debian/changelog: Updating.
4024 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4026 Patch by Alejandro to get/set passwords dialogs accesibility.
4028 * hildon-1/src/hildon-get-password-dialog.c:
4029 * hildon-1/src/hildon-set-password-dialog.c:
4030 Set atk_set_name to the passwd entries in order to allow
4031 accessibility by name on this entries.
4033 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * debian/control: Updating gtk dep.
4040 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4042 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4043 USE_MAEMO_GTK is enabled.
4045 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4047 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4048 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4050 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * debian/changelog: Updating.
4058 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4060 * examples/Makefile.am:
4061 * examples/hildon-logical-color-example.c:
4062 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4063 applied + adding a test case. Fixes: NB#71660.
4065 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4067 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4068 to be visible, fixes warning on map for windows without toolbars.
4070 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4072 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4073 2.11.0, add a check for that besides the MAEMO_GTK check.
4075 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4081 * debian/changelog: Updating.
4083 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4086 visibility. Fixes: NB#70842 and MB#615.
4088 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4090 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4091 set the separator as no-show-all so it doesn't unintentionally appear when
4092 someone does a show_all.
4094 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4096 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4097 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4098 toplevel item. Fixes: NB#62031
4100 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4102 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4103 fix the name of the function in the docs.
4105 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4111 * debian/changelog: Updating.
4113 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4115 * examples/hildon-banner-long-example.c: Adding a test-case for long
4118 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4120 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4122 * src/hildon-color-chooser-dialog.c:
4123 * src/hildon-color-chooser.c:
4124 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4125 memory leaks in font selector and color selector. Fixes: NB#70499 and
4128 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4130 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4132 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4134 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4135 little bit bigger. Fixes: #NB63694.
4137 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * debian/changelog: Updating.
4145 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4148 * doc/hildon-docs.sgml:
4149 * doc/images/bread-crumb-trail.png:
4150 * doc/images/calendar-popup.png:
4151 * doc/images/caption.png:
4152 * doc/images/code-dialog.png:
4153 * doc/images/color-button.png:
4154 * doc/images/color-chooser-dialog.png:
4155 * doc/images/color-chooser.png:
4156 * doc/images/controlbar.png:
4157 * doc/images/date-editor.png:
4158 * doc/images/font-selection-dialog.png:
4159 * doc/images/get-password-dialog.png:
4160 * doc/images/hvolumebar.png:
4161 * doc/images/login-dialog.png:
4162 * doc/images/note.png:
4163 * doc/images/number-editor.png:
4164 * doc/images/range-editor.png:
4165 * doc/images/seekbar.png:
4166 * doc/images/set-password-dialog.png:
4167 * doc/images/sort-dialog.png:
4168 * doc/images/time-editor.png:
4169 * doc/images/time-picker.png:
4170 * doc/images/vvolumebar.png:
4171 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4172 Adding the bread-crumb-trial and helpers to the documentation.
4174 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * examples/hildon-find-toolbar-example.c:
4177 * src/hildon-find-toolbar.c:
4178 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4179 actually continue firing the other handlers if connected. Adding a new
4181 hildon_find_toolbar_get_last_index that gets the index of the most
4182 recently added (last) item. Fixes: NB#52301.
4184 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4186 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4187 behaviour. Fixes: NB#68610.
4189 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4191 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4194 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4197 when realizing the banner. Should make the infonbanner effect a bit more
4200 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4202 * src/hildon-volumebar.c:
4203 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4204 hildon_volumebar_set_range_insensitive_message and
4205 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4207 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * src/hildon-window.c: Fixing the border freeing on destroy.
4211 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4213 * src/hildon-code-dialog-private.h:
4214 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4215 kw keyboard support in HildonCodeDialog.
4217 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4223 * debian/changelog: Updating.
4225 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4227 * src/hildon-date-editor.c:
4228 * src/hildon-number-editor.c:
4229 * src/hildon-private.c:
4230 * src/hildon-private.h:
4231 * src/hildon-time-editor.c:
4232 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4233 handling in subclassed composite widgets. Fixes: NB#66628.
4235 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4238 from destroy_ callback as it introduces problems in async dbus signal
4239 handlers. Fixes NB#66673.
4241 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4243 * examples/hildon-hvolumebar-example.c:
4244 * src/hildon-volumebar.c: Improving the focus handling in the
4245 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4246 set_property accessor so that "mute" property can be actually set. I'm
4247 scared that nobody noticed it's totally broken.
4249 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4251 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4254 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4256 * src/hildon-calendar.c:
4257 * src/hildon-number-editor.c:
4258 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4259 matches the spec of 6 chars per second. Fixes: NB#60489.
4261 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4263 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4264 gtk_style_lookup_color sometime returns FALSE even though color was
4265 found and values were filled properly. Weird. Removing the warning for the
4268 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4271 expand vertically. Adding some extra space to the find toolbar buttons to
4272 make them thumbable. Fixes NB#66060.
4274 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4276 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4277 popup with "Ok" and "Cancel". Fixes NB#59299.
4279 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4281 * src/hildon-calendar.c: Process all window updates before executing next
4282 timeout. Fixes: NB#54146.
4284 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4290 * debian/changelog: Updating.
4292 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4294 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4295 the client event and ignore it, since we use the delete event to close
4298 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4300 * src/hildon-helper.c: Remove the bogus warning about color not being
4301 found. Fixes NB#58352.
4303 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4305 * examples/Makefile.am:
4306 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4307 HildonSeekbar widget inside a toolbar.
4309 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4311 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4312 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4313 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4314 don't want to be closed by non-temporary windows on map.
4316 Also use G_DEFINE_TYPE instead of manually typed code.
4318 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4325 * debian/rules: Updating.
4327 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4329 * examples/Makefile.am:
4330 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4331 bug NB#61128. Strangely it works.
4333 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4335 * src/hildon-date-editor.c: When the date editor entry has been changed
4336 but the numbers of characters < max, turn off the skip validation flag.
4337 Prevents a situation when we enter first a valid year and later re-write
4338 it with an invalid one. Fixes NB#60154.
4340 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4342 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4343 code dialog. Fixes NB#64355.
4345 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4347 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4348 switching the page. Fixes NB#49374.
4350 * examples/Makefile.am:
4351 * examples/hildon-wizard-dialog-example.c: Adding an example for
4352 HildonWizardDialog that shows how to handle manual sensitivity setting on
4355 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4359 * src/hildon-version.h.in:
4360 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4362 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4364 * src/hildon-volumebar.c: Updating the docs.
4366 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4372 * debian/changelog: Updating.
4374 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4376 * src/hildon-find-toolbar.c:
4377 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4378 selected item: hildon_find_toolbar_set_active,
4379 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4380 hildon_find_toolbar_get_active_iter . They correspond to respective
4381 GtkComboBox functions.
4383 * examples/Makefile.am:
4384 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4387 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4389 * examples/Makefile.am:
4390 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4393 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4394 when font size > 32 and we pack a focusable widget inside. Actually using
4395 the default response would work too, but since we don't show default
4396 response state in any way (no theming) it would not be visible to the
4397 user. Fixes NB#63430.
4399 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4401 * src/hildon-date-editor.c: Adding the missing variable setter in the
4402 set_property handler. Fixes NB#54182.
4404 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4406 * src/hildon-window.h: Changing the long key press time from 1500ms to
4407 800ms as requested in NB#63700. I have a bad feeling about this, let's
4408 see... Fixes NB#63700.
4410 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4412 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4413 hildon_time_picker_map, hildon_time_picker_realize,
4414 hildon_time_picker_style_set): Split the contents of map to more
4415 appropriate functions; set window decorations on realize and update
4416 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4418 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4423 * debian/changelog: Updating.
4425 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4427 * src/Makefile.am: fixed installation of the header files
4429 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4435 * debian/changelog: Updating.
4437 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4439 * configure.ac: Removing some remaining of --enable-xan.
4441 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4443 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4444 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4446 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4447 2.10.12-osso6 because the move-focus signal needs to be available in
4450 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4452 * examples/Makefile.am:
4453 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4454 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4455 fine. Prolly NB#61128 is fixed now.
4457 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4459 * src/hildon-volumebar.c:
4460 * src/hildon-volumebar.h: Adding the
4461 hildon_volumebar_set_range_insensitive_message and
4462 hildon_volumebar_set_range_insensitive_messagef functions to set
4463 insensitive message on the slider of the volumebar. Fixes NB#61129.
4465 * examples/Makefile.am:
4466 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4467 test the new insensitive messsage functionality on HildonVolumebar.
4469 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4471 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4474 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4476 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4477 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4478 button on after clearing the trail.
4480 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4482 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4484 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4486 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4487 by splitting the installed headers in generated and non-generated groups. Use
4488 only the non-generated headers to create the hildon-enum-types.h file.
4490 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4492 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4494 * src/hildon-window.c: Hide the window before performing the destroy.
4495 Should make the app closing a little tiny bit more snappy.
4497 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4499 * src/hildon-seekbar.c: add gtkrange.h header
4500 * src/hildon-caption.c: remove unused variable
4502 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4504 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4507 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4513 * debian/changelog: Updating.
4515 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4517 * src/hildon-window.c (hildon_window_window_state_event,
4518 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4519 escape timeout on focus-out-event rather than notify::is-topmost; the
4520 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4522 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4524 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4525 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4527 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4529 * src/hildon-window: actually, you need to use the macro always, there's
4530 no private pointer in the instance structure. We should have cleaned this up
4531 when we had the chance...
4533 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4535 * src/hildon-window.c: do not get the private date from HildonWindow before
4536 it passes the g_return_if_fail check. Once it's passed the test, there's no
4537 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4538 if you are only going to access the data once. Whitespace cleanups.
4540 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4542 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4543 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4545 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4551 * debian/changelog: Updating.
4553 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4555 * src/hildon-window.c: When destroying the window, remove (if exists) the
4556 escape timeout handler. Fixes #NB59276.
4558 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4560 * src/hildon-banner.c: When realizing the widget, set the window
4561 transiency. Setting the transiency in the gobject constructor is not
4562 good, as the widget is not realized at that point. Fixes: #NB56624.
4564 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4566 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4567 Add padding for future expansions.
4569 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4571 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4572 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4573 will fake an activation on the previous to the last item of the trail, so
4574 the effect can be overrided by the developer as usual.
4575 Also change the callback for the back button to do the same thing, so its
4576 effect can be overrided too. Fixes: NB#58982
4578 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4580 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4581 HildonCaption. Fixes NB#52379.
4583 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4585 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4586 the internal state of the trail after the user has had the chance of executing
4587 his handler for the signal. Specifically, it may happen that the activated button
4588 is removed and the user still lets the default handler run. This would segfault
4591 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4593 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4594 scrollbar to the preview dialog. Fixes NB#54147.
4596 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4598 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4599 max/min year properties can be altered, so the client can modify it
4600 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4602 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4604 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4605 hildonlike by default. Fixing a problem with disappearing arrows when
4606 scrolling through months and years. Fixes NB#54127.
4608 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4610 * examples/hildon-date-editor-example.c: Adding error callback to the date
4613 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4619 * configure.ac: Updating.
4621 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4623 * configure.ac: Adding a special '--enable-xan' configure option that
4624 turns off the -Werror compilation setting. Usefull for development.
4626 * src/hildon-calendar.c:
4627 * src/hildon-number-editor.c:
4628 * src/hildon-time-picker.c: Adding the 5* multiplier to
4631 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4633 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4634 instead of g_object_ref + gtk_object_sink.
4636 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4642 * debian/changelog: Updating.
4644 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4646 * src/hildon-color-chooser-dialog.c:
4647 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4648 straight from Tommi labs.
4650 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4652 * examples/hildon-finger-example.c: Correcting the header file path.
4654 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4655 the changed signal. Fixes a small memory leak.
4657 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4661 * src/hildon-banner.c: Importing several usefull fixes from the
4662 ubuntu-mobile branch.
4664 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4666 * examples/Makefile.am:
4667 * examples/hildon-finger-example.c: Adding a finger-checking code
4670 * src/hildon-font-selection-dialog.c: Do not allocate the color
4671 structure using the g_new. Fixes NB#54061.
4673 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4675 * src/hildon-helper.c: Correcting tabs in file.
4677 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4679 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4680 control the visibility of the children.
4682 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4684 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4690 * debian/changelog: Updating.
4692 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4694 * src/hildon-bread-crumb-trail.c:
4695 (hildon_bread_crumb_trail_size_allocate):
4697 Make the back button always a square.
4699 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4701 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4702 from the .c file as it's a private file.
4704 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4706 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4707 uses slightly bigger height.
4709 * src/hildon-font-selection-dialog.c: Adding some checks before
4710 freeing memory in the font selection dialog.
4712 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4714 * src/hildon-font-selection-dialog.c: Adding a small check when
4717 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4718 buttons sensitivity on page switching.
4720 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4722 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4723 internal details of adding a bread crumb to the trail.
4725 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4731 * debian/changelog: Updating.
4733 * src/hildon-bread-crumb-trail.h:
4734 * src/hildon-bread-crumb.h: Changing the API guard to
4735 HILDON_ENABLE_UNSTABLE_API.
4737 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4745 * src/hildon-helper.h: Updating.
4747 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4755 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4759 * src/hildon-helper.h: Small fix to make the package actually compile.
4761 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4763 * src/hildon-bread-crumb-trail.h:
4764 * src/hildon-bread-crumb.h:
4766 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4767 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4769 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4771 * examples/hildon-bread-crumb-trail-example.c:
4773 * src/hildon-bread-crumb-trail.c:
4774 * src/hildon-bread-crumb-trail.h:
4775 * src/hildon-bread-crumb.c:
4776 * src/hildon-bread-crumb.h:
4777 * src/hildon-marshalers.list:
4778 * src/hildon-bread-crumb-widget.c:
4779 * src/hildon-bread-crumb-widget.h:
4781 Slight change in the widget design. The bread crumb trail API is
4782 unchanged, but HildonBreadCrumb is now an interface. A *private*
4783 implementation, hildon-bread-crumb-widget, is provided and used
4784 internally by the trail for the push_text/push_icon functions.
4786 The generic push API is still available, so anyone can implement
4787 and use its own bread crumb widget.
4789 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4791 * debian/rules: Fixing the shlibs.
4793 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4795 * src/hildon-banner.c: Fixing a problem with timed banners having
4796 their parrent destroyed before they are.
4798 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4800 * src/hildon-bread-crumb.c:
4801 * src/hildon-bread-crumb.h:
4803 Make the get_natural_size function a vfunc.
4805 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4807 * src/hildon-bread-crumb.c:
4808 * src/hildon-bread-crumb-trail.c:
4812 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4819 * debian/changelog: Updating for release.
4821 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4823 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4824 don't leak the pango layout.
4826 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4829 * examples/hildon-bread-crumb-trail-example.c:
4833 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4835 * debian/changelog: Removing the bug-fixed entries that were actually
4836 resolved as WONTFIX.
4838 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4841 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4843 * src/hildon-bread-crumb-trail.c:
4844 * src/hildon-bread-crumb-trail.h:
4845 * src/hildon-bread-crumb.c:
4846 * src/hildon-bread-crumb.h:
4850 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4852 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4853 until it's passed the type check.
4855 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4857 * examples/hildon-bread-crumb-trail-example.c
4861 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4863 * examples/Makefile.am
4864 * examples/hildon-bread-crumb-trail-example.c
4866 * src/hildon-bread-crumb-trail.c
4867 * src/hildon-bread-crumb-trail.h
4868 * src/hildon-bread-crumb.c
4869 * src/hildon-bread-crumb.h
4871 New HildonBreadCrumbTrail widget.
4873 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4875 * src/hildon-range-editor.c (hildon_range_editor_init),
4876 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4877 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4878 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4879 hildon_time_editor_class_init, hildon_time_editor_init),
4880 src/hildon-get-password-dialog.c (invalid_input,
4881 hildon_get_password_set_property, hildon_get_password_get_property,
4882 create_contents, hildon_get_password_dialog_set_max_characters),
4883 src/hildon-set-password-dialog.c (create_contents),
4884 src/hildon-date-editor.c (hildon_date_editor_init),
4885 src/hildon-login-dialog.c (hildon_login_dialog_init),
4886 src/hildon-number-editor.c (hildon_number_editor_init),
4887 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4888 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4889 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4890 configure option and adding the respective checks in the code.
4891 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4892 hildon_calendar_drag_data_received): fixed some build warnings.
4894 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4896 * debian/changelog: A 1.0.0 release notes.