1 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4 Fix warning if all menu items are hidden.
6 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
8 Patch contributed by Daniel Borgmann (danielb@openismus.com)
10 * src/hildon-controlbar.c:
11 * src/hildon-hvolumebar.c:
12 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
13 Multiple scale size defines updates.
15 Fixes: NB#94322 (Scale Updates)
17 2008-12-02 Alberto Garcia <agarcia@igalia.com>
19 * examples/hildon-app-menu-example.c (create_menu)
20 Show items after adding them to the menu, as in the future the
21 menu will no longer call gtk_widget_show() on the added items.
23 * src/hildon-app-menu.c:
24 Update example as explained above.
26 2008-12-02 Alberto Garcia <agarcia@igalia.com>
28 * src/hildon-app-menu.c
29 (hildon_app_menu_insert, hildon_app_menu_add_filter):
30 Make sure that all menu items have finger height.
32 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
34 * src/hildon-picker-dialog.c:
35 (_on_dialog_response), (_save_current_selection),
36 (_restore_current_selection), (_clean_current_selection),
37 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
38 Defined new functions in order to save the current internal selector
39 selection previous open the dialog, in case that the use cancel the
40 interaction, so the widget restores the previous selection.
42 Fixes: NB#92032 (In calendar application, date values in 'new event'
45 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
47 2008-11-28 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-button.c: Add a reference to the button examples in
50 hildon-button-example.c
52 * examples/hildon-button-example.c: Added examples of the most
53 common button layouts.
55 2008-11-28 Alberto Garcia <agarcia@igalia.com>
57 * src/hildon-app-menu.c (hildon_app_menu_show)
58 (hildon_app_menu_class_init): Don't show the menu if it's empty.
60 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
62 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
64 * src/hildon-picker-dialog.c:
65 (hildon_picker_dialog_init): Initialize the signal id for
66 HildonTouchSelector::columns-changed.
67 (+on_selector_columns_changed): Set up the interaction mode everytime a
68 column is added or removed from the HildonTouchSelector.
69 (_hildon_picker_dialog_set_selector): Connect to
70 HildonTouchSelector::columns-changed and keep track of it.
72 Make sure to update the interaction mode of the dialog everytime a
73 column is added or removed in the HildonTouchSelector.
75 Fixes: NB#93228 (Done button is not shown always in listpicker)
77 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
79 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
80 a new ::columns-changed signal.
81 (hildon_touch_selector_append_column): Emit ::columns-changed.
82 (hildon_touch_selector_remove_column): Emit ::columns-changed.
84 Add a ::columns-changed signal, emitted when the number of columns in a
85 HildonTouchSelector changes.
87 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
89 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
90 (_hildon_picker_dialog_set_selector): Factor out the code
91 to set up the dialog interaction mode.
93 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
95 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
96 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
99 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
101 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
104 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
106 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
107 Updated the logical ids related to ampm format, as now it is required to
108 show it correctly localized even on languages with no default
109 abbreviations for am or pm
110 (_check_am_pm_format): check correctly the 24h format gconf property
112 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
114 2008-11-27 Alberto Garcia <agarcia@igalia.com>
116 * src/hildon-button.c: Documentation updates.
118 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
120 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
121 * src/hildon-caption.c: (hildon_caption_class_init):
122 * src/hildon-color-button.c: (hildon_color_button_class_init):
123 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
124 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
125 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
126 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
128 Remove deprecated GTK+ marshalers and replace them with the ones
129 provided by GLib, for those available, add a marshaler for
130 BOOLEAN:VOID, which is not available in GLib, and use it.
132 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
134 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
135 the text from the previous column if there is no
136 HildonTouchSelectorColumn::text-property set.
138 2008-11-27 Alberto Garcia <agarcia@igalia.com>
140 * src/hildon-button.h
141 * src/hildon-button.c (hildon_button_set_property)
142 (hildon_button_get_property, hildon_button_class_init)
143 (hildon_button_set_style, hildon_button_get_style):
144 New "style" property to change the visual appearance of the
147 * src/hildon-picker-button.c (hildon_picker_button_new):
148 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
150 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
151 HildonButton look like PickerButton)
153 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
155 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
156 column while building the default string.
158 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
161 scroll indicator by default.
163 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
165 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
167 * src/hildon-main.c: Fix the documentation for hildon_init()
169 2008-11-25 Alberto Garcia <agarcia@igalia.com>
171 * doc/hildon-docs.sgml
175 * src/hildon-window-stack-private.h
176 * src/hildon-window-stack.h
177 * src/hildon-window-stack.c:
178 New HildonWindowStack object, that adds support for multiple
179 stacks of windows per process.
181 * src/hildon-stackable-window-private.h
182 * src/hildon-stackable-window.h
183 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
184 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
185 (hildon_stackable_window_show, hildon_stackable_window_hide)
186 (hildon_stackable_window_class_init)
187 (hildon_stackable_window_init):
188 Use HildonWindowStack for stack management.
190 * src/hildon-program.c (hildon_program_pop_window_stack)
191 (hildon_program_peek_window_stack)
192 (hildon_program_go_to_root_window):
193 Add a fallback implementation to the deprecated functions using
196 * examples/hildon-stackable-window-example.c:
197 Use the new HildonWindowStack API.
199 2008-11-25 Alberto Garcia <agarcia@igalia.com>
201 * src/hildon-stackable-window-private.h
202 * src/hildon-stackable-window.c (hildon_stackable_window_show)
203 (hildon_stackable_window_hide, hildon_stackable_window_init):
204 Remove all window stack management.
206 * src/hildon-program-private.h
207 * src/hildon-program.h
208 * src/hildon-program.c (hildon_program_init)
209 (hildon_program_pop_window_stack)
210 (hildon_program_peek_window_stack)
211 (hildon_program_go_to_root_window):
212 Remove all window stack management and mark functions as
215 2008-11-25 Alberto Garcia <agarcia@igalia.com>
217 * src/hildon-app-menu.c (hildon_app_menu_realize):
218 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
220 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
222 * configure.ac: post release version bump
223 * debian/changelog: version bump
225 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
230 * configure.ac: bump version
231 * debian/changelog: updates
233 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
235 Based on initial code by Christian Dywan (christian@imendio.com)
237 * doc/hildon-docs.sgml: Add section for hildon-main.
238 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
239 * src/Makefile.am: Add new hildon-main.[ch]
240 * src/hildon-defines.h: Update the icon sizes.
241 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
242 new library initialization files and register icon sizes.
243 * src/hildon-main.h: New declarations.
244 * src/hildon.h: Include hildon-main.h
246 Add new initialization functions to the library. These methods
247 will register the hildon specific icon sizes and can be used in the
248 future for other hildon specific bits.
250 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
252 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
254 * src/hildon-window.c: (hildon_window_realize),
255 (hildon_window_notify), (-hildon_window_update_title): Do not set
256 the application name in the window title.
258 Fixes: NB#89754 (Applications shouldn't display their names in the
261 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
263 * src/hildon-note-private.h:
264 * src/hildon-note.c: (hildon_note_set_property),
265 (hildon_note_get_property), (hildon_note_class_init),
266 (hildon_note_init), (hildon_note_finalize),
267 (hildon_note_new_confirmation_with_icon_name),
268 (hildon_note_new_information_with_icon_name):
270 No need to mark as deprecated the actual code. Revert
271 to avoid missing symbols in widgets using deprecated API.
273 2008-11-20 Alberto Garcia <agarcia@igalia.com>
275 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
277 * src/hildon-volumebar.h
278 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
279 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
281 * src/hildon-helper.h
282 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
283 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
285 * examples/Makefile.am:
286 Deprecate hildon-insensitive-example
288 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
290 2008-11-20 Alberto Garcia <agarcia@igalia.com>
292 * examples/hildon-pannable-area-buttons-scroll-example.c:
293 Make all buttons finger height
295 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
297 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
299 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
300 update the day model only if it is really required, and to avoid the
301 full-reconstruction aproach. Now it only add or remove the required days.
303 The purpose of this is avoid superfluous HildonTouchSelector::changed
306 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
307 with strange parameters)
309 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
311 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
313 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
314 the WINDOW_TYPE property.
316 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
318 2008-11-19 Alberto Garcia <agarcia@igalia.com>
321 Fix dependency to allow parallel compilation with make -jX
323 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
325 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
326 color frame and some minor tweaks to make it more consistent with
329 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
330 highlighted but not visible)
332 2008-11-14 Alejandro G. Castro <alex@igalia.com>
334 * examples/Makefile.am: Fixed typo in the Makefile.am.
336 2008-11-14 Alejandro G. Castro <alex@igalia.com>
338 Reviewed the use of MAEMO_GTK define, now we add the define in the
339 compilation line, and we also add it to the pc file.
341 * configure.ac: Added MAEMO_GTK define to the compilation command
342 and removed it from the config.h.
344 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
345 do not have to take care about this define if the library was
349 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
351 2008-11-14 Alejandro G. Castro <alex@igalia.com>
353 * examples/Makefile.am,
354 * examples/hildon-pannable-area-buttons-scroll-example.c,
355 * examples/hildon-pannable-area-gesture-signals-example.c,
356 * examples/hildon-pannable-area-scroll-jump-example.c,
357 * examples/hildon-pannable-area-tree-view-example.c:
358 Renamed the pannable area examples, now they have more meaningful
361 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
363 * src/hildon-touch-selector.c:
364 (hildon_touch_selector_set_column_selection_mode): Used of
365 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
366 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
367 to avoid re-seting the same selection mode.
369 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
370 breaks HildonPickerDialog)
372 2008-11-13 Alejandro G. Castro <alex@igalia.com>
374 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
375 conditional in the Makefile.am
377 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
379 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
380 Remove unused methods.
382 2008-11-12 Alberto Garcia <agarcia@igalia.com>
384 * src/hildon-button.c (hildon_button_init):
385 Make button images center-aligned by default
387 2008-11-12 Alejandro G. Castro <alex@igalia.com>
390 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
391 activated, we have to think about how to deal with both defines
392 MAEMO_GTK and MAEMO_CHANGES.
394 2008-11-12 Alberto Garcia <agarcia@igalia.com>
396 * examples/hildon-app-menu-example.c (create_menu): Make all
399 2008-11-11 Alejandro G. Castro <alex@igalia.com>
401 Fixed the compilation without maemo gtk adding ifdefs with
402 MAEMO_GTK define to the code, we have to check this version more
405 * examples/Makefile.am: Added control to avoid some examples that
406 just make sense with maemo gtk.
409 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
410 hildon modes with the define.
412 * examples/hildon-edit-toolbar-example.c,
413 (create_icon_view): Create the icon view without hildon-gtk
414 helpers if we are not using maemo gtk.
416 * src/hildon-touch-selector.c,
417 (_create_new_column): Create the treeview without hildon-gtk
418 helpers if we are not using maemo gtk.
420 2008-11-11 Alejandro G. Castro <alex@igalia.com>
422 * src/hildon-pnnable-area.c,
423 (hildon_pannable_area_dispose),
424 (hildon_pannable_area_button_press_cb),
425 (hildon_pannable_area_child_mapped),
426 (hildon_pannable_area_add),
427 (hildon_pannable_area_remove): Added code to control the position
428 of the event_window when adding and removing children from the
429 pannable. We have to raise the event window when the child is
432 Fixes: NB#89811 (Not able to select first image thumbnail in multi
433 selection mode using custom widget inside pannable)
435 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
437 * configure.ac: post release version bump
438 * debian/changelog: version bump
440 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
445 * configure.ac: bump version
446 * debian/changelog: updates
448 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
450 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
451 search mode, in order to avoid lose the focus on the treeview when
452 a hw key (like enter) is pressed.
454 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
455 in HildonDateSelector dialog)
457 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
459 * debian/rules: Added --enable-maintainer-mode
460 * Makefile.am: Added ACLOCAL_AMFLAGS
462 This allows to properly regenerate the Makefiles if you modify the
463 configure.ac or any Makefile.am.
465 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
467 * examples/hildon-app-menu-example.c: (main): Do not set RC style
468 properties, not needed at all.
470 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-note-private.h: Add strings for the icon and stock_icon
474 * src/hildon-note.c: (hildon_note_set_property),
475 (hildon_note_get_property), (hildon_note_class_init),
476 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
477 (hildon_note_new_confirmation_add_buttons): Remove icons.
478 (hildon_note_new_confirmation_with_icon_name): Deprecate.
479 (hildon_note_new_information_with_icon_name): Deprecate.
480 (hildon_note_new_confirmation): Act directly, without calling
481 the deprecated constructor.
482 (hildon_note_new_information): Act directly, without calling
483 the deprecated constructor.
484 * src/hildon-note.h: Mark deprecate methods as such.
485 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
486 not run tests on the deprecated methods if built with deprecation
489 Fixes: NB#91688 (Never show icons in information notes/confirmation
492 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
494 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
495 (hildon_app_menu_key_press): Remove leftover usage of the
496 private structure in HildonAppMenu struct.
497 * src/hildon-app-menu.h: Remove leftover private structure
498 from the HildonAppMenu struct.
500 Fixes a crasher when using the HildonAppMenu.
502 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
504 * src/hildon-picker-dialog.c: Use appropriate logical id
505 for the default "Done" text.
507 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
509 * configure.ac: post release version bump
510 * debian/changelog: version bump
512 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
514 Modified the way to scroll to the current selection just when the touch
515 selector is shown on the screen, avoiding a g_idle. Added too a property
516 to configure this behaviour. See hildon_pannable_area_jump_to_child
517 documentation for more information.
519 * src/hildon-touch-selector.c
520 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
521 Added 'initial-scroll' property
522 (hildon_touch_selector_set_property): Added
523 (hildon_touch_selector_map): Removed as not required anymore
524 (_hildon_touch_selector_on_selected_items): Modified in order to manage
525 only a concrete column, instead of iterate along all the columns
527 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: bump version
533 * debian/changelog: updates
535 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
537 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
538 compilation time warnings.
540 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
542 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
543 the default value for HildonPannableArea::mov-mode to
544 HILDON_PANNABLE_AREA_MODE_VERT.
546 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
548 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
550 Reverting following commit:
552 2008-10-13 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-app-menu-private.h
555 * src/hildon-app-menu.[ch]
556 * src/hildon-button.[ch]
557 * src/hildon-check-button.[ch]
558 * src/hildon-entry.[ch]
559 * src/hildon-pannable-area.[ch]
560 * src/hildon-text-view.[ch]:
561 Added private field to the object's structure.
563 because it causes an ABI breakage. We will need to introduce these
564 changes later at some point. See NB#91636 for an extensive
565 explanation and status.
567 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
569 Patch contributed by Daniel Borgmann (danielb@openismus.com)
571 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
572 remove special cases that are no longer necessary.
574 Fixes: NB#91016 (Change toolbar sizes, simplification)
576 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
578 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
579 is shown in the cancel note.
581 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
583 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
584 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
585 (hildon_seekbar_init): Remove steppers, remove expose event.
586 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
588 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
590 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
592 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
593 label font to "SmallSystemFont" for vertically arranged buttons.
595 Fixes: NB#90662 (HildonButton "value" and "detail" text is
598 2008-10-31 Alberto Garcia <agarcia@igalia.com>
600 * src/hildon-check-button.c
601 (hildon_check_button_set_active, hildon_check_button_clicked):
602 Don't access private parts directly, use getters instead.
604 2008-10-31 Alberto Garcia <agarcia@igalia.com>
606 * src/hildon-check-button.c (hildon_check_button_new):
607 Align the contents of the check button to the left.
609 2008-10-30 Alejandro G. Castro <alex@igalia.com>
611 * src/hildon-pannable-area.c,
612 (hildon_pannable_area_scroll_to),
613 (hildon_pannable_area_jump_to),
614 (hildon_pannable_area_scroll_to_child),
615 (hildon_pannable_area_jump_to_child): Replace the mapped
616 precondition of these functions with the realized, it is the
617 correct state of the widget in this case. Changed the
618 documentation according to this modification.
620 2008-10-30 Alejandro G. Castro <alex@igalia.com>
622 Added a new EXTRA_CFLAGS option to add the deprecated define to
623 the compilation command. This way we can avoid using the define in
624 the documentation compilation.
626 * configure.ac: Defined EXTRA_CFLAGS.
628 * examples/Makefile.am:
630 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
632 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
634 * src/hildon-picker-dialog.c:
635 Defined a utility macro with the desired touch selector height
636 Removed currently unused separator, and title_label variables from
638 (hildon_picker_dialog_init): Removed code related to the creation
639 of unused private variables title_label and separator.
640 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
641 to ensure correct visualization of the touch selector inside the dialog.
642 * src/hildon-touch-selector.c
643 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
644 ensure a concrete height of the widget.
646 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
651 Remove spurious whitespaces.
653 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
655 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
656 compilation warning after the cancel button removal.
658 2008-10-30 Alejandro G. Castro <alex@igalia.com>
660 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
662 * configure.ac: Added an AM_CONDITIONAL in order to use in the
663 Makefile.am, that way we can choose not to compile some examples
664 and tests of the deprecated widgets.
666 * examples/Makefile.am: Divided the sources in deprecated and
669 * src/Makefile.am: Added undef statement of the deprecated
670 symbol to the enums file generation process.
672 * src/hildon-color-chooser-dialog.c
673 * src/hildon-color-chooser-dialog.h
674 * src/hildon-color-button.c
675 * src/hildon-color-button.h
676 * src/hildon-color-chooser.c
677 * src/hildon-color-chooser.h
678 * src/hildon-controlbar.c
679 * src/hildon-controlbar.h
680 * src/hildon-date-editor.c
681 * src/hildon-date-editor.h
682 * src/hildon-hvolumebar.c
683 * src/hildon-hvolumebar.h
684 * src/hildon-private.c
685 * src/hildon-private.h
686 * src/hildon-range-editor.c
687 * src/hildon-range-editor.h
688 * src/hildon-seekbar.c
689 * src/hildon-seekbar.h
690 * src/hildon-time-editor.c
691 * src/hildon-time-editor.h
692 * src/hildon-time-picker.c
693 * src/hildon-time-picker.h
694 * src/hildon-volumebar.c
695 * src/hildon-volumebar.h
696 * src/hildon-vvolumebar.c
697 * src/hildon-vvolumebar.h
698 * src/hildon-bread-crumb-trail.h
699 * src/hildon-bread-crumb-trail.c
700 * src/hildon-calendar-popup.c
701 * src/hildon-calendar-popup.h
702 * src/hildon-weekday-picker.c:
703 * src/hildon-weekday-picker.h:
704 * src/hildon-bread-crumb-widget.c:
705 * src/hildon-bread-crumb-widget.h:
706 * src/hildon-bread-crumb.c:
707 * src/hildon-bread-crumb.h:
708 * src/hildon-calendar.c:
709 * src/hildon-calendar.h:
710 * src/hildon-caption.c:
711 * src/hildon-code-dialog.c:
712 * src/hildon-code-dialog.h:
713 * src/hildon-font-selection-dialog.c:
714 * src/hildon-font-selection-dialog.h:
715 * src/hildon-get-password-dialog.c:
716 * src/hildon-get-password-dialog.h:
717 * src/hildon-login-dialog.c:
718 * src/hildon-login-dialog.h:
719 * src/hildon-number-editor.c:
720 * src/hildon-number-editor.h:
721 * src/hildon-set-password-dialog.c:
722 * src/hildon-set-password-dialog.h:
723 * src/hildon-sort-dialog.c:
724 * src/hildon-sort-dialog.h: This is the list of deprecated
727 * src/hildon-touch-selector.c:
728 * src/hildon-window.c: Added undef statement to avoid compilation
731 * tests/Makefile.am: Divided the sources in deprecated and
734 * tests/check_test.c,
735 (configure_tests): Marked the deprecated code that was adding
736 suites with deprecated tests.
738 Fixes: NB#91135 (Deprecate legacy hildon widgets)
740 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
742 * src/hildon-touch-selector.c: (_default_print_func): Do not
743 duplicate a string returned by gtk_tree_model_get(), it is already
746 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
749 2008-10-28 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c
752 (hildon_pannable_area_add_with_viewport): Reviewed the complete
753 method, it had problems when adding a widget with viewport the
754 second time. Now checks if it already has a viewport and uses it.
756 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
759 2008-10-28 Alejandro G. Castro <alex@igalia.com>
761 * src/hildon-pannable-area.c,
762 (hildon_pannable_area_scroll_to),
763 (hildon_pannable_area_jump_to),
764 (hildon_pannable_area_scroll_to_child),
765 (hildon_pannable_area_jump_to_child): Added a precondition to the
766 scroll and jump to functions: the widget must be mapped before we
767 can safely call these functions. We have also added documentation
768 to the functions to explain how to use them in this situation.
771 2008-10-28 Alejandro G. Castro <alex@igalia.com>
773 Reviewed the threading handling of the pannable widget, we have
774 used the gdk_threads_add_timeout function instead of the usual
775 glib handlers. This avoids some problems with the threads.
777 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
778 (hildon_pannable_area_initial_effect),
779 (hildon_pannable_area_scroll_indicator_fade),
780 (hildon_pannable_area_button_press_cb),
781 (hildon_pannable_area_timeout),
782 (hildon_pannable_area_motion_notify_cb),
783 (hildon_pannable_area_button_release_cb),
784 (hildon_pannable_area_scroll_cb),
785 (hildon_pannable_area_scroll_to): Removed the
786 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
787 gdk_threads_add_timeout.
789 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
791 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
796 * configure.ac: bump version
797 * debian/changelog: updates
799 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
801 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
802 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
803 * src/hildon-color-chooser-dialog.c:
804 (hildon_color_chooser_dialog_init):
805 * src/hildon-font-selection-dialog.c:
806 (hildon_font_selection_dialog_init):
807 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
809 Remove all cancel/close-like dialogs, as these are not going to be
812 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
814 * src/hildon-note.c: (hildon_note_rebuild),
815 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
818 Fixes: NB#90661 (Delete dialog is displayed without NO button)
820 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
822 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
823 sure all buttons are shown, even the Cancel/Close-like ones.
825 Fixes: NB#90861 (Custom Confirmation dialogs should be
826 protected from cancel button removal)
828 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
830 * debian/control: Change libhildon1-examples dependency from libhildon1
832 * debian/libhildon1-examples.install
834 * Makefile.am: Modified the final install directory for the examples on
835 package libhildon1-examples
836 * Makefile.static: Update clean target in order to remove all the binary
839 Changes suggested by Claudio after review new libhildon1-examples package
841 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
844 * src/hildon-touch-selector.c: Ditto.
846 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
848 * debian/control: Added new package libhildon1-examples, in order to pack
849 the current hildon examples as documentation
850 * debian/rules: Not to compress .c files, modify some includes on the
851 examples (as normally are compiled locally, but when installed it will
852 require to include the installed libhildon1 library), and rename
854 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
855 install all the example files on the new example package
856 * examples/Makefile.static: Added static makefile that can be used to
857 compile the examples, once installed the new example package
858 * examples: Most of the examples were modified in order to grant that
859 all use only '#include "hildon.h"', in order to be easy to prepare
860 it on the example package
862 2008-10-23 Alberto Garcia <agarcia@igalia.com>
865 * debian/libhildon1-dev.install
866 * debian/libhildon1-doc.install:
867 Move all gtk-doc files to a separate libhildon1-doc package.
869 2008-10-23 Daniel Borgmann <danielb@openismus.com>
871 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
873 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
875 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
877 * debian/rules: Fixed a error in order to avoid unnecessary calls
878 to autogen.sh on package building
880 2008-10-22 Alberto Garcia <agarcia@igalia.com>
882 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
884 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
886 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
889 2008-10-21 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-picker-button.c
892 (hildon_picker_button_finalize):
893 Free priv->done_button_text
895 * src/hildon-time-button.c
896 (hildon_time_button_set_time)
897 * src/hildon-picker-button.c
898 (hildon_picker_button_clicked)
899 (hildon_picker_button_selector_selection_changed)
900 (hildon_picker_button_set_selector)
901 * src/hildon-date-button.c
902 (hildon_date_button_set_date):
903 Free strings returned by hildon_touch_selector_get_current_text()
905 * src/hildon-button.c (hildon_button_construct_child):
906 Fix leaks in priv->image and priv->label_box
908 Fixes: NB#90535 (Memory leak in picker button)
910 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-button.c: (hildon_button_get_property): Do not access
913 private elements directly, use getters instead.
915 2008-10-20 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-app-menu-private.h
918 * src/hildon-app-menu.c
919 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
920 Store the menu's parent window.
922 * src/hildon-stackable-window.c
923 (hildon_stackable_window_toggle_menu)
924 (hildon_stackable_window_finalize):
925 Set the menu's parent window when the menu is shown, unset it when
928 * src/hildon-app-menu.c
929 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
930 (hildon_app_menu_class_init):
931 Send unhandled keyboard accelerators to the parent window.
933 2008-10-20 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-stackable-window.c
936 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
938 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
940 * configure.ac: post release version bump
942 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
945 * configure.ac: Bump version
946 * debian/changelog: Updates
947 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
950 2008-10-20 Alberto Garcia <agarcia@igalia.com>
952 Patch contributed by Daniel Borgmann (danielb@openismus.com)
955 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
956 GtkMenu with Hildon style.
958 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
960 * src/hildon-picker-button.c:
961 (hildon_picker_button_set_done_button_text): Set the dialog's
962 done button text here as well.
964 Fixes: NB#90232 (Picker button does not set the label on done button
967 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
972 2008-10-16 Alberto Garcia <agarcia@igalia.com>
974 * src/hildon-app-menu.c (hildon_app_menu_insert)
975 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
976 the HildonAppMenu to be activatable using keyboard accelerators
977 when the menu is not being shown.
979 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
981 2008-10-16 Alberto Garcia <agarcia@igalia.com>
983 * src/hildon-stackable-window.c
984 (hildon_stackable_window_show):
985 Don't hide old windows automatically when new windows are shown:
986 this is now a task for the window manager.
987 (hildon_stackable_window_class_init)
988 (hildon_stackable_window_hide):
989 Remove windows from the stack everytime they're hidden.
990 (hildon_stackable_window_realize):
991 Don't change the _NET_WM_WINDOW_TYPE property. Use
992 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
993 it as a stackable window.
995 * src/hildon-program.c
996 (hildon_program_pop_window_stack):
997 Just hide the window to remove it from the stack.
998 (hildon_program_go_to_root_window):
999 Don't call gtk_widget_show(), this is now a task for the window
1002 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
1004 2008-10-15 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-button.c
1007 (hildon_button_construct_child):
1008 Don't pack anything in the button until text or image are
1009 set. This allows adding a custom child after creating the button
1010 with hildon_button_new().
1011 (hildon_button_finalize, hildon_button_class_init)
1012 (hildon_button_init, hildon_button_set_arrangement): Destroy the
1013 alignment and the label box even when they're not packed in the
1016 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1018 * src/hildon-touch-selector.h:
1019 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1020 currently the type definition was using GTK_TYPE_VBOX
1021 * src/hildon-touch-selector.c:
1022 Added some implementation notes in order to clarify that any other widget
1023 added without the column related API will not be included on the
1024 selection logic, and how the widget is freed, as some people ask about
1026 (hildon_touch_selector_remove): Reimplemented in order to free properly
1027 the column related data when you remove the private hbox.
1028 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1029 to get a proper HildonTouchSelectorColumn documentation
1031 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-touch-selector-entry.c:
1034 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1035 text in the GtkEntry and there is no item selected. Fixes a
1038 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-app-menu-private.h
1041 * src/hildon-app-menu.[ch]
1042 * src/hildon-button.[ch]
1043 * src/hildon-check-button.[ch]
1044 * src/hildon-entry.[ch]
1045 * src/hildon-pannable-area.[ch]
1046 * src/hildon-text-view.[ch]:
1047 Added private field to the object's structure.
1049 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1051 * configure.ac: post-release version bump
1053 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1057 * configure.ac: pre-release version bump
1059 * debian/changelog: updates.
1061 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1064 Disconnect the handler for HildonTouchSelector::changed.
1066 (hildon_picker_button_selector_selection_changed): Update the button
1067 value if the selection change was not triggered by the
1070 (hildon_picker_button_set_selector): connect to
1071 HildonTouchSelector::changed.
1073 Fixes: NB#89650 (Picker button is not updated, when selection in
1074 selector has changed)
1076 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1078 * src/hildon-picker-dialog.c
1079 (hildon_picker_dialog_realize): Removed as not required
1080 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1081 * src/hildon-picker-button.c
1082 (_current_selector_empty): New function, checks if the selector is empty
1083 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1084 if the current selector is empty, in order to avoid to show the dialog
1085 close the dialog in this case (and shows a g_warning).
1087 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1089 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_scroll): Added clause to stop movement when
1093 the child of pannable is smaller than one page.
1094 (hildon_pannable_area_scroll_to): Added conditions to avoid
1095 starting the scrolling movement if the child is smaller than one
1096 page, the complete child is in the screen, we do not have to move.
1098 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1100 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1103 this is managed automatically by the widget when the size of the
1106 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-picker-button.c
1109 (hildon_picker_button_set_done_button_text): Make a copy of the
1110 text, and free the previous value.
1112 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1114 * src/hildon-touch-selector-entry.c:
1115 (hildon_touch_selector_entry_print_func): Return the selected row's
1116 text if the entry is empty.
1118 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1121 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1123 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1125 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-check-button.h
1129 * src/hildon-check-button.c
1130 * examples/hildon-check-button-example.c:
1131 HildonCheckButton is now a new widget. 'toggled' signal added.
1133 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-program-private.h
1136 * src/hildon-program.c (hildon_program_init)
1137 (hildon_program_finalize): Removed unused variables group_leader
1138 and name from HildonProgramPrivate.
1140 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-check-button.c (hildon_check_button_set_active)
1143 (hildon_check_button_get_active, hildon_check_button_new): Use
1144 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1146 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1148 * src/hildon-touch-selector.h
1149 (hildon_touch_selector_set_column_attributes): added deprecation
1150 guard HILDON_DISABLE_DEPRECATED
1151 * src/hildon-time-selector.c
1152 (hildon_time_selector_set_time)
1153 (hildon_time_selector_get_time): Fixed a typo on documentation
1154 * src/hildon-touch-selector.c: update HildonTouchSelector and
1155 HildonTouchSelectorColumn documentation
1156 * src/hildon-touch-selector-entry.c: update "text-column" property
1158 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1159 to be added to the general documentation.
1161 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1163 * examples/hildon-pannable-area-example-4.c,
1165 * examples/hildon-pannable-area-example.c,
1166 (main): Modified the code in order to use the container add, with
1167 viewport treeviews could have problems if they are really big.
1169 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1171 * src/hildon-weekday-picker.c,
1172 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1173 the agreement regarding deprecation in the library.
1175 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1177 * examples/hildon-picker-button-multicolumn-example.c:
1178 (main): Use custom "done" button text.
1180 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1181 (hildon_picker_button_set_property),
1182 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1183 (hildon_picker_button_init),
1184 (+hildon_picker_button_get_done_button_text),
1185 (+hildon_picker_button_set_done_button_text): New methods to customize
1186 the "done" button label in the launched HildonPickerDialog. Also,
1189 * src/hildon-picker-button.h: add the public API.
1191 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1193 * src/hildon-date-selector.h:
1194 * src/hildon-picker-dialog.h:
1195 * src/hildon-time-selector.h:
1196 * src/hildon-touch-selector-column.h:
1197 * src/hildon-touch-selector.h:
1199 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1200 declarations. Fixes gtk-doc warnings.
1202 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-picker-dialog.h
1205 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1206 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1208 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1209 long text is set as label for done button)
1211 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-dialog.c (hildon_dialog_add_button):
1214 Set fixed width to all buttons in the HildonDialog.
1216 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1218 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1220 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1221 Set widget name using class name plus "-finger" or "-thumb".
1223 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1226 'clicked' when the state of the button is manually changed.
1228 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-app-menu.c (hildon_app_menu_realize)
1231 (hildon_app_menu_unrealize, hildon_app_menu_init)
1232 (hildon_app_menu_class_init, item_visibility_changed):
1233 Change the menu layout when the size of the screen changes.
1234 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1235 Show warning only when changing the number of colums using the
1238 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1240 * debian/compat: Set to 5
1241 * debian/control: Update dependencies.
1242 * debian/libhildon1-dbg.install: Remove.
1243 * debian/libhildon1-dev.install: Update according to cdbs paths.
1244 * debian/libhildon1.install: Update according to cdbs paths.
1245 * debian/rules: Switch to cdbs.
1247 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1250 'item' variable renamed to 'filter'
1252 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-app-menu.c (hildon_app_menu_insert)
1255 (hildon_app_menu_add_filter, remove_item_from_list)
1256 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1257 Don't leak hidden items when the menu is destroyed.
1259 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-app-menu.c (hildon_app_menu_insert)
1262 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1263 (hildon_app_menu_set_columns, item_visibility_changed)
1264 (filter_visibility_changed, hildon_app_menu_repack_filters)
1265 (hildon_app_menu_repack_items):
1266 Repack items and filters separately.
1268 Don't repack all items, change only the ones that are needed to
1271 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1273 * src/Makefile.am: added hildon-touch-selector-column.h
1275 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * src/hildon-touch-selector.c: added the property "text-column" to the
1278 class HildonTouchSelectorColumn, and related get/set functions
1279 (_default_printf_func): updated to use "text-column" property
1280 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1281 "text-column" in his documentation, as this is now included on
1282 HildonTouchSelectorColumn. The get/set_property can still be used,
1283 working as a wrapper to the concrete column "text-column" property
1284 (_text_column_modified): callback added in order to handle the signal
1285 "notify::text-column" of the concrete HildonTouchSelectorColumn
1286 (hildon_touch_selector_entry_get_text_column)
1287 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1288 modified in order to use the HildonTouchSelectorColumn "text-column"
1290 * src/hildon-time-selector.c:
1291 * src/hildon-date-selector.c:
1292 * examples/hildon-touch-selector-example.c
1293 * examples/hildon-touch-selector-multi-cells-example.c
1294 * examples/hildon-picker-button-multicolumn-example.c
1295 Set the right value to "text-column" property on the creation of a new
1296 column using hildon_touch_selector_append_column()
1298 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1300 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1302 * src/hildon-app-menu.c
1303 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1304 updating the layout of the menu, don't create all widgets again,
1305 just repack the items in their new places.
1307 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1309 * src/hildon-time-selector.c
1310 (hildon_time_selector_get_time)
1311 (hildon_time_selector_set_time)
1312 Added documentation of these public methods
1314 * src/hildon-date-button.h
1315 * src/hildon-touch-selector-column.h
1316 * src/hildon-time-button.h
1317 * src/hildon-picker-dialog.h
1318 * src/hildon-time-selector.h
1319 * src/hildon-picker-button.h
1320 * src/hildon-touch-selector.h
1321 * src/hildon-time-picker.h
1322 * src/hildon-date-selector.h
1323 * src/hildon-touch-selector-entry.h
1324 Modified in order to use hildon-widgets code style
1326 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1328 Added deprecated support to the compilation process using
1329 HILDON_DISABLE_DEPRECATED
1331 * configure.ac: Added the --disable-deprecated to the configure
1334 * src/hildon-weekday-picker.c:
1335 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1336 to use the deprecated support. We will update the other deprecated
1337 widgets status in a new patch.
1339 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1341 * configure.ac: Fixed typo with fatal warnings support, the
1342 variable name was not correct
1344 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-app-menu.c
1347 * src/hildon-program.c: Update documentation.
1349 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1351 * configure.ac: Post-release version bump.
1353 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1358 * configure.ac: Pre-release version bump.
1359 * debian/changelog: Updates.
1361 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1363 * NEWS: Update news for previous releases.
1365 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1367 * examples/hildon-touch-selector-multi-cells-example.c:
1368 (create_selector): Update the example to use
1369 hildon_touch_selector_append_column() with a NULL renderer and set
1370 the renderers later.
1371 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1372 passed a NULL renderer. This is documented behavior now.
1374 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1375 This must be used if the developer wants full control on the layout of
1376 the renderers to be added to the column.
1378 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1380 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/hildon-touch-selector.c: Documentation fixes.
1384 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-wizard-dialog-private.h: Remove image and box.
1387 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1388 (hildon_wizard_dialog_set_property), (response): Completely remove
1389 image/icon support, and the containers required for the layout.
1391 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1393 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-app-menu.c: Updated documentation.
1397 * src/hildon-stackable-window.c
1398 (hildon_stackable_window_set_main_menu): Unref the old menu after
1399 ref'ing the new one.
1401 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1403 * src/hildon-stackable-window.c
1404 (hildon_stackable_window_set_main_menu): Unref the previous menu
1405 instead of destroying it.
1407 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1408 floating reference and set has_user_ref_count to FALSE to make
1409 HildonAppMenu act like a normal ref-counted widget and not a
1412 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1415 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1417 * src/hildon-touch-selector-column.h: new file
1418 * src/hildon-touch-selector.h
1419 * src/hildon-touch-selector.c
1420 Implemented GtkCellLayout interface, in order to allow to configure
1421 the cell layout on each individual selector column
1422 (hildon_touch_selector_set_column_attributes): marked as deprecated
1423 * examples/hildon-touch-selector-multi-cells-example.c
1424 Example of how to use the GtkCellLayout interface on the selector
1426 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1428 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-app-menu.h
1431 * src/hildon-app-menu.c
1432 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1433 (hildon_app_menu_append, hildon_app_menu_prepend):
1434 New methods to prepend, insert and move items in the menu.
1436 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1438 * src/hildon-wizard-dialog.c:
1440 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1442 (create_title): Update logical IDs and related code.
1443 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1445 * src/hildon-wizard-dialog.h: Note that
1446 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1447 point, as it is not used anymore.
1449 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1451 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-note.c:
1454 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1455 shown. Do not display an icon in confirmation notes nor information
1457 (hildon_note_set_button_text): Update logical ID for cancel button.
1459 Fixes: NB#88850 (Update HildonNote button strings + signals)
1461 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-stackable-window.c
1464 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1466 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-app-menu-private.h
1469 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1470 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1471 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1472 temporary property 'columns' to change the number of columns.
1474 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1476 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1478 * examples/hildon-note-example.c: (on_information_clicked),
1479 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1480 debugging information.
1481 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1483 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1484 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1485 in order to close: this will be handled by the WM from now on.
1487 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1489 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-app-menu-private.h
1492 * src/hildon-app-menu.c
1493 (hildon_app_menu_append, hildon_app_menu_add_filter)
1494 (button_visibility_changed, hildon_app_menu_apply_style)
1495 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1496 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1497 layout everytime a button (item or filter) is shown or hidden.
1499 * src/hildon-stackable-window.c
1500 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1503 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1505 * src/hildon-touch-selector.c:
1506 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1507 that the treeview inside the touch selector is in fremantle hildon mode
1508 * examples/hildon-date-button-example.c
1509 * examples/hildon-picker-button-multicolumn-example.c
1510 * examples/hildon-touch-selector-entry-example.c
1511 * examples/hildon-touch-selector-example.c
1512 * examples/hildon-time-button-example.c
1513 * examples/hildon-picker-button-example.c:
1514 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1516 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1518 * examples/hildon-text-view-example.c: (main): Remove the
1519 gtkrc bits, now handled by the theme.
1521 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1526 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1528 * po/Makefile.am: Install properly the mo files.
1529 * po/en_GB.po: Update translation, to ease testing purposes.
1531 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1533 * examples/hildon-picker-button-example.c: (main): Select an item
1534 in the selector before setting it to the button.
1536 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1538 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1539 Update button's value if the selector has an item active.
1541 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1542 'value' with the selector)
1544 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1547 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1548 (hildon_picker_button_class_init): Plug the finalize method.
1549 (hildon_picker_button_set_selector): If there's a previously set
1550 selector, unref'it before setting a new one.
1552 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1553 HildonTouchSelector)
1555 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-touch-selector-entry.c:
1558 (hildon_touch_selector_entry_changed): Check if there is no text
1559 selected before setting the entry text.
1562 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1564 * src/hildon-touch-selector.h
1565 * src/hildon-touch-selector.c
1566 (hildon_touch_selector_get_active)
1567 (hildon_touch_selector_set_active): New methods to set/get the
1568 index of the selected item.
1570 * src/hildon-picker-button.h
1571 * src/hildon-picker-button.c
1572 (hildon_picker_button_get_active)
1573 (hildon_picker_button_set_active): New methods to set/get the
1574 index of the selected item.
1576 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1578 * configure.ac: post-release version bump.
1580 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Pre-release version bump.
1585 * debian/changelog: Updates.
1586 * debian/control: Add myself as maintainer and depend on l10n
1589 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-window.c
1592 (hildon_window_set_main_menu)
1593 * src/hildon-stackable-window.c
1594 (hildon_stackable_window_set_main_menu):
1595 Updated documentation.
1597 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1600 Don't free selector->priv manually.
1603 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1606 (hildon_gtk_window_set_progress_indicator):
1607 * src/hildon-gtk.h: Added the new API
1608 hildon_gtk_window_set_progress_indicator, it changes the state of
1609 the window progress hint.
1611 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-button.c
1614 * src/hildon-stackable-window.c: Minor documentation updates.
1616 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-stackable-window.c: Updated documentation.
1620 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-defines.h: Update margins definitions
1623 to the Fremantle sizes.
1626 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1628 * src/hildon-touch-selector.c,
1629 (_hildon_touch_selector_set_model): Cleaning the code after
1630 review, removed g_print and #if 0 from the code.
1632 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1634 * src/hildon-edit-toolbar.c: Update documentation.
1636 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1638 * src/hildon-check-button.h
1639 * src/hildon-check-button.c
1640 (hildon_check_button_set_label, hildon_check_button_get_label)
1641 * examples/hildon-check-button-example.c
1642 (button_clicked_cb):
1643 Removed deprecated methods.
1645 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-text-view.c:
1648 Add sample code to the documentation.
1650 * src/hildon-entry.h
1651 * src/hildon-text-view.h:
1652 Minor cosmetic changes.
1654 * src/hildon-entry.c:
1655 Add sample code to the documentation.
1656 (hildon_entry_init, hildon_entry_refresh_contents):
1657 Don't allow NULL values in the placeholder.
1659 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1661 * doc/hildon-docs.sgml
1663 * examples/Makefile.am
1664 * examples/hildon-text-view-example.c
1666 * src/hildon-text-view.c
1667 * src/hildon-text-view.h
1669 New HildonTextView widget, with example.
1671 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1673 * po/POTFILES.in: Add missing files with translatable strings.
1674 Partially fixes NB#88287.
1676 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1678 * examples/hildon-pannable-area-example-2.c: (main): No need to
1679 set the cellrenderer height inside hildon touch lists, the theme does
1682 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1684 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1685 they are integrated in the theme.
1687 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1689 * examples/hildon-entry-example.c: Update the example adding
1690 widgets to modify the text and the placeholder of the HildonEntry.
1692 * src/hildon-entry.c: Show the placeholder everytime the widget
1693 is empty and loses the focus.
1695 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1697 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1699 * src/hildon-pannable-area.c,
1700 (hildon_pannable_area_size_request): Fixed bug in height
1701 requisition, avoid increasing size and add border twice.
1703 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: postrelease version bump.
1707 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1711 * configure.ac: Prerelease version bump.
1712 * debian/changelog: update.
1713 * debian/rules: make -dbg package contain useful debugging symbols.
1715 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-dialog.h
1718 * src/hildon-dialog.c
1719 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1720 New methods to add buttons with finger size.
1721 (hildon_dialog_new_with_buttons):
1722 Create buttons with finger size.
1724 * examples/hildon-dialog-example.c (main): Use HildonDialog
1725 methods to add buttons.
1727 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1729 * src/hildon-entry.c: Updated HildonButton documentation.
1731 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1734 button value label with (FALSE, FALSE) to prevent NB#88126 from
1737 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1739 * examples/hildon-pannable-area-example.c,
1740 (main): Removed examples panning a vbox inside a pannable
1741 area. Check bug NB#87965
1743 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1745 Patch contributed by Kris Rietveld (kris@imendio.com)
1747 * src/hildon-pannable-area.c,
1748 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1749 get_size and get_position, this saves an X server roundtrip.
1751 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1753 * doc/hildon-docs.sgml
1755 * examples/Makefile.am
1756 * examples/hildon-entry-example.c
1758 * src/hildon-entry.c
1759 * src/hildon-entry.h
1761 New HildonEntry widget, with example.
1763 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-button.c (hildon_button_construct_child): Pack the
1766 image with expand == fill == FALSE. This is a workaround for a bug
1769 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1771 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1772 labels for the text column, to make it more look more dynamic.
1774 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1776 * src/hildon-time-selector.c
1777 Define gettext auxiliar macro N_
1778 (_create_minutes_model)
1779 (_create_hours_model)
1780 (_create_ampm_model): use of strftime in order to fill the model
1781 * src/hildon-date-selector.c
1782 (hildon_date_selector_finalize):
1783 (_locales_init): remove the logic related to get the name of the months
1784 using nl_langinfo, as it is not required anymore
1786 (_create_year_model)
1787 (_create_month_model)
1788 (_update_day_model): use of strftime in order to fill the model properly
1791 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1793 * src/hildon-button.h
1794 * src/hildon-button.c (hildon_button_get_image): New method to
1797 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-touch-selector.c:
1800 (hildon_touch_selector_remove_column): Remove from the correct parent
1801 and also remove the list element and free it.
1804 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1806 * src/hildon-time-selector.c
1807 (_create_hours_model): change the range on 12h ampm format in order to use
1808 a 12-11 range instead of previous 01-12 range
1809 (hildon_time_selector_set_time): change the way to select the current time
1810 on 12h ampm format, due the change on the range
1811 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1814 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1816 * src/hildon-touch-selector.c
1817 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1818 in order to allow use this function on multiple row selection mode if
1819 the column is different that the first one
1822 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1825 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1827 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1829 * src/hildon-date-selector.h: clean some comments, now on the .c
1830 * src/hildon-date-selector.c
1831 (hildon_date_selector_select_month): first implementation
1832 (hildon_date_selector_select_day): added documentation, reimplemented
1833 using hildon_date_selector_select_current_date to avoid repeat code
1836 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1838 Reviewed interaction logic based on device experiences, refactored
1841 * src/hildon-pannable-area.c,
1842 (hildon_pannable_area_class_init): Updated default vmax speed.
1843 (hildon_pannable_area_calculate_velocity): Added this function, it
1844 avoids duplicate valocity calculation. Adjusted calculation to
1845 avoid problems with zero dist events.
1847 (hildon_pannable_area_motion_notify_cb): Now we use the
1848 calculate_velocity function.
1850 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1852 * src/hildon-date-selector.c
1853 (hildon_date_selector_select_current_date): fix the day range check
1854 as it failed using the last day of the current month
1857 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1859 * src/hildon-touch-selector.c
1860 (hildon_touch_selector_get_num_columns): added a parameter validation
1863 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1865 * examples/Makefile.am
1866 * examples/hildon-edit-toolbar-example.c: Example of the
1867 HildonEditToolbar widget.
1869 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1871 * configure.ac: postrelease version bump.
1873 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1877 * configure.ac: prerelease version bump.
1878 * debian/changelog: update.
1880 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1882 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1883 renderer to display stock icons in the touch list. Also, set the sizes
1884 to the recommended in the style guide.
1886 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1887 * src/hildon-touch-selector.h
1888 (hildon_touch_selector_set_active_iter): renamed, now is
1889 hildon_touch_selector_select_iter
1890 (hildon_touch_selector_get_active_iter): renamed, now is
1891 hildon_touch_selector_get_selected
1892 (hildon_touch_selector_unselect_iter): added
1893 * src/hildon-touch-selector.c
1894 Update after API modification (methods renamed)
1895 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1896 order to avoid problems selecting multiple elements on the column
1897 (hildon_touch_selector_unselect_iter): added the implementation
1898 * src/hildon-time-selector.c
1899 * src/hildon-date-selector.c
1900 * src/hildon-touch-selector-entry.c
1901 Update methods calls after hildon-touch-selector.h API modification (methods
1904 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-stackable-window.c
1907 (hildon_stackable_window_finalize): Call the parent class's finalize.
1909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1911 * examples/hildon-touch-selector-example.c: (create_selector): Use
1912 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1915 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1917 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1918 set a cell background color, to respect theming.
1920 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1922 * doc/hildon-docs.sgml
1925 * src/hildon-edit-toolbar.c
1926 * src/hildon-edit-toolbar.h
1927 * src/hildon.h: New HildonEditToolbar widget.
1929 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1931 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1934 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1935 * src/hildon-touch-selector.c
1936 (_create_new_column): use g_object_set instead of two g_object_set_property
1938 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1939 * src/hildon-touch-selector.c
1940 (_create_new_column): use of hildon_gtk_tree_view_new to create
1941 the treeview, instead of use directly g_object_new
1942 (_create_new_column): update the property name "vindicator-mode" for the
1943 new one "vscrollbar-policy"
1944 * examples/hildon-date-button-example.c
1945 * examples/hildon-picker-button-multicolumn-example.c
1946 * examples/hildon-touch-selector-entry-example.c
1947 * examples/hildon-touch-selector-example.c
1948 * examples/hildon-time-button-example.c
1949 * examples/hildon-picker-button-example.c
1950 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1951 to all the treeviews inside a pannable area.
1953 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-button.h
1956 * src/hildon-button.c (hildon_button_init)
1957 (hildon_button_set_arrangement, hildon_button_set_alignment)
1958 (hildon_button_set_title_alignment)
1959 (hildon_button_set_value_alignment)
1960 (hildon_button_set_image_alignment)
1961 (hildon_button_construct_child): New methods to set the alignment
1962 of the individual components of the button (title, value,
1963 image). Also, new method to alter the xscale and yscale properties
1964 of the GtkAlignment inside the button, so more complex layouts can
1967 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-button.c (hildon_button_style_set)
1970 (hildon_button_class_init, hildon_button_set_arrangement)
1971 (hildon_button_construct_child): Apply style properties
1972 correctly. Use the 'image-spacing' style property too.
1974 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1977 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1980 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1982 * src/hildon-pannable-area.c,
1983 (hildon_pannable_area_size_request): Fixed problem with
1984 pannable-area size_request.
1986 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1988 Added management for the grab-focus to a child widget, like a
1989 range, we need to fade out the scrollbar when releasing.
1991 * src/hildon-pannable-area.c,
1992 (hildon_pannable_area_init): Connected the grab-focus signal to
1994 (hildon_pannable_area_grab_notify): Added this function in order
1995 to manage the situation when the grab-focus ends. We have to
1996 fade-out the scrollbar.
1998 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2000 * src/hildon-app-menu.c: Minor documentation update.
2002 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-app-menu.c
2005 * examples/hildon-app-menu-example.c (create_menu): Update
2006 examples and documentation to explain how to connect callbacks.
2008 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
2010 * examples/hildon-button-example.c
2011 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
2012 hildon_stackable_window_new instead of gtk_window_new
2014 2008-08-22 Alejandro G. Castro <alex@igalia.com>
2016 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2017 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2018 (hildon_pannable_area_set_property),
2019 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2020 (hildon_pannable_area_unrealize),
2021 (hildon_pannable_area_size_request),
2022 (hildon_pannable_area_size_allocate),
2023 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2024 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2025 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2026 (hildon_pannable_area_initial_effect),
2027 (hildon_pannable_area_redraw),
2028 (hildon_pannable_area_scroll_indicator_fade),
2029 (hildon_pannable_area_expose_event),
2030 (hildon_pannable_area_get_topmost), (synth_crossing),
2031 (hildon_pannable_area_button_press_cb),
2032 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2033 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2034 (hildon_pannable_area_motion_notify_cb),
2035 (hildon_pannable_area_button_release_cb),
2036 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2037 (hildon_pannable_area_remove),
2038 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2039 chage the code layout to a more GtkWidget like. Review the use of
2042 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2044 * examples/hildon-pannable-area-example-4.c,
2045 (main): Modified the name of the hindicator_mode to
2048 * src/hildon-pannable-area.c,
2049 (hildon_pannable_area_class_init),
2050 (hildon_pannable_area_motion_notify_cb),
2051 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2052 we have reduced the amount of signals and managed reviewed its
2053 rationale. Changed the default decelerate value.
2055 (hildon_pannable_area_add),
2056 (hildon_pannable_area_redraw): Refactored functions.
2058 (hildon_pannable_area_init),
2059 (hildon_pannable_area_get_property),
2060 (hildon_pannable_area_set_property):
2061 (hildon_pannable_draw_vscroll),
2062 (hildon_pannable_draw_hscroll),
2063 (hildon_pannable_area_initial_effect),
2064 (hildon_pannable_area_expose_event),
2065 (hildon_pannable_area_scroll),
2066 (hildon_pannable_area_button_press_cb),
2067 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2068 and vindicator_mode with hscrollbar_policy and
2069 vscrollbar_policy. Replaced hscroll and vscroll with
2070 hscroll_visible and vscroll_visible.
2072 (hildon_pannable_area_refresh): Refactor the function, remove
2073 variables and check the calls to this function, added resize
2074 conditions in case the children change their layout.
2076 (hildon_pannable_area_size_request): Added more detailed
2077 size_request calculation.
2080 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2082 * src/hildon-color-chooser.c
2083 (init_borders): use the correct gtk_border_free instead of g_free, to
2084 avoid a crash when this widget is used (ie: the three color selection
2087 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2089 * src/hildon-check-button.c,
2090 (hildon_check_button_set_active): Fixed problem when setting the
2091 active value, the widget was not redrawn.
2093 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_refresh),
2097 (hildon_pannable_area_scroll),
2098 (hildon_pannable_area_motion_notify_cb): Small code style change.
2100 (hildon_pannable_area_class_init): Default initial_hint set to
2101 FALSE, it is not in the specs.
2103 (hildon_pannable_area_initial_effect),
2104 (hildon_pannable_area_expose_event),
2105 (hildon_pannable_area_map),
2106 (hildon_pannable_area_init): Moved the launching point of the
2107 initial effect, it was in map but the sizes where not correct in
2108 that method so we do not know if we have the reproduce it. Now it
2109 is placed in the expose_event method and uses a variable to
2110 reproduce it just once.
2112 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2114 * src/hildon-pannable-area.c,
2115 (hildon_pannable_draw_vscroll),
2116 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2117 position allowed for the scrollbars.
2119 (hildon_pannable_area_size_allocate): Small style change.
2121 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2123 * src/hildon-pannable-area.c,
2124 (hildon_pannable_area_scroll_indicator_fade),
2125 (hildon_pannable_area_button_press_cb),
2126 (hildon_pannable_area_button_release_cb),
2127 (hildon_pannable_area_scroll_cb),
2128 (hildon_pannable_area_expose_event),
2129 (hildon_pannable_area_init): Added the define parameter
2130 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2131 and refactor the fade variable.
2133 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2135 * src/hildon-pannable-area.c,
2136 (hildon_pannable_area_redraw),
2137 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2138 lines, we were reimplemeting the redraw code.
2140 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2142 * src/hildon-pannable-area.c,
2143 (hildon_pannable_area_scroll_cb),
2144 (hildon_pannable_area_realize),
2145 (hildon_pannable_area_class_init): Added scroll_event management
2146 for pannable area, now we can scroll the usual desktop method.
2148 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2149 initialization of the parameters should depend on idle_id.
2151 (hildon_pannable_area_init),
2152 (hildon_pannable_area_map): Small code style modifications
2154 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2156 * src/hildon-pannable-area.c
2157 (hildon_pannable_area_button_press_cb),
2158 (hildon_pannable_area_motion_notify_cb),
2159 (hildon_pannable_area_button_release_cb),
2160 (hildon_pannable_area_size_allocate),
2161 (hildon_pannable_area_scroll_to): Improved the timeouts
2162 management, we avoid creating them each time.
2164 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c:
2167 (hildon_pannable_area_refresh),
2168 (hildon_pannable_area_motion_notify_cb),
2169 (hildon_pannable_area_class_init):
2170 * src/hildon-pannable-area.h:
2171 * src/hildon-touch-selector.c
2172 (_create_new_column):
2173 * examples/hildon-pannable-area-example-4.c:
2174 (horizontal_movement),
2175 (vertical_movement),
2177 Replaced the names of enums in the HildonPannableArea:
2178 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2179 HILDON_MOVEMENT_MODE_*
2180 - HILDON_PANNABLE_AREA_MOV_* ->
2182 - Removed HildonPannableAreaIndicatorMode, now we
2185 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2187 * examples/hildon-pannable-area-touch-grid-example.c
2188 * examples/hildon-pannable-area-touch-list-example.c: Fix
2189 compilation warnings.
2191 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-gtk.c (hildon_gtk_button_new)
2194 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2195 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2196 images overriding the value of the "gtk-button-images" setting.
2198 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-check-button.c (hildon_check_button_new):
2201 Instead of using a custom container, display the label and the
2202 checkbox using the standard GtkButton API.
2204 * examples/hildon-check-button-example.c (main): Don't use
2205 hildon_check_button_set_label() anymore
2207 * src/hildon-check-button.h
2208 * src/hildon-check-button.c
2209 (hildon_check_button_set_label, hildon_check_button_get_label):
2210 Set as deprecated, now we're using gtk_button_{get,set}_label()
2212 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2214 * src/hildon-pannable-area.c,
2215 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2216 GtkTreeview first line we detected it after the inclusion of the
2217 GtkWindowImpl in gtk+. We now check if the window is visible, not
2218 just if the pointer is over the window.
2219 (hildon_pannable_axis_scroll),
2220 (hildon_pannable_area_expose_event): Small style changes.
2222 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-button.c: Update documentation.
2226 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2228 * examples/hildon-button-example.c: Add a switch to show images in
2231 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2233 * doc/hildon-docs.sgml: Some docs reorganization.
2235 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2237 * examples/hildon-pannable-area-touch-list-example.c
2239 * examples/hildon-pannable-area-touch-grid-example.c
2240 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2241 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2242 Fix memory leak when setting the tree model.
2244 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2248 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2250 * doc/hildon.types: Remove duplicated hildon_window_get_type
2251 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2252 documentation comment.
2254 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2256 * doc/Makefile.am: Complete list of private headers.
2258 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2260 * doc/hildon-docs.sgml
2261 * src/hildon-app-menu.c
2262 * src/hildon-bread-crumb.c
2263 * src/hildon-button.c
2265 * src/hildon-program.c
2266 * src/hildon-stackable-window.c
2267 * src/hildon-window.c: Lots of documentation updates.
2269 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2271 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2273 * configure.ac: Require Gtk+ 2.12.9 at least
2275 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2277 * src/hildon-pannable-area.c
2278 (hildon_pannable_area_scroll_indicator_fade),
2279 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2280 to protect the return of this timeout callbacks, avoiding deadlocks.
2282 2008-08-12 Christian Dywan <christian@imendio.com>
2285 * src/hildon-*.h: Ensure a consistent include order,
2286 include <gtk/gtk.h> instead of particular files and
2287 only include the topmost header in the gtk stack. See NB #39857
2289 2008-08-12 Christian Dywan <christian@imendio.com>
2291 * src/hildon-picker-dialog.c
2292 * src/hildon-touch-selector.c: Fix warnings about unused and
2293 uninitialized variables.
2295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2297 * examples/Makefile.am
2298 * examples/hildon-check-button-example.c: Example of the hildon
2301 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-window.h
2304 * src/hildon-window.c (hildon_window_class_init)
2305 (hildon_window_unset_program): Don't make
2306 hildon_window_unset_program a virtual function anymore.
2308 * src/hildon-stackable-window.c: Update documentation
2310 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2313 * doc/hildon-docs.sgml
2314 * doc/visual_index.xml
2315 * src/hildon-defines.c
2317 * src/hildon-helper.c
2318 * src/hildon-range-editor.c: Lots of documentation fixes.
2320 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2322 * examples/hildon-picker-button-multicolumn-example.c
2323 (create_touch_selector): Fix compilation warning.
2325 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2328 (hildon_pannable_area_button_release_cb)
2329 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2336 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-bread-crumb-trail.h
2339 * src/hildon-date-editor.c
2340 * src/hildon-date-selector.c
2341 * src/hildon-pannable-area.c
2342 * src/hildon-picker-dialog.c
2343 * src/hildon-time-selector.c
2344 * src/hildon-touch-selector-entry.c
2345 * src/hildon-touch-selector.c
2346 * src/hildon-touch-selector.h: Misc documentation fixes
2348 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2350 * examples/hildon-date-editor-example.c (main): Updated date
2353 * examples/hildon-note-example.c (on_confirmation_clicked):
2354 Updated confirmation note example.
2356 * src/hildon-date-editor.c
2357 * src/hildon-note.c: Updated sample programs in documentation.
2360 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2362 * src/hildon-date-button.h:
2363 * src/hildon-picker-button.h:
2364 * src/hildon-time-button.c:
2365 * src/hildon-time-button.h:
2367 Some declarations changes to allow gtk-doc to document the widgets
2370 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-date-button.c: Document the widget.
2373 * src/hildon-time-button.c: Document the widget.
2375 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-picker-button.c: Document the widget.
2378 * src/hildon-touch-selector-entry.c: Document the widget.
2380 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2382 * doc/hildon-docs.sgml
2385 * src/hildon-check-button.h
2386 * src/hildon-check-button.c: New functions to create the Hildon
2390 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2392 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-button.h
2395 * src/hildon-button.c
2396 (hildon_button_add_title_size_group)
2397 (hildon_button_add_value_size_group)
2398 (hildon_button_add_image_size_group)
2399 (hildon_button_add_size_groups): New functions to set size groups
2400 for the button labels and image.
2401 (hildon_button_new_full): Removed
2403 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2405 * src/hildon-time-selector.c
2406 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2407 in order to avoid a crash if gconf is not available
2409 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-button.c (hildon_button_set_arrangement)
2412 (hildon_button_construct_child): Don't construct the button child
2413 before setting the arrangement.
2415 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-program-private.h
2418 * src/hildon-program.c
2419 * src/hildon-program.h
2420 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2421 (hildon_program_peek_window_stack)
2422 (hildon_program_pop_window_stack)
2423 (hildon_program_go_to_root_window): HildonProgram now has a
2424 separate list for stackable windows. Functions are provided to
2425 manage that list with a stack-like API.
2427 * src/hildon-stackable-window.c: Stackable window management is
2428 now much simpler with the new HildonProgram API. Windows no
2429 longer need to be manually added to the program, they're
2430 automatically pushed to the top of the stack when shown.
2432 * examples/hildon-stackable-window-example.c: Updated example to
2433 reflect the API changes.
2435 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-touch-selector.c: Comment out unimplemented
2438 hildon_touch_selector_insert_column() to avoid a compile warning.
2440 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2443 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2444 (hildon_touch_selector_set_column_selection_mode),
2445 (_hildon_touch_selector_set_model),
2446 (hildon_touch_selector_set_model):
2448 Complete review of HildonTouchSelector documentation.
2450 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2452 * doc/hildon-docs.sgml
2456 * src/hildon-gtk.c: Convenience functions for standard Gtk
2457 widgets, used to easily perform frequent operations.
2459 * src/hildon-button-helpers.h
2460 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2462 * src/hildon-helper.h
2463 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2464 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2466 * src/hildon-button.h
2467 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2469 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-button.c (hildon_button_init)
2472 (hildon_button_set_arrangement, hildon_button_construct_child):
2473 Pack the image and the labels inside the same GtkAlignment so
2474 gtk_button_set_alignment() can be used
2476 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-button.h
2479 * src/hildon-button.c
2480 (hildon_button_init, hildon_button_set_image)
2481 (hildon_button_set_image_position)
2482 (hildon_button_construct_child): New functions to add an image to
2485 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-date-button.c
2488 * src/hildon-picker-button.c
2489 * src/hildon-time-button.c
2490 * src/hildon-button.c:
2491 (hildon_button_class_init): "size-flags" renamed to "size"
2492 (hildon_button_set_title): Hide the title label if set to NULL.
2494 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2496 HildonButtonFlags split into HildonButtonArrangement (to set the
2497 button layout) and HildonSizeType (which can be used for any
2500 * src/hildon-button.h
2501 * src/hildon-button.c
2502 (hildon_button_class_init)
2503 (hildon_button_set_arrangement)
2504 (hildon_button_set_property): New "size-flags"
2505 property. "arrangement-flags" renamed to "arrangement".
2506 (hildon_button_new, hildon_button_new_with_text)
2507 (hildon_button_new_full): Constructors updated to reflect type changes.
2509 * src/hildon-helper.h
2510 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2511 to set the size of a widget.
2515 * src/hildon-button-helpers.c
2516 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2518 * src/hildon-date-button.c
2519 * src/hildon-date-button.h
2520 * src/hildon-picker-button.c
2521 * src/hildon-picker-button.h
2522 * src/hildon-time-button.c
2523 * src/hildon-time-button.h: Updated widgets to reflect
2524 HildonButton API changes.
2526 * examples/hildon-button-example.c
2527 * examples/hildon-date-button-example.c
2528 * examples/hildon-picker-button-example.c
2529 * examples/hildon-picker-button-multicolumn-example.c
2530 * examples/hildon-time-button-example.c
2531 * examples/hildon-touch-selector-entry-example.c
2532 * examples/hildon-touch-selector-example.c: Updated examples to
2533 reflect HildonButton API changes.
2535 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2537 * doc/hildon-docs.sgml:
2539 * examples/Makefile.am:
2540 * examples/hildon-touch-selector-entry-example.c:
2542 * src/hildon-touch-selector-entry.c:
2543 * src/hildon-touch-selector-entry.h:
2546 Moved HildonTouchSelectorEntry from sandbox. Added its
2547 documentation and examples.
2549 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-touch-selector.h:
2552 * examples/hildon-picker-button-multicolumn-example.c:
2553 (hildon_touch_selector_append_text_column): Add a gboolean
2554 parameter to determine if text must be centered in the column.
2556 * src/hildon-date-selector.c: (hildon_date_selector_init):
2557 * src/hildon-time-selector.c: (hildon_time_selector_init):
2558 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2559 (create_touch_selector): Update widgets and example to reflect
2562 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-touch-selector.c:
2565 (hildon_touch_selector_set_active_iter): Set also the cursor in
2568 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2570 * doc/hildon-docs.sgml
2573 * src/hildon-toggle-button.c
2574 * src/hildon-toggle-button.h
2575 * src/hildon.h: Removed HildonToggleButton widget, a derived
2576 class is not necessary for this.
2578 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2580 * src/hildon-pannable-area.c,
2581 (hildon_pannable_area_realize),
2582 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2585 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2587 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2588 "done" button the default widget for the dialog.
2590 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-touch-selector.c:
2593 (hildon_touch_selector_class_init),
2594 (hildon_touch_selector_get_property),
2595 (_hildon_touch_selector_set_model),
2596 (_hildon_touch_selector_has_multiple_selection),
2597 (hildon_touch_selector_has_multiple_selection):
2598 Add a "has-multiple-selection" property with a virtual
2599 has_multiple_selection() method to allow derived classes to
2600 override the default value for it. See the method and property
2601 documentation for details.
2603 * src/hildon-touch-selector.h: Add the new API.
2605 * src/hildon-picker-dialog.c: (requires_done_button): Call
2606 hildon_touch_selector_has_multiple_selection() instead of
2607 determining the need for a button itself.
2609 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2612 (_hildon_touch_selector_set_model),
2613 (hildon_touch_selector_set_model): Move working code to
2614 _hildon_touch_selector_set_mode(). Call the class method instead.
2616 * src/hildon-touch-selector.h: Add (*set_model) to
2617 HildonTouchSelectorClass.
2619 Make hildon_touch_selector_set_model() a virtual method, so that
2620 derived classes can extend it and do fancy stuff with the model.
2622 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2624 * configure.ac: Set back the tarname in AC_INIT to hildon.
2626 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2630 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2631 instead of libesd (NB#86876). Volume handling is still an open issue.
2633 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2636 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2638 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2639 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2640 derived class to ease placement of an entry widget in
2641 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2642 end, where the selector columns are packed now.
2644 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-picker-button.c: Removed the simple _text() API.
2647 * src/hildon-picker-button.h: Likewise.
2649 * src/hildon-touch-selector.h:
2650 * src/hildon-touch-selector.c:
2651 (hildon_touch_selector_new_text),
2652 (hildon_touch_selector_append_text),
2653 (hildon_touch_selector_prepend_text),
2654 (hildon_touch_selector_insert_text):
2656 Moved the simple _text() API from HildonPickerButton to
2657 HildonTouchPicker, to provide better escalability and not to tie
2658 that API to HildonPickerButton.
2660 * examples/hildon-picker-button-example.c: (main): Example updated.
2662 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-button.c: Updated documentation.
2666 * examples/hildon-button-example.c: Add the posibility to create
2667 the buttons using horizontal layout for title and value.
2669 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-app-menu-private.h
2672 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2673 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2674 GtkSizeGroup for the filters, use the 'homogeneous' property of
2677 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2679 * examples/hildon-button-example.c: Updated example.
2681 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2683 * doc/hildon-docs.sgml:
2686 Update documentation.
2688 * examples/Makefile.am: Update renamed examples.
2690 * examples/hildon-picker-button-multicolumn-example.c:
2691 (create_touch_selector), (main): Update after the rename.
2693 * examples/hildon-touch-picker-example.c: Removed.
2694 * examples/hildon-touch-selector-example.c: (value_changed),
2695 (create_selector), (get_visible_content), (main): Renamed from
2696 hildon-touch-picker-example.c
2698 * src/Makefile.am: Updated renamed files.
2700 * src/hildon-date-button.c: (hildon_date_button_init),
2701 (hildon_date_button_get_date), (hildon_date_button_set_date):
2702 * src/hildon-date-selector.c: (hildon_date_selector_init),
2703 (_custom_print_func), (_update_day_model),
2704 (_manage_selector_change_cb),
2705 (hildon_date_selector_select_current_date),
2706 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2707 * src/hildon-date-selector.h:
2708 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2709 (hildon_picker_button_set_property),
2710 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2711 (hildon_picker_button_init), (hildon_picker_button_new_text),
2712 (hildon_picker_button_append_text),
2713 (hildon_picker_button_prepend_text),
2714 (hildon_picker_button_insert_text),
2715 (hildon_picker_button_set_selector),
2716 (hildon_picker_button_get_selector):
2717 * src/hildon-picker-button.h:
2718 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2719 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2720 (_update_title_on_selector_changed_cb), (requires_done_button),
2721 (_hildon_picker_dialog_set_selector),
2722 (hildon_picker_dialog_set_selector),
2723 (hildon_picker_dialog_get_selector):
2724 * src/hildon-picker-dialog.h:
2725 * src/hildon-time-button.c: (hildon_time_button_init),
2726 (hildon_time_button_get_time), (hildon_time_button_set_time):
2727 * src/hildon-time-selector.c: (hildon_time_selector_init),
2728 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2729 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2730 * src/hildon-time-selector.h:
2733 Massive code updates after the rename.
2735 * src/hildon-touch-picker.c: Removed.
2736 * src/hildon-touch-picker.h: Removed.
2738 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2739 (hildon_touch_selector_init), (hildon_touch_selector_map),
2740 (hildon_touch_selector_remove), (_default_print_func),
2741 (_selection_changed_cb), (_create_new_column),
2742 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2743 (hildon_touch_selector_append_text_column),
2744 (hildon_touch_selector_remove_column),
2745 (hildon_touch_selector_set_column_attributes),
2746 (hildon_touch_selector_insert_column),
2747 (hildon_touch_selector_get_num_columns),
2748 (hildon_touch_selector_get_column_selection_mode),
2749 (hildon_touch_selector_set_column_selection_mode),
2750 (hildon_touch_selector_set_print_func),
2751 (hildon_touch_selector_get_print_func),
2752 (hildon_touch_selector_get_active_iter),
2753 (hildon_touch_selector_set_active_iter),
2754 (hildon_touch_selector_get_selected_rows),
2755 (hildon_touch_selector_get_model),
2756 (hildon_touch_selector_set_model),
2757 (hildon_touch_selector_get_current_text),
2758 (_hildon_touch_selector_center_on_selected_items):
2759 * src/hildon-touch-selector.h: Renamed from
2760 hildon-touch-picker.[ch]
2762 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2763 references, code examples, and related documentation.
2765 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2767 * doc/hildon-docs.sgml
2770 * src/hildon-toggle-button.c
2771 * src/hildon-toggle-button.h
2772 * src/hildon.h: New HildonToggleButton widget.
2774 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-button.c: Add API documentation.
2777 (hildon_button_set_size_groups): Check input parameters
2779 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2781 * src/hildon-pannable-area.c
2782 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2783 effect after reaching the movement thredshold. This way we start
2784 using the distance after passing the thredshold.
2786 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-button.c: (hildon_button_set_property): Use the
2789 appropriate g_value_get_flags() method.
2791 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2793 * doc/hildon-docs.sgml:
2796 Add the touch pickers, picker dialogs, and picker button widgets
2797 to the documentation.
2799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2801 * src/hildon-button.c: (hildon_button_set_property),
2802 (hildon_button_class_init): Make "arrangement-flags" a proper
2803 G_TYPE_FLAGS derived property.
2805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2807 * examples/Makefile.am: Add below examples.
2808 * examples/hildon-date-button-example.c:
2809 * examples/hildon-picker-button-example.c:
2810 * examples/hildon-picker-button-multicolumn-example.c:
2811 * examples/hildon-time-button-example.c:
2812 * examples/hildon-touch-picker-example.c:
2814 Add examples for the recently added touch pickers,
2815 picker dialogs, and picker button widgets.
2817 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-button.c: Add some API documentation
2821 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-button.h
2824 * src/hildon-button.c
2826 (hildon_button_new_with_text): New constructor to create a button
2827 with no text at all.
2828 (hildon_button_init, hildon_button_set_arrangement)
2829 (hildon_button_set_title, hildon_button_set_value)
2830 (hildon_button_set_text)
2831 (hildon_button_construct_child): Hide the value when it's not used
2832 so the rest of the text is properly aligned.
2833 Allow creating buttons with arbitrary widgets inside (not just
2834 title/value labels).
2836 * examples/hildon-button-example.c (vertical_buttons_window)
2837 (horizontal_buttons_window): Update example to use new API.
2839 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/Makefile.am: Added HildonTimeButton.
2842 * src/hildon-time-button.c: Added missing LGPL header.
2843 * src/hildon-time-button.h: Added missing LGPL header.
2844 * src/hildon.h: Add hildon-time-button.h
2846 Copied HildonTimeButton from sandbox to trunk. Future work on this
2847 widget must take place in trunk.
2849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/Makefile.am: Added HildonDateButton.
2852 * src/hildon-date-button.c: Update includes.
2853 * src/hildon.h: Add hildon-date-button.h
2855 Copied HildonDateButton from sandbox to trunk. Future work on this
2856 widget must take place in trunk.
2858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/Makefile.am: Added HildonPickerButton.
2861 * src/hildon-picker-button.h: Update includes.
2862 * src/hildon.h: Add hildon-picker-button.h
2864 Copied HildonPickerButton from sandbox to trunk. Future work on
2865 this widget must take place in trunk.
2867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/Makefile.am: Added HildonPickerDialog.
2870 * src/hildon-picker-dialog.c: Update includes.
2871 * src/hildon.h: Add hildon-picker-dialog.h
2873 Copied HildonPickerDialog from sandbox to trunk. Future work
2874 on this widget must take place in trunk.
2876 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/Makefile.am: Added HildonTimeSelector.
2879 * src/hildon.h: Add hildon-time-selector.h
2881 Copied HildonTimeSelector widget from sandbox to trunk. Future
2882 work on this widget must happen in trunk.
2884 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/Makefile.am: Added HildonDateSelector.
2887 * src/hildon.h: Add hildon-date-selector.h
2889 Copied HildonDateSelector widget from sandbox to trunk. Future
2890 work on this widget must happen in trunk.
2892 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/Makefile.am: Added HildonTouchPicker.
2895 * src/hildon-touch-picker.c: Update includes.
2896 * src/hildon.h: Add hildon-touch-picker.h
2898 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2899 on this widget must happen in trunk.
2901 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2903 * src/hildon-pannable-area.c:
2904 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2906 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2908 * examples/hildon-app-menu-example.c (main): Let the window
2911 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2913 * src/hildon-pannable-area.c
2914 (hildon_pannable_area_class_init): Set the min value of the
2915 overshoot properties to zero, which points out that not
2916 overshooting allowed.
2918 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2920 Modified the procedure to get the widget at a point inside the
2921 pannable area when using the movement type signals. Now the user
2922 has to call a function to get the child, that way we just
2923 calculate the child in case the user really want to use it and not
2926 * src/hildon-marshalers.list: Modified the marshallers, now we do
2927 not have the widget as a parameter.
2929 * src/hildon-pannable-area.c
2930 (hildon_pannable_area_motion_notify_cb),
2931 (hildon_pannable_area_class_init),
2932 (hildon_pannable_get_child_widget_at): Removed the widget
2933 parameter from the signal callback. We have also refactored the
2934 emission of the signals.
2936 * src/hildon-pannable-area.h: Added a new method to the API to
2937 calculate a widget at a point inside the pannable area,
2938 hildon_pannable_get_child_widget_at.
2940 * examples/hildon-pannable-area-example-4.c
2941 (horizontal_movement): Modified the example to use the new API,
2942 added condition to control which widget is under the event. This
2943 way we can avoid scrolling laterally over other widgets.
2945 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2947 * src/hildon-pannable-area.c
2948 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2949 modes, we stop getting the pointer events due to returning the
2950 callback without properly calling the get pointer again. Fixed
2951 also an error using the hscroll and vscroll.
2953 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-app-menu-private.h
2956 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2957 (hildon_app_menu_button_release, hildon_app_menu_init)
2958 (hildon_app_menu_class_init): Don't hide the menu on button
2959 release if the user didn't press outside first.
2961 * src/hildon-window.h
2962 * src/hildon-window.c (hildon_window_toggle_menu)
2963 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2964 hildon_window_toggle_menu a virtual function for the stackable
2965 window to override it.
2967 * src/hildon-stackable-window.h
2968 * src/hildon-stackable-window-private.h
2969 * src/hildon-stackable-window.c
2970 (hildon_stackable_window_realize)
2971 (hildon_stackable_window_finalize)
2972 (hildon_stackable_window_class_init)
2973 (hildon_stackable_window_init)
2974 (hildon_stackable_window_set_main_menu): New function to set the
2975 app menu of a HildonStackableWindow.
2977 * examples/hildon-app-menu-example.c: Remove the button to show
2978 the app menu, now it'll be shown when clicking on the title bar
2981 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2984 set the widget name if the arrangement flags do not specify
2987 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-button.c: (hildon_button_set_property),
2990 (hildon_button_class_init), (hildon_button_new_full),
2991 (hildon_button_set_arrangement): Added "arrangement-flags"
2994 Make the HildonButtonFlags a construction-only property, to allow
2995 subclasses to set them properly.
2997 2008-07-21 Tim Janik <timj@imendio.com>
2999 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
3000 insertion position after backspace, so additional digits are appended,
3003 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3005 * src/hildon-pannable-area.c,
3006 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
3007 TODO list, it was complete and removed the g_debug and g_print
3010 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3012 Added the movement modes to the hildon-pannable-area, with this
3013 modes the developers can control in which directions the widget
3014 can scroll. They can also connect to signals in order to do
3015 something when that happens, allowing applications scroll. There
3016 is an example uploaded showing how to use it.
3018 * examples/Makefile.am:
3019 * examples/hildon-pannable-area-example-4.c: Added this example of
3020 an application using the modes.
3022 * src/hildon-marshalers.list: Added a new marshaller for the new
3025 * src/hildon-pannable-area.h: Added new enumerations and flags in
3026 order to control the movement modes and the new signals to warn
3027 about the movements in the area.
3029 * src/hildon-pannable-area.c:
3030 (hildon_pannable_axis_scroll),
3031 (hildon_pannable_area_scroll),
3032 (hildon_pannable_area_motion_notify_cb),
3033 (hildon_pannable_area_get_property),
3034 (hildon_pannable_area_set_property),
3035 (hildon_pannable_area_map),
3036 (hildon_pannable_area_class_init),
3037 (hildon_pannable_area_init),
3038 (hildon_pannable_area_jump_to): Added the modes to control the
3039 movement in the widget. We have added properties to control it,
3040 signals to warn about the movements and refactored some code.
3042 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3044 Changes required in order to allow vfast_factor set to zero to
3047 * src/hildon-pannable-area.c:
3048 (hildon_pannable_area_button_press_cb): Changed the condition, it
3049 is required for not allowing click when vfast_factor is zero.
3050 (hildon_pannable_area_timeout): Initialized velocity variables
3051 when we stop moving, it was less than 1 but not zero and we need
3052 to check zero in some situations.
3053 (hildon_pannable_area_class_init): Changed the default value of
3054 the speed factor, now the button_press is just sent in case the
3055 speed is 2 per cent of the max speed.
3056 (hildon_pannable_area_init): Initialization with 0.
3058 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c,
3061 (hildon_pannable_area_get_topmost): replaced
3062 gdk_window_get_children with gdk_window_peek_children, this way we
3063 do not have to free the list because it is not a copy.
3065 (hildon_pannable_axis_scroll),
3066 (hildon_pannable_area_scroll),
3067 (hildon_pannable_area_timeout),
3068 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3069 two parameters that were only used inside the
3070 hildon_pannable_area_scroll function.
3072 * examples/hildon-pannable-area-example.c,
3073 (get_sawtooth_label): Fixed small memory leak.
3075 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3077 More checks for the case where the overshoot is bigger than the
3080 * src/hildon-pannable-area.c:
3081 (hildon_pannable_draw_vscroll),
3082 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3083 to draw the slider of the scrollbar under the other scrollbar.
3084 (hildon_pannable_area_expose_event): added new checks to control
3085 the drawing of the overshooting area rectangle, in case it is too
3086 big for the area of the widget.
3087 (hildon_pannable_area_size_allocate): add more checks to avoid
3088 setting a position to the child widget outside the area.
3090 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3092 * src/hildon-pannable-area.c
3093 (hildon_pannable_area_size_allocate): Added conditions to control
3094 when overshooting is bigger than the allocated space for the
3095 children, this avoids negative allocations.
3097 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3099 * doc/hildon-docs.sgml
3101 * examples/Makefile.am
3102 * examples/hildon-button-example.c
3104 * src/hildon-button.c
3105 * src/hildon-button.h
3106 * src/hildon.h: Initial version of the new HildonButton widget,
3109 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3111 * src/hildon-pannable-area.c:
3112 (hildon_pannable_area_button_press_cb),
3113 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3114 (hildon_pannable_area_motion_notify_cb),
3115 (hildon_pannable_area_button_release_cb),
3116 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3117 (hildon_pannable_area_jump_to_child):
3119 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3121 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3123 * examples/Makefile.am
3124 * examples/hildon-pannable-area-touch-grid-example.c
3125 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3126 the Hildon Touch List and Hildon Touch Grid using the
3127 HildonPannableArea widget.
3129 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3131 * src/hildon-pannable-area.c,
3132 (hildon_pannable_area_button_press_cb),
3133 (hildon_pannable_area_refresh),
3134 (hildon_pannable_area_scroll),
3135 (hildon_pannable_area_motion_notify_cb),
3136 (hildon_pannable_area_button_release_cb),
3137 (hildon_pannable_area_expose_event),
3138 (hildon_pannable_area_add),
3139 (hildon_pannable_area_remove),
3140 (hildon_pannable_area_realize),
3141 (hildon_pannable_area_size_allocate),
3142 (hildon_pannable_area_class_init),
3143 (hildon_pannable_area_init),
3144 (hildon_pannable_area_scroll_to_child),
3145 (hildon_pannable_area_jump_to_child): Fixed the problem of
3146 removing the child from the GtkBin, we have rearranged the widget
3147 hierarchy, now there is no GtkAlignment which was not doing
3148 anything interesting but breaking some of the assumptions of
3149 GtkContainer. Now developers if they want to add a GtkAlignment
3150 they could, but it is not inside the area.
3152 We had to review the whole allocation/expose process, now it is
3153 improved and we save at least three signals which would be saving
3154 some time when rendering the widget. The allocation of the
3155 scrollbars is now made in the allocate method as usual.
3157 We have also added some conditions in order to control when there
3158 is no child of the pannable area. Maybe we will need more work
3161 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3163 * src/hildon-pannable-area.c,
3164 (hildon_pannable_area_dispose): Released the fade-out timeout when
3165 disposing the widget.
3167 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3169 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3170 zero, we are going to use that property in order to deactivate the
3172 (hildon_pannable_axis_scroll),
3173 (hildon_pannable_area_size_allocate): Added conditions to control
3174 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3175 call, now it is called in all situations and we can remove calls
3176 in the allocate method.
3177 (hildon_pannable_area_map): Control the situation when
3178 overshoot_max is zero, we do not need the timeout.
3179 (hildon_pannable_area_class_init): Added documentation in order to
3180 point out that setting zero to overshoot_max means deactivate
3183 NOTE: removed trailing whitespaces from my previous comments of
3186 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-pannable-area.c
3189 (hildon_pannable_area_get_property),
3190 (hildon_pannable_area_set_property),
3191 (hildon_pannable_area_map),
3192 (hildon_pannable_area_class_init),
3193 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3194 to cause the widget give a hint about its panning abilities upon
3197 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-pannable-area.c: Several documentation improvements.
3201 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-program.c
3204 * src/hildon-stackable-window.c: Update documentation.
3206 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-stackable-window.c (get_previous_window_if_last):
3209 Renamed get_last_window()
3210 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3211 (hildon_stackable_window_unset_program):
3213 (get_previous_window_if_last):
3214 Detect if the window hasn't been added to a HildonProgram.
3216 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3218 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-pannable-area.c
3221 (hildon_pannable_area_button_press_cb),
3222 (hildon_pannable_axis_scroll),
3223 (hildon_pannable_area_scroll),
3224 (hildon_pannable_area_timeout),
3225 (hildon_pannable_calculate_vel_factor),
3226 (hildon_pannable_area_get_property),
3227 (hildon_pannable_area_set_property),
3228 (hildon_pannable_area_class_init),
3229 (hildon_pannable_area_init),
3230 (hildon_pannable_area_scroll_to),
3231 (hildon_pannable_area_jump_to),
3232 (hildon_pannable_area_scroll_to_child),
3233 (hildon_pannable_area_jump_to_child):
3234 * src/hildon-pannable-area.h: Added the new API functions:
3235 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3236 hildon_pannable_area_scroll_to_child,
3237 hildon_pannable_area_jump_to_child
3240 * examples/Makefile.am
3241 * examples/hildon-pannable-area-example-2.c
3242 * examples/hildon-pannable-area-example-3.c: Added these two new
3243 examples in order to test and show how the new APIs work.
3245 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3247 * examples/hildon-stackable-window-example.c (new_window):
3248 * src/Makefile.am (noinst_HEADERS):
3249 * src/hildon-program.c (hildon_program_go_to_root_window):
3250 * src/hildon-program.h:
3251 * src/hildon-stackable-window-private.h:
3252 * src/hildon-stackable-window.c:
3253 * src/hildon-stackable-window.h:
3254 Create hildon-stackable-window-private.h
3255 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3257 * examples/hildon-app-menu-example.c (create_menu):
3258 * examples/hildon-hvolumebar-insensitive-example.c (main):
3259 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3260 * examples/hildon-toolbar-seekbar-example.c (main):
3261 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3262 * src/hildon-banner.c (hildon_banner_set_property):
3263 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3264 Fix compilation warnings
3266 * src/hildon-window.c:
3269 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-stackable-window.c
3272 (hildon_stackable_window_unset_program):
3273 Calculate correctly whether to show the previous window if the
3274 last one is removed from the stack.
3275 (hildon_stackable_window_go_to_root_window):
3276 Send delete events starting from the topmost window.
3277 Stop if one of the windows is not destroyed.
3279 (hildon_stackable_window_delete_event)
3280 (hildon_stackable_window_class_init):
3281 Ignore the delete event if the window is not the topmost one.
3283 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3285 * src/hildon-pannable-area.c
3286 (hildon_pannable_area_expose_event): Fixed a problem when
3287 selecting the background color of the scrollbars.
3289 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3291 * examples/hildon-stackable-window-example.c
3292 * src/hildon-stackable-window.c
3293 * src/hildon-stackable-window.h
3294 hildon_stackable_window_go_home() renamed to
3295 hildon_stackable_window_go_to_root_window()
3296 Send delete events to windows rather than closing them with
3297 gtk_widget_destroy()
3299 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-pannable-area.c
3302 (hildon_pannable_area_button_release_cb): Fix overshooting in
3305 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-pannable-area.c
3308 (hildon_pannable_area_init): Initially show the scroll indicators.
3309 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3311 Add initial effect showing the widget is pannable.
3313 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-pannable-area.c
3316 (hildon_pannable_area_class_init)
3317 (hildon_pannable_area_set_property)
3318 (hildon_pannable_area_get_property)
3319 (hildon_pannable_area_button_press_cb):
3320 New 'velocity_fast_factor' property to decide which velocity is
3323 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-pannable-area.c
3326 (hildon_pannable_draw_hscroll)
3327 (hildon_pannable_draw_vscroll):
3328 Use float variables to calculate the size of the scrollbars to
3329 avoid error propagation and resizing during scrolling.
3331 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-pannable-area.c
3334 (hildon_pannable_draw_vscroll)
3335 (hildon_pannable_draw_hscroll):
3336 Define a minimum size for the scroll bars
3338 * src/hildon-stackable-window.c
3339 (hildon_stackable_window_go_home): Fix compilation warning
3340 (get_last_window): Minor optimizations
3341 (hildon_stackable_window_class_init): Fix initialization of
3344 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-stackable-window.c: Fixed typos in doc
3348 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3350 * src/hildon-pannable-area.c
3351 (hildon_pannable_area_scroll):
3352 Calculate here whether we need to scroll instead of using the booleans
3353 that tell us whether to /draw/ the scrolling bars.
3355 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3357 * src/hildon-app-menu.h
3359 * src/hildon-app-menu.c
3360 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3361 multiple filter groups related code and API. Now we support only
3363 * examples/hildon-app-menu-example.c:
3365 Update to reflect API changes.
3367 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-stackable-window.c
3370 (hildon_stackable_window_class_init):
3371 Add hildon_stackable_window_realize.
3372 (hildon_stackable_window_realize):
3373 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3374 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3375 to apply theming and behavior specific to HildonStackableWindow
3378 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3380 * src/hildon-note.c (hildon_note_button_release):
3381 Close information notes also when tapping on them
3383 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3385 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3386 ELASTICITY, refactor and review, fix some issues with drawing
3389 * src/hildon-pannable-area.c:
3390 (hildon_pannable_area_button_press_cb): removed the conditions to
3391 avoid clicks when overshooting. It is not required
3393 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3394 define. Refatored and reviewed the code, now we do not need to
3395 manage velocity in motion_notify.
3397 (hildon_pannable_area_motion_notify_cb): We have moved the code
3398 that controls the area_scroll to the axis_scroll function and get
3399 rid of duplicated code.
3401 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3403 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3405 (hildon_pannable_draw_vscroll),
3406 (hildon_pannable_draw_hscroll): Fixed the problems with the
3407 scrollbar drawing, now we do not use two surfaces, it is easier
3408 and saves resources.
3410 (hildon_pannable_area_get_property): Style modification.
3412 (hildon_pannable_area_class_init): Changed some default values.
3414 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3416 * src/hildon-stackable-window.c: Fix some typos in the
3419 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-dialog.c:
3422 Change indentation style
3425 (hildon_note_button_release):
3426 Use root coordinates to check if the release event happened
3429 * src/hildon-app-menu.c
3430 (hildon_app_menu_button_release):
3431 Remove unnecessary check
3433 * examples/hildon-app-menu-example.c
3435 Add cast to fix warning
3437 * src/hildon-app-menu.c
3438 (hildon_app_menu_class_init):
3439 New inner-border style property.
3440 Set all default spacings to 16
3441 (hildon_app_menu_init):
3442 Use vertical-spacing to set the space between filter buttons and
3443 regular menu buttons.
3444 Set the default container border using the inner-border value.
3446 * examples/hildon-app-menu-example.c
3448 Don't set the menu border explicitly, now we have the inner-border
3449 style property for that.
3451 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3453 * src/hildon-app-menu.c (hildon_app_menu_init):
3454 Make the window modal
3456 * src/hildon-note.c (hildon_note_map)
3457 * src/hildon-app-menu.c (hildon_app_menu_map):
3458 Destroy the grab window if we're unable to grab the pointer
3460 * src/hildon-app-menu-private.h
3461 * src/hildon-app-menu.c
3462 (hildon_app_menu_init, hildon_app_menu_finalize)
3463 (hildon_app_menu_map, hildon_app_menu_unmap)
3464 (hildon_app_menu_button_release)
3465 (grab_transfer_window_get):
3466 Bring back the grab window
3467 (hildon_app_menu_realize):
3468 Decorate the window, set WM hint for Matchbox
3470 * src/hildon-note.c (hildon_note_realize):
3471 * src/hildon-banner.c (hildon_banner_realize):
3472 Add WM hints for Matchbox
3474 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-app-menu-private.h
3477 * src/hildon-app-menu.c
3478 (hildon_app_menu_init, hildon_app_menu_finalize)
3479 (hildon_app_menu_map, hildon_app_menu_unmap)
3480 (hildon_app_menu_button_release):
3481 Remove the grab window, it's not needed anymore
3483 * src/hildon-program.c
3484 Fixed typo in documentation
3486 * src/hildon-app-menu.h
3487 * src/hildon-app-menu.c
3488 * examples/hildon-app-menu-example.c
3489 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3491 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3494 Added new transfer_window and close_if_pressed_outside private
3496 (hildon_note_rebuild):
3497 Don't add a cancel button to the information note. It will be
3498 closed when tapping outside
3499 Remove the comment about the OK button in the documentation
3500 (hildon_note_realize):
3501 Set the notification type hint
3502 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3503 Grab/ungrab pointer and keyboard if the note has to be closed when
3505 (hildon_note_button_release):
3506 Close the note when tapping outside (if applicable)
3508 * src/hildon-app-menu.c
3509 Grab/ungrab pointer and keyboard on map/unmap
3510 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3511 Close the menu on button release, not button press
3513 * src/hildon-banner.c
3514 (hildon_banner_set_property)
3515 (hildon_banner_check_position):
3516 Make the banner use the full width of the screen
3517 (hildon_banner_show_information)
3518 (hildon_banner_show_information_with_markup):
3519 Don't display an icon by default
3521 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3523 Added fading scrollbars and adapted all the overshooting code to
3524 horizontal scrolling. We have also fixed bugs with overshooting
3525 and current fading implementation.
3527 * src/hildon-pannable-area.c
3528 (hildon_pannable_area_scroll_indicator_fade): Time out function
3529 used to change the transparency of the scrollbars.
3531 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3532 control and fixed a problem with fading, we now remove the fade
3533 timeout before adding a new one.
3535 (hildon_pannable_axis_scroll):
3536 (hildon_pannable_area_scroll):
3537 (hildon_pannable_area_timeout): Added this functions so we can use
3538 the scroll code both for vertical and horizontal.
3540 (hildon_pannable_area_motion_notify_cb):
3541 (hildon_pannable_area_button_release_cb): Added the horizontal
3542 scrolling control, fixed a problem with the overshooting timeout.
3544 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3545 painting of the scrolls.
3547 (hildon_pannable_draw_vscroll):
3548 (hildon_pannable_draw_hscroll):
3549 (hildon_pannable_area_expose_event):
3550 Draw both scrollbars and rectangles in the overshooting area.
3552 (hildon_pannable_area_get_property):
3553 (hildon_pannable_area_set_property):
3554 Modified the overshoot property to overshoot_max
3556 (hildon_pannable_area_map):
3557 Replaced the comments symbols.
3559 (hildon_pannable_area_size_allocate):
3560 (hildon_pannable_area_class_init):
3561 (hildon_pannable_area_init): Added horizontal scroll, fading
3562 effect properties, fixed a problem when overshooting in the bottom
3565 * examples/hildon-pannable-area-example.c:
3566 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3567 looks better in the example.
3569 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-window.c
3572 * src/hildon-window.h
3573 (hildon_window_class_init)
3574 (hildon_window_unset_program)
3575 (hildon_window_unset_program_real):
3576 Make unset_program a virtual function
3578 * src/hildon-stackable-window.c
3579 * src/hildon-stackable-window.h
3580 Added hildon_stackable_window_go_home()
3582 * examples/Makefile.am
3583 * examples/hildon-stackable-window-example.c
3584 HildonStackableWindow example
3586 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3588 * hildon-pannable-area.c: Added the overshoot property and removed
3589 the OVERSHOOT define. Fixed an indent style error.
3590 (hildon_pannable_area_motion_notify_cb):
3591 (hildon_pannable_area_get_property):
3592 (hildon_pannable_area_set_property): Add overshoot property.
3594 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3597 (hildon_pannable_area_class_init): Installed the new property.
3599 * hildon-pannable-area-example.c: Added a sawtooth function, this
3600 way it is easier to check the movement in the pannable.
3601 (get_sawtooth_label): Added this function.
3602 (main): Now we get the labels from the new get_sawtooth_label
3605 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3607 * src/hildon-app-menu.h
3608 * src/hildon-app-menu.c
3609 Renamed API variables for consistency
3611 (hildon_app_menu_popup): Use also the default window size to
3612 decide where to place the menu
3614 (hildon_app_menu_init, hildon_app_menu_class_init): New
3615 external-border style property
3617 2008-05-26 Michael Natterer <mitch@imendio.com>
3619 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3620 widget_class->tap_and_hold_setup signal slot doesn't exist any
3621 longer, stop overriding it.
3623 (hildon_time_editor_init): g_signal_connect() to the
3624 tap-and-hold-setup signal instead.
3626 (hildon_time_editor_entry_keypress): add cast to fix warning.
3628 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3630 * doc/hildon-docs.sgml
3632 * examples/Makefile.am
3633 * examples/hildon-app-menu-example.c
3635 * src/hildon-app-menu-private.h
3636 * src/hildon-app-menu.c
3637 * src/hildon-app-menu.h
3639 New HildonAppMenu widget
3641 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3643 Rearranged the inheritance of the pannable area, now it inherits
3644 from GtkBin. This will allow us to control the event_window and
3645 the allocation process of the widget, required for some effects.
3647 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3648 GtkBin structures. * src/hildon-pannable-area.c: Added the
3649 event_window variable.
3650 (hildon_pannable_area_button_press_cb):
3651 (hildon_pannable_area_button_release_cb):
3652 (hildon_pannable_area_motion_notify_cb):
3653 Changed the signature of the method, now we override the event
3654 callback instead of connecting to the signal.
3656 (hildon_pannable_area_realize):
3657 (hildon_pannable_area_unrealize):
3658 (hildon_pannable_area_map):
3659 (hildon_pannable_area_unmap):
3660 (hildon_pannable_area_size_allocate):
3661 Added functions to control the widget construction. We add a
3662 INPUT_ONLY window and we put it over the widgets inside the
3663 container, this event_window handles the events.
3665 (hildon_pannable_area_class_init):
3666 Replaced the signal connections with overrides of the event
3669 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3671 Bouncing effect added when touching the borders, you can change
3672 the elasticity of the border changing the ELASTICITY define.
3674 * src/hildon-pannable-area.c: Added ELASTICITY define.
3675 (hildon_pannable_area_timeout): Added inverse velocity when
3676 touching the border of the child widget, that causes a bounce.
3678 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3680 Improved performance, we now do not go to the X server in order to
3681 get the list of window children. Apparently the effect is the
3682 same, we have to be careful and check if this breaks something in
3685 * src/hildon-pannable-area.c:
3686 (get_ordered_children): Removed this function.
3687 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3688 the children windows function with gdk_window_get_children.
3690 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3692 * src/hildon-pannable-area.c:
3693 (hildon_pannable_area_dispose): Fixed a crash when closing the
3694 window and kinetics is activated.
3696 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3698 * src/hildon-pannable-area.h
3699 * src/hildon-pannable-area.c
3700 Changed indentation style to meet the one used in Hildon
3702 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3704 Reviewed the interaction of the AUTO mode, now we use the time
3705 attribute of the events and calculate the velocity in the motion,
3706 doing a gimp like calculation. The velocity is calculated in each
3707 motion event using the last velocity and the current one, the
3708 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3710 * src/hildon-pannable-area.c: Replaced the time based algorithm
3712 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3713 timeout for the AUTO mode when we are still moving the cursor. We
3714 added also the velocity calculation in this function.
3715 (hildon_pannable_area_button_release_cb): launch the timeout in
3716 case we are in AUTO mode. There are still some constants here that
3717 come from the old implementation that should be reviewed and
3720 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3722 * doc/hildon-docs.sgml
3725 * src/hildon-stackable-window.c
3726 * src/hildon-stackable-window.h
3728 New HildonStackableWindow widget
3730 * examples/hildon-dialog-example.c
3731 * examples/hildon-pannable-area-example.c
3734 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-dialog.c
3737 (hildon_dialog_new_with_buttons): New constructor.
3739 * examples/hildon-dialog-example.c
3740 (main): Update the example to use the new
3741 hildon_dialog_new_with_buttons().
3743 * examples/hildon-pannable-area-example.c
3744 (main): Update example.
3746 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3748 * doc/hildon-docs.sgml
3750 Added HildonPannableArea to the documentation.
3752 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3754 * doc/visual_index.xml
3755 Fix reference to HildonLoginDialog in documentation
3757 * doc/hildon-docs.sgml
3759 * examples/Makefile.am
3760 * examples/hildon-dialog-example.c
3762 * src/hildon-dialog.c
3763 * src/hildon-dialog.h
3765 New HildonDialog widget.
3767 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3769 * src/hildon-pannable-area.c
3770 Merge latest changes (r4318, r4342) from libmokoui trunk
3772 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3774 * examples/Makefile.am
3775 * examples/hildon-pannable-area-example.c
3777 * src/hildon-pannable-area.c
3778 * src/hildon-pannable-area.h
3780 New HildonPannableArea widget.
3782 2008-04-15 18:05:19 <timj@imendio.com>
3784 * src/hildon-banner.c: revert the recent change, that introduced
3785 gtk_window_present() calls. this reopens:
3786 Bug 78481 - [freetest] information banners are hidden under browser menu
3787 But resolves another variant of:
3788 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3790 2008-04-15 13:21:13 <timj@imendio.com>
3792 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3793 recreated its layout, spotted by Kris. this fixes all remaining
3794 artefacts and stability issues with the banner code. in particular:
3795 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3797 2008-04-14 16:52:59 <timj@imendio.com>
3799 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3800 operating on unrealized widgets, fixes:
3801 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3803 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3805 2008-04-09 Kristian Rietveld <kris@imendio.com>
3807 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3808 makes banner disappear.
3809 Fixes: NB#79182: info banner flickering with certain message lengts.
3811 * src/hildon-banner.c (hildon_banner_constructor),
3812 (hildon_banner_init), (hildon_banner_set_text),
3813 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3814 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3815 FALSE, reset size requests of label and banner,
3816 (force_to_wrap_truncated): when the text is too wide, always enforce
3817 the maximum possible width instead of recalculating it from the
3818 layout; enforce the maximum banner height of 3 lines,
3819 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3820 nicer wrapping and no truncated chars if space gets tight.
3822 * src/hildon-banner-private.h: add has_been_wrapped and
3823 has_been_truncated fields.
3825 2008-04-07 Sven Herzberg <sven@imendio.com>
3827 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3828 local values in hildon_date_editor_size_allocate
3830 * src/hildon-date-editor.c: moved the real allocation code into the
3833 2008-04-07 Sven Herzberg <sven@imendio.com>
3835 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3836 local values in hildon_date_editor_size_allocate
3838 * src/hildon-date-editor.c: merged the two if() branches together
3840 2008-04-07 Sven Herzberg <sven@imendio.com>
3842 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3843 local values in hildon_date_editor_size_allocate
3845 * src/hildon-date-editor.c: changed the arguments of the if()
3848 2008-04-07 Sven Herzberg <sven@imendio.com>
3850 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3851 local values in hildon_date_editor_size_allocate
3853 * src/hildon-date-editor.c: split the calculation of the allocation
3854 from the real allocation
3856 2008-03-27 Michael Natterer <mitch@imendio.com>
3858 Fixes: NB#81696: The passcode is not overwritten even after
3861 * src/hildon-code-dialog.c
3862 (hildon_code_dialog_button_clicked)
3863 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3864 because that doesn't overwrite selected text. Instead, emit the
3865 "commit" signal on the entry's im_context so the entry's normal
3866 insert logic is triggered. Set the cursor to the end of the entry
3867 after each insert operation so that we *only* insert in the middle
3868 of the text if something was selected.
3870 2008-03-27 Michael Natterer <mitch@imendio.com>
3872 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3873 selector cannot be opened
3875 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3876 when the popup color selector is created. Please connect to this
3877 signal in order to set the dialog's help ID.
3879 2008-03-25 Sven Herzberg <sven@imendio.com>
3881 Fixes: MB#1212: Hide info banners (infoprints) on click
3883 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3884 extracted the close event simulation into an extra function
3885 (hildon_banner_button_press_event): simulate a close event and destroy
3886 the widget if the event wasn't handled
3887 (hildon_banner_class_init): added the button_press_event handler
3888 (hildon_banner_init): added button-press events to the widget
3890 2008-03-25 Sven Herzberg <sven@imendio.com>
3892 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3893 Patch from: Mohammad Anwari <mdamt@maemo.org>
3895 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3896 instead of the right in RTL mode
3897 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3898 breadcrumb button list in RTL mode
3899 * src/hildon-caption.c: mirror the appearance of the caption widget in
3901 * src/hildon-date-editor.c: mirror appearance of the date editor in
3903 * src/hildon-time-editor.c: mirror appearance of the time editor in
3905 * src/hildon-window.c: fix the position of the popup in RTL mode
3907 2008-03-25 Sven Herzberg <sven@imendio.com>
3909 Amendment to the fix of NB#22072. Fix compilation.
3911 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3913 2008-03-19 Sven Herzberg <sven@imendio.com>
3915 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3918 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3919 timeout id properly when the timeout will disappear this leaves no
3920 artifacts around in the destroy(); there will only be the timeout
3921 created by hildon_banner_ensure_timeout() and adding a new timeout
3922 will also work if the timeout gets removed because the timeout_handler
3925 2008-03-19 Michael Natterer <mitch@imendio.com>
3927 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3929 * src/hildon-volumebar.c
3930 * src/hildon-vvolumebar.c
3931 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3932 the widget becomes focussable at all.
3934 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3935 set the focus to wither the mute button or the volumebar.
3937 Remove own "can-focus" property and instead listen to
3938 notify::can-focus in order to update the widget's state.
3940 Implement GtkWidget::focus() and make sure we can also *leave* the
3941 widget, not only enter it, depending on volumebar orientation and
3942 requested focus direction.
3944 Clean up set_mute() to cooperate nicely with all the above.
3946 2008-03-04 Michael Natterer <mitch@imendio.com>
3948 Fixes: NB#78481: information banners are hidden under browser menu
3950 * src/hildon-banner.c: call gtk_window_present() on the banners so
3951 they are risen if they are already visible.
3953 2008-03-03 Sven Herzberg <sven@imendio.com>
3955 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3957 * examples/hildon-window-menu-example.c: (main): extended the window
3958 menu example to serve as a testcase for automatically added
3959 accelerator groups, too
3960 * src/hildon-window.c: (hildon_window_add_accel_group),
3961 (hildon_window_set_menu): added patch by Tommi Komulainen
3963 2008-03-03 Sven Herzberg <sven@imendio.com>
3965 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3967 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3968 knowledge about the border allocators used within GTK+
3970 2008-02-26 Sven Herzberg <sven@imendio.com>
3972 Fixes: MB#2981: Build with asserts broken
3974 * src/hildon-date-editor.c,
3975 * src/hildon-number-editor.c,
3976 * src/hildon-time-editor.c,
3977 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3978 the proper GType instance check
3980 2008-02-25 Sven Herzberg <sven@imendio.com>
3982 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3984 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3985 * examples/hildon-window-menu-example.c: (main): explicitly show
3987 * src/hildon-window.c:
3988 (hildon_window_set_main_menu): moved most of the code from set_menu()
3989 to this place; skipped the call to gtk_widget_show_all(); also didn't
3990 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3991 (hildon_window_set_menu): removed most of the code, just keep the
3992 questionable gtk_widget_show_all()
3993 * src/hildon-window.h: added the new function and deprecate the old
3996 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4002 * debian/changelog: Updating.
4004 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4007 * pkgconfig/Makefile.am:
4008 * pkgconfig/hildon.pc.in:
4011 Do not use PACKAGE_VERSION_MAJOR as the API revision,
4012 use newly created API_MAJOR_VERSION.
4014 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4020 * debian/changelog: Updating.
4022 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4024 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4026 Add outer_border style property, we use it but don't define it (!).
4030 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4032 * examples/hildon-bread-crumb-trail-example.c (main):
4036 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4038 Fix logic for the bread crumb trail node removal.
4042 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4048 * debian/changelog: Updating.
4050 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4052 Patch by Alejandro to get/set passwords dialogs accesibility.
4054 * hildon-1/src/hildon-get-password-dialog.c:
4055 * hildon-1/src/hildon-set-password-dialog.c:
4056 Set atk_set_name to the passwd entries in order to allow
4057 accessibility by name on this entries.
4059 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4064 * debian/control: Updating gtk dep.
4066 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4068 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4069 USE_MAEMO_GTK is enabled.
4071 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4073 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4074 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4076 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4082 * debian/changelog: Updating.
4084 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4086 * examples/Makefile.am:
4087 * examples/hildon-logical-color-example.c:
4088 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4089 applied + adding a test case. Fixes: NB#71660.
4091 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4093 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4094 to be visible, fixes warning on map for windows without toolbars.
4096 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4098 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4099 2.11.0, add a check for that besides the MAEMO_GTK check.
4101 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4107 * debian/changelog: Updating.
4109 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4111 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4112 visibility. Fixes: NB#70842 and MB#615.
4114 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4116 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4117 set the separator as no-show-all so it doesn't unintentionally appear when
4118 someone does a show_all.
4120 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4123 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4124 toplevel item. Fixes: NB#62031
4126 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4128 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4129 fix the name of the function in the docs.
4131 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4137 * debian/changelog: Updating.
4139 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4141 * examples/hildon-banner-long-example.c: Adding a test-case for long
4144 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4146 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4148 * src/hildon-color-chooser-dialog.c:
4149 * src/hildon-color-chooser.c:
4150 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4151 memory leaks in font selector and color selector. Fixes: NB#70499 and
4154 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4156 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4158 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4161 little bit bigger. Fixes: #NB63694.
4163 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4169 * debian/changelog: Updating.
4171 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * doc/hildon-docs.sgml:
4175 * doc/images/bread-crumb-trail.png:
4176 * doc/images/calendar-popup.png:
4177 * doc/images/caption.png:
4178 * doc/images/code-dialog.png:
4179 * doc/images/color-button.png:
4180 * doc/images/color-chooser-dialog.png:
4181 * doc/images/color-chooser.png:
4182 * doc/images/controlbar.png:
4183 * doc/images/date-editor.png:
4184 * doc/images/font-selection-dialog.png:
4185 * doc/images/get-password-dialog.png:
4186 * doc/images/hvolumebar.png:
4187 * doc/images/login-dialog.png:
4188 * doc/images/note.png:
4189 * doc/images/number-editor.png:
4190 * doc/images/range-editor.png:
4191 * doc/images/seekbar.png:
4192 * doc/images/set-password-dialog.png:
4193 * doc/images/sort-dialog.png:
4194 * doc/images/time-editor.png:
4195 * doc/images/time-picker.png:
4196 * doc/images/vvolumebar.png:
4197 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4198 Adding the bread-crumb-trial and helpers to the documentation.
4200 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4202 * examples/hildon-find-toolbar-example.c:
4203 * src/hildon-find-toolbar.c:
4204 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4205 actually continue firing the other handlers if connected. Adding a new
4207 hildon_find_toolbar_get_last_index that gets the index of the most
4208 recently added (last) item. Fixes: NB#52301.
4210 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4212 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4213 behaviour. Fixes: NB#68610.
4215 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4217 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4220 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4222 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4223 when realizing the banner. Should make the infonbanner effect a bit more
4226 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * src/hildon-volumebar.c:
4229 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4230 hildon_volumebar_set_range_insensitive_message and
4231 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4233 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4235 * src/hildon-window.c: Fixing the border freeing on destroy.
4237 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4239 * src/hildon-code-dialog-private.h:
4240 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4241 kw keyboard support in HildonCodeDialog.
4243 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4249 * debian/changelog: Updating.
4251 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4253 * src/hildon-date-editor.c:
4254 * src/hildon-number-editor.c:
4255 * src/hildon-private.c:
4256 * src/hildon-private.h:
4257 * src/hildon-time-editor.c:
4258 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4259 handling in subclassed composite widgets. Fixes: NB#66628.
4261 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4263 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4264 from destroy_ callback as it introduces problems in async dbus signal
4265 handlers. Fixes NB#66673.
4267 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4269 * examples/hildon-hvolumebar-example.c:
4270 * src/hildon-volumebar.c: Improving the focus handling in the
4271 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4272 set_property accessor so that "mute" property can be actually set. I'm
4273 scared that nobody noticed it's totally broken.
4275 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4277 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4280 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4282 * src/hildon-calendar.c:
4283 * src/hildon-number-editor.c:
4284 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4285 matches the spec of 6 chars per second. Fixes: NB#60489.
4287 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4289 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4290 gtk_style_lookup_color sometime returns FALSE even though color was
4291 found and values were filled properly. Weird. Removing the warning for the
4294 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4296 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4297 expand vertically. Adding some extra space to the find toolbar buttons to
4298 make them thumbable. Fixes NB#66060.
4300 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4302 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4303 popup with "Ok" and "Cancel". Fixes NB#59299.
4305 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4307 * src/hildon-calendar.c: Process all window updates before executing next
4308 timeout. Fixes: NB#54146.
4310 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4316 * debian/changelog: Updating.
4318 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4320 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4321 the client event and ignore it, since we use the delete event to close
4324 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * src/hildon-helper.c: Remove the bogus warning about color not being
4327 found. Fixes NB#58352.
4329 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4331 * examples/Makefile.am:
4332 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4333 HildonSeekbar widget inside a toolbar.
4335 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4337 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4338 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4339 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4340 don't want to be closed by non-temporary windows on map.
4342 Also use G_DEFINE_TYPE instead of manually typed code.
4344 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4351 * debian/rules: Updating.
4353 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4355 * examples/Makefile.am:
4356 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4357 bug NB#61128. Strangely it works.
4359 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4361 * src/hildon-date-editor.c: When the date editor entry has been changed
4362 but the numbers of characters < max, turn off the skip validation flag.
4363 Prevents a situation when we enter first a valid year and later re-write
4364 it with an invalid one. Fixes NB#60154.
4366 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4368 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4369 code dialog. Fixes NB#64355.
4371 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4373 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4374 switching the page. Fixes NB#49374.
4376 * examples/Makefile.am:
4377 * examples/hildon-wizard-dialog-example.c: Adding an example for
4378 HildonWizardDialog that shows how to handle manual sensitivity setting on
4381 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4385 * src/hildon-version.h.in:
4386 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4388 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4390 * src/hildon-volumebar.c: Updating the docs.
4392 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4398 * debian/changelog: Updating.
4400 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4402 * src/hildon-find-toolbar.c:
4403 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4404 selected item: hildon_find_toolbar_set_active,
4405 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4406 hildon_find_toolbar_get_active_iter . They correspond to respective
4407 GtkComboBox functions.
4409 * examples/Makefile.am:
4410 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4413 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4415 * examples/Makefile.am:
4416 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4419 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4420 when font size > 32 and we pack a focusable widget inside. Actually using
4421 the default response would work too, but since we don't show default
4422 response state in any way (no theming) it would not be visible to the
4423 user. Fixes NB#63430.
4425 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4427 * src/hildon-date-editor.c: Adding the missing variable setter in the
4428 set_property handler. Fixes NB#54182.
4430 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4432 * src/hildon-window.h: Changing the long key press time from 1500ms to
4433 800ms as requested in NB#63700. I have a bad feeling about this, let's
4434 see... Fixes NB#63700.
4436 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4438 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4439 hildon_time_picker_map, hildon_time_picker_realize,
4440 hildon_time_picker_style_set): Split the contents of map to more
4441 appropriate functions; set window decorations on realize and update
4442 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4444 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4449 * debian/changelog: Updating.
4451 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4453 * src/Makefile.am: fixed installation of the header files
4455 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4461 * debian/changelog: Updating.
4463 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4465 * configure.ac: Removing some remaining of --enable-xan.
4467 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4469 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4470 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4472 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4473 2.10.12-osso6 because the move-focus signal needs to be available in
4476 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4478 * examples/Makefile.am:
4479 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4480 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4481 fine. Prolly NB#61128 is fixed now.
4483 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4485 * src/hildon-volumebar.c:
4486 * src/hildon-volumebar.h: Adding the
4487 hildon_volumebar_set_range_insensitive_message and
4488 hildon_volumebar_set_range_insensitive_messagef functions to set
4489 insensitive message on the slider of the volumebar. Fixes NB#61129.
4491 * examples/Makefile.am:
4492 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4493 test the new insensitive messsage functionality on HildonVolumebar.
4495 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4497 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4500 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4502 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4503 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4504 button on after clearing the trail.
4506 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4508 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4510 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4512 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4513 by splitting the installed headers in generated and non-generated groups. Use
4514 only the non-generated headers to create the hildon-enum-types.h file.
4516 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4518 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4520 * src/hildon-window.c: Hide the window before performing the destroy.
4521 Should make the app closing a little tiny bit more snappy.
4523 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4525 * src/hildon-seekbar.c: add gtkrange.h header
4526 * src/hildon-caption.c: remove unused variable
4528 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4530 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4533 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4539 * debian/changelog: Updating.
4541 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4543 * src/hildon-window.c (hildon_window_window_state_event,
4544 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4545 escape timeout on focus-out-event rather than notify::is-topmost; the
4546 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4548 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4550 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4551 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4553 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4555 * src/hildon-window: actually, you need to use the macro always, there's
4556 no private pointer in the instance structure. We should have cleaned this up
4557 when we had the chance...
4559 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4561 * src/hildon-window.c: do not get the private date from HildonWindow before
4562 it passes the g_return_if_fail check. Once it's passed the test, there's no
4563 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4564 if you are only going to access the data once. Whitespace cleanups.
4566 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4568 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4569 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4571 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4577 * debian/changelog: Updating.
4579 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4581 * src/hildon-window.c: When destroying the window, remove (if exists) the
4582 escape timeout handler. Fixes #NB59276.
4584 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4586 * src/hildon-banner.c: When realizing the widget, set the window
4587 transiency. Setting the transiency in the gobject constructor is not
4588 good, as the widget is not realized at that point. Fixes: #NB56624.
4590 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4592 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4593 Add padding for future expansions.
4595 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4598 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4599 will fake an activation on the previous to the last item of the trail, so
4600 the effect can be overrided by the developer as usual.
4601 Also change the callback for the back button to do the same thing, so its
4602 effect can be overrided too. Fixes: NB#58982
4604 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4606 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4607 HildonCaption. Fixes NB#52379.
4609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4611 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4612 the internal state of the trail after the user has had the chance of executing
4613 his handler for the signal. Specifically, it may happen that the activated button
4614 is removed and the user still lets the default handler run. This would segfault
4617 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4619 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4620 scrollbar to the preview dialog. Fixes NB#54147.
4622 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4624 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4625 max/min year properties can be altered, so the client can modify it
4626 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4628 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4630 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4631 hildonlike by default. Fixing a problem with disappearing arrows when
4632 scrolling through months and years. Fixes NB#54127.
4634 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4636 * examples/hildon-date-editor-example.c: Adding error callback to the date
4639 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4645 * configure.ac: Updating.
4647 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4649 * configure.ac: Adding a special '--enable-xan' configure option that
4650 turns off the -Werror compilation setting. Usefull for development.
4652 * src/hildon-calendar.c:
4653 * src/hildon-number-editor.c:
4654 * src/hildon-time-picker.c: Adding the 5* multiplier to
4657 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4659 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4660 instead of g_object_ref + gtk_object_sink.
4662 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * debian/changelog: Updating.
4670 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4672 * src/hildon-color-chooser-dialog.c:
4673 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4674 straight from Tommi labs.
4676 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4678 * examples/hildon-finger-example.c: Correcting the header file path.
4680 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4681 the changed signal. Fixes a small memory leak.
4683 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4687 * src/hildon-banner.c: Importing several usefull fixes from the
4688 ubuntu-mobile branch.
4690 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4692 * examples/Makefile.am:
4693 * examples/hildon-finger-example.c: Adding a finger-checking code
4696 * src/hildon-font-selection-dialog.c: Do not allocate the color
4697 structure using the g_new. Fixes NB#54061.
4699 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4701 * src/hildon-helper.c: Correcting tabs in file.
4703 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4705 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4706 control the visibility of the children.
4708 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4710 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4716 * debian/changelog: Updating.
4718 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4720 * src/hildon-bread-crumb-trail.c:
4721 (hildon_bread_crumb_trail_size_allocate):
4723 Make the back button always a square.
4725 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4727 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4728 from the .c file as it's a private file.
4730 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4732 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4733 uses slightly bigger height.
4735 * src/hildon-font-selection-dialog.c: Adding some checks before
4736 freeing memory in the font selection dialog.
4738 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4740 * src/hildon-font-selection-dialog.c: Adding a small check when
4743 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4744 buttons sensitivity on page switching.
4746 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4748 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4749 internal details of adding a bread crumb to the trail.
4751 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4757 * debian/changelog: Updating.
4759 * src/hildon-bread-crumb-trail.h:
4760 * src/hildon-bread-crumb.h: Changing the API guard to
4761 HILDON_ENABLE_UNSTABLE_API.
4763 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4771 * src/hildon-helper.h: Updating.
4773 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4781 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4785 * src/hildon-helper.h: Small fix to make the package actually compile.
4787 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4789 * src/hildon-bread-crumb-trail.h:
4790 * src/hildon-bread-crumb.h:
4792 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4793 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4795 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4797 * examples/hildon-bread-crumb-trail-example.c:
4799 * src/hildon-bread-crumb-trail.c:
4800 * src/hildon-bread-crumb-trail.h:
4801 * src/hildon-bread-crumb.c:
4802 * src/hildon-bread-crumb.h:
4803 * src/hildon-marshalers.list:
4804 * src/hildon-bread-crumb-widget.c:
4805 * src/hildon-bread-crumb-widget.h:
4807 Slight change in the widget design. The bread crumb trail API is
4808 unchanged, but HildonBreadCrumb is now an interface. A *private*
4809 implementation, hildon-bread-crumb-widget, is provided and used
4810 internally by the trail for the push_text/push_icon functions.
4812 The generic push API is still available, so anyone can implement
4813 and use its own bread crumb widget.
4815 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4817 * debian/rules: Fixing the shlibs.
4819 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4821 * src/hildon-banner.c: Fixing a problem with timed banners having
4822 their parrent destroyed before they are.
4824 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4826 * src/hildon-bread-crumb.c:
4827 * src/hildon-bread-crumb.h:
4829 Make the get_natural_size function a vfunc.
4831 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4833 * src/hildon-bread-crumb.c:
4834 * src/hildon-bread-crumb-trail.c:
4838 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4845 * debian/changelog: Updating for release.
4847 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4849 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4850 don't leak the pango layout.
4852 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4855 * examples/hildon-bread-crumb-trail-example.c:
4859 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4861 * debian/changelog: Removing the bug-fixed entries that were actually
4862 resolved as WONTFIX.
4864 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4867 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4869 * src/hildon-bread-crumb-trail.c:
4870 * src/hildon-bread-crumb-trail.h:
4871 * src/hildon-bread-crumb.c:
4872 * src/hildon-bread-crumb.h:
4876 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4878 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4879 until it's passed the type check.
4881 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4883 * examples/hildon-bread-crumb-trail-example.c
4887 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4889 * examples/Makefile.am
4890 * examples/hildon-bread-crumb-trail-example.c
4892 * src/hildon-bread-crumb-trail.c
4893 * src/hildon-bread-crumb-trail.h
4894 * src/hildon-bread-crumb.c
4895 * src/hildon-bread-crumb.h
4897 New HildonBreadCrumbTrail widget.
4899 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4901 * src/hildon-range-editor.c (hildon_range_editor_init),
4902 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4903 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4904 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4905 hildon_time_editor_class_init, hildon_time_editor_init),
4906 src/hildon-get-password-dialog.c (invalid_input,
4907 hildon_get_password_set_property, hildon_get_password_get_property,
4908 create_contents, hildon_get_password_dialog_set_max_characters),
4909 src/hildon-set-password-dialog.c (create_contents),
4910 src/hildon-date-editor.c (hildon_date_editor_init),
4911 src/hildon-login-dialog.c (hildon_login_dialog_init),
4912 src/hildon-number-editor.c (hildon_number_editor_init),
4913 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4914 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4915 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4916 configure option and adding the respective checks in the code.
4917 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4918 hildon_calendar_drag_data_received): fixed some build warnings.
4920 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4922 * debian/changelog: A 1.0.0 release notes.