1 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-button.c: Add a reference to the button examples in
4 hildon-button-example.c
6 * examples/hildon-button-example.c: Added examples of the most
9 2008-11-28 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-app-menu.c (hildon_app_menu_show)
12 (hildon_app_menu_class_init): Don't show the menu if it's empty.
14 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
16 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
18 * src/hildon-picker-dialog.c:
19 (hildon_picker_dialog_init): Initialize the signal id for
20 HildonTouchSelector::columns-changed.
21 (+on_selector_columns_changed): Set up the interaction mode everytime a
22 column is added or removed from the HildonTouchSelector.
23 (_hildon_picker_dialog_set_selector): Connect to
24 HildonTouchSelector::columns-changed and keep track of it.
26 Make sure to update the interaction mode of the dialog everytime a
27 column is added or removed in the HildonTouchSelector.
29 Fixes: NB#93228 (Done button is not shown always in listpicker)
31 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
33 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
34 a new ::columns-changed signal.
35 (hildon_touch_selector_append_column): Emit ::columns-changed.
36 (hildon_touch_selector_remove_column): Emit ::columns-changed.
38 Add a ::columns-changed signal, emitted when the number of columns in a
39 HildonTouchSelector changes.
41 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
43 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
44 (_hildon_picker_dialog_set_selector): Factor out the code
45 to set up the dialog interaction mode.
47 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
49 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
50 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
53 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
55 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
58 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
60 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
61 Updated the logical ids related to ampm format, as now it is required to
62 show it correctly localized even on languages with no default
63 abbreviations for am or pm
64 (_check_am_pm_format): check correctly the 24h format gconf property
66 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
68 2008-11-27 Alberto Garcia <agarcia@igalia.com>
70 * src/hildon-button.c: Documentation updates.
72 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
74 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
75 * src/hildon-caption.c: (hildon_caption_class_init):
76 * src/hildon-color-button.c: (hildon_color_button_class_init):
77 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
78 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
79 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
80 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
82 Remove deprecated GTK+ marshalers and replace them with the ones
83 provided by GLib, for those available, add a marshaler for
84 BOOLEAN:VOID, which is not available in GLib, and use it.
86 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
88 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
89 the text from the previous column if there is no
90 HildonTouchSelectorColumn::text-property set.
92 2008-11-27 Alberto Garcia <agarcia@igalia.com>
95 * src/hildon-button.c (hildon_button_set_property)
96 (hildon_button_get_property, hildon_button_class_init)
97 (hildon_button_set_style, hildon_button_get_style):
98 New "style" property to change the visual appearance of the
101 * src/hildon-picker-button.c (hildon_picker_button_new):
102 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
104 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
105 HildonButton look like PickerButton)
107 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
110 column while building the default string.
112 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
115 scroll indicator by default.
117 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
119 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-main.c: Fix the documentation for hildon_init()
123 2008-11-25 Alberto Garcia <agarcia@igalia.com>
125 * doc/hildon-docs.sgml
129 * src/hildon-window-stack-private.h
130 * src/hildon-window-stack.h
131 * src/hildon-window-stack.c:
132 New HildonWindowStack object, that adds support for multiple
133 stacks of windows per process.
135 * src/hildon-stackable-window-private.h
136 * src/hildon-stackable-window.h
137 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
138 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
139 (hildon_stackable_window_show, hildon_stackable_window_hide)
140 (hildon_stackable_window_class_init)
141 (hildon_stackable_window_init):
142 Use HildonWindowStack for stack management.
144 * src/hildon-program.c (hildon_program_pop_window_stack)
145 (hildon_program_peek_window_stack)
146 (hildon_program_go_to_root_window):
147 Add a fallback implementation to the deprecated functions using
150 * examples/hildon-stackable-window-example.c:
151 Use the new HildonWindowStack API.
153 2008-11-25 Alberto Garcia <agarcia@igalia.com>
155 * src/hildon-stackable-window-private.h
156 * src/hildon-stackable-window.c (hildon_stackable_window_show)
157 (hildon_stackable_window_hide, hildon_stackable_window_init):
158 Remove all window stack management.
160 * src/hildon-program-private.h
161 * src/hildon-program.h
162 * src/hildon-program.c (hildon_program_init)
163 (hildon_program_pop_window_stack)
164 (hildon_program_peek_window_stack)
165 (hildon_program_go_to_root_window):
166 Remove all window stack management and mark functions as
169 2008-11-25 Alberto Garcia <agarcia@igalia.com>
171 * src/hildon-app-menu.c (hildon_app_menu_realize):
172 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
174 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
176 * configure.ac: post release version bump
177 * debian/changelog: version bump
179 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
184 * configure.ac: bump version
185 * debian/changelog: updates
187 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
189 Based on initial code by Christian Dywan (christian@imendio.com)
191 * doc/hildon-docs.sgml: Add section for hildon-main.
192 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
193 * src/Makefile.am: Add new hildon-main.[ch]
194 * src/hildon-defines.h: Update the icon sizes.
195 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
196 new library initialization files and register icon sizes.
197 * src/hildon-main.h: New declarations.
198 * src/hildon.h: Include hildon-main.h
200 Add new initialization functions to the library. These methods
201 will register the hildon specific icon sizes and can be used in the
202 future for other hildon specific bits.
204 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
206 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
208 * src/hildon-window.c: (hildon_window_realize),
209 (hildon_window_notify), (-hildon_window_update_title): Do not set
210 the application name in the window title.
212 Fixes: NB#89754 (Applications shouldn't display their names in the
215 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
217 * src/hildon-note-private.h:
218 * src/hildon-note.c: (hildon_note_set_property),
219 (hildon_note_get_property), (hildon_note_class_init),
220 (hildon_note_init), (hildon_note_finalize),
221 (hildon_note_new_confirmation_with_icon_name),
222 (hildon_note_new_information_with_icon_name):
224 No need to mark as deprecated the actual code. Revert
225 to avoid missing symbols in widgets using deprecated API.
227 2008-11-20 Alberto Garcia <agarcia@igalia.com>
229 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
231 * src/hildon-volumebar.h
232 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
233 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
235 * src/hildon-helper.h
236 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
237 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
239 * examples/Makefile.am:
240 Deprecate hildon-insensitive-example
242 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
244 2008-11-20 Alberto Garcia <agarcia@igalia.com>
246 * examples/hildon-pannable-area-buttons-scroll-example.c:
247 Make all buttons finger height
249 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
251 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
253 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
254 update the day model only if it is really required, and to avoid the
255 full-reconstruction aproach. Now it only add or remove the required days.
257 The purpose of this is avoid superfluous HildonTouchSelector::changed
260 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
261 with strange parameters)
263 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
265 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
267 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
268 the WINDOW_TYPE property.
270 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
272 2008-11-19 Alberto Garcia <agarcia@igalia.com>
275 Fix dependency to allow parallel compilation with make -jX
277 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
279 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
280 color frame and some minor tweaks to make it more consistent with
283 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
284 highlighted but not visible)
286 2008-11-14 Alejandro G. Castro <alex@igalia.com>
288 * examples/Makefile.am: Fixed typo in the Makefile.am.
290 2008-11-14 Alejandro G. Castro <alex@igalia.com>
292 Reviewed the use of MAEMO_GTK define, now we add the define in the
293 compilation line, and we also add it to the pc file.
295 * configure.ac: Added MAEMO_GTK define to the compilation command
296 and removed it from the config.h.
298 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
299 do not have to take care about this define if the library was
303 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
305 2008-11-14 Alejandro G. Castro <alex@igalia.com>
307 * examples/Makefile.am,
308 * examples/hildon-pannable-area-buttons-scroll-example.c,
309 * examples/hildon-pannable-area-gesture-signals-example.c,
310 * examples/hildon-pannable-area-scroll-jump-example.c,
311 * examples/hildon-pannable-area-tree-view-example.c:
312 Renamed the pannable area examples, now they have more meaningful
315 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
317 * src/hildon-touch-selector.c:
318 (hildon_touch_selector_set_column_selection_mode): Used of
319 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
320 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
321 to avoid re-seting the same selection mode.
323 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
324 breaks HildonPickerDialog)
326 2008-11-13 Alejandro G. Castro <alex@igalia.com>
328 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
329 conditional in the Makefile.am
331 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
333 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
334 Remove unused methods.
336 2008-11-12 Alberto Garcia <agarcia@igalia.com>
338 * src/hildon-button.c (hildon_button_init):
339 Make button images center-aligned by default
341 2008-11-12 Alejandro G. Castro <alex@igalia.com>
344 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
345 activated, we have to think about how to deal with both defines
346 MAEMO_GTK and MAEMO_CHANGES.
348 2008-11-12 Alberto Garcia <agarcia@igalia.com>
350 * examples/hildon-app-menu-example.c (create_menu): Make all
353 2008-11-11 Alejandro G. Castro <alex@igalia.com>
355 Fixed the compilation without maemo gtk adding ifdefs with
356 MAEMO_GTK define to the code, we have to check this version more
359 * examples/Makefile.am: Added control to avoid some examples that
360 just make sense with maemo gtk.
363 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
364 hildon modes with the define.
366 * examples/hildon-edit-toolbar-example.c,
367 (create_icon_view): Create the icon view without hildon-gtk
368 helpers if we are not using maemo gtk.
370 * src/hildon-touch-selector.c,
371 (_create_new_column): Create the treeview without hildon-gtk
372 helpers if we are not using maemo gtk.
374 2008-11-11 Alejandro G. Castro <alex@igalia.com>
376 * src/hildon-pnnable-area.c,
377 (hildon_pannable_area_dispose),
378 (hildon_pannable_area_button_press_cb),
379 (hildon_pannable_area_child_mapped),
380 (hildon_pannable_area_add),
381 (hildon_pannable_area_remove): Added code to control the position
382 of the event_window when adding and removing children from the
383 pannable. We have to raise the event window when the child is
386 Fixes: NB#89811 (Not able to select first image thumbnail in multi
387 selection mode using custom widget inside pannable)
389 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: post release version bump
392 * debian/changelog: version bump
394 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: bump version
400 * debian/changelog: updates
402 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
404 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
405 search mode, in order to avoid lose the focus on the treeview when
406 a hw key (like enter) is pressed.
408 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
409 in HildonDateSelector dialog)
411 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
413 * debian/rules: Added --enable-maintainer-mode
414 * Makefile.am: Added ACLOCAL_AMFLAGS
416 This allows to properly regenerate the Makefiles if you modify the
417 configure.ac or any Makefile.am.
419 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
421 * examples/hildon-app-menu-example.c: (main): Do not set RC style
422 properties, not needed at all.
424 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-note-private.h: Add strings for the icon and stock_icon
428 * src/hildon-note.c: (hildon_note_set_property),
429 (hildon_note_get_property), (hildon_note_class_init),
430 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
431 (hildon_note_new_confirmation_add_buttons): Remove icons.
432 (hildon_note_new_confirmation_with_icon_name): Deprecate.
433 (hildon_note_new_information_with_icon_name): Deprecate.
434 (hildon_note_new_confirmation): Act directly, without calling
435 the deprecated constructor.
436 (hildon_note_new_information): Act directly, without calling
437 the deprecated constructor.
438 * src/hildon-note.h: Mark deprecate methods as such.
439 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
440 not run tests on the deprecated methods if built with deprecation
443 Fixes: NB#91688 (Never show icons in information notes/confirmation
446 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
448 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
449 (hildon_app_menu_key_press): Remove leftover usage of the
450 private structure in HildonAppMenu struct.
451 * src/hildon-app-menu.h: Remove leftover private structure
452 from the HildonAppMenu struct.
454 Fixes a crasher when using the HildonAppMenu.
456 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-picker-dialog.c: Use appropriate logical id
459 for the default "Done" text.
461 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
463 * configure.ac: post release version bump
464 * debian/changelog: version bump
466 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
468 Modified the way to scroll to the current selection just when the touch
469 selector is shown on the screen, avoiding a g_idle. Added too a property
470 to configure this behaviour. See hildon_pannable_area_jump_to_child
471 documentation for more information.
473 * src/hildon-touch-selector.c
474 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
475 Added 'initial-scroll' property
476 (hildon_touch_selector_set_property): Added
477 (hildon_touch_selector_map): Removed as not required anymore
478 (_hildon_touch_selector_on_selected_items): Modified in order to manage
479 only a concrete column, instead of iterate along all the columns
481 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
486 * configure.ac: bump version
487 * debian/changelog: updates
489 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
491 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
492 compilation time warnings.
494 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
496 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
497 the default value for HildonPannableArea::mov-mode to
498 HILDON_PANNABLE_AREA_MODE_VERT.
500 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
502 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
504 Reverting following commit:
506 2008-10-13 Alberto Garcia <agarcia@igalia.com>
508 * src/hildon-app-menu-private.h
509 * src/hildon-app-menu.[ch]
510 * src/hildon-button.[ch]
511 * src/hildon-check-button.[ch]
512 * src/hildon-entry.[ch]
513 * src/hildon-pannable-area.[ch]
514 * src/hildon-text-view.[ch]:
515 Added private field to the object's structure.
517 because it causes an ABI breakage. We will need to introduce these
518 changes later at some point. See NB#91636 for an extensive
519 explanation and status.
521 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
523 Patch contributed by Daniel Borgmann (danielb@openismus.com)
525 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
526 remove special cases that are no longer necessary.
528 Fixes: NB#91016 (Change toolbar sizes, simplification)
530 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
532 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
533 is shown in the cancel note.
535 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
537 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
538 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
539 (hildon_seekbar_init): Remove steppers, remove expose event.
540 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
542 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
544 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
547 label font to "SmallSystemFont" for vertically arranged buttons.
549 Fixes: NB#90662 (HildonButton "value" and "detail" text is
552 2008-10-31 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-check-button.c
555 (hildon_check_button_set_active, hildon_check_button_clicked):
556 Don't access private parts directly, use getters instead.
558 2008-10-31 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-check-button.c (hildon_check_button_new):
561 Align the contents of the check button to the left.
563 2008-10-30 Alejandro G. Castro <alex@igalia.com>
565 * src/hildon-pannable-area.c,
566 (hildon_pannable_area_scroll_to),
567 (hildon_pannable_area_jump_to),
568 (hildon_pannable_area_scroll_to_child),
569 (hildon_pannable_area_jump_to_child): Replace the mapped
570 precondition of these functions with the realized, it is the
571 correct state of the widget in this case. Changed the
572 documentation according to this modification.
574 2008-10-30 Alejandro G. Castro <alex@igalia.com>
576 Added a new EXTRA_CFLAGS option to add the deprecated define to
577 the compilation command. This way we can avoid using the define in
578 the documentation compilation.
580 * configure.ac: Defined EXTRA_CFLAGS.
582 * examples/Makefile.am:
584 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
586 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
588 * src/hildon-picker-dialog.c:
589 Defined a utility macro with the desired touch selector height
590 Removed currently unused separator, and title_label variables from
592 (hildon_picker_dialog_init): Removed code related to the creation
593 of unused private variables title_label and separator.
594 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
595 to ensure correct visualization of the touch selector inside the dialog.
596 * src/hildon-touch-selector.c
597 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
598 ensure a concrete height of the widget.
600 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
605 Remove spurious whitespaces.
607 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
609 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
610 compilation warning after the cancel button removal.
612 2008-10-30 Alejandro G. Castro <alex@igalia.com>
614 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
616 * configure.ac: Added an AM_CONDITIONAL in order to use in the
617 Makefile.am, that way we can choose not to compile some examples
618 and tests of the deprecated widgets.
620 * examples/Makefile.am: Divided the sources in deprecated and
623 * src/Makefile.am: Added undef statement of the deprecated
624 symbol to the enums file generation process.
626 * src/hildon-color-chooser-dialog.c
627 * src/hildon-color-chooser-dialog.h
628 * src/hildon-color-button.c
629 * src/hildon-color-button.h
630 * src/hildon-color-chooser.c
631 * src/hildon-color-chooser.h
632 * src/hildon-controlbar.c
633 * src/hildon-controlbar.h
634 * src/hildon-date-editor.c
635 * src/hildon-date-editor.h
636 * src/hildon-hvolumebar.c
637 * src/hildon-hvolumebar.h
638 * src/hildon-private.c
639 * src/hildon-private.h
640 * src/hildon-range-editor.c
641 * src/hildon-range-editor.h
642 * src/hildon-seekbar.c
643 * src/hildon-seekbar.h
644 * src/hildon-time-editor.c
645 * src/hildon-time-editor.h
646 * src/hildon-time-picker.c
647 * src/hildon-time-picker.h
648 * src/hildon-volumebar.c
649 * src/hildon-volumebar.h
650 * src/hildon-vvolumebar.c
651 * src/hildon-vvolumebar.h
652 * src/hildon-bread-crumb-trail.h
653 * src/hildon-bread-crumb-trail.c
654 * src/hildon-calendar-popup.c
655 * src/hildon-calendar-popup.h
656 * src/hildon-weekday-picker.c:
657 * src/hildon-weekday-picker.h:
658 * src/hildon-bread-crumb-widget.c:
659 * src/hildon-bread-crumb-widget.h:
660 * src/hildon-bread-crumb.c:
661 * src/hildon-bread-crumb.h:
662 * src/hildon-calendar.c:
663 * src/hildon-calendar.h:
664 * src/hildon-caption.c:
665 * src/hildon-code-dialog.c:
666 * src/hildon-code-dialog.h:
667 * src/hildon-font-selection-dialog.c:
668 * src/hildon-font-selection-dialog.h:
669 * src/hildon-get-password-dialog.c:
670 * src/hildon-get-password-dialog.h:
671 * src/hildon-login-dialog.c:
672 * src/hildon-login-dialog.h:
673 * src/hildon-number-editor.c:
674 * src/hildon-number-editor.h:
675 * src/hildon-set-password-dialog.c:
676 * src/hildon-set-password-dialog.h:
677 * src/hildon-sort-dialog.c:
678 * src/hildon-sort-dialog.h: This is the list of deprecated
681 * src/hildon-touch-selector.c:
682 * src/hildon-window.c: Added undef statement to avoid compilation
685 * tests/Makefile.am: Divided the sources in deprecated and
688 * tests/check_test.c,
689 (configure_tests): Marked the deprecated code that was adding
690 suites with deprecated tests.
692 Fixes: NB#91135 (Deprecate legacy hildon widgets)
694 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
696 * src/hildon-touch-selector.c: (_default_print_func): Do not
697 duplicate a string returned by gtk_tree_model_get(), it is already
700 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
703 2008-10-28 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c
706 (hildon_pannable_area_add_with_viewport): Reviewed the complete
707 method, it had problems when adding a widget with viewport the
708 second time. Now checks if it already has a viewport and uses it.
710 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
713 2008-10-28 Alejandro G. Castro <alex@igalia.com>
715 * src/hildon-pannable-area.c,
716 (hildon_pannable_area_scroll_to),
717 (hildon_pannable_area_jump_to),
718 (hildon_pannable_area_scroll_to_child),
719 (hildon_pannable_area_jump_to_child): Added a precondition to the
720 scroll and jump to functions: the widget must be mapped before we
721 can safely call these functions. We have also added documentation
722 to the functions to explain how to use them in this situation.
725 2008-10-28 Alejandro G. Castro <alex@igalia.com>
727 Reviewed the threading handling of the pannable widget, we have
728 used the gdk_threads_add_timeout function instead of the usual
729 glib handlers. This avoids some problems with the threads.
731 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
732 (hildon_pannable_area_initial_effect),
733 (hildon_pannable_area_scroll_indicator_fade),
734 (hildon_pannable_area_button_press_cb),
735 (hildon_pannable_area_timeout),
736 (hildon_pannable_area_motion_notify_cb),
737 (hildon_pannable_area_button_release_cb),
738 (hildon_pannable_area_scroll_cb),
739 (hildon_pannable_area_scroll_to): Removed the
740 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
741 gdk_threads_add_timeout.
743 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
745 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
750 * configure.ac: bump version
751 * debian/changelog: updates
753 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
756 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
757 * src/hildon-color-chooser-dialog.c:
758 (hildon_color_chooser_dialog_init):
759 * src/hildon-font-selection-dialog.c:
760 (hildon_font_selection_dialog_init):
761 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
763 Remove all cancel/close-like dialogs, as these are not going to be
766 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-note.c: (hildon_note_rebuild),
769 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
772 Fixes: NB#90661 (Delete dialog is displayed without NO button)
774 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
776 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
777 sure all buttons are shown, even the Cancel/Close-like ones.
779 Fixes: NB#90861 (Custom Confirmation dialogs should be
780 protected from cancel button removal)
782 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
784 * debian/control: Change libhildon1-examples dependency from libhildon1
786 * debian/libhildon1-examples.install
788 * Makefile.am: Modified the final install directory for the examples on
789 package libhildon1-examples
790 * Makefile.static: Update clean target in order to remove all the binary
793 Changes suggested by Claudio after review new libhildon1-examples package
795 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
798 * src/hildon-touch-selector.c: Ditto.
800 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
802 * debian/control: Added new package libhildon1-examples, in order to pack
803 the current hildon examples as documentation
804 * debian/rules: Not to compress .c files, modify some includes on the
805 examples (as normally are compiled locally, but when installed it will
806 require to include the installed libhildon1 library), and rename
808 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
809 install all the example files on the new example package
810 * examples/Makefile.static: Added static makefile that can be used to
811 compile the examples, once installed the new example package
812 * examples: Most of the examples were modified in order to grant that
813 all use only '#include "hildon.h"', in order to be easy to prepare
814 it on the example package
816 2008-10-23 Alberto Garcia <agarcia@igalia.com>
819 * debian/libhildon1-dev.install
820 * debian/libhildon1-doc.install:
821 Move all gtk-doc files to a separate libhildon1-doc package.
823 2008-10-23 Daniel Borgmann <danielb@openismus.com>
825 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
829 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
831 * debian/rules: Fixed a error in order to avoid unnecessary calls
832 to autogen.sh on package building
834 2008-10-22 Alberto Garcia <agarcia@igalia.com>
836 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
838 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
840 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
843 2008-10-21 Alberto Garcia <agarcia@igalia.com>
845 * src/hildon-picker-button.c
846 (hildon_picker_button_finalize):
847 Free priv->done_button_text
849 * src/hildon-time-button.c
850 (hildon_time_button_set_time)
851 * src/hildon-picker-button.c
852 (hildon_picker_button_clicked)
853 (hildon_picker_button_selector_selection_changed)
854 (hildon_picker_button_set_selector)
855 * src/hildon-date-button.c
856 (hildon_date_button_set_date):
857 Free strings returned by hildon_touch_selector_get_current_text()
859 * src/hildon-button.c (hildon_button_construct_child):
860 Fix leaks in priv->image and priv->label_box
862 Fixes: NB#90535 (Memory leak in picker button)
864 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
866 * src/hildon-button.c: (hildon_button_get_property): Do not access
867 private elements directly, use getters instead.
869 2008-10-20 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-app-menu-private.h
872 * src/hildon-app-menu.c
873 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
874 Store the menu's parent window.
876 * src/hildon-stackable-window.c
877 (hildon_stackable_window_toggle_menu)
878 (hildon_stackable_window_finalize):
879 Set the menu's parent window when the menu is shown, unset it when
882 * src/hildon-app-menu.c
883 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
884 (hildon_app_menu_class_init):
885 Send unhandled keyboard accelerators to the parent window.
887 2008-10-20 Alberto Garcia <agarcia@igalia.com>
889 * src/hildon-stackable-window.c
890 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
892 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: post release version bump
896 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
899 * configure.ac: Bump version
900 * debian/changelog: Updates
901 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
904 2008-10-20 Alberto Garcia <agarcia@igalia.com>
906 Patch contributed by Daniel Borgmann (danielb@openismus.com)
909 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
910 GtkMenu with Hildon style.
912 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
914 * src/hildon-picker-button.c:
915 (hildon_picker_button_set_done_button_text): Set the dialog's
916 done button text here as well.
918 Fixes: NB#90232 (Picker button does not set the label on done button
921 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
923 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
926 2008-10-16 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-app-menu.c (hildon_app_menu_insert)
929 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
930 the HildonAppMenu to be activatable using keyboard accelerators
931 when the menu is not being shown.
933 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
935 2008-10-16 Alberto Garcia <agarcia@igalia.com>
937 * src/hildon-stackable-window.c
938 (hildon_stackable_window_show):
939 Don't hide old windows automatically when new windows are shown:
940 this is now a task for the window manager.
941 (hildon_stackable_window_class_init)
942 (hildon_stackable_window_hide):
943 Remove windows from the stack everytime they're hidden.
944 (hildon_stackable_window_realize):
945 Don't change the _NET_WM_WINDOW_TYPE property. Use
946 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
947 it as a stackable window.
949 * src/hildon-program.c
950 (hildon_program_pop_window_stack):
951 Just hide the window to remove it from the stack.
952 (hildon_program_go_to_root_window):
953 Don't call gtk_widget_show(), this is now a task for the window
956 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
958 2008-10-15 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-button.c
961 (hildon_button_construct_child):
962 Don't pack anything in the button until text or image are
963 set. This allows adding a custom child after creating the button
964 with hildon_button_new().
965 (hildon_button_finalize, hildon_button_class_init)
966 (hildon_button_init, hildon_button_set_arrangement): Destroy the
967 alignment and the label box even when they're not packed in the
970 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
972 * src/hildon-touch-selector.h:
973 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
974 currently the type definition was using GTK_TYPE_VBOX
975 * src/hildon-touch-selector.c:
976 Added some implementation notes in order to clarify that any other widget
977 added without the column related API will not be included on the
978 selection logic, and how the widget is freed, as some people ask about
980 (hildon_touch_selector_remove): Reimplemented in order to free properly
981 the column related data when you remove the private hbox.
982 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
983 to get a proper HildonTouchSelectorColumn documentation
985 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
987 * src/hildon-touch-selector-entry.c:
988 (hildon_touch_selector_entry_print_func): Return NULL if there is no
989 text in the GtkEntry and there is no item selected. Fixes a
992 2008-10-13 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-app-menu-private.h
995 * src/hildon-app-menu.[ch]
996 * src/hildon-button.[ch]
997 * src/hildon-check-button.[ch]
998 * src/hildon-entry.[ch]
999 * src/hildon-pannable-area.[ch]
1000 * src/hildon-text-view.[ch]:
1001 Added private field to the object's structure.
1003 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1005 * configure.ac: post-release version bump
1007 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1011 * configure.ac: pre-release version bump
1013 * debian/changelog: updates.
1015 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1018 Disconnect the handler for HildonTouchSelector::changed.
1020 (hildon_picker_button_selector_selection_changed): Update the button
1021 value if the selection change was not triggered by the
1024 (hildon_picker_button_set_selector): connect to
1025 HildonTouchSelector::changed.
1027 Fixes: NB#89650 (Picker button is not updated, when selection in
1028 selector has changed)
1030 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1032 * src/hildon-picker-dialog.c
1033 (hildon_picker_dialog_realize): Removed as not required
1034 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1035 * src/hildon-picker-button.c
1036 (_current_selector_empty): New function, checks if the selector is empty
1037 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1038 if the current selector is empty, in order to avoid to show the dialog
1039 close the dialog in this case (and shows a g_warning).
1041 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1043 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1045 * src/hildon-pannable-area.c,
1046 (hildon_pannable_area_scroll): Added clause to stop movement when
1047 the child of pannable is smaller than one page.
1048 (hildon_pannable_area_scroll_to): Added conditions to avoid
1049 starting the scrolling movement if the child is smaller than one
1050 page, the complete child is in the screen, we do not have to move.
1052 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1054 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1057 this is managed automatically by the widget when the size of the
1060 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-picker-button.c
1063 (hildon_picker_button_set_done_button_text): Make a copy of the
1064 text, and free the previous value.
1066 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-touch-selector-entry.c:
1069 (hildon_touch_selector_entry_print_func): Return the selected row's
1070 text if the entry is empty.
1072 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1075 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1077 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1079 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1082 * src/hildon-check-button.h
1083 * src/hildon-check-button.c
1084 * examples/hildon-check-button-example.c:
1085 HildonCheckButton is now a new widget. 'toggled' signal added.
1087 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1089 * src/hildon-program-private.h
1090 * src/hildon-program.c (hildon_program_init)
1091 (hildon_program_finalize): Removed unused variables group_leader
1092 and name from HildonProgramPrivate.
1094 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-check-button.c (hildon_check_button_set_active)
1097 (hildon_check_button_get_active, hildon_check_button_new): Use
1098 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1100 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1102 * src/hildon-touch-selector.h
1103 (hildon_touch_selector_set_column_attributes): added deprecation
1104 guard HILDON_DISABLE_DEPRECATED
1105 * src/hildon-time-selector.c
1106 (hildon_time_selector_set_time)
1107 (hildon_time_selector_get_time): Fixed a typo on documentation
1108 * src/hildon-touch-selector.c: update HildonTouchSelector and
1109 HildonTouchSelectorColumn documentation
1110 * src/hildon-touch-selector-entry.c: update "text-column" property
1112 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1113 to be added to the general documentation.
1115 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1117 * examples/hildon-pannable-area-example-4.c,
1119 * examples/hildon-pannable-area-example.c,
1120 (main): Modified the code in order to use the container add, with
1121 viewport treeviews could have problems if they are really big.
1123 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-weekday-picker.c,
1126 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1127 the agreement regarding deprecation in the library.
1129 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1131 * examples/hildon-picker-button-multicolumn-example.c:
1132 (main): Use custom "done" button text.
1134 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1135 (hildon_picker_button_set_property),
1136 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1137 (hildon_picker_button_init),
1138 (+hildon_picker_button_get_done_button_text),
1139 (+hildon_picker_button_set_done_button_text): New methods to customize
1140 the "done" button label in the launched HildonPickerDialog. Also,
1143 * src/hildon-picker-button.h: add the public API.
1145 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-date-selector.h:
1148 * src/hildon-picker-dialog.h:
1149 * src/hildon-time-selector.h:
1150 * src/hildon-touch-selector-column.h:
1151 * src/hildon-touch-selector.h:
1153 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1154 declarations. Fixes gtk-doc warnings.
1156 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-picker-dialog.h
1159 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1160 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1162 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1163 long text is set as label for done button)
1165 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-dialog.c (hildon_dialog_add_button):
1168 Set fixed width to all buttons in the HildonDialog.
1170 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1172 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1174 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1175 Set widget name using class name plus "-finger" or "-thumb".
1177 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1179 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1180 'clicked' when the state of the button is manually changed.
1182 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1184 * src/hildon-app-menu.c (hildon_app_menu_realize)
1185 (hildon_app_menu_unrealize, hildon_app_menu_init)
1186 (hildon_app_menu_class_init, item_visibility_changed):
1187 Change the menu layout when the size of the screen changes.
1188 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1189 Show warning only when changing the number of colums using the
1192 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1194 * debian/compat: Set to 5
1195 * debian/control: Update dependencies.
1196 * debian/libhildon1-dbg.install: Remove.
1197 * debian/libhildon1-dev.install: Update according to cdbs paths.
1198 * debian/libhildon1.install: Update according to cdbs paths.
1199 * debian/rules: Switch to cdbs.
1201 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1204 'item' variable renamed to 'filter'
1206 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-app-menu.c (hildon_app_menu_insert)
1209 (hildon_app_menu_add_filter, remove_item_from_list)
1210 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1211 Don't leak hidden items when the menu is destroyed.
1213 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1215 * src/hildon-app-menu.c (hildon_app_menu_insert)
1216 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1217 (hildon_app_menu_set_columns, item_visibility_changed)
1218 (filter_visibility_changed, hildon_app_menu_repack_filters)
1219 (hildon_app_menu_repack_items):
1220 Repack items and filters separately.
1222 Don't repack all items, change only the ones that are needed to
1225 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1227 * src/Makefile.am: added hildon-touch-selector-column.h
1229 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1231 * src/hildon-touch-selector.c: added the property "text-column" to the
1232 class HildonTouchSelectorColumn, and related get/set functions
1233 (_default_printf_func): updated to use "text-column" property
1234 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1235 "text-column" in his documentation, as this is now included on
1236 HildonTouchSelectorColumn. The get/set_property can still be used,
1237 working as a wrapper to the concrete column "text-column" property
1238 (_text_column_modified): callback added in order to handle the signal
1239 "notify::text-column" of the concrete HildonTouchSelectorColumn
1240 (hildon_touch_selector_entry_get_text_column)
1241 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1242 modified in order to use the HildonTouchSelectorColumn "text-column"
1244 * src/hildon-time-selector.c:
1245 * src/hildon-date-selector.c:
1246 * examples/hildon-touch-selector-example.c
1247 * examples/hildon-touch-selector-multi-cells-example.c
1248 * examples/hildon-picker-button-multicolumn-example.c
1249 Set the right value to "text-column" property on the creation of a new
1250 column using hildon_touch_selector_append_column()
1252 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1254 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-app-menu.c
1257 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1258 updating the layout of the menu, don't create all widgets again,
1259 just repack the items in their new places.
1261 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1263 * src/hildon-time-selector.c
1264 (hildon_time_selector_get_time)
1265 (hildon_time_selector_set_time)
1266 Added documentation of these public methods
1268 * src/hildon-date-button.h
1269 * src/hildon-touch-selector-column.h
1270 * src/hildon-time-button.h
1271 * src/hildon-picker-dialog.h
1272 * src/hildon-time-selector.h
1273 * src/hildon-picker-button.h
1274 * src/hildon-touch-selector.h
1275 * src/hildon-time-picker.h
1276 * src/hildon-date-selector.h
1277 * src/hildon-touch-selector-entry.h
1278 Modified in order to use hildon-widgets code style
1280 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1282 Added deprecated support to the compilation process using
1283 HILDON_DISABLE_DEPRECATED
1285 * configure.ac: Added the --disable-deprecated to the configure
1288 * src/hildon-weekday-picker.c:
1289 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1290 to use the deprecated support. We will update the other deprecated
1291 widgets status in a new patch.
1293 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1295 * configure.ac: Fixed typo with fatal warnings support, the
1296 variable name was not correct
1298 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-app-menu.c
1301 * src/hildon-program.c: Update documentation.
1303 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1305 * configure.ac: Post-release version bump.
1307 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1312 * configure.ac: Pre-release version bump.
1313 * debian/changelog: Updates.
1315 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1317 * NEWS: Update news for previous releases.
1319 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1321 * examples/hildon-touch-selector-multi-cells-example.c:
1322 (create_selector): Update the example to use
1323 hildon_touch_selector_append_column() with a NULL renderer and set
1324 the renderers later.
1325 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1326 passed a NULL renderer. This is documented behavior now.
1328 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1329 This must be used if the developer wants full control on the layout of
1330 the renderers to be added to the column.
1332 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1334 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-touch-selector.c: Documentation fixes.
1338 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1340 * src/hildon-wizard-dialog-private.h: Remove image and box.
1341 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1342 (hildon_wizard_dialog_set_property), (response): Completely remove
1343 image/icon support, and the containers required for the layout.
1345 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1347 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-app-menu.c: Updated documentation.
1351 * src/hildon-stackable-window.c
1352 (hildon_stackable_window_set_main_menu): Unref the old menu after
1353 ref'ing the new one.
1355 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1357 * src/hildon-stackable-window.c
1358 (hildon_stackable_window_set_main_menu): Unref the previous menu
1359 instead of destroying it.
1361 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1362 floating reference and set has_user_ref_count to FALSE to make
1363 HildonAppMenu act like a normal ref-counted widget and not a
1366 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1369 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1371 * src/hildon-touch-selector-column.h: new file
1372 * src/hildon-touch-selector.h
1373 * src/hildon-touch-selector.c
1374 Implemented GtkCellLayout interface, in order to allow to configure
1375 the cell layout on each individual selector column
1376 (hildon_touch_selector_set_column_attributes): marked as deprecated
1377 * examples/hildon-touch-selector-multi-cells-example.c
1378 Example of how to use the GtkCellLayout interface on the selector
1380 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1382 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-app-menu.h
1385 * src/hildon-app-menu.c
1386 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1387 (hildon_app_menu_append, hildon_app_menu_prepend):
1388 New methods to prepend, insert and move items in the menu.
1390 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1392 * src/hildon-wizard-dialog.c:
1394 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1396 (create_title): Update logical IDs and related code.
1397 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1399 * src/hildon-wizard-dialog.h: Note that
1400 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1401 point, as it is not used anymore.
1403 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1405 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-note.c:
1408 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1409 shown. Do not display an icon in confirmation notes nor information
1411 (hildon_note_set_button_text): Update logical ID for cancel button.
1413 Fixes: NB#88850 (Update HildonNote button strings + signals)
1415 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1417 * src/hildon-stackable-window.c
1418 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1420 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-app-menu-private.h
1423 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1424 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1425 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1426 temporary property 'columns' to change the number of columns.
1428 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1430 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1432 * examples/hildon-note-example.c: (on_information_clicked),
1433 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1434 debugging information.
1435 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1437 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1438 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1439 in order to close: this will be handled by the WM from now on.
1441 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1443 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-app-menu-private.h
1446 * src/hildon-app-menu.c
1447 (hildon_app_menu_append, hildon_app_menu_add_filter)
1448 (button_visibility_changed, hildon_app_menu_apply_style)
1449 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1450 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1451 layout everytime a button (item or filter) is shown or hidden.
1453 * src/hildon-stackable-window.c
1454 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1457 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1459 * src/hildon-touch-selector.c:
1460 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1461 that the treeview inside the touch selector is in fremantle hildon mode
1462 * examples/hildon-date-button-example.c
1463 * examples/hildon-picker-button-multicolumn-example.c
1464 * examples/hildon-touch-selector-entry-example.c
1465 * examples/hildon-touch-selector-example.c
1466 * examples/hildon-time-button-example.c
1467 * examples/hildon-picker-button-example.c:
1468 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1470 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1472 * examples/hildon-text-view-example.c: (main): Remove the
1473 gtkrc bits, now handled by the theme.
1475 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1477 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1480 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1482 * po/Makefile.am: Install properly the mo files.
1483 * po/en_GB.po: Update translation, to ease testing purposes.
1485 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1487 * examples/hildon-picker-button-example.c: (main): Select an item
1488 in the selector before setting it to the button.
1490 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1493 Update button's value if the selector has an item active.
1495 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1496 'value' with the selector)
1498 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1501 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1502 (hildon_picker_button_class_init): Plug the finalize method.
1503 (hildon_picker_button_set_selector): If there's a previously set
1504 selector, unref'it before setting a new one.
1506 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1507 HildonTouchSelector)
1509 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-touch-selector-entry.c:
1512 (hildon_touch_selector_entry_changed): Check if there is no text
1513 selected before setting the entry text.
1516 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-touch-selector.h
1519 * src/hildon-touch-selector.c
1520 (hildon_touch_selector_get_active)
1521 (hildon_touch_selector_set_active): New methods to set/get the
1522 index of the selected item.
1524 * src/hildon-picker-button.h
1525 * src/hildon-picker-button.c
1526 (hildon_picker_button_get_active)
1527 (hildon_picker_button_set_active): New methods to set/get the
1528 index of the selected item.
1530 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1532 * configure.ac: post-release version bump.
1534 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1538 * configure.ac: Pre-release version bump.
1539 * debian/changelog: Updates.
1540 * debian/control: Add myself as maintainer and depend on l10n
1543 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-window.c
1546 (hildon_window_set_main_menu)
1547 * src/hildon-stackable-window.c
1548 (hildon_stackable_window_set_main_menu):
1549 Updated documentation.
1551 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1553 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1554 Don't free selector->priv manually.
1557 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1560 (hildon_gtk_window_set_progress_indicator):
1561 * src/hildon-gtk.h: Added the new API
1562 hildon_gtk_window_set_progress_indicator, it changes the state of
1563 the window progress hint.
1565 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-button.c
1568 * src/hildon-stackable-window.c: Minor documentation updates.
1570 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-stackable-window.c: Updated documentation.
1574 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-defines.h: Update margins definitions
1577 to the Fremantle sizes.
1580 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1582 * src/hildon-touch-selector.c,
1583 (_hildon_touch_selector_set_model): Cleaning the code after
1584 review, removed g_print and #if 0 from the code.
1586 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-edit-toolbar.c: Update documentation.
1590 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-check-button.h
1593 * src/hildon-check-button.c
1594 (hildon_check_button_set_label, hildon_check_button_get_label)
1595 * examples/hildon-check-button-example.c
1596 (button_clicked_cb):
1597 Removed deprecated methods.
1599 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-text-view.c:
1602 Add sample code to the documentation.
1604 * src/hildon-entry.h
1605 * src/hildon-text-view.h:
1606 Minor cosmetic changes.
1608 * src/hildon-entry.c:
1609 Add sample code to the documentation.
1610 (hildon_entry_init, hildon_entry_refresh_contents):
1611 Don't allow NULL values in the placeholder.
1613 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1615 * doc/hildon-docs.sgml
1617 * examples/Makefile.am
1618 * examples/hildon-text-view-example.c
1620 * src/hildon-text-view.c
1621 * src/hildon-text-view.h
1623 New HildonTextView widget, with example.
1625 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1627 * po/POTFILES.in: Add missing files with translatable strings.
1628 Partially fixes NB#88287.
1630 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1632 * examples/hildon-pannable-area-example-2.c: (main): No need to
1633 set the cellrenderer height inside hildon touch lists, the theme does
1636 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1638 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1639 they are integrated in the theme.
1641 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1643 * examples/hildon-entry-example.c: Update the example adding
1644 widgets to modify the text and the placeholder of the HildonEntry.
1646 * src/hildon-entry.c: Show the placeholder everytime the widget
1647 is empty and loses the focus.
1649 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1651 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1653 * src/hildon-pannable-area.c,
1654 (hildon_pannable_area_size_request): Fixed bug in height
1655 requisition, avoid increasing size and add border twice.
1657 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1659 * configure.ac: postrelease version bump.
1661 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1665 * configure.ac: Prerelease version bump.
1666 * debian/changelog: update.
1667 * debian/rules: make -dbg package contain useful debugging symbols.
1669 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-dialog.h
1672 * src/hildon-dialog.c
1673 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1674 New methods to add buttons with finger size.
1675 (hildon_dialog_new_with_buttons):
1676 Create buttons with finger size.
1678 * examples/hildon-dialog-example.c (main): Use HildonDialog
1679 methods to add buttons.
1681 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-entry.c: Updated HildonButton documentation.
1685 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1688 button value label with (FALSE, FALSE) to prevent NB#88126 from
1691 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1693 * examples/hildon-pannable-area-example.c,
1694 (main): Removed examples panning a vbox inside a pannable
1695 area. Check bug NB#87965
1697 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1699 Patch contributed by Kris Rietveld (kris@imendio.com)
1701 * src/hildon-pannable-area.c,
1702 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1703 get_size and get_position, this saves an X server roundtrip.
1705 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1707 * doc/hildon-docs.sgml
1709 * examples/Makefile.am
1710 * examples/hildon-entry-example.c
1712 * src/hildon-entry.c
1713 * src/hildon-entry.h
1715 New HildonEntry widget, with example.
1717 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-button.c (hildon_button_construct_child): Pack the
1720 image with expand == fill == FALSE. This is a workaround for a bug
1723 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1725 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1726 labels for the text column, to make it more look more dynamic.
1728 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1730 * src/hildon-time-selector.c
1731 Define gettext auxiliar macro N_
1732 (_create_minutes_model)
1733 (_create_hours_model)
1734 (_create_ampm_model): use of strftime in order to fill the model
1735 * src/hildon-date-selector.c
1736 (hildon_date_selector_finalize):
1737 (_locales_init): remove the logic related to get the name of the months
1738 using nl_langinfo, as it is not required anymore
1740 (_create_year_model)
1741 (_create_month_model)
1742 (_update_day_model): use of strftime in order to fill the model properly
1745 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1747 * src/hildon-button.h
1748 * src/hildon-button.c (hildon_button_get_image): New method to
1751 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-touch-selector.c:
1754 (hildon_touch_selector_remove_column): Remove from the correct parent
1755 and also remove the list element and free it.
1758 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1760 * src/hildon-time-selector.c
1761 (_create_hours_model): change the range on 12h ampm format in order to use
1762 a 12-11 range instead of previous 01-12 range
1763 (hildon_time_selector_set_time): change the way to select the current time
1764 on 12h ampm format, due the change on the range
1765 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1768 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1770 * src/hildon-touch-selector.c
1771 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1772 in order to allow use this function on multiple row selection mode if
1773 the column is different that the first one
1776 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1779 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1781 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1783 * src/hildon-date-selector.h: clean some comments, now on the .c
1784 * src/hildon-date-selector.c
1785 (hildon_date_selector_select_month): first implementation
1786 (hildon_date_selector_select_day): added documentation, reimplemented
1787 using hildon_date_selector_select_current_date to avoid repeat code
1790 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1792 Reviewed interaction logic based on device experiences, refactored
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_class_init): Updated default vmax speed.
1797 (hildon_pannable_area_calculate_velocity): Added this function, it
1798 avoids duplicate valocity calculation. Adjusted calculation to
1799 avoid problems with zero dist events.
1801 (hildon_pannable_area_motion_notify_cb): Now we use the
1802 calculate_velocity function.
1804 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1806 * src/hildon-date-selector.c
1807 (hildon_date_selector_select_current_date): fix the day range check
1808 as it failed using the last day of the current month
1811 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1813 * src/hildon-touch-selector.c
1814 (hildon_touch_selector_get_num_columns): added a parameter validation
1817 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1819 * examples/Makefile.am
1820 * examples/hildon-edit-toolbar-example.c: Example of the
1821 HildonEditToolbar widget.
1823 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1825 * configure.ac: postrelease version bump.
1827 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1831 * configure.ac: prerelease version bump.
1832 * debian/changelog: update.
1834 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1836 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1837 renderer to display stock icons in the touch list. Also, set the sizes
1838 to the recommended in the style guide.
1840 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1841 * src/hildon-touch-selector.h
1842 (hildon_touch_selector_set_active_iter): renamed, now is
1843 hildon_touch_selector_select_iter
1844 (hildon_touch_selector_get_active_iter): renamed, now is
1845 hildon_touch_selector_get_selected
1846 (hildon_touch_selector_unselect_iter): added
1847 * src/hildon-touch-selector.c
1848 Update after API modification (methods renamed)
1849 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1850 order to avoid problems selecting multiple elements on the column
1851 (hildon_touch_selector_unselect_iter): added the implementation
1852 * src/hildon-time-selector.c
1853 * src/hildon-date-selector.c
1854 * src/hildon-touch-selector-entry.c
1855 Update methods calls after hildon-touch-selector.h API modification (methods
1858 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-stackable-window.c
1861 (hildon_stackable_window_finalize): Call the parent class's finalize.
1863 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1865 * examples/hildon-touch-selector-example.c: (create_selector): Use
1866 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1869 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1871 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1872 set a cell background color, to respect theming.
1874 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1876 * doc/hildon-docs.sgml
1879 * src/hildon-edit-toolbar.c
1880 * src/hildon-edit-toolbar.h
1881 * src/hildon.h: New HildonEditToolbar widget.
1883 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1885 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1888 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1889 * src/hildon-touch-selector.c
1890 (_create_new_column): use g_object_set instead of two g_object_set_property
1892 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1893 * src/hildon-touch-selector.c
1894 (_create_new_column): use of hildon_gtk_tree_view_new to create
1895 the treeview, instead of use directly g_object_new
1896 (_create_new_column): update the property name "vindicator-mode" for the
1897 new one "vscrollbar-policy"
1898 * examples/hildon-date-button-example.c
1899 * examples/hildon-picker-button-multicolumn-example.c
1900 * examples/hildon-touch-selector-entry-example.c
1901 * examples/hildon-touch-selector-example.c
1902 * examples/hildon-time-button-example.c
1903 * examples/hildon-picker-button-example.c
1904 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1905 to all the treeviews inside a pannable area.
1907 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1909 * src/hildon-button.h
1910 * src/hildon-button.c (hildon_button_init)
1911 (hildon_button_set_arrangement, hildon_button_set_alignment)
1912 (hildon_button_set_title_alignment)
1913 (hildon_button_set_value_alignment)
1914 (hildon_button_set_image_alignment)
1915 (hildon_button_construct_child): New methods to set the alignment
1916 of the individual components of the button (title, value,
1917 image). Also, new method to alter the xscale and yscale properties
1918 of the GtkAlignment inside the button, so more complex layouts can
1921 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-button.c (hildon_button_style_set)
1924 (hildon_button_class_init, hildon_button_set_arrangement)
1925 (hildon_button_construct_child): Apply style properties
1926 correctly. Use the 'image-spacing' style property too.
1928 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1931 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1934 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1936 * src/hildon-pannable-area.c,
1937 (hildon_pannable_area_size_request): Fixed problem with
1938 pannable-area size_request.
1940 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1942 Added management for the grab-focus to a child widget, like a
1943 range, we need to fade out the scrollbar when releasing.
1945 * src/hildon-pannable-area.c,
1946 (hildon_pannable_area_init): Connected the grab-focus signal to
1948 (hildon_pannable_area_grab_notify): Added this function in order
1949 to manage the situation when the grab-focus ends. We have to
1950 fade-out the scrollbar.
1952 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-app-menu.c: Minor documentation update.
1956 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-app-menu.c
1959 * examples/hildon-app-menu-example.c (create_menu): Update
1960 examples and documentation to explain how to connect callbacks.
1962 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1964 * examples/hildon-button-example.c
1965 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1966 hildon_stackable_window_new instead of gtk_window_new
1968 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1970 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1971 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1972 (hildon_pannable_area_set_property),
1973 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1974 (hildon_pannable_area_unrealize),
1975 (hildon_pannable_area_size_request),
1976 (hildon_pannable_area_size_allocate),
1977 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1978 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1979 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1980 (hildon_pannable_area_initial_effect),
1981 (hildon_pannable_area_redraw),
1982 (hildon_pannable_area_scroll_indicator_fade),
1983 (hildon_pannable_area_expose_event),
1984 (hildon_pannable_area_get_topmost), (synth_crossing),
1985 (hildon_pannable_area_button_press_cb),
1986 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1987 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1988 (hildon_pannable_area_motion_notify_cb),
1989 (hildon_pannable_area_button_release_cb),
1990 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1991 (hildon_pannable_area_remove),
1992 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1993 chage the code layout to a more GtkWidget like. Review the use of
1996 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1998 * examples/hildon-pannable-area-example-4.c,
1999 (main): Modified the name of the hindicator_mode to
2002 * src/hildon-pannable-area.c,
2003 (hildon_pannable_area_class_init),
2004 (hildon_pannable_area_motion_notify_cb),
2005 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2006 we have reduced the amount of signals and managed reviewed its
2007 rationale. Changed the default decelerate value.
2009 (hildon_pannable_area_add),
2010 (hildon_pannable_area_redraw): Refactored functions.
2012 (hildon_pannable_area_init),
2013 (hildon_pannable_area_get_property),
2014 (hildon_pannable_area_set_property):
2015 (hildon_pannable_draw_vscroll),
2016 (hildon_pannable_draw_hscroll),
2017 (hildon_pannable_area_initial_effect),
2018 (hildon_pannable_area_expose_event),
2019 (hildon_pannable_area_scroll),
2020 (hildon_pannable_area_button_press_cb),
2021 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2022 and vindicator_mode with hscrollbar_policy and
2023 vscrollbar_policy. Replaced hscroll and vscroll with
2024 hscroll_visible and vscroll_visible.
2026 (hildon_pannable_area_refresh): Refactor the function, remove
2027 variables and check the calls to this function, added resize
2028 conditions in case the children change their layout.
2030 (hildon_pannable_area_size_request): Added more detailed
2031 size_request calculation.
2034 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2036 * src/hildon-color-chooser.c
2037 (init_borders): use the correct gtk_border_free instead of g_free, to
2038 avoid a crash when this widget is used (ie: the three color selection
2041 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2043 * src/hildon-check-button.c,
2044 (hildon_check_button_set_active): Fixed problem when setting the
2045 active value, the widget was not redrawn.
2047 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2049 * src/hildon-pannable-area.c,
2050 (hildon_pannable_area_refresh),
2051 (hildon_pannable_area_scroll),
2052 (hildon_pannable_area_motion_notify_cb): Small code style change.
2054 (hildon_pannable_area_class_init): Default initial_hint set to
2055 FALSE, it is not in the specs.
2057 (hildon_pannable_area_initial_effect),
2058 (hildon_pannable_area_expose_event),
2059 (hildon_pannable_area_map),
2060 (hildon_pannable_area_init): Moved the launching point of the
2061 initial effect, it was in map but the sizes where not correct in
2062 that method so we do not know if we have the reproduce it. Now it
2063 is placed in the expose_event method and uses a variable to
2064 reproduce it just once.
2066 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2068 * src/hildon-pannable-area.c,
2069 (hildon_pannable_draw_vscroll),
2070 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2071 position allowed for the scrollbars.
2073 (hildon_pannable_area_size_allocate): Small style change.
2075 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_scroll_indicator_fade),
2079 (hildon_pannable_area_button_press_cb),
2080 (hildon_pannable_area_button_release_cb),
2081 (hildon_pannable_area_scroll_cb),
2082 (hildon_pannable_area_expose_event),
2083 (hildon_pannable_area_init): Added the define parameter
2084 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2085 and refactor the fade variable.
2087 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2089 * src/hildon-pannable-area.c,
2090 (hildon_pannable_area_redraw),
2091 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2092 lines, we were reimplemeting the redraw code.
2094 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_scroll_cb),
2098 (hildon_pannable_area_realize),
2099 (hildon_pannable_area_class_init): Added scroll_event management
2100 for pannable area, now we can scroll the usual desktop method.
2102 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2103 initialization of the parameters should depend on idle_id.
2105 (hildon_pannable_area_init),
2106 (hildon_pannable_area_map): Small code style modifications
2108 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2110 * src/hildon-pannable-area.c
2111 (hildon_pannable_area_button_press_cb),
2112 (hildon_pannable_area_motion_notify_cb),
2113 (hildon_pannable_area_button_release_cb),
2114 (hildon_pannable_area_size_allocate),
2115 (hildon_pannable_area_scroll_to): Improved the timeouts
2116 management, we avoid creating them each time.
2118 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c:
2121 (hildon_pannable_area_refresh),
2122 (hildon_pannable_area_motion_notify_cb),
2123 (hildon_pannable_area_class_init):
2124 * src/hildon-pannable-area.h:
2125 * src/hildon-touch-selector.c
2126 (_create_new_column):
2127 * examples/hildon-pannable-area-example-4.c:
2128 (horizontal_movement),
2129 (vertical_movement),
2131 Replaced the names of enums in the HildonPannableArea:
2132 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2133 HILDON_MOVEMENT_MODE_*
2134 - HILDON_PANNABLE_AREA_MOV_* ->
2136 - Removed HildonPannableAreaIndicatorMode, now we
2139 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2141 * examples/hildon-pannable-area-touch-grid-example.c
2142 * examples/hildon-pannable-area-touch-list-example.c: Fix
2143 compilation warnings.
2145 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-gtk.c (hildon_gtk_button_new)
2148 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2149 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2150 images overriding the value of the "gtk-button-images" setting.
2152 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2154 * src/hildon-check-button.c (hildon_check_button_new):
2155 Instead of using a custom container, display the label and the
2156 checkbox using the standard GtkButton API.
2158 * examples/hildon-check-button-example.c (main): Don't use
2159 hildon_check_button_set_label() anymore
2161 * src/hildon-check-button.h
2162 * src/hildon-check-button.c
2163 (hildon_check_button_set_label, hildon_check_button_get_label):
2164 Set as deprecated, now we're using gtk_button_{get,set}_label()
2166 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2168 * src/hildon-pannable-area.c,
2169 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2170 GtkTreeview first line we detected it after the inclusion of the
2171 GtkWindowImpl in gtk+. We now check if the window is visible, not
2172 just if the pointer is over the window.
2173 (hildon_pannable_axis_scroll),
2174 (hildon_pannable_area_expose_event): Small style changes.
2176 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-button.c: Update documentation.
2180 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2182 * examples/hildon-button-example.c: Add a switch to show images in
2185 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2187 * doc/hildon-docs.sgml: Some docs reorganization.
2189 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2191 * examples/hildon-pannable-area-touch-list-example.c
2193 * examples/hildon-pannable-area-touch-grid-example.c
2194 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2195 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2196 Fix memory leak when setting the tree model.
2198 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2202 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2204 * doc/hildon.types: Remove duplicated hildon_window_get_type
2205 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2206 documentation comment.
2208 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2210 * doc/Makefile.am: Complete list of private headers.
2212 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2214 * doc/hildon-docs.sgml
2215 * src/hildon-app-menu.c
2216 * src/hildon-bread-crumb.c
2217 * src/hildon-button.c
2219 * src/hildon-program.c
2220 * src/hildon-stackable-window.c
2221 * src/hildon-window.c: Lots of documentation updates.
2223 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2225 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2227 * configure.ac: Require Gtk+ 2.12.9 at least
2229 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2231 * src/hildon-pannable-area.c
2232 (hildon_pannable_area_scroll_indicator_fade),
2233 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2234 to protect the return of this timeout callbacks, avoiding deadlocks.
2236 2008-08-12 Christian Dywan <christian@imendio.com>
2239 * src/hildon-*.h: Ensure a consistent include order,
2240 include <gtk/gtk.h> instead of particular files and
2241 only include the topmost header in the gtk stack. See NB #39857
2243 2008-08-12 Christian Dywan <christian@imendio.com>
2245 * src/hildon-picker-dialog.c
2246 * src/hildon-touch-selector.c: Fix warnings about unused and
2247 uninitialized variables.
2249 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2251 * examples/Makefile.am
2252 * examples/hildon-check-button-example.c: Example of the hildon
2255 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-window.h
2258 * src/hildon-window.c (hildon_window_class_init)
2259 (hildon_window_unset_program): Don't make
2260 hildon_window_unset_program a virtual function anymore.
2262 * src/hildon-stackable-window.c: Update documentation
2264 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2267 * doc/hildon-docs.sgml
2268 * doc/visual_index.xml
2269 * src/hildon-defines.c
2271 * src/hildon-helper.c
2272 * src/hildon-range-editor.c: Lots of documentation fixes.
2274 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2276 * examples/hildon-picker-button-multicolumn-example.c
2277 (create_touch_selector): Fix compilation warning.
2279 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2282 (hildon_pannable_area_button_release_cb)
2283 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2285 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2290 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2292 * src/hildon-bread-crumb-trail.h
2293 * src/hildon-date-editor.c
2294 * src/hildon-date-selector.c
2295 * src/hildon-pannable-area.c
2296 * src/hildon-picker-dialog.c
2297 * src/hildon-time-selector.c
2298 * src/hildon-touch-selector-entry.c
2299 * src/hildon-touch-selector.c
2300 * src/hildon-touch-selector.h: Misc documentation fixes
2302 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2304 * examples/hildon-date-editor-example.c (main): Updated date
2307 * examples/hildon-note-example.c (on_confirmation_clicked):
2308 Updated confirmation note example.
2310 * src/hildon-date-editor.c
2311 * src/hildon-note.c: Updated sample programs in documentation.
2314 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-date-button.h:
2317 * src/hildon-picker-button.h:
2318 * src/hildon-time-button.c:
2319 * src/hildon-time-button.h:
2321 Some declarations changes to allow gtk-doc to document the widgets
2324 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-date-button.c: Document the widget.
2327 * src/hildon-time-button.c: Document the widget.
2329 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-picker-button.c: Document the widget.
2332 * src/hildon-touch-selector-entry.c: Document the widget.
2334 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2336 * doc/hildon-docs.sgml
2339 * src/hildon-check-button.h
2340 * src/hildon-check-button.c: New functions to create the Hildon
2344 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2346 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-button.h
2349 * src/hildon-button.c
2350 (hildon_button_add_title_size_group)
2351 (hildon_button_add_value_size_group)
2352 (hildon_button_add_image_size_group)
2353 (hildon_button_add_size_groups): New functions to set size groups
2354 for the button labels and image.
2355 (hildon_button_new_full): Removed
2357 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2359 * src/hildon-time-selector.c
2360 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2361 in order to avoid a crash if gconf is not available
2363 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-button.c (hildon_button_set_arrangement)
2366 (hildon_button_construct_child): Don't construct the button child
2367 before setting the arrangement.
2369 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2371 * src/hildon-program-private.h
2372 * src/hildon-program.c
2373 * src/hildon-program.h
2374 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2375 (hildon_program_peek_window_stack)
2376 (hildon_program_pop_window_stack)
2377 (hildon_program_go_to_root_window): HildonProgram now has a
2378 separate list for stackable windows. Functions are provided to
2379 manage that list with a stack-like API.
2381 * src/hildon-stackable-window.c: Stackable window management is
2382 now much simpler with the new HildonProgram API. Windows no
2383 longer need to be manually added to the program, they're
2384 automatically pushed to the top of the stack when shown.
2386 * examples/hildon-stackable-window-example.c: Updated example to
2387 reflect the API changes.
2389 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-touch-selector.c: Comment out unimplemented
2392 hildon_touch_selector_insert_column() to avoid a compile warning.
2394 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2397 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2398 (hildon_touch_selector_set_column_selection_mode),
2399 (_hildon_touch_selector_set_model),
2400 (hildon_touch_selector_set_model):
2402 Complete review of HildonTouchSelector documentation.
2404 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2406 * doc/hildon-docs.sgml
2410 * src/hildon-gtk.c: Convenience functions for standard Gtk
2411 widgets, used to easily perform frequent operations.
2413 * src/hildon-button-helpers.h
2414 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2416 * src/hildon-helper.h
2417 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2418 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2420 * src/hildon-button.h
2421 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2423 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-button.c (hildon_button_init)
2426 (hildon_button_set_arrangement, hildon_button_construct_child):
2427 Pack the image and the labels inside the same GtkAlignment so
2428 gtk_button_set_alignment() can be used
2430 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-button.h
2433 * src/hildon-button.c
2434 (hildon_button_init, hildon_button_set_image)
2435 (hildon_button_set_image_position)
2436 (hildon_button_construct_child): New functions to add an image to
2439 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-date-button.c
2442 * src/hildon-picker-button.c
2443 * src/hildon-time-button.c
2444 * src/hildon-button.c:
2445 (hildon_button_class_init): "size-flags" renamed to "size"
2446 (hildon_button_set_title): Hide the title label if set to NULL.
2448 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2450 HildonButtonFlags split into HildonButtonArrangement (to set the
2451 button layout) and HildonSizeType (which can be used for any
2454 * src/hildon-button.h
2455 * src/hildon-button.c
2456 (hildon_button_class_init)
2457 (hildon_button_set_arrangement)
2458 (hildon_button_set_property): New "size-flags"
2459 property. "arrangement-flags" renamed to "arrangement".
2460 (hildon_button_new, hildon_button_new_with_text)
2461 (hildon_button_new_full): Constructors updated to reflect type changes.
2463 * src/hildon-helper.h
2464 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2465 to set the size of a widget.
2469 * src/hildon-button-helpers.c
2470 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2472 * src/hildon-date-button.c
2473 * src/hildon-date-button.h
2474 * src/hildon-picker-button.c
2475 * src/hildon-picker-button.h
2476 * src/hildon-time-button.c
2477 * src/hildon-time-button.h: Updated widgets to reflect
2478 HildonButton API changes.
2480 * examples/hildon-button-example.c
2481 * examples/hildon-date-button-example.c
2482 * examples/hildon-picker-button-example.c
2483 * examples/hildon-picker-button-multicolumn-example.c
2484 * examples/hildon-time-button-example.c
2485 * examples/hildon-touch-selector-entry-example.c
2486 * examples/hildon-touch-selector-example.c: Updated examples to
2487 reflect HildonButton API changes.
2489 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2491 * doc/hildon-docs.sgml:
2493 * examples/Makefile.am:
2494 * examples/hildon-touch-selector-entry-example.c:
2496 * src/hildon-touch-selector-entry.c:
2497 * src/hildon-touch-selector-entry.h:
2500 Moved HildonTouchSelectorEntry from sandbox. Added its
2501 documentation and examples.
2503 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2505 * src/hildon-touch-selector.h:
2506 * examples/hildon-picker-button-multicolumn-example.c:
2507 (hildon_touch_selector_append_text_column): Add a gboolean
2508 parameter to determine if text must be centered in the column.
2510 * src/hildon-date-selector.c: (hildon_date_selector_init):
2511 * src/hildon-time-selector.c: (hildon_time_selector_init):
2512 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2513 (create_touch_selector): Update widgets and example to reflect
2516 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-touch-selector.c:
2519 (hildon_touch_selector_set_active_iter): Set also the cursor in
2522 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2524 * doc/hildon-docs.sgml
2527 * src/hildon-toggle-button.c
2528 * src/hildon-toggle-button.h
2529 * src/hildon.h: Removed HildonToggleButton widget, a derived
2530 class is not necessary for this.
2532 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2534 * src/hildon-pannable-area.c,
2535 (hildon_pannable_area_realize),
2536 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2539 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2542 "done" button the default widget for the dialog.
2544 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2546 * src/hildon-touch-selector.c:
2547 (hildon_touch_selector_class_init),
2548 (hildon_touch_selector_get_property),
2549 (_hildon_touch_selector_set_model),
2550 (_hildon_touch_selector_has_multiple_selection),
2551 (hildon_touch_selector_has_multiple_selection):
2552 Add a "has-multiple-selection" property with a virtual
2553 has_multiple_selection() method to allow derived classes to
2554 override the default value for it. See the method and property
2555 documentation for details.
2557 * src/hildon-touch-selector.h: Add the new API.
2559 * src/hildon-picker-dialog.c: (requires_done_button): Call
2560 hildon_touch_selector_has_multiple_selection() instead of
2561 determining the need for a button itself.
2563 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2566 (_hildon_touch_selector_set_model),
2567 (hildon_touch_selector_set_model): Move working code to
2568 _hildon_touch_selector_set_mode(). Call the class method instead.
2570 * src/hildon-touch-selector.h: Add (*set_model) to
2571 HildonTouchSelectorClass.
2573 Make hildon_touch_selector_set_model() a virtual method, so that
2574 derived classes can extend it and do fancy stuff with the model.
2576 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2578 * configure.ac: Set back the tarname in AC_INIT to hildon.
2580 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2584 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2585 instead of libesd (NB#86876). Volume handling is still an open issue.
2587 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2590 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2593 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2594 derived class to ease placement of an entry widget in
2595 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2596 end, where the selector columns are packed now.
2598 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/hildon-picker-button.c: Removed the simple _text() API.
2601 * src/hildon-picker-button.h: Likewise.
2603 * src/hildon-touch-selector.h:
2604 * src/hildon-touch-selector.c:
2605 (hildon_touch_selector_new_text),
2606 (hildon_touch_selector_append_text),
2607 (hildon_touch_selector_prepend_text),
2608 (hildon_touch_selector_insert_text):
2610 Moved the simple _text() API from HildonPickerButton to
2611 HildonTouchPicker, to provide better escalability and not to tie
2612 that API to HildonPickerButton.
2614 * examples/hildon-picker-button-example.c: (main): Example updated.
2616 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-button.c: Updated documentation.
2620 * examples/hildon-button-example.c: Add the posibility to create
2621 the buttons using horizontal layout for title and value.
2623 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-app-menu-private.h
2626 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2627 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2628 GtkSizeGroup for the filters, use the 'homogeneous' property of
2631 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2633 * examples/hildon-button-example.c: Updated example.
2635 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2637 * doc/hildon-docs.sgml:
2640 Update documentation.
2642 * examples/Makefile.am: Update renamed examples.
2644 * examples/hildon-picker-button-multicolumn-example.c:
2645 (create_touch_selector), (main): Update after the rename.
2647 * examples/hildon-touch-picker-example.c: Removed.
2648 * examples/hildon-touch-selector-example.c: (value_changed),
2649 (create_selector), (get_visible_content), (main): Renamed from
2650 hildon-touch-picker-example.c
2652 * src/Makefile.am: Updated renamed files.
2654 * src/hildon-date-button.c: (hildon_date_button_init),
2655 (hildon_date_button_get_date), (hildon_date_button_set_date):
2656 * src/hildon-date-selector.c: (hildon_date_selector_init),
2657 (_custom_print_func), (_update_day_model),
2658 (_manage_selector_change_cb),
2659 (hildon_date_selector_select_current_date),
2660 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2661 * src/hildon-date-selector.h:
2662 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2663 (hildon_picker_button_set_property),
2664 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2665 (hildon_picker_button_init), (hildon_picker_button_new_text),
2666 (hildon_picker_button_append_text),
2667 (hildon_picker_button_prepend_text),
2668 (hildon_picker_button_insert_text),
2669 (hildon_picker_button_set_selector),
2670 (hildon_picker_button_get_selector):
2671 * src/hildon-picker-button.h:
2672 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2673 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2674 (_update_title_on_selector_changed_cb), (requires_done_button),
2675 (_hildon_picker_dialog_set_selector),
2676 (hildon_picker_dialog_set_selector),
2677 (hildon_picker_dialog_get_selector):
2678 * src/hildon-picker-dialog.h:
2679 * src/hildon-time-button.c: (hildon_time_button_init),
2680 (hildon_time_button_get_time), (hildon_time_button_set_time):
2681 * src/hildon-time-selector.c: (hildon_time_selector_init),
2682 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2683 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2684 * src/hildon-time-selector.h:
2687 Massive code updates after the rename.
2689 * src/hildon-touch-picker.c: Removed.
2690 * src/hildon-touch-picker.h: Removed.
2692 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2693 (hildon_touch_selector_init), (hildon_touch_selector_map),
2694 (hildon_touch_selector_remove), (_default_print_func),
2695 (_selection_changed_cb), (_create_new_column),
2696 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2697 (hildon_touch_selector_append_text_column),
2698 (hildon_touch_selector_remove_column),
2699 (hildon_touch_selector_set_column_attributes),
2700 (hildon_touch_selector_insert_column),
2701 (hildon_touch_selector_get_num_columns),
2702 (hildon_touch_selector_get_column_selection_mode),
2703 (hildon_touch_selector_set_column_selection_mode),
2704 (hildon_touch_selector_set_print_func),
2705 (hildon_touch_selector_get_print_func),
2706 (hildon_touch_selector_get_active_iter),
2707 (hildon_touch_selector_set_active_iter),
2708 (hildon_touch_selector_get_selected_rows),
2709 (hildon_touch_selector_get_model),
2710 (hildon_touch_selector_set_model),
2711 (hildon_touch_selector_get_current_text),
2712 (_hildon_touch_selector_center_on_selected_items):
2713 * src/hildon-touch-selector.h: Renamed from
2714 hildon-touch-picker.[ch]
2716 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2717 references, code examples, and related documentation.
2719 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2721 * doc/hildon-docs.sgml
2724 * src/hildon-toggle-button.c
2725 * src/hildon-toggle-button.h
2726 * src/hildon.h: New HildonToggleButton widget.
2728 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2730 * src/hildon-button.c: Add API documentation.
2731 (hildon_button_set_size_groups): Check input parameters
2733 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2735 * src/hildon-pannable-area.c
2736 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2737 effect after reaching the movement thredshold. This way we start
2738 using the distance after passing the thredshold.
2740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2742 * src/hildon-button.c: (hildon_button_set_property): Use the
2743 appropriate g_value_get_flags() method.
2745 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2747 * doc/hildon-docs.sgml:
2750 Add the touch pickers, picker dialogs, and picker button widgets
2751 to the documentation.
2753 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-button.c: (hildon_button_set_property),
2756 (hildon_button_class_init): Make "arrangement-flags" a proper
2757 G_TYPE_FLAGS derived property.
2759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2761 * examples/Makefile.am: Add below examples.
2762 * examples/hildon-date-button-example.c:
2763 * examples/hildon-picker-button-example.c:
2764 * examples/hildon-picker-button-multicolumn-example.c:
2765 * examples/hildon-time-button-example.c:
2766 * examples/hildon-touch-picker-example.c:
2768 Add examples for the recently added touch pickers,
2769 picker dialogs, and picker button widgets.
2771 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-button.c: Add some API documentation
2775 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-button.h
2778 * src/hildon-button.c
2780 (hildon_button_new_with_text): New constructor to create a button
2781 with no text at all.
2782 (hildon_button_init, hildon_button_set_arrangement)
2783 (hildon_button_set_title, hildon_button_set_value)
2784 (hildon_button_set_text)
2785 (hildon_button_construct_child): Hide the value when it's not used
2786 so the rest of the text is properly aligned.
2787 Allow creating buttons with arbitrary widgets inside (not just
2788 title/value labels).
2790 * examples/hildon-button-example.c (vertical_buttons_window)
2791 (horizontal_buttons_window): Update example to use new API.
2793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/Makefile.am: Added HildonTimeButton.
2796 * src/hildon-time-button.c: Added missing LGPL header.
2797 * src/hildon-time-button.h: Added missing LGPL header.
2798 * src/hildon.h: Add hildon-time-button.h
2800 Copied HildonTimeButton from sandbox to trunk. Future work on this
2801 widget must take place in trunk.
2803 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/Makefile.am: Added HildonDateButton.
2806 * src/hildon-date-button.c: Update includes.
2807 * src/hildon.h: Add hildon-date-button.h
2809 Copied HildonDateButton from sandbox to trunk. Future work on this
2810 widget must take place in trunk.
2812 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2814 * src/Makefile.am: Added HildonPickerButton.
2815 * src/hildon-picker-button.h: Update includes.
2816 * src/hildon.h: Add hildon-picker-button.h
2818 Copied HildonPickerButton from sandbox to trunk. Future work on
2819 this widget must take place in trunk.
2821 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/Makefile.am: Added HildonPickerDialog.
2824 * src/hildon-picker-dialog.c: Update includes.
2825 * src/hildon.h: Add hildon-picker-dialog.h
2827 Copied HildonPickerDialog from sandbox to trunk. Future work
2828 on this widget must take place in trunk.
2830 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/Makefile.am: Added HildonTimeSelector.
2833 * src/hildon.h: Add hildon-time-selector.h
2835 Copied HildonTimeSelector widget from sandbox to trunk. Future
2836 work on this widget must happen in trunk.
2838 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2840 * src/Makefile.am: Added HildonDateSelector.
2841 * src/hildon.h: Add hildon-date-selector.h
2843 Copied HildonDateSelector widget from sandbox to trunk. Future
2844 work on this widget must happen in trunk.
2846 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/Makefile.am: Added HildonTouchPicker.
2849 * src/hildon-touch-picker.c: Update includes.
2850 * src/hildon.h: Add hildon-touch-picker.h
2852 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2853 on this widget must happen in trunk.
2855 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-pannable-area.c:
2858 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2860 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2862 * examples/hildon-app-menu-example.c (main): Let the window
2865 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2867 * src/hildon-pannable-area.c
2868 (hildon_pannable_area_class_init): Set the min value of the
2869 overshoot properties to zero, which points out that not
2870 overshooting allowed.
2872 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2874 Modified the procedure to get the widget at a point inside the
2875 pannable area when using the movement type signals. Now the user
2876 has to call a function to get the child, that way we just
2877 calculate the child in case the user really want to use it and not
2880 * src/hildon-marshalers.list: Modified the marshallers, now we do
2881 not have the widget as a parameter.
2883 * src/hildon-pannable-area.c
2884 (hildon_pannable_area_motion_notify_cb),
2885 (hildon_pannable_area_class_init),
2886 (hildon_pannable_get_child_widget_at): Removed the widget
2887 parameter from the signal callback. We have also refactored the
2888 emission of the signals.
2890 * src/hildon-pannable-area.h: Added a new method to the API to
2891 calculate a widget at a point inside the pannable area,
2892 hildon_pannable_get_child_widget_at.
2894 * examples/hildon-pannable-area-example-4.c
2895 (horizontal_movement): Modified the example to use the new API,
2896 added condition to control which widget is under the event. This
2897 way we can avoid scrolling laterally over other widgets.
2899 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2901 * src/hildon-pannable-area.c
2902 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2903 modes, we stop getting the pointer events due to returning the
2904 callback without properly calling the get pointer again. Fixed
2905 also an error using the hscroll and vscroll.
2907 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-app-menu-private.h
2910 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2911 (hildon_app_menu_button_release, hildon_app_menu_init)
2912 (hildon_app_menu_class_init): Don't hide the menu on button
2913 release if the user didn't press outside first.
2915 * src/hildon-window.h
2916 * src/hildon-window.c (hildon_window_toggle_menu)
2917 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2918 hildon_window_toggle_menu a virtual function for the stackable
2919 window to override it.
2921 * src/hildon-stackable-window.h
2922 * src/hildon-stackable-window-private.h
2923 * src/hildon-stackable-window.c
2924 (hildon_stackable_window_realize)
2925 (hildon_stackable_window_finalize)
2926 (hildon_stackable_window_class_init)
2927 (hildon_stackable_window_init)
2928 (hildon_stackable_window_set_main_menu): New function to set the
2929 app menu of a HildonStackableWindow.
2931 * examples/hildon-app-menu-example.c: Remove the button to show
2932 the app menu, now it'll be shown when clicking on the title bar
2935 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2938 set the widget name if the arrangement flags do not specify
2941 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-button.c: (hildon_button_set_property),
2944 (hildon_button_class_init), (hildon_button_new_full),
2945 (hildon_button_set_arrangement): Added "arrangement-flags"
2948 Make the HildonButtonFlags a construction-only property, to allow
2949 subclasses to set them properly.
2951 2008-07-21 Tim Janik <timj@imendio.com>
2953 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2954 insertion position after backspace, so additional digits are appended,
2957 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2959 * src/hildon-pannable-area.c,
2960 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2961 TODO list, it was complete and removed the g_debug and g_print
2964 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2966 Added the movement modes to the hildon-pannable-area, with this
2967 modes the developers can control in which directions the widget
2968 can scroll. They can also connect to signals in order to do
2969 something when that happens, allowing applications scroll. There
2970 is an example uploaded showing how to use it.
2972 * examples/Makefile.am:
2973 * examples/hildon-pannable-area-example-4.c: Added this example of
2974 an application using the modes.
2976 * src/hildon-marshalers.list: Added a new marshaller for the new
2979 * src/hildon-pannable-area.h: Added new enumerations and flags in
2980 order to control the movement modes and the new signals to warn
2981 about the movements in the area.
2983 * src/hildon-pannable-area.c:
2984 (hildon_pannable_axis_scroll),
2985 (hildon_pannable_area_scroll),
2986 (hildon_pannable_area_motion_notify_cb),
2987 (hildon_pannable_area_get_property),
2988 (hildon_pannable_area_set_property),
2989 (hildon_pannable_area_map),
2990 (hildon_pannable_area_class_init),
2991 (hildon_pannable_area_init),
2992 (hildon_pannable_area_jump_to): Added the modes to control the
2993 movement in the widget. We have added properties to control it,
2994 signals to warn about the movements and refactored some code.
2996 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2998 Changes required in order to allow vfast_factor set to zero to
3001 * src/hildon-pannable-area.c:
3002 (hildon_pannable_area_button_press_cb): Changed the condition, it
3003 is required for not allowing click when vfast_factor is zero.
3004 (hildon_pannable_area_timeout): Initialized velocity variables
3005 when we stop moving, it was less than 1 but not zero and we need
3006 to check zero in some situations.
3007 (hildon_pannable_area_class_init): Changed the default value of
3008 the speed factor, now the button_press is just sent in case the
3009 speed is 2 per cent of the max speed.
3010 (hildon_pannable_area_init): Initialization with 0.
3012 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3014 * src/hildon-pannable-area.c,
3015 (hildon_pannable_area_get_topmost): replaced
3016 gdk_window_get_children with gdk_window_peek_children, this way we
3017 do not have to free the list because it is not a copy.
3019 (hildon_pannable_axis_scroll),
3020 (hildon_pannable_area_scroll),
3021 (hildon_pannable_area_timeout),
3022 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3023 two parameters that were only used inside the
3024 hildon_pannable_area_scroll function.
3026 * examples/hildon-pannable-area-example.c,
3027 (get_sawtooth_label): Fixed small memory leak.
3029 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3031 More checks for the case where the overshoot is bigger than the
3034 * src/hildon-pannable-area.c:
3035 (hildon_pannable_draw_vscroll),
3036 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3037 to draw the slider of the scrollbar under the other scrollbar.
3038 (hildon_pannable_area_expose_event): added new checks to control
3039 the drawing of the overshooting area rectangle, in case it is too
3040 big for the area of the widget.
3041 (hildon_pannable_area_size_allocate): add more checks to avoid
3042 setting a position to the child widget outside the area.
3044 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3046 * src/hildon-pannable-area.c
3047 (hildon_pannable_area_size_allocate): Added conditions to control
3048 when overshooting is bigger than the allocated space for the
3049 children, this avoids negative allocations.
3051 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3053 * doc/hildon-docs.sgml
3055 * examples/Makefile.am
3056 * examples/hildon-button-example.c
3058 * src/hildon-button.c
3059 * src/hildon-button.h
3060 * src/hildon.h: Initial version of the new HildonButton widget,
3063 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-pannable-area.c:
3066 (hildon_pannable_area_button_press_cb),
3067 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3068 (hildon_pannable_area_motion_notify_cb),
3069 (hildon_pannable_area_button_release_cb),
3070 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3071 (hildon_pannable_area_jump_to_child):
3073 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3075 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3077 * examples/Makefile.am
3078 * examples/hildon-pannable-area-touch-grid-example.c
3079 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3080 the Hildon Touch List and Hildon Touch Grid using the
3081 HildonPannableArea widget.
3083 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3085 * src/hildon-pannable-area.c,
3086 (hildon_pannable_area_button_press_cb),
3087 (hildon_pannable_area_refresh),
3088 (hildon_pannable_area_scroll),
3089 (hildon_pannable_area_motion_notify_cb),
3090 (hildon_pannable_area_button_release_cb),
3091 (hildon_pannable_area_expose_event),
3092 (hildon_pannable_area_add),
3093 (hildon_pannable_area_remove),
3094 (hildon_pannable_area_realize),
3095 (hildon_pannable_area_size_allocate),
3096 (hildon_pannable_area_class_init),
3097 (hildon_pannable_area_init),
3098 (hildon_pannable_area_scroll_to_child),
3099 (hildon_pannable_area_jump_to_child): Fixed the problem of
3100 removing the child from the GtkBin, we have rearranged the widget
3101 hierarchy, now there is no GtkAlignment which was not doing
3102 anything interesting but breaking some of the assumptions of
3103 GtkContainer. Now developers if they want to add a GtkAlignment
3104 they could, but it is not inside the area.
3106 We had to review the whole allocation/expose process, now it is
3107 improved and we save at least three signals which would be saving
3108 some time when rendering the widget. The allocation of the
3109 scrollbars is now made in the allocate method as usual.
3111 We have also added some conditions in order to control when there
3112 is no child of the pannable area. Maybe we will need more work
3115 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c,
3118 (hildon_pannable_area_dispose): Released the fade-out timeout when
3119 disposing the widget.
3121 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3123 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3124 zero, we are going to use that property in order to deactivate the
3126 (hildon_pannable_axis_scroll),
3127 (hildon_pannable_area_size_allocate): Added conditions to control
3128 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3129 call, now it is called in all situations and we can remove calls
3130 in the allocate method.
3131 (hildon_pannable_area_map): Control the situation when
3132 overshoot_max is zero, we do not need the timeout.
3133 (hildon_pannable_area_class_init): Added documentation in order to
3134 point out that setting zero to overshoot_max means deactivate
3137 NOTE: removed trailing whitespaces from my previous comments of
3140 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-pannable-area.c
3143 (hildon_pannable_area_get_property),
3144 (hildon_pannable_area_set_property),
3145 (hildon_pannable_area_map),
3146 (hildon_pannable_area_class_init),
3147 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3148 to cause the widget give a hint about its panning abilities upon
3151 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-pannable-area.c: Several documentation improvements.
3155 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3157 * src/hildon-program.c
3158 * src/hildon-stackable-window.c: Update documentation.
3160 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3162 * src/hildon-stackable-window.c (get_previous_window_if_last):
3163 Renamed get_last_window()
3164 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3165 (hildon_stackable_window_unset_program):
3167 (get_previous_window_if_last):
3168 Detect if the window hasn't been added to a HildonProgram.
3170 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3172 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-pannable-area.c
3175 (hildon_pannable_area_button_press_cb),
3176 (hildon_pannable_axis_scroll),
3177 (hildon_pannable_area_scroll),
3178 (hildon_pannable_area_timeout),
3179 (hildon_pannable_calculate_vel_factor),
3180 (hildon_pannable_area_get_property),
3181 (hildon_pannable_area_set_property),
3182 (hildon_pannable_area_class_init),
3183 (hildon_pannable_area_init),
3184 (hildon_pannable_area_scroll_to),
3185 (hildon_pannable_area_jump_to),
3186 (hildon_pannable_area_scroll_to_child),
3187 (hildon_pannable_area_jump_to_child):
3188 * src/hildon-pannable-area.h: Added the new API functions:
3189 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3190 hildon_pannable_area_scroll_to_child,
3191 hildon_pannable_area_jump_to_child
3194 * examples/Makefile.am
3195 * examples/hildon-pannable-area-example-2.c
3196 * examples/hildon-pannable-area-example-3.c: Added these two new
3197 examples in order to test and show how the new APIs work.
3199 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3201 * examples/hildon-stackable-window-example.c (new_window):
3202 * src/Makefile.am (noinst_HEADERS):
3203 * src/hildon-program.c (hildon_program_go_to_root_window):
3204 * src/hildon-program.h:
3205 * src/hildon-stackable-window-private.h:
3206 * src/hildon-stackable-window.c:
3207 * src/hildon-stackable-window.h:
3208 Create hildon-stackable-window-private.h
3209 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3211 * examples/hildon-app-menu-example.c (create_menu):
3212 * examples/hildon-hvolumebar-insensitive-example.c (main):
3213 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3214 * examples/hildon-toolbar-seekbar-example.c (main):
3215 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3216 * src/hildon-banner.c (hildon_banner_set_property):
3217 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3218 Fix compilation warnings
3220 * src/hildon-window.c:
3223 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-stackable-window.c
3226 (hildon_stackable_window_unset_program):
3227 Calculate correctly whether to show the previous window if the
3228 last one is removed from the stack.
3229 (hildon_stackable_window_go_to_root_window):
3230 Send delete events starting from the topmost window.
3231 Stop if one of the windows is not destroyed.
3233 (hildon_stackable_window_delete_event)
3234 (hildon_stackable_window_class_init):
3235 Ignore the delete event if the window is not the topmost one.
3237 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3239 * src/hildon-pannable-area.c
3240 (hildon_pannable_area_expose_event): Fixed a problem when
3241 selecting the background color of the scrollbars.
3243 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3245 * examples/hildon-stackable-window-example.c
3246 * src/hildon-stackable-window.c
3247 * src/hildon-stackable-window.h
3248 hildon_stackable_window_go_home() renamed to
3249 hildon_stackable_window_go_to_root_window()
3250 Send delete events to windows rather than closing them with
3251 gtk_widget_destroy()
3253 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3255 * src/hildon-pannable-area.c
3256 (hildon_pannable_area_button_release_cb): Fix overshooting in
3259 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-pannable-area.c
3262 (hildon_pannable_area_init): Initially show the scroll indicators.
3263 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3265 Add initial effect showing the widget is pannable.
3267 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-pannable-area.c
3270 (hildon_pannable_area_class_init)
3271 (hildon_pannable_area_set_property)
3272 (hildon_pannable_area_get_property)
3273 (hildon_pannable_area_button_press_cb):
3274 New 'velocity_fast_factor' property to decide which velocity is
3277 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-pannable-area.c
3280 (hildon_pannable_draw_hscroll)
3281 (hildon_pannable_draw_vscroll):
3282 Use float variables to calculate the size of the scrollbars to
3283 avoid error propagation and resizing during scrolling.
3285 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-pannable-area.c
3288 (hildon_pannable_draw_vscroll)
3289 (hildon_pannable_draw_hscroll):
3290 Define a minimum size for the scroll bars
3292 * src/hildon-stackable-window.c
3293 (hildon_stackable_window_go_home): Fix compilation warning
3294 (get_last_window): Minor optimizations
3295 (hildon_stackable_window_class_init): Fix initialization of
3298 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-stackable-window.c: Fixed typos in doc
3302 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-pannable-area.c
3305 (hildon_pannable_area_scroll):
3306 Calculate here whether we need to scroll instead of using the booleans
3307 that tell us whether to /draw/ the scrolling bars.
3309 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-app-menu.h
3313 * src/hildon-app-menu.c
3314 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3315 multiple filter groups related code and API. Now we support only
3317 * examples/hildon-app-menu-example.c:
3319 Update to reflect API changes.
3321 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-stackable-window.c
3324 (hildon_stackable_window_class_init):
3325 Add hildon_stackable_window_realize.
3326 (hildon_stackable_window_realize):
3327 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3328 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3329 to apply theming and behavior specific to HildonStackableWindow
3332 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-note.c (hildon_note_button_release):
3335 Close information notes also when tapping on them
3337 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3339 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3340 ELASTICITY, refactor and review, fix some issues with drawing
3343 * src/hildon-pannable-area.c:
3344 (hildon_pannable_area_button_press_cb): removed the conditions to
3345 avoid clicks when overshooting. It is not required
3347 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3348 define. Refatored and reviewed the code, now we do not need to
3349 manage velocity in motion_notify.
3351 (hildon_pannable_area_motion_notify_cb): We have moved the code
3352 that controls the area_scroll to the axis_scroll function and get
3353 rid of duplicated code.
3355 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3357 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3359 (hildon_pannable_draw_vscroll),
3360 (hildon_pannable_draw_hscroll): Fixed the problems with the
3361 scrollbar drawing, now we do not use two surfaces, it is easier
3362 and saves resources.
3364 (hildon_pannable_area_get_property): Style modification.
3366 (hildon_pannable_area_class_init): Changed some default values.
3368 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-stackable-window.c: Fix some typos in the
3373 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-dialog.c:
3376 Change indentation style
3379 (hildon_note_button_release):
3380 Use root coordinates to check if the release event happened
3383 * src/hildon-app-menu.c
3384 (hildon_app_menu_button_release):
3385 Remove unnecessary check
3387 * examples/hildon-app-menu-example.c
3389 Add cast to fix warning
3391 * src/hildon-app-menu.c
3392 (hildon_app_menu_class_init):
3393 New inner-border style property.
3394 Set all default spacings to 16
3395 (hildon_app_menu_init):
3396 Use vertical-spacing to set the space between filter buttons and
3397 regular menu buttons.
3398 Set the default container border using the inner-border value.
3400 * examples/hildon-app-menu-example.c
3402 Don't set the menu border explicitly, now we have the inner-border
3403 style property for that.
3405 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3407 * src/hildon-app-menu.c (hildon_app_menu_init):
3408 Make the window modal
3410 * src/hildon-note.c (hildon_note_map)
3411 * src/hildon-app-menu.c (hildon_app_menu_map):
3412 Destroy the grab window if we're unable to grab the pointer
3414 * src/hildon-app-menu-private.h
3415 * src/hildon-app-menu.c
3416 (hildon_app_menu_init, hildon_app_menu_finalize)
3417 (hildon_app_menu_map, hildon_app_menu_unmap)
3418 (hildon_app_menu_button_release)
3419 (grab_transfer_window_get):
3420 Bring back the grab window
3421 (hildon_app_menu_realize):
3422 Decorate the window, set WM hint for Matchbox
3424 * src/hildon-note.c (hildon_note_realize):
3425 * src/hildon-banner.c (hildon_banner_realize):
3426 Add WM hints for Matchbox
3428 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-app-menu-private.h
3431 * src/hildon-app-menu.c
3432 (hildon_app_menu_init, hildon_app_menu_finalize)
3433 (hildon_app_menu_map, hildon_app_menu_unmap)
3434 (hildon_app_menu_button_release):
3435 Remove the grab window, it's not needed anymore
3437 * src/hildon-program.c
3438 Fixed typo in documentation
3440 * src/hildon-app-menu.h
3441 * src/hildon-app-menu.c
3442 * examples/hildon-app-menu-example.c
3443 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3445 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3448 Added new transfer_window and close_if_pressed_outside private
3450 (hildon_note_rebuild):
3451 Don't add a cancel button to the information note. It will be
3452 closed when tapping outside
3453 Remove the comment about the OK button in the documentation
3454 (hildon_note_realize):
3455 Set the notification type hint
3456 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3457 Grab/ungrab pointer and keyboard if the note has to be closed when
3459 (hildon_note_button_release):
3460 Close the note when tapping outside (if applicable)
3462 * src/hildon-app-menu.c
3463 Grab/ungrab pointer and keyboard on map/unmap
3464 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3465 Close the menu on button release, not button press
3467 * src/hildon-banner.c
3468 (hildon_banner_set_property)
3469 (hildon_banner_check_position):
3470 Make the banner use the full width of the screen
3471 (hildon_banner_show_information)
3472 (hildon_banner_show_information_with_markup):
3473 Don't display an icon by default
3475 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3477 Added fading scrollbars and adapted all the overshooting code to
3478 horizontal scrolling. We have also fixed bugs with overshooting
3479 and current fading implementation.
3481 * src/hildon-pannable-area.c
3482 (hildon_pannable_area_scroll_indicator_fade): Time out function
3483 used to change the transparency of the scrollbars.
3485 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3486 control and fixed a problem with fading, we now remove the fade
3487 timeout before adding a new one.
3489 (hildon_pannable_axis_scroll):
3490 (hildon_pannable_area_scroll):
3491 (hildon_pannable_area_timeout): Added this functions so we can use
3492 the scroll code both for vertical and horizontal.
3494 (hildon_pannable_area_motion_notify_cb):
3495 (hildon_pannable_area_button_release_cb): Added the horizontal
3496 scrolling control, fixed a problem with the overshooting timeout.
3498 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3499 painting of the scrolls.
3501 (hildon_pannable_draw_vscroll):
3502 (hildon_pannable_draw_hscroll):
3503 (hildon_pannable_area_expose_event):
3504 Draw both scrollbars and rectangles in the overshooting area.
3506 (hildon_pannable_area_get_property):
3507 (hildon_pannable_area_set_property):
3508 Modified the overshoot property to overshoot_max
3510 (hildon_pannable_area_map):
3511 Replaced the comments symbols.
3513 (hildon_pannable_area_size_allocate):
3514 (hildon_pannable_area_class_init):
3515 (hildon_pannable_area_init): Added horizontal scroll, fading
3516 effect properties, fixed a problem when overshooting in the bottom
3519 * examples/hildon-pannable-area-example.c:
3520 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3521 looks better in the example.
3523 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-window.c
3526 * src/hildon-window.h
3527 (hildon_window_class_init)
3528 (hildon_window_unset_program)
3529 (hildon_window_unset_program_real):
3530 Make unset_program a virtual function
3532 * src/hildon-stackable-window.c
3533 * src/hildon-stackable-window.h
3534 Added hildon_stackable_window_go_home()
3536 * examples/Makefile.am
3537 * examples/hildon-stackable-window-example.c
3538 HildonStackableWindow example
3540 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3542 * hildon-pannable-area.c: Added the overshoot property and removed
3543 the OVERSHOOT define. Fixed an indent style error.
3544 (hildon_pannable_area_motion_notify_cb):
3545 (hildon_pannable_area_get_property):
3546 (hildon_pannable_area_set_property): Add overshoot property.
3548 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3551 (hildon_pannable_area_class_init): Installed the new property.
3553 * hildon-pannable-area-example.c: Added a sawtooth function, this
3554 way it is easier to check the movement in the pannable.
3555 (get_sawtooth_label): Added this function.
3556 (main): Now we get the labels from the new get_sawtooth_label
3559 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-app-menu.h
3562 * src/hildon-app-menu.c
3563 Renamed API variables for consistency
3565 (hildon_app_menu_popup): Use also the default window size to
3566 decide where to place the menu
3568 (hildon_app_menu_init, hildon_app_menu_class_init): New
3569 external-border style property
3571 2008-05-26 Michael Natterer <mitch@imendio.com>
3573 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3574 widget_class->tap_and_hold_setup signal slot doesn't exist any
3575 longer, stop overriding it.
3577 (hildon_time_editor_init): g_signal_connect() to the
3578 tap-and-hold-setup signal instead.
3580 (hildon_time_editor_entry_keypress): add cast to fix warning.
3582 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3584 * doc/hildon-docs.sgml
3586 * examples/Makefile.am
3587 * examples/hildon-app-menu-example.c
3589 * src/hildon-app-menu-private.h
3590 * src/hildon-app-menu.c
3591 * src/hildon-app-menu.h
3593 New HildonAppMenu widget
3595 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3597 Rearranged the inheritance of the pannable area, now it inherits
3598 from GtkBin. This will allow us to control the event_window and
3599 the allocation process of the widget, required for some effects.
3601 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3602 GtkBin structures. * src/hildon-pannable-area.c: Added the
3603 event_window variable.
3604 (hildon_pannable_area_button_press_cb):
3605 (hildon_pannable_area_button_release_cb):
3606 (hildon_pannable_area_motion_notify_cb):
3607 Changed the signature of the method, now we override the event
3608 callback instead of connecting to the signal.
3610 (hildon_pannable_area_realize):
3611 (hildon_pannable_area_unrealize):
3612 (hildon_pannable_area_map):
3613 (hildon_pannable_area_unmap):
3614 (hildon_pannable_area_size_allocate):
3615 Added functions to control the widget construction. We add a
3616 INPUT_ONLY window and we put it over the widgets inside the
3617 container, this event_window handles the events.
3619 (hildon_pannable_area_class_init):
3620 Replaced the signal connections with overrides of the event
3623 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3625 Bouncing effect added when touching the borders, you can change
3626 the elasticity of the border changing the ELASTICITY define.
3628 * src/hildon-pannable-area.c: Added ELASTICITY define.
3629 (hildon_pannable_area_timeout): Added inverse velocity when
3630 touching the border of the child widget, that causes a bounce.
3632 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3634 Improved performance, we now do not go to the X server in order to
3635 get the list of window children. Apparently the effect is the
3636 same, we have to be careful and check if this breaks something in
3639 * src/hildon-pannable-area.c:
3640 (get_ordered_children): Removed this function.
3641 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3642 the children windows function with gdk_window_get_children.
3644 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3646 * src/hildon-pannable-area.c:
3647 (hildon_pannable_area_dispose): Fixed a crash when closing the
3648 window and kinetics is activated.
3650 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-pannable-area.h
3653 * src/hildon-pannable-area.c
3654 Changed indentation style to meet the one used in Hildon
3656 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3658 Reviewed the interaction of the AUTO mode, now we use the time
3659 attribute of the events and calculate the velocity in the motion,
3660 doing a gimp like calculation. The velocity is calculated in each
3661 motion event using the last velocity and the current one, the
3662 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3664 * src/hildon-pannable-area.c: Replaced the time based algorithm
3666 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3667 timeout for the AUTO mode when we are still moving the cursor. We
3668 added also the velocity calculation in this function.
3669 (hildon_pannable_area_button_release_cb): launch the timeout in
3670 case we are in AUTO mode. There are still some constants here that
3671 come from the old implementation that should be reviewed and
3674 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3676 * doc/hildon-docs.sgml
3679 * src/hildon-stackable-window.c
3680 * src/hildon-stackable-window.h
3682 New HildonStackableWindow widget
3684 * examples/hildon-dialog-example.c
3685 * examples/hildon-pannable-area-example.c
3688 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-dialog.c
3691 (hildon_dialog_new_with_buttons): New constructor.
3693 * examples/hildon-dialog-example.c
3694 (main): Update the example to use the new
3695 hildon_dialog_new_with_buttons().
3697 * examples/hildon-pannable-area-example.c
3698 (main): Update example.
3700 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3702 * doc/hildon-docs.sgml
3704 Added HildonPannableArea to the documentation.
3706 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3708 * doc/visual_index.xml
3709 Fix reference to HildonLoginDialog in documentation
3711 * doc/hildon-docs.sgml
3713 * examples/Makefile.am
3714 * examples/hildon-dialog-example.c
3716 * src/hildon-dialog.c
3717 * src/hildon-dialog.h
3719 New HildonDialog widget.
3721 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3723 * src/hildon-pannable-area.c
3724 Merge latest changes (r4318, r4342) from libmokoui trunk
3726 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3728 * examples/Makefile.am
3729 * examples/hildon-pannable-area-example.c
3731 * src/hildon-pannable-area.c
3732 * src/hildon-pannable-area.h
3734 New HildonPannableArea widget.
3736 2008-04-15 18:05:19 <timj@imendio.com>
3738 * src/hildon-banner.c: revert the recent change, that introduced
3739 gtk_window_present() calls. this reopens:
3740 Bug 78481 - [freetest] information banners are hidden under browser menu
3741 But resolves another variant of:
3742 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3744 2008-04-15 13:21:13 <timj@imendio.com>
3746 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3747 recreated its layout, spotted by Kris. this fixes all remaining
3748 artefacts and stability issues with the banner code. in particular:
3749 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3751 2008-04-14 16:52:59 <timj@imendio.com>
3753 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3754 operating on unrealized widgets, fixes:
3755 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3757 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3759 2008-04-09 Kristian Rietveld <kris@imendio.com>
3761 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3762 makes banner disappear.
3763 Fixes: NB#79182: info banner flickering with certain message lengts.
3765 * src/hildon-banner.c (hildon_banner_constructor),
3766 (hildon_banner_init), (hildon_banner_set_text),
3767 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3768 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3769 FALSE, reset size requests of label and banner,
3770 (force_to_wrap_truncated): when the text is too wide, always enforce
3771 the maximum possible width instead of recalculating it from the
3772 layout; enforce the maximum banner height of 3 lines,
3773 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3774 nicer wrapping and no truncated chars if space gets tight.
3776 * src/hildon-banner-private.h: add has_been_wrapped and
3777 has_been_truncated fields.
3779 2008-04-07 Sven Herzberg <sven@imendio.com>
3781 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3782 local values in hildon_date_editor_size_allocate
3784 * src/hildon-date-editor.c: moved the real allocation code into the
3787 2008-04-07 Sven Herzberg <sven@imendio.com>
3789 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3790 local values in hildon_date_editor_size_allocate
3792 * src/hildon-date-editor.c: merged the two if() branches together
3794 2008-04-07 Sven Herzberg <sven@imendio.com>
3796 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3797 local values in hildon_date_editor_size_allocate
3799 * src/hildon-date-editor.c: changed the arguments of the if()
3802 2008-04-07 Sven Herzberg <sven@imendio.com>
3804 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3805 local values in hildon_date_editor_size_allocate
3807 * src/hildon-date-editor.c: split the calculation of the allocation
3808 from the real allocation
3810 2008-03-27 Michael Natterer <mitch@imendio.com>
3812 Fixes: NB#81696: The passcode is not overwritten even after
3815 * src/hildon-code-dialog.c
3816 (hildon_code_dialog_button_clicked)
3817 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3818 because that doesn't overwrite selected text. Instead, emit the
3819 "commit" signal on the entry's im_context so the entry's normal
3820 insert logic is triggered. Set the cursor to the end of the entry
3821 after each insert operation so that we *only* insert in the middle
3822 of the text if something was selected.
3824 2008-03-27 Michael Natterer <mitch@imendio.com>
3826 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3827 selector cannot be opened
3829 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3830 when the popup color selector is created. Please connect to this
3831 signal in order to set the dialog's help ID.
3833 2008-03-25 Sven Herzberg <sven@imendio.com>
3835 Fixes: MB#1212: Hide info banners (infoprints) on click
3837 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3838 extracted the close event simulation into an extra function
3839 (hildon_banner_button_press_event): simulate a close event and destroy
3840 the widget if the event wasn't handled
3841 (hildon_banner_class_init): added the button_press_event handler
3842 (hildon_banner_init): added button-press events to the widget
3844 2008-03-25 Sven Herzberg <sven@imendio.com>
3846 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3847 Patch from: Mohammad Anwari <mdamt@maemo.org>
3849 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3850 instead of the right in RTL mode
3851 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3852 breadcrumb button list in RTL mode
3853 * src/hildon-caption.c: mirror the appearance of the caption widget in
3855 * src/hildon-date-editor.c: mirror appearance of the date editor in
3857 * src/hildon-time-editor.c: mirror appearance of the time editor in
3859 * src/hildon-window.c: fix the position of the popup in RTL mode
3861 2008-03-25 Sven Herzberg <sven@imendio.com>
3863 Amendment to the fix of NB#22072. Fix compilation.
3865 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3867 2008-03-19 Sven Herzberg <sven@imendio.com>
3869 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3872 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3873 timeout id properly when the timeout will disappear this leaves no
3874 artifacts around in the destroy(); there will only be the timeout
3875 created by hildon_banner_ensure_timeout() and adding a new timeout
3876 will also work if the timeout gets removed because the timeout_handler
3879 2008-03-19 Michael Natterer <mitch@imendio.com>
3881 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3883 * src/hildon-volumebar.c
3884 * src/hildon-vvolumebar.c
3885 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3886 the widget becomes focussable at all.
3888 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3889 set the focus to wither the mute button or the volumebar.
3891 Remove own "can-focus" property and instead listen to
3892 notify::can-focus in order to update the widget's state.
3894 Implement GtkWidget::focus() and make sure we can also *leave* the
3895 widget, not only enter it, depending on volumebar orientation and
3896 requested focus direction.
3898 Clean up set_mute() to cooperate nicely with all the above.
3900 2008-03-04 Michael Natterer <mitch@imendio.com>
3902 Fixes: NB#78481: information banners are hidden under browser menu
3904 * src/hildon-banner.c: call gtk_window_present() on the banners so
3905 they are risen if they are already visible.
3907 2008-03-03 Sven Herzberg <sven@imendio.com>
3909 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3911 * examples/hildon-window-menu-example.c: (main): extended the window
3912 menu example to serve as a testcase for automatically added
3913 accelerator groups, too
3914 * src/hildon-window.c: (hildon_window_add_accel_group),
3915 (hildon_window_set_menu): added patch by Tommi Komulainen
3917 2008-03-03 Sven Herzberg <sven@imendio.com>
3919 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3921 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3922 knowledge about the border allocators used within GTK+
3924 2008-02-26 Sven Herzberg <sven@imendio.com>
3926 Fixes: MB#2981: Build with asserts broken
3928 * src/hildon-date-editor.c,
3929 * src/hildon-number-editor.c,
3930 * src/hildon-time-editor.c,
3931 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3932 the proper GType instance check
3934 2008-02-25 Sven Herzberg <sven@imendio.com>
3936 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3938 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3939 * examples/hildon-window-menu-example.c: (main): explicitly show
3941 * src/hildon-window.c:
3942 (hildon_window_set_main_menu): moved most of the code from set_menu()
3943 to this place; skipped the call to gtk_widget_show_all(); also didn't
3944 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3945 (hildon_window_set_menu): removed most of the code, just keep the
3946 questionable gtk_widget_show_all()
3947 * src/hildon-window.h: added the new function and deprecate the old
3950 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3956 * debian/changelog: Updating.
3958 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3961 * pkgconfig/Makefile.am:
3962 * pkgconfig/hildon.pc.in:
3965 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3966 use newly created API_MAJOR_VERSION.
3968 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3974 * debian/changelog: Updating.
3976 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3978 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3980 Add outer_border style property, we use it but don't define it (!).
3984 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3986 * examples/hildon-bread-crumb-trail-example.c (main):
3990 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3992 Fix logic for the bread crumb trail node removal.
3996 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4002 * debian/changelog: Updating.
4004 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4006 Patch by Alejandro to get/set passwords dialogs accesibility.
4008 * hildon-1/src/hildon-get-password-dialog.c:
4009 * hildon-1/src/hildon-set-password-dialog.c:
4010 Set atk_set_name to the passwd entries in order to allow
4011 accessibility by name on this entries.
4013 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4018 * debian/control: Updating gtk dep.
4020 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4022 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4023 USE_MAEMO_GTK is enabled.
4025 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4027 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4028 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4030 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4036 * debian/changelog: Updating.
4038 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4040 * examples/Makefile.am:
4041 * examples/hildon-logical-color-example.c:
4042 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4043 applied + adding a test case. Fixes: NB#71660.
4045 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4047 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4048 to be visible, fixes warning on map for windows without toolbars.
4050 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4052 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4053 2.11.0, add a check for that besides the MAEMO_GTK check.
4055 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4061 * debian/changelog: Updating.
4063 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4066 visibility. Fixes: NB#70842 and MB#615.
4068 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4070 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4071 set the separator as no-show-all so it doesn't unintentionally appear when
4072 someone does a show_all.
4074 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4076 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4077 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4078 toplevel item. Fixes: NB#62031
4080 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4082 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4083 fix the name of the function in the docs.
4085 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4091 * debian/changelog: Updating.
4093 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * examples/hildon-banner-long-example.c: Adding a test-case for long
4098 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4100 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4102 * src/hildon-color-chooser-dialog.c:
4103 * src/hildon-color-chooser.c:
4104 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4105 memory leaks in font selector and color selector. Fixes: NB#70499 and
4108 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4110 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4112 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4114 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4115 little bit bigger. Fixes: #NB63694.
4117 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4123 * debian/changelog: Updating.
4125 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4128 * doc/hildon-docs.sgml:
4129 * doc/images/bread-crumb-trail.png:
4130 * doc/images/calendar-popup.png:
4131 * doc/images/caption.png:
4132 * doc/images/code-dialog.png:
4133 * doc/images/color-button.png:
4134 * doc/images/color-chooser-dialog.png:
4135 * doc/images/color-chooser.png:
4136 * doc/images/controlbar.png:
4137 * doc/images/date-editor.png:
4138 * doc/images/font-selection-dialog.png:
4139 * doc/images/get-password-dialog.png:
4140 * doc/images/hvolumebar.png:
4141 * doc/images/login-dialog.png:
4142 * doc/images/note.png:
4143 * doc/images/number-editor.png:
4144 * doc/images/range-editor.png:
4145 * doc/images/seekbar.png:
4146 * doc/images/set-password-dialog.png:
4147 * doc/images/sort-dialog.png:
4148 * doc/images/time-editor.png:
4149 * doc/images/time-picker.png:
4150 * doc/images/vvolumebar.png:
4151 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4152 Adding the bread-crumb-trial and helpers to the documentation.
4154 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4156 * examples/hildon-find-toolbar-example.c:
4157 * src/hildon-find-toolbar.c:
4158 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4159 actually continue firing the other handlers if connected. Adding a new
4161 hildon_find_toolbar_get_last_index that gets the index of the most
4162 recently added (last) item. Fixes: NB#52301.
4164 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4166 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4167 behaviour. Fixes: NB#68610.
4169 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4171 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4174 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4177 when realizing the banner. Should make the infonbanner effect a bit more
4180 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4182 * src/hildon-volumebar.c:
4183 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4184 hildon_volumebar_set_range_insensitive_message and
4185 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4187 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4189 * src/hildon-window.c: Fixing the border freeing on destroy.
4191 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * src/hildon-code-dialog-private.h:
4194 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4195 kw keyboard support in HildonCodeDialog.
4197 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4203 * debian/changelog: Updating.
4205 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4207 * src/hildon-date-editor.c:
4208 * src/hildon-number-editor.c:
4209 * src/hildon-private.c:
4210 * src/hildon-private.h:
4211 * src/hildon-time-editor.c:
4212 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4213 handling in subclassed composite widgets. Fixes: NB#66628.
4215 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4217 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4218 from destroy_ callback as it introduces problems in async dbus signal
4219 handlers. Fixes NB#66673.
4221 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4223 * examples/hildon-hvolumebar-example.c:
4224 * src/hildon-volumebar.c: Improving the focus handling in the
4225 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4226 set_property accessor so that "mute" property can be actually set. I'm
4227 scared that nobody noticed it's totally broken.
4229 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4234 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4236 * src/hildon-calendar.c:
4237 * src/hildon-number-editor.c:
4238 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4239 matches the spec of 6 chars per second. Fixes: NB#60489.
4241 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4243 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4244 gtk_style_lookup_color sometime returns FALSE even though color was
4245 found and values were filled properly. Weird. Removing the warning for the
4248 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4250 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4251 expand vertically. Adding some extra space to the find toolbar buttons to
4252 make them thumbable. Fixes NB#66060.
4254 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4256 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4257 popup with "Ok" and "Cancel". Fixes NB#59299.
4259 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4261 * src/hildon-calendar.c: Process all window updates before executing next
4262 timeout. Fixes: NB#54146.
4264 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * debian/changelog: Updating.
4272 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4274 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4275 the client event and ignore it, since we use the delete event to close
4278 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4280 * src/hildon-helper.c: Remove the bogus warning about color not being
4281 found. Fixes NB#58352.
4283 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4285 * examples/Makefile.am:
4286 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4287 HildonSeekbar widget inside a toolbar.
4289 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4291 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4292 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4293 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4294 don't want to be closed by non-temporary windows on map.
4296 Also use G_DEFINE_TYPE instead of manually typed code.
4298 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4305 * debian/rules: Updating.
4307 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4309 * examples/Makefile.am:
4310 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4311 bug NB#61128. Strangely it works.
4313 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4315 * src/hildon-date-editor.c: When the date editor entry has been changed
4316 but the numbers of characters < max, turn off the skip validation flag.
4317 Prevents a situation when we enter first a valid year and later re-write
4318 it with an invalid one. Fixes NB#60154.
4320 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4322 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4323 code dialog. Fixes NB#64355.
4325 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4327 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4328 switching the page. Fixes NB#49374.
4330 * examples/Makefile.am:
4331 * examples/hildon-wizard-dialog-example.c: Adding an example for
4332 HildonWizardDialog that shows how to handle manual sensitivity setting on
4335 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4339 * src/hildon-version.h.in:
4340 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4342 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4344 * src/hildon-volumebar.c: Updating the docs.
4346 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4352 * debian/changelog: Updating.
4354 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4356 * src/hildon-find-toolbar.c:
4357 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4358 selected item: hildon_find_toolbar_set_active,
4359 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4360 hildon_find_toolbar_get_active_iter . They correspond to respective
4361 GtkComboBox functions.
4363 * examples/Makefile.am:
4364 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4367 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4369 * examples/Makefile.am:
4370 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4373 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4374 when font size > 32 and we pack a focusable widget inside. Actually using
4375 the default response would work too, but since we don't show default
4376 response state in any way (no theming) it would not be visible to the
4377 user. Fixes NB#63430.
4379 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4381 * src/hildon-date-editor.c: Adding the missing variable setter in the
4382 set_property handler. Fixes NB#54182.
4384 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4386 * src/hildon-window.h: Changing the long key press time from 1500ms to
4387 800ms as requested in NB#63700. I have a bad feeling about this, let's
4388 see... Fixes NB#63700.
4390 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4392 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4393 hildon_time_picker_map, hildon_time_picker_realize,
4394 hildon_time_picker_style_set): Split the contents of map to more
4395 appropriate functions; set window decorations on realize and update
4396 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4398 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4403 * debian/changelog: Updating.
4405 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4407 * src/Makefile.am: fixed installation of the header files
4409 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4415 * debian/changelog: Updating.
4417 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4419 * configure.ac: Removing some remaining of --enable-xan.
4421 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4423 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4424 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4426 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4427 2.10.12-osso6 because the move-focus signal needs to be available in
4430 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4432 * examples/Makefile.am:
4433 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4434 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4435 fine. Prolly NB#61128 is fixed now.
4437 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4439 * src/hildon-volumebar.c:
4440 * src/hildon-volumebar.h: Adding the
4441 hildon_volumebar_set_range_insensitive_message and
4442 hildon_volumebar_set_range_insensitive_messagef functions to set
4443 insensitive message on the slider of the volumebar. Fixes NB#61129.
4445 * examples/Makefile.am:
4446 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4447 test the new insensitive messsage functionality on HildonVolumebar.
4449 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4451 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4454 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4456 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4457 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4458 button on after clearing the trail.
4460 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4462 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4464 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4466 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4467 by splitting the installed headers in generated and non-generated groups. Use
4468 only the non-generated headers to create the hildon-enum-types.h file.
4470 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4472 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4474 * src/hildon-window.c: Hide the window before performing the destroy.
4475 Should make the app closing a little tiny bit more snappy.
4477 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4479 * src/hildon-seekbar.c: add gtkrange.h header
4480 * src/hildon-caption.c: remove unused variable
4482 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4484 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4487 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4493 * debian/changelog: Updating.
4495 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4497 * src/hildon-window.c (hildon_window_window_state_event,
4498 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4499 escape timeout on focus-out-event rather than notify::is-topmost; the
4500 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4502 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4504 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4505 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4507 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4509 * src/hildon-window: actually, you need to use the macro always, there's
4510 no private pointer in the instance structure. We should have cleaned this up
4511 when we had the chance...
4513 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4515 * src/hildon-window.c: do not get the private date from HildonWindow before
4516 it passes the g_return_if_fail check. Once it's passed the test, there's no
4517 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4518 if you are only going to access the data once. Whitespace cleanups.
4520 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4522 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4523 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4525 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4531 * debian/changelog: Updating.
4533 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4535 * src/hildon-window.c: When destroying the window, remove (if exists) the
4536 escape timeout handler. Fixes #NB59276.
4538 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4540 * src/hildon-banner.c: When realizing the widget, set the window
4541 transiency. Setting the transiency in the gobject constructor is not
4542 good, as the widget is not realized at that point. Fixes: #NB56624.
4544 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4546 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4547 Add padding for future expansions.
4549 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4551 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4552 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4553 will fake an activation on the previous to the last item of the trail, so
4554 the effect can be overrided by the developer as usual.
4555 Also change the callback for the back button to do the same thing, so its
4556 effect can be overrided too. Fixes: NB#58982
4558 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4560 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4561 HildonCaption. Fixes NB#52379.
4563 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4565 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4566 the internal state of the trail after the user has had the chance of executing
4567 his handler for the signal. Specifically, it may happen that the activated button
4568 is removed and the user still lets the default handler run. This would segfault
4571 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4573 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4574 scrollbar to the preview dialog. Fixes NB#54147.
4576 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4578 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4579 max/min year properties can be altered, so the client can modify it
4580 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4582 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4584 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4585 hildonlike by default. Fixing a problem with disappearing arrows when
4586 scrolling through months and years. Fixes NB#54127.
4588 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4590 * examples/hildon-date-editor-example.c: Adding error callback to the date
4593 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4599 * configure.ac: Updating.
4601 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4603 * configure.ac: Adding a special '--enable-xan' configure option that
4604 turns off the -Werror compilation setting. Usefull for development.
4606 * src/hildon-calendar.c:
4607 * src/hildon-number-editor.c:
4608 * src/hildon-time-picker.c: Adding the 5* multiplier to
4611 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4613 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4614 instead of g_object_ref + gtk_object_sink.
4616 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4622 * debian/changelog: Updating.
4624 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4626 * src/hildon-color-chooser-dialog.c:
4627 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4628 straight from Tommi labs.
4630 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4632 * examples/hildon-finger-example.c: Correcting the header file path.
4634 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4635 the changed signal. Fixes a small memory leak.
4637 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4641 * src/hildon-banner.c: Importing several usefull fixes from the
4642 ubuntu-mobile branch.
4644 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4646 * examples/Makefile.am:
4647 * examples/hildon-finger-example.c: Adding a finger-checking code
4650 * src/hildon-font-selection-dialog.c: Do not allocate the color
4651 structure using the g_new. Fixes NB#54061.
4653 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4655 * src/hildon-helper.c: Correcting tabs in file.
4657 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4659 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4660 control the visibility of the children.
4662 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4664 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4670 * debian/changelog: Updating.
4672 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4674 * src/hildon-bread-crumb-trail.c:
4675 (hildon_bread_crumb_trail_size_allocate):
4677 Make the back button always a square.
4679 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4681 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4682 from the .c file as it's a private file.
4684 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4686 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4687 uses slightly bigger height.
4689 * src/hildon-font-selection-dialog.c: Adding some checks before
4690 freeing memory in the font selection dialog.
4692 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4694 * src/hildon-font-selection-dialog.c: Adding a small check when
4697 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4698 buttons sensitivity on page switching.
4700 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4702 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4703 internal details of adding a bread crumb to the trail.
4705 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4711 * debian/changelog: Updating.
4713 * src/hildon-bread-crumb-trail.h:
4714 * src/hildon-bread-crumb.h: Changing the API guard to
4715 HILDON_ENABLE_UNSTABLE_API.
4717 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4725 * src/hildon-helper.h: Updating.
4727 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4735 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4739 * src/hildon-helper.h: Small fix to make the package actually compile.
4741 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4743 * src/hildon-bread-crumb-trail.h:
4744 * src/hildon-bread-crumb.h:
4746 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4747 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4749 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4751 * examples/hildon-bread-crumb-trail-example.c:
4753 * src/hildon-bread-crumb-trail.c:
4754 * src/hildon-bread-crumb-trail.h:
4755 * src/hildon-bread-crumb.c:
4756 * src/hildon-bread-crumb.h:
4757 * src/hildon-marshalers.list:
4758 * src/hildon-bread-crumb-widget.c:
4759 * src/hildon-bread-crumb-widget.h:
4761 Slight change in the widget design. The bread crumb trail API is
4762 unchanged, but HildonBreadCrumb is now an interface. A *private*
4763 implementation, hildon-bread-crumb-widget, is provided and used
4764 internally by the trail for the push_text/push_icon functions.
4766 The generic push API is still available, so anyone can implement
4767 and use its own bread crumb widget.
4769 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4771 * debian/rules: Fixing the shlibs.
4773 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4775 * src/hildon-banner.c: Fixing a problem with timed banners having
4776 their parrent destroyed before they are.
4778 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4780 * src/hildon-bread-crumb.c:
4781 * src/hildon-bread-crumb.h:
4783 Make the get_natural_size function a vfunc.
4785 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4787 * src/hildon-bread-crumb.c:
4788 * src/hildon-bread-crumb-trail.c:
4792 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4799 * debian/changelog: Updating for release.
4801 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4803 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4804 don't leak the pango layout.
4806 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4809 * examples/hildon-bread-crumb-trail-example.c:
4813 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4815 * debian/changelog: Removing the bug-fixed entries that were actually
4816 resolved as WONTFIX.
4818 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4821 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4823 * src/hildon-bread-crumb-trail.c:
4824 * src/hildon-bread-crumb-trail.h:
4825 * src/hildon-bread-crumb.c:
4826 * src/hildon-bread-crumb.h:
4830 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4832 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4833 until it's passed the type check.
4835 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4837 * examples/hildon-bread-crumb-trail-example.c
4841 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4843 * examples/Makefile.am
4844 * examples/hildon-bread-crumb-trail-example.c
4846 * src/hildon-bread-crumb-trail.c
4847 * src/hildon-bread-crumb-trail.h
4848 * src/hildon-bread-crumb.c
4849 * src/hildon-bread-crumb.h
4851 New HildonBreadCrumbTrail widget.
4853 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4855 * src/hildon-range-editor.c (hildon_range_editor_init),
4856 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4857 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4858 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4859 hildon_time_editor_class_init, hildon_time_editor_init),
4860 src/hildon-get-password-dialog.c (invalid_input,
4861 hildon_get_password_set_property, hildon_get_password_get_property,
4862 create_contents, hildon_get_password_dialog_set_max_characters),
4863 src/hildon-set-password-dialog.c (create_contents),
4864 src/hildon-date-editor.c (hildon_date_editor_init),
4865 src/hildon-login-dialog.c (hildon_login_dialog_init),
4866 src/hildon-number-editor.c (hildon_number_editor_init),
4867 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4868 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4869 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4870 configure option and adding the respective checks in the code.
4871 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4872 hildon_calendar_drag_data_received): fixed some build warnings.
4874 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4876 * debian/changelog: A 1.0.0 release notes.