1 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-app-menu-example.c (create_menu)
4 Show items after adding them to the menu, as in the future the
5 menu will no longer call gtk_widget_show() on the added items.
7 * src/hildon-app-menu.c:
8 Update example as explained above.
10 2008-12-02 Alberto Garcia <agarcia@igalia.com>
12 * src/hildon-app-menu.c
13 (hildon_app_menu_insert, hildon_app_menu_add_filter):
14 Make sure that all menu items have finger height.
16 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
18 * src/hildon-picker-dialog.c:
19 (_on_dialog_response), (_save_current_selection),
20 (_restore_current_selection), (_clean_current_selection),
21 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
22 Defined new functions in order to save the current internal selector
23 selection previous open the dialog, in case that the use cancel the
24 interaction, so the widget restores the previous selection.
28 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
30 2008-11-28 Alberto Garcia <agarcia@igalia.com>
32 * src/hildon-button.c: Add a reference to the button examples in
33 hildon-button-example.c
35 * examples/hildon-button-example.c: Added examples of the most
36 common button layouts.
38 2008-11-28 Alberto Garcia <agarcia@igalia.com>
40 * src/hildon-app-menu.c (hildon_app_menu_show)
41 (hildon_app_menu_class_init): Don't show the menu if it's empty.
43 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
45 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
47 * src/hildon-picker-dialog.c:
48 (hildon_picker_dialog_init): Initialize the signal id for
49 HildonTouchSelector::columns-changed.
50 (+on_selector_columns_changed): Set up the interaction mode everytime a
51 column is added or removed from the HildonTouchSelector.
52 (_hildon_picker_dialog_set_selector): Connect to
53 HildonTouchSelector::columns-changed and keep track of it.
55 Make sure to update the interaction mode of the dialog everytime a
56 column is added or removed in the HildonTouchSelector.
58 Fixes: NB#93228 (Done button is not shown always in listpicker)
60 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
62 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
63 a new ::columns-changed signal.
64 (hildon_touch_selector_append_column): Emit ::columns-changed.
65 (hildon_touch_selector_remove_column): Emit ::columns-changed.
67 Add a ::columns-changed signal, emitted when the number of columns in a
68 HildonTouchSelector changes.
70 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
72 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
73 (_hildon_picker_dialog_set_selector): Factor out the code
74 to set up the dialog interaction mode.
76 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
78 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
79 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
82 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
84 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
87 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
89 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
90 Updated the logical ids related to ampm format, as now it is required to
91 show it correctly localized even on languages with no default
92 abbreviations for am or pm
93 (_check_am_pm_format): check correctly the 24h format gconf property
95 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
97 2008-11-27 Alberto Garcia <agarcia@igalia.com>
99 * src/hildon-button.c: Documentation updates.
101 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
103 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
104 * src/hildon-caption.c: (hildon_caption_class_init):
105 * src/hildon-color-button.c: (hildon_color_button_class_init):
106 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
107 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
108 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
109 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
111 Remove deprecated GTK+ marshalers and replace them with the ones
112 provided by GLib, for those available, add a marshaler for
113 BOOLEAN:VOID, which is not available in GLib, and use it.
115 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
118 the text from the previous column if there is no
119 HildonTouchSelectorColumn::text-property set.
121 2008-11-27 Alberto Garcia <agarcia@igalia.com>
123 * src/hildon-button.h
124 * src/hildon-button.c (hildon_button_set_property)
125 (hildon_button_get_property, hildon_button_class_init)
126 (hildon_button_set_style, hildon_button_get_style):
127 New "style" property to change the visual appearance of the
130 * src/hildon-picker-button.c (hildon_picker_button_new):
131 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
133 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
134 HildonButton look like PickerButton)
136 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
138 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
139 column while building the default string.
141 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
144 scroll indicator by default.
146 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
148 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
150 * src/hildon-main.c: Fix the documentation for hildon_init()
152 2008-11-25 Alberto Garcia <agarcia@igalia.com>
154 * doc/hildon-docs.sgml
158 * src/hildon-window-stack-private.h
159 * src/hildon-window-stack.h
160 * src/hildon-window-stack.c:
161 New HildonWindowStack object, that adds support for multiple
162 stacks of windows per process.
164 * src/hildon-stackable-window-private.h
165 * src/hildon-stackable-window.h
166 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
167 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
168 (hildon_stackable_window_show, hildon_stackable_window_hide)
169 (hildon_stackable_window_class_init)
170 (hildon_stackable_window_init):
171 Use HildonWindowStack for stack management.
173 * src/hildon-program.c (hildon_program_pop_window_stack)
174 (hildon_program_peek_window_stack)
175 (hildon_program_go_to_root_window):
176 Add a fallback implementation to the deprecated functions using
179 * examples/hildon-stackable-window-example.c:
180 Use the new HildonWindowStack API.
182 2008-11-25 Alberto Garcia <agarcia@igalia.com>
184 * src/hildon-stackable-window-private.h
185 * src/hildon-stackable-window.c (hildon_stackable_window_show)
186 (hildon_stackable_window_hide, hildon_stackable_window_init):
187 Remove all window stack management.
189 * src/hildon-program-private.h
190 * src/hildon-program.h
191 * src/hildon-program.c (hildon_program_init)
192 (hildon_program_pop_window_stack)
193 (hildon_program_peek_window_stack)
194 (hildon_program_go_to_root_window):
195 Remove all window stack management and mark functions as
198 2008-11-25 Alberto Garcia <agarcia@igalia.com>
200 * src/hildon-app-menu.c (hildon_app_menu_realize):
201 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
203 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
205 * configure.ac: post release version bump
206 * debian/changelog: version bump
208 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
213 * configure.ac: bump version
214 * debian/changelog: updates
216 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
218 Based on initial code by Christian Dywan (christian@imendio.com)
220 * doc/hildon-docs.sgml: Add section for hildon-main.
221 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
222 * src/Makefile.am: Add new hildon-main.[ch]
223 * src/hildon-defines.h: Update the icon sizes.
224 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
225 new library initialization files and register icon sizes.
226 * src/hildon-main.h: New declarations.
227 * src/hildon.h: Include hildon-main.h
229 Add new initialization functions to the library. These methods
230 will register the hildon specific icon sizes and can be used in the
231 future for other hildon specific bits.
233 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
235 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
237 * src/hildon-window.c: (hildon_window_realize),
238 (hildon_window_notify), (-hildon_window_update_title): Do not set
239 the application name in the window title.
241 Fixes: NB#89754 (Applications shouldn't display their names in the
244 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
246 * src/hildon-note-private.h:
247 * src/hildon-note.c: (hildon_note_set_property),
248 (hildon_note_get_property), (hildon_note_class_init),
249 (hildon_note_init), (hildon_note_finalize),
250 (hildon_note_new_confirmation_with_icon_name),
251 (hildon_note_new_information_with_icon_name):
253 No need to mark as deprecated the actual code. Revert
254 to avoid missing symbols in widgets using deprecated API.
256 2008-11-20 Alberto Garcia <agarcia@igalia.com>
258 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
260 * src/hildon-volumebar.h
261 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
262 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
264 * src/hildon-helper.h
265 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
266 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
268 * examples/Makefile.am:
269 Deprecate hildon-insensitive-example
271 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
273 2008-11-20 Alberto Garcia <agarcia@igalia.com>
275 * examples/hildon-pannable-area-buttons-scroll-example.c:
276 Make all buttons finger height
278 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
280 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
282 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
283 update the day model only if it is really required, and to avoid the
284 full-reconstruction aproach. Now it only add or remove the required days.
286 The purpose of this is avoid superfluous HildonTouchSelector::changed
289 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
290 with strange parameters)
292 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
294 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
296 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
297 the WINDOW_TYPE property.
299 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
301 2008-11-19 Alberto Garcia <agarcia@igalia.com>
304 Fix dependency to allow parallel compilation with make -jX
306 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
308 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
309 color frame and some minor tweaks to make it more consistent with
312 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
313 highlighted but not visible)
315 2008-11-14 Alejandro G. Castro <alex@igalia.com>
317 * examples/Makefile.am: Fixed typo in the Makefile.am.
319 2008-11-14 Alejandro G. Castro <alex@igalia.com>
321 Reviewed the use of MAEMO_GTK define, now we add the define in the
322 compilation line, and we also add it to the pc file.
324 * configure.ac: Added MAEMO_GTK define to the compilation command
325 and removed it from the config.h.
327 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
328 do not have to take care about this define if the library was
332 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
334 2008-11-14 Alejandro G. Castro <alex@igalia.com>
336 * examples/Makefile.am,
337 * examples/hildon-pannable-area-buttons-scroll-example.c,
338 * examples/hildon-pannable-area-gesture-signals-example.c,
339 * examples/hildon-pannable-area-scroll-jump-example.c,
340 * examples/hildon-pannable-area-tree-view-example.c:
341 Renamed the pannable area examples, now they have more meaningful
344 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
346 * src/hildon-touch-selector.c:
347 (hildon_touch_selector_set_column_selection_mode): Used of
348 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
349 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
350 to avoid re-seting the same selection mode.
352 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
353 breaks HildonPickerDialog)
355 2008-11-13 Alejandro G. Castro <alex@igalia.com>
357 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
358 conditional in the Makefile.am
360 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
363 Remove unused methods.
365 2008-11-12 Alberto Garcia <agarcia@igalia.com>
367 * src/hildon-button.c (hildon_button_init):
368 Make button images center-aligned by default
370 2008-11-12 Alejandro G. Castro <alex@igalia.com>
373 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
374 activated, we have to think about how to deal with both defines
375 MAEMO_GTK and MAEMO_CHANGES.
377 2008-11-12 Alberto Garcia <agarcia@igalia.com>
379 * examples/hildon-app-menu-example.c (create_menu): Make all
382 2008-11-11 Alejandro G. Castro <alex@igalia.com>
384 Fixed the compilation without maemo gtk adding ifdefs with
385 MAEMO_GTK define to the code, we have to check this version more
388 * examples/Makefile.am: Added control to avoid some examples that
389 just make sense with maemo gtk.
392 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
393 hildon modes with the define.
395 * examples/hildon-edit-toolbar-example.c,
396 (create_icon_view): Create the icon view without hildon-gtk
397 helpers if we are not using maemo gtk.
399 * src/hildon-touch-selector.c,
400 (_create_new_column): Create the treeview without hildon-gtk
401 helpers if we are not using maemo gtk.
403 2008-11-11 Alejandro G. Castro <alex@igalia.com>
405 * src/hildon-pnnable-area.c,
406 (hildon_pannable_area_dispose),
407 (hildon_pannable_area_button_press_cb),
408 (hildon_pannable_area_child_mapped),
409 (hildon_pannable_area_add),
410 (hildon_pannable_area_remove): Added code to control the position
411 of the event_window when adding and removing children from the
412 pannable. We have to raise the event window when the child is
415 Fixes: NB#89811 (Not able to select first image thumbnail in multi
416 selection mode using custom widget inside pannable)
418 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
420 * configure.ac: post release version bump
421 * debian/changelog: version bump
423 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
428 * configure.ac: bump version
429 * debian/changelog: updates
431 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
433 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
434 search mode, in order to avoid lose the focus on the treeview when
435 a hw key (like enter) is pressed.
437 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
438 in HildonDateSelector dialog)
440 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
442 * debian/rules: Added --enable-maintainer-mode
443 * Makefile.am: Added ACLOCAL_AMFLAGS
445 This allows to properly regenerate the Makefiles if you modify the
446 configure.ac or any Makefile.am.
448 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
450 * examples/hildon-app-menu-example.c: (main): Do not set RC style
451 properties, not needed at all.
453 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
455 * src/hildon-note-private.h: Add strings for the icon and stock_icon
457 * src/hildon-note.c: (hildon_note_set_property),
458 (hildon_note_get_property), (hildon_note_class_init),
459 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
460 (hildon_note_new_confirmation_add_buttons): Remove icons.
461 (hildon_note_new_confirmation_with_icon_name): Deprecate.
462 (hildon_note_new_information_with_icon_name): Deprecate.
463 (hildon_note_new_confirmation): Act directly, without calling
464 the deprecated constructor.
465 (hildon_note_new_information): Act directly, without calling
466 the deprecated constructor.
467 * src/hildon-note.h: Mark deprecate methods as such.
468 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
469 not run tests on the deprecated methods if built with deprecation
472 Fixes: NB#91688 (Never show icons in information notes/confirmation
475 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
477 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
478 (hildon_app_menu_key_press): Remove leftover usage of the
479 private structure in HildonAppMenu struct.
480 * src/hildon-app-menu.h: Remove leftover private structure
481 from the HildonAppMenu struct.
483 Fixes a crasher when using the HildonAppMenu.
485 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
487 * src/hildon-picker-dialog.c: Use appropriate logical id
488 for the default "Done" text.
490 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
492 * configure.ac: post release version bump
493 * debian/changelog: version bump
495 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
497 Modified the way to scroll to the current selection just when the touch
498 selector is shown on the screen, avoiding a g_idle. Added too a property
499 to configure this behaviour. See hildon_pannable_area_jump_to_child
500 documentation for more information.
502 * src/hildon-touch-selector.c
503 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
504 Added 'initial-scroll' property
505 (hildon_touch_selector_set_property): Added
506 (hildon_touch_selector_map): Removed as not required anymore
507 (_hildon_touch_selector_on_selected_items): Modified in order to manage
508 only a concrete column, instead of iterate along all the columns
510 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
515 * configure.ac: bump version
516 * debian/changelog: updates
518 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
520 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
521 compilation time warnings.
523 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
525 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
526 the default value for HildonPannableArea::mov-mode to
527 HILDON_PANNABLE_AREA_MODE_VERT.
529 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
531 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
533 Reverting following commit:
535 2008-10-13 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-app-menu-private.h
538 * src/hildon-app-menu.[ch]
539 * src/hildon-button.[ch]
540 * src/hildon-check-button.[ch]
541 * src/hildon-entry.[ch]
542 * src/hildon-pannable-area.[ch]
543 * src/hildon-text-view.[ch]:
544 Added private field to the object's structure.
546 because it causes an ABI breakage. We will need to introduce these
547 changes later at some point. See NB#91636 for an extensive
548 explanation and status.
550 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
552 Patch contributed by Daniel Borgmann (danielb@openismus.com)
554 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
555 remove special cases that are no longer necessary.
557 Fixes: NB#91016 (Change toolbar sizes, simplification)
559 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
561 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
562 is shown in the cancel note.
564 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
567 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
568 (hildon_seekbar_init): Remove steppers, remove expose event.
569 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
571 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
573 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
576 label font to "SmallSystemFont" for vertically arranged buttons.
578 Fixes: NB#90662 (HildonButton "value" and "detail" text is
581 2008-10-31 Alberto Garcia <agarcia@igalia.com>
583 * src/hildon-check-button.c
584 (hildon_check_button_set_active, hildon_check_button_clicked):
585 Don't access private parts directly, use getters instead.
587 2008-10-31 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-check-button.c (hildon_check_button_new):
590 Align the contents of the check button to the left.
592 2008-10-30 Alejandro G. Castro <alex@igalia.com>
594 * src/hildon-pannable-area.c,
595 (hildon_pannable_area_scroll_to),
596 (hildon_pannable_area_jump_to),
597 (hildon_pannable_area_scroll_to_child),
598 (hildon_pannable_area_jump_to_child): Replace the mapped
599 precondition of these functions with the realized, it is the
600 correct state of the widget in this case. Changed the
601 documentation according to this modification.
603 2008-10-30 Alejandro G. Castro <alex@igalia.com>
605 Added a new EXTRA_CFLAGS option to add the deprecated define to
606 the compilation command. This way we can avoid using the define in
607 the documentation compilation.
609 * configure.ac: Defined EXTRA_CFLAGS.
611 * examples/Makefile.am:
613 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
615 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
617 * src/hildon-picker-dialog.c:
618 Defined a utility macro with the desired touch selector height
619 Removed currently unused separator, and title_label variables from
621 (hildon_picker_dialog_init): Removed code related to the creation
622 of unused private variables title_label and separator.
623 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
624 to ensure correct visualization of the touch selector inside the dialog.
625 * src/hildon-touch-selector.c
626 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
627 ensure a concrete height of the widget.
629 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
634 Remove spurious whitespaces.
636 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
638 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
639 compilation warning after the cancel button removal.
641 2008-10-30 Alejandro G. Castro <alex@igalia.com>
643 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
645 * configure.ac: Added an AM_CONDITIONAL in order to use in the
646 Makefile.am, that way we can choose not to compile some examples
647 and tests of the deprecated widgets.
649 * examples/Makefile.am: Divided the sources in deprecated and
652 * src/Makefile.am: Added undef statement of the deprecated
653 symbol to the enums file generation process.
655 * src/hildon-color-chooser-dialog.c
656 * src/hildon-color-chooser-dialog.h
657 * src/hildon-color-button.c
658 * src/hildon-color-button.h
659 * src/hildon-color-chooser.c
660 * src/hildon-color-chooser.h
661 * src/hildon-controlbar.c
662 * src/hildon-controlbar.h
663 * src/hildon-date-editor.c
664 * src/hildon-date-editor.h
665 * src/hildon-hvolumebar.c
666 * src/hildon-hvolumebar.h
667 * src/hildon-private.c
668 * src/hildon-private.h
669 * src/hildon-range-editor.c
670 * src/hildon-range-editor.h
671 * src/hildon-seekbar.c
672 * src/hildon-seekbar.h
673 * src/hildon-time-editor.c
674 * src/hildon-time-editor.h
675 * src/hildon-time-picker.c
676 * src/hildon-time-picker.h
677 * src/hildon-volumebar.c
678 * src/hildon-volumebar.h
679 * src/hildon-vvolumebar.c
680 * src/hildon-vvolumebar.h
681 * src/hildon-bread-crumb-trail.h
682 * src/hildon-bread-crumb-trail.c
683 * src/hildon-calendar-popup.c
684 * src/hildon-calendar-popup.h
685 * src/hildon-weekday-picker.c:
686 * src/hildon-weekday-picker.h:
687 * src/hildon-bread-crumb-widget.c:
688 * src/hildon-bread-crumb-widget.h:
689 * src/hildon-bread-crumb.c:
690 * src/hildon-bread-crumb.h:
691 * src/hildon-calendar.c:
692 * src/hildon-calendar.h:
693 * src/hildon-caption.c:
694 * src/hildon-code-dialog.c:
695 * src/hildon-code-dialog.h:
696 * src/hildon-font-selection-dialog.c:
697 * src/hildon-font-selection-dialog.h:
698 * src/hildon-get-password-dialog.c:
699 * src/hildon-get-password-dialog.h:
700 * src/hildon-login-dialog.c:
701 * src/hildon-login-dialog.h:
702 * src/hildon-number-editor.c:
703 * src/hildon-number-editor.h:
704 * src/hildon-set-password-dialog.c:
705 * src/hildon-set-password-dialog.h:
706 * src/hildon-sort-dialog.c:
707 * src/hildon-sort-dialog.h: This is the list of deprecated
710 * src/hildon-touch-selector.c:
711 * src/hildon-window.c: Added undef statement to avoid compilation
714 * tests/Makefile.am: Divided the sources in deprecated and
717 * tests/check_test.c,
718 (configure_tests): Marked the deprecated code that was adding
719 suites with deprecated tests.
721 Fixes: NB#91135 (Deprecate legacy hildon widgets)
723 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
725 * src/hildon-touch-selector.c: (_default_print_func): Do not
726 duplicate a string returned by gtk_tree_model_get(), it is already
729 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
732 2008-10-28 Alejandro G. Castro <alex@igalia.com>
734 * src/hildon-pannable-area.c
735 (hildon_pannable_area_add_with_viewport): Reviewed the complete
736 method, it had problems when adding a widget with viewport the
737 second time. Now checks if it already has a viewport and uses it.
739 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
742 2008-10-28 Alejandro G. Castro <alex@igalia.com>
744 * src/hildon-pannable-area.c,
745 (hildon_pannable_area_scroll_to),
746 (hildon_pannable_area_jump_to),
747 (hildon_pannable_area_scroll_to_child),
748 (hildon_pannable_area_jump_to_child): Added a precondition to the
749 scroll and jump to functions: the widget must be mapped before we
750 can safely call these functions. We have also added documentation
751 to the functions to explain how to use them in this situation.
754 2008-10-28 Alejandro G. Castro <alex@igalia.com>
756 Reviewed the threading handling of the pannable widget, we have
757 used the gdk_threads_add_timeout function instead of the usual
758 glib handlers. This avoids some problems with the threads.
760 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
761 (hildon_pannable_area_initial_effect),
762 (hildon_pannable_area_scroll_indicator_fade),
763 (hildon_pannable_area_button_press_cb),
764 (hildon_pannable_area_timeout),
765 (hildon_pannable_area_motion_notify_cb),
766 (hildon_pannable_area_button_release_cb),
767 (hildon_pannable_area_scroll_cb),
768 (hildon_pannable_area_scroll_to): Removed the
769 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
770 gdk_threads_add_timeout.
772 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
774 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
779 * configure.ac: bump version
780 * debian/changelog: updates
782 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
784 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
785 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
786 * src/hildon-color-chooser-dialog.c:
787 (hildon_color_chooser_dialog_init):
788 * src/hildon-font-selection-dialog.c:
789 (hildon_font_selection_dialog_init):
790 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
792 Remove all cancel/close-like dialogs, as these are not going to be
795 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-note.c: (hildon_note_rebuild),
798 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
801 Fixes: NB#90661 (Delete dialog is displayed without NO button)
803 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
806 sure all buttons are shown, even the Cancel/Close-like ones.
808 Fixes: NB#90861 (Custom Confirmation dialogs should be
809 protected from cancel button removal)
811 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
813 * debian/control: Change libhildon1-examples dependency from libhildon1
815 * debian/libhildon1-examples.install
817 * Makefile.am: Modified the final install directory for the examples on
818 package libhildon1-examples
819 * Makefile.static: Update clean target in order to remove all the binary
822 Changes suggested by Claudio after review new libhildon1-examples package
824 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
826 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
827 * src/hildon-touch-selector.c: Ditto.
829 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
831 * debian/control: Added new package libhildon1-examples, in order to pack
832 the current hildon examples as documentation
833 * debian/rules: Not to compress .c files, modify some includes on the
834 examples (as normally are compiled locally, but when installed it will
835 require to include the installed libhildon1 library), and rename
837 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
838 install all the example files on the new example package
839 * examples/Makefile.static: Added static makefile that can be used to
840 compile the examples, once installed the new example package
841 * examples: Most of the examples were modified in order to grant that
842 all use only '#include "hildon.h"', in order to be easy to prepare
843 it on the example package
845 2008-10-23 Alberto Garcia <agarcia@igalia.com>
848 * debian/libhildon1-dev.install
849 * debian/libhildon1-doc.install:
850 Move all gtk-doc files to a separate libhildon1-doc package.
852 2008-10-23 Daniel Borgmann <danielb@openismus.com>
854 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
856 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
858 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
860 * debian/rules: Fixed a error in order to avoid unnecessary calls
861 to autogen.sh on package building
863 2008-10-22 Alberto Garcia <agarcia@igalia.com>
865 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
867 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
869 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
872 2008-10-21 Alberto Garcia <agarcia@igalia.com>
874 * src/hildon-picker-button.c
875 (hildon_picker_button_finalize):
876 Free priv->done_button_text
878 * src/hildon-time-button.c
879 (hildon_time_button_set_time)
880 * src/hildon-picker-button.c
881 (hildon_picker_button_clicked)
882 (hildon_picker_button_selector_selection_changed)
883 (hildon_picker_button_set_selector)
884 * src/hildon-date-button.c
885 (hildon_date_button_set_date):
886 Free strings returned by hildon_touch_selector_get_current_text()
888 * src/hildon-button.c (hildon_button_construct_child):
889 Fix leaks in priv->image and priv->label_box
891 Fixes: NB#90535 (Memory leak in picker button)
893 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
895 * src/hildon-button.c: (hildon_button_get_property): Do not access
896 private elements directly, use getters instead.
898 2008-10-20 Alberto Garcia <agarcia@igalia.com>
900 * src/hildon-app-menu-private.h
901 * src/hildon-app-menu.c
902 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
903 Store the menu's parent window.
905 * src/hildon-stackable-window.c
906 (hildon_stackable_window_toggle_menu)
907 (hildon_stackable_window_finalize):
908 Set the menu's parent window when the menu is shown, unset it when
911 * src/hildon-app-menu.c
912 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
913 (hildon_app_menu_class_init):
914 Send unhandled keyboard accelerators to the parent window.
916 2008-10-20 Alberto Garcia <agarcia@igalia.com>
918 * src/hildon-stackable-window.c
919 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
921 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
923 * configure.ac: post release version bump
925 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
928 * configure.ac: Bump version
929 * debian/changelog: Updates
930 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
933 2008-10-20 Alberto Garcia <agarcia@igalia.com>
935 Patch contributed by Daniel Borgmann (danielb@openismus.com)
938 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
939 GtkMenu with Hildon style.
941 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-picker-button.c:
944 (hildon_picker_button_set_done_button_text): Set the dialog's
945 done button text here as well.
947 Fixes: NB#90232 (Picker button does not set the label on done button
950 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
952 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
955 2008-10-16 Alberto Garcia <agarcia@igalia.com>
957 * src/hildon-app-menu.c (hildon_app_menu_insert)
958 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
959 the HildonAppMenu to be activatable using keyboard accelerators
960 when the menu is not being shown.
962 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
964 2008-10-16 Alberto Garcia <agarcia@igalia.com>
966 * src/hildon-stackable-window.c
967 (hildon_stackable_window_show):
968 Don't hide old windows automatically when new windows are shown:
969 this is now a task for the window manager.
970 (hildon_stackable_window_class_init)
971 (hildon_stackable_window_hide):
972 Remove windows from the stack everytime they're hidden.
973 (hildon_stackable_window_realize):
974 Don't change the _NET_WM_WINDOW_TYPE property. Use
975 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
976 it as a stackable window.
978 * src/hildon-program.c
979 (hildon_program_pop_window_stack):
980 Just hide the window to remove it from the stack.
981 (hildon_program_go_to_root_window):
982 Don't call gtk_widget_show(), this is now a task for the window
985 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
987 2008-10-15 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-button.c
990 (hildon_button_construct_child):
991 Don't pack anything in the button until text or image are
992 set. This allows adding a custom child after creating the button
993 with hildon_button_new().
994 (hildon_button_finalize, hildon_button_class_init)
995 (hildon_button_init, hildon_button_set_arrangement): Destroy the
996 alignment and the label box even when they're not packed in the
999 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1001 * src/hildon-touch-selector.h:
1002 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1003 currently the type definition was using GTK_TYPE_VBOX
1004 * src/hildon-touch-selector.c:
1005 Added some implementation notes in order to clarify that any other widget
1006 added without the column related API will not be included on the
1007 selection logic, and how the widget is freed, as some people ask about
1009 (hildon_touch_selector_remove): Reimplemented in order to free properly
1010 the column related data when you remove the private hbox.
1011 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1012 to get a proper HildonTouchSelectorColumn documentation
1014 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-touch-selector-entry.c:
1017 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1018 text in the GtkEntry and there is no item selected. Fixes a
1021 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-app-menu-private.h
1024 * src/hildon-app-menu.[ch]
1025 * src/hildon-button.[ch]
1026 * src/hildon-check-button.[ch]
1027 * src/hildon-entry.[ch]
1028 * src/hildon-pannable-area.[ch]
1029 * src/hildon-text-view.[ch]:
1030 Added private field to the object's structure.
1032 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1034 * configure.ac: post-release version bump
1036 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: pre-release version bump
1042 * debian/changelog: updates.
1044 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1047 Disconnect the handler for HildonTouchSelector::changed.
1049 (hildon_picker_button_selector_selection_changed): Update the button
1050 value if the selection change was not triggered by the
1053 (hildon_picker_button_set_selector): connect to
1054 HildonTouchSelector::changed.
1056 Fixes: NB#89650 (Picker button is not updated, when selection in
1057 selector has changed)
1059 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-picker-dialog.c
1062 (hildon_picker_dialog_realize): Removed as not required
1063 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1064 * src/hildon-picker-button.c
1065 (_current_selector_empty): New function, checks if the selector is empty
1066 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1067 if the current selector is empty, in order to avoid to show the dialog
1068 close the dialog in this case (and shows a g_warning).
1070 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1072 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1074 * src/hildon-pannable-area.c,
1075 (hildon_pannable_area_scroll): Added clause to stop movement when
1076 the child of pannable is smaller than one page.
1077 (hildon_pannable_area_scroll_to): Added conditions to avoid
1078 starting the scrolling movement if the child is smaller than one
1079 page, the complete child is in the screen, we do not have to move.
1081 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1083 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1086 this is managed automatically by the widget when the size of the
1089 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1091 * src/hildon-picker-button.c
1092 (hildon_picker_button_set_done_button_text): Make a copy of the
1093 text, and free the previous value.
1095 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-touch-selector-entry.c:
1098 (hildon_touch_selector_entry_print_func): Return the selected row's
1099 text if the entry is empty.
1101 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1104 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1108 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-check-button.h
1112 * src/hildon-check-button.c
1113 * examples/hildon-check-button-example.c:
1114 HildonCheckButton is now a new widget. 'toggled' signal added.
1116 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1118 * src/hildon-program-private.h
1119 * src/hildon-program.c (hildon_program_init)
1120 (hildon_program_finalize): Removed unused variables group_leader
1121 and name from HildonProgramPrivate.
1123 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1125 * src/hildon-check-button.c (hildon_check_button_set_active)
1126 (hildon_check_button_get_active, hildon_check_button_new): Use
1127 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1129 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1131 * src/hildon-touch-selector.h
1132 (hildon_touch_selector_set_column_attributes): added deprecation
1133 guard HILDON_DISABLE_DEPRECATED
1134 * src/hildon-time-selector.c
1135 (hildon_time_selector_set_time)
1136 (hildon_time_selector_get_time): Fixed a typo on documentation
1137 * src/hildon-touch-selector.c: update HildonTouchSelector and
1138 HildonTouchSelectorColumn documentation
1139 * src/hildon-touch-selector-entry.c: update "text-column" property
1141 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1142 to be added to the general documentation.
1144 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1146 * examples/hildon-pannable-area-example-4.c,
1148 * examples/hildon-pannable-area-example.c,
1149 (main): Modified the code in order to use the container add, with
1150 viewport treeviews could have problems if they are really big.
1152 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1154 * src/hildon-weekday-picker.c,
1155 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1156 the agreement regarding deprecation in the library.
1158 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1160 * examples/hildon-picker-button-multicolumn-example.c:
1161 (main): Use custom "done" button text.
1163 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1164 (hildon_picker_button_set_property),
1165 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1166 (hildon_picker_button_init),
1167 (+hildon_picker_button_get_done_button_text),
1168 (+hildon_picker_button_set_done_button_text): New methods to customize
1169 the "done" button label in the launched HildonPickerDialog. Also,
1172 * src/hildon-picker-button.h: add the public API.
1174 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1176 * src/hildon-date-selector.h:
1177 * src/hildon-picker-dialog.h:
1178 * src/hildon-time-selector.h:
1179 * src/hildon-touch-selector-column.h:
1180 * src/hildon-touch-selector.h:
1182 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1183 declarations. Fixes gtk-doc warnings.
1185 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1187 * src/hildon-picker-dialog.h
1188 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1189 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1191 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1192 long text is set as label for done button)
1194 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1196 * src/hildon-dialog.c (hildon_dialog_add_button):
1197 Set fixed width to all buttons in the HildonDialog.
1199 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1201 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1203 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1204 Set widget name using class name plus "-finger" or "-thumb".
1206 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1209 'clicked' when the state of the button is manually changed.
1211 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-app-menu.c (hildon_app_menu_realize)
1214 (hildon_app_menu_unrealize, hildon_app_menu_init)
1215 (hildon_app_menu_class_init, item_visibility_changed):
1216 Change the menu layout when the size of the screen changes.
1217 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1218 Show warning only when changing the number of colums using the
1221 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1223 * debian/compat: Set to 5
1224 * debian/control: Update dependencies.
1225 * debian/libhildon1-dbg.install: Remove.
1226 * debian/libhildon1-dev.install: Update according to cdbs paths.
1227 * debian/libhildon1.install: Update according to cdbs paths.
1228 * debian/rules: Switch to cdbs.
1230 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1233 'item' variable renamed to 'filter'
1235 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-app-menu.c (hildon_app_menu_insert)
1238 (hildon_app_menu_add_filter, remove_item_from_list)
1239 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1240 Don't leak hidden items when the menu is destroyed.
1242 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-app-menu.c (hildon_app_menu_insert)
1245 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1246 (hildon_app_menu_set_columns, item_visibility_changed)
1247 (filter_visibility_changed, hildon_app_menu_repack_filters)
1248 (hildon_app_menu_repack_items):
1249 Repack items and filters separately.
1251 Don't repack all items, change only the ones that are needed to
1254 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1256 * src/Makefile.am: added hildon-touch-selector-column.h
1258 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1260 * src/hildon-touch-selector.c: added the property "text-column" to the
1261 class HildonTouchSelectorColumn, and related get/set functions
1262 (_default_printf_func): updated to use "text-column" property
1263 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1264 "text-column" in his documentation, as this is now included on
1265 HildonTouchSelectorColumn. The get/set_property can still be used,
1266 working as a wrapper to the concrete column "text-column" property
1267 (_text_column_modified): callback added in order to handle the signal
1268 "notify::text-column" of the concrete HildonTouchSelectorColumn
1269 (hildon_touch_selector_entry_get_text_column)
1270 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1271 modified in order to use the HildonTouchSelectorColumn "text-column"
1273 * src/hildon-time-selector.c:
1274 * src/hildon-date-selector.c:
1275 * examples/hildon-touch-selector-example.c
1276 * examples/hildon-touch-selector-multi-cells-example.c
1277 * examples/hildon-picker-button-multicolumn-example.c
1278 Set the right value to "text-column" property on the creation of a new
1279 column using hildon_touch_selector_append_column()
1281 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1283 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1285 * src/hildon-app-menu.c
1286 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1287 updating the layout of the menu, don't create all widgets again,
1288 just repack the items in their new places.
1290 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1292 * src/hildon-time-selector.c
1293 (hildon_time_selector_get_time)
1294 (hildon_time_selector_set_time)
1295 Added documentation of these public methods
1297 * src/hildon-date-button.h
1298 * src/hildon-touch-selector-column.h
1299 * src/hildon-time-button.h
1300 * src/hildon-picker-dialog.h
1301 * src/hildon-time-selector.h
1302 * src/hildon-picker-button.h
1303 * src/hildon-touch-selector.h
1304 * src/hildon-time-picker.h
1305 * src/hildon-date-selector.h
1306 * src/hildon-touch-selector-entry.h
1307 Modified in order to use hildon-widgets code style
1309 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1311 Added deprecated support to the compilation process using
1312 HILDON_DISABLE_DEPRECATED
1314 * configure.ac: Added the --disable-deprecated to the configure
1317 * src/hildon-weekday-picker.c:
1318 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1319 to use the deprecated support. We will update the other deprecated
1320 widgets status in a new patch.
1322 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1324 * configure.ac: Fixed typo with fatal warnings support, the
1325 variable name was not correct
1327 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-app-menu.c
1330 * src/hildon-program.c: Update documentation.
1332 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1334 * configure.ac: Post-release version bump.
1336 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1341 * configure.ac: Pre-release version bump.
1342 * debian/changelog: Updates.
1344 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1346 * NEWS: Update news for previous releases.
1348 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1350 * examples/hildon-touch-selector-multi-cells-example.c:
1351 (create_selector): Update the example to use
1352 hildon_touch_selector_append_column() with a NULL renderer and set
1353 the renderers later.
1354 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1355 passed a NULL renderer. This is documented behavior now.
1357 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1358 This must be used if the developer wants full control on the layout of
1359 the renderers to be added to the column.
1361 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1363 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1365 * src/hildon-touch-selector.c: Documentation fixes.
1367 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1369 * src/hildon-wizard-dialog-private.h: Remove image and box.
1370 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1371 (hildon_wizard_dialog_set_property), (response): Completely remove
1372 image/icon support, and the containers required for the layout.
1374 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1376 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-app-menu.c: Updated documentation.
1380 * src/hildon-stackable-window.c
1381 (hildon_stackable_window_set_main_menu): Unref the old menu after
1382 ref'ing the new one.
1384 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-stackable-window.c
1387 (hildon_stackable_window_set_main_menu): Unref the previous menu
1388 instead of destroying it.
1390 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1391 floating reference and set has_user_ref_count to FALSE to make
1392 HildonAppMenu act like a normal ref-counted widget and not a
1395 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1398 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1400 * src/hildon-touch-selector-column.h: new file
1401 * src/hildon-touch-selector.h
1402 * src/hildon-touch-selector.c
1403 Implemented GtkCellLayout interface, in order to allow to configure
1404 the cell layout on each individual selector column
1405 (hildon_touch_selector_set_column_attributes): marked as deprecated
1406 * examples/hildon-touch-selector-multi-cells-example.c
1407 Example of how to use the GtkCellLayout interface on the selector
1409 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1411 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1413 * src/hildon-app-menu.h
1414 * src/hildon-app-menu.c
1415 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1416 (hildon_app_menu_append, hildon_app_menu_prepend):
1417 New methods to prepend, insert and move items in the menu.
1419 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-wizard-dialog.c:
1423 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1425 (create_title): Update logical IDs and related code.
1426 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1428 * src/hildon-wizard-dialog.h: Note that
1429 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1430 point, as it is not used anymore.
1432 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1434 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-note.c:
1437 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1438 shown. Do not display an icon in confirmation notes nor information
1440 (hildon_note_set_button_text): Update logical ID for cancel button.
1442 Fixes: NB#88850 (Update HildonNote button strings + signals)
1444 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1446 * src/hildon-stackable-window.c
1447 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1449 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1451 * src/hildon-app-menu-private.h
1452 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1453 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1454 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1455 temporary property 'columns' to change the number of columns.
1457 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1459 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1461 * examples/hildon-note-example.c: (on_information_clicked),
1462 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1463 debugging information.
1464 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1466 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1467 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1468 in order to close: this will be handled by the WM from now on.
1470 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1472 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-app-menu-private.h
1475 * src/hildon-app-menu.c
1476 (hildon_app_menu_append, hildon_app_menu_add_filter)
1477 (button_visibility_changed, hildon_app_menu_apply_style)
1478 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1479 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1480 layout everytime a button (item or filter) is shown or hidden.
1482 * src/hildon-stackable-window.c
1483 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1486 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1488 * src/hildon-touch-selector.c:
1489 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1490 that the treeview inside the touch selector is in fremantle hildon mode
1491 * examples/hildon-date-button-example.c
1492 * examples/hildon-picker-button-multicolumn-example.c
1493 * examples/hildon-touch-selector-entry-example.c
1494 * examples/hildon-touch-selector-example.c
1495 * examples/hildon-time-button-example.c
1496 * examples/hildon-picker-button-example.c:
1497 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1499 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1501 * examples/hildon-text-view-example.c: (main): Remove the
1502 gtkrc bits, now handled by the theme.
1504 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1509 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1511 * po/Makefile.am: Install properly the mo files.
1512 * po/en_GB.po: Update translation, to ease testing purposes.
1514 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1516 * examples/hildon-picker-button-example.c: (main): Select an item
1517 in the selector before setting it to the button.
1519 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1521 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1522 Update button's value if the selector has an item active.
1524 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1525 'value' with the selector)
1527 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1529 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1530 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1531 (hildon_picker_button_class_init): Plug the finalize method.
1532 (hildon_picker_button_set_selector): If there's a previously set
1533 selector, unref'it before setting a new one.
1535 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1536 HildonTouchSelector)
1538 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1540 * src/hildon-touch-selector-entry.c:
1541 (hildon_touch_selector_entry_changed): Check if there is no text
1542 selected before setting the entry text.
1545 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-touch-selector.h
1548 * src/hildon-touch-selector.c
1549 (hildon_touch_selector_get_active)
1550 (hildon_touch_selector_set_active): New methods to set/get the
1551 index of the selected item.
1553 * src/hildon-picker-button.h
1554 * src/hildon-picker-button.c
1555 (hildon_picker_button_get_active)
1556 (hildon_picker_button_set_active): New methods to set/get the
1557 index of the selected item.
1559 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1561 * configure.ac: post-release version bump.
1563 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1567 * configure.ac: Pre-release version bump.
1568 * debian/changelog: Updates.
1569 * debian/control: Add myself as maintainer and depend on l10n
1572 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-window.c
1575 (hildon_window_set_main_menu)
1576 * src/hildon-stackable-window.c
1577 (hildon_stackable_window_set_main_menu):
1578 Updated documentation.
1580 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1583 Don't free selector->priv manually.
1586 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1589 (hildon_gtk_window_set_progress_indicator):
1590 * src/hildon-gtk.h: Added the new API
1591 hildon_gtk_window_set_progress_indicator, it changes the state of
1592 the window progress hint.
1594 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-button.c
1597 * src/hildon-stackable-window.c: Minor documentation updates.
1599 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-stackable-window.c: Updated documentation.
1603 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-defines.h: Update margins definitions
1606 to the Fremantle sizes.
1609 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-touch-selector.c,
1612 (_hildon_touch_selector_set_model): Cleaning the code after
1613 review, removed g_print and #if 0 from the code.
1615 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1617 * src/hildon-edit-toolbar.c: Update documentation.
1619 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-check-button.h
1622 * src/hildon-check-button.c
1623 (hildon_check_button_set_label, hildon_check_button_get_label)
1624 * examples/hildon-check-button-example.c
1625 (button_clicked_cb):
1626 Removed deprecated methods.
1628 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-text-view.c:
1631 Add sample code to the documentation.
1633 * src/hildon-entry.h
1634 * src/hildon-text-view.h:
1635 Minor cosmetic changes.
1637 * src/hildon-entry.c:
1638 Add sample code to the documentation.
1639 (hildon_entry_init, hildon_entry_refresh_contents):
1640 Don't allow NULL values in the placeholder.
1642 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1644 * doc/hildon-docs.sgml
1646 * examples/Makefile.am
1647 * examples/hildon-text-view-example.c
1649 * src/hildon-text-view.c
1650 * src/hildon-text-view.h
1652 New HildonTextView widget, with example.
1654 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1656 * po/POTFILES.in: Add missing files with translatable strings.
1657 Partially fixes NB#88287.
1659 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1661 * examples/hildon-pannable-area-example-2.c: (main): No need to
1662 set the cellrenderer height inside hildon touch lists, the theme does
1665 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1667 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1668 they are integrated in the theme.
1670 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1672 * examples/hildon-entry-example.c: Update the example adding
1673 widgets to modify the text and the placeholder of the HildonEntry.
1675 * src/hildon-entry.c: Show the placeholder everytime the widget
1676 is empty and loses the focus.
1678 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1680 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_area_size_request): Fixed bug in height
1684 requisition, avoid increasing size and add border twice.
1686 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1688 * configure.ac: postrelease version bump.
1690 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1694 * configure.ac: Prerelease version bump.
1695 * debian/changelog: update.
1696 * debian/rules: make -dbg package contain useful debugging symbols.
1698 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-dialog.h
1701 * src/hildon-dialog.c
1702 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1703 New methods to add buttons with finger size.
1704 (hildon_dialog_new_with_buttons):
1705 Create buttons with finger size.
1707 * examples/hildon-dialog-example.c (main): Use HildonDialog
1708 methods to add buttons.
1710 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-entry.c: Updated HildonButton documentation.
1714 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1717 button value label with (FALSE, FALSE) to prevent NB#88126 from
1720 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1722 * examples/hildon-pannable-area-example.c,
1723 (main): Removed examples panning a vbox inside a pannable
1724 area. Check bug NB#87965
1726 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1728 Patch contributed by Kris Rietveld (kris@imendio.com)
1730 * src/hildon-pannable-area.c,
1731 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1732 get_size and get_position, this saves an X server roundtrip.
1734 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1736 * doc/hildon-docs.sgml
1738 * examples/Makefile.am
1739 * examples/hildon-entry-example.c
1741 * src/hildon-entry.c
1742 * src/hildon-entry.h
1744 New HildonEntry widget, with example.
1746 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-button.c (hildon_button_construct_child): Pack the
1749 image with expand == fill == FALSE. This is a workaround for a bug
1752 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1754 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1755 labels for the text column, to make it more look more dynamic.
1757 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1759 * src/hildon-time-selector.c
1760 Define gettext auxiliar macro N_
1761 (_create_minutes_model)
1762 (_create_hours_model)
1763 (_create_ampm_model): use of strftime in order to fill the model
1764 * src/hildon-date-selector.c
1765 (hildon_date_selector_finalize):
1766 (_locales_init): remove the logic related to get the name of the months
1767 using nl_langinfo, as it is not required anymore
1769 (_create_year_model)
1770 (_create_month_model)
1771 (_update_day_model): use of strftime in order to fill the model properly
1774 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1776 * src/hildon-button.h
1777 * src/hildon-button.c (hildon_button_get_image): New method to
1780 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1782 * src/hildon-touch-selector.c:
1783 (hildon_touch_selector_remove_column): Remove from the correct parent
1784 and also remove the list element and free it.
1787 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1789 * src/hildon-time-selector.c
1790 (_create_hours_model): change the range on 12h ampm format in order to use
1791 a 12-11 range instead of previous 01-12 range
1792 (hildon_time_selector_set_time): change the way to select the current time
1793 on 12h ampm format, due the change on the range
1794 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1797 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1799 * src/hildon-touch-selector.c
1800 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1801 in order to allow use this function on multiple row selection mode if
1802 the column is different that the first one
1805 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1807 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1808 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1810 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1812 * src/hildon-date-selector.h: clean some comments, now on the .c
1813 * src/hildon-date-selector.c
1814 (hildon_date_selector_select_month): first implementation
1815 (hildon_date_selector_select_day): added documentation, reimplemented
1816 using hildon_date_selector_select_current_date to avoid repeat code
1819 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1821 Reviewed interaction logic based on device experiences, refactored
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_class_init): Updated default vmax speed.
1826 (hildon_pannable_area_calculate_velocity): Added this function, it
1827 avoids duplicate valocity calculation. Adjusted calculation to
1828 avoid problems with zero dist events.
1830 (hildon_pannable_area_motion_notify_cb): Now we use the
1831 calculate_velocity function.
1833 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1835 * src/hildon-date-selector.c
1836 (hildon_date_selector_select_current_date): fix the day range check
1837 as it failed using the last day of the current month
1840 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1842 * src/hildon-touch-selector.c
1843 (hildon_touch_selector_get_num_columns): added a parameter validation
1846 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1848 * examples/Makefile.am
1849 * examples/hildon-edit-toolbar-example.c: Example of the
1850 HildonEditToolbar widget.
1852 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1854 * configure.ac: postrelease version bump.
1856 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1860 * configure.ac: prerelease version bump.
1861 * debian/changelog: update.
1863 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1865 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1866 renderer to display stock icons in the touch list. Also, set the sizes
1867 to the recommended in the style guide.
1869 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1870 * src/hildon-touch-selector.h
1871 (hildon_touch_selector_set_active_iter): renamed, now is
1872 hildon_touch_selector_select_iter
1873 (hildon_touch_selector_get_active_iter): renamed, now is
1874 hildon_touch_selector_get_selected
1875 (hildon_touch_selector_unselect_iter): added
1876 * src/hildon-touch-selector.c
1877 Update after API modification (methods renamed)
1878 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1879 order to avoid problems selecting multiple elements on the column
1880 (hildon_touch_selector_unselect_iter): added the implementation
1881 * src/hildon-time-selector.c
1882 * src/hildon-date-selector.c
1883 * src/hildon-touch-selector-entry.c
1884 Update methods calls after hildon-touch-selector.h API modification (methods
1887 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-stackable-window.c
1890 (hildon_stackable_window_finalize): Call the parent class's finalize.
1892 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1894 * examples/hildon-touch-selector-example.c: (create_selector): Use
1895 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1898 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1900 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1901 set a cell background color, to respect theming.
1903 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1905 * doc/hildon-docs.sgml
1908 * src/hildon-edit-toolbar.c
1909 * src/hildon-edit-toolbar.h
1910 * src/hildon.h: New HildonEditToolbar widget.
1912 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1914 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1917 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1918 * src/hildon-touch-selector.c
1919 (_create_new_column): use g_object_set instead of two g_object_set_property
1921 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1922 * src/hildon-touch-selector.c
1923 (_create_new_column): use of hildon_gtk_tree_view_new to create
1924 the treeview, instead of use directly g_object_new
1925 (_create_new_column): update the property name "vindicator-mode" for the
1926 new one "vscrollbar-policy"
1927 * examples/hildon-date-button-example.c
1928 * examples/hildon-picker-button-multicolumn-example.c
1929 * examples/hildon-touch-selector-entry-example.c
1930 * examples/hildon-touch-selector-example.c
1931 * examples/hildon-time-button-example.c
1932 * examples/hildon-picker-button-example.c
1933 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1934 to all the treeviews inside a pannable area.
1936 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-button.h
1939 * src/hildon-button.c (hildon_button_init)
1940 (hildon_button_set_arrangement, hildon_button_set_alignment)
1941 (hildon_button_set_title_alignment)
1942 (hildon_button_set_value_alignment)
1943 (hildon_button_set_image_alignment)
1944 (hildon_button_construct_child): New methods to set the alignment
1945 of the individual components of the button (title, value,
1946 image). Also, new method to alter the xscale and yscale properties
1947 of the GtkAlignment inside the button, so more complex layouts can
1950 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-button.c (hildon_button_style_set)
1953 (hildon_button_class_init, hildon_button_set_arrangement)
1954 (hildon_button_construct_child): Apply style properties
1955 correctly. Use the 'image-spacing' style property too.
1957 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1960 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1963 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1965 * src/hildon-pannable-area.c,
1966 (hildon_pannable_area_size_request): Fixed problem with
1967 pannable-area size_request.
1969 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1971 Added management for the grab-focus to a child widget, like a
1972 range, we need to fade out the scrollbar when releasing.
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_init): Connected the grab-focus signal to
1977 (hildon_pannable_area_grab_notify): Added this function in order
1978 to manage the situation when the grab-focus ends. We have to
1979 fade-out the scrollbar.
1981 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1983 * src/hildon-app-menu.c: Minor documentation update.
1985 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-app-menu.c
1988 * examples/hildon-app-menu-example.c (create_menu): Update
1989 examples and documentation to explain how to connect callbacks.
1991 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1993 * examples/hildon-button-example.c
1994 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1995 hildon_stackable_window_new instead of gtk_window_new
1997 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2000 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2001 (hildon_pannable_area_set_property),
2002 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2003 (hildon_pannable_area_unrealize),
2004 (hildon_pannable_area_size_request),
2005 (hildon_pannable_area_size_allocate),
2006 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2007 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2008 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2009 (hildon_pannable_area_initial_effect),
2010 (hildon_pannable_area_redraw),
2011 (hildon_pannable_area_scroll_indicator_fade),
2012 (hildon_pannable_area_expose_event),
2013 (hildon_pannable_area_get_topmost), (synth_crossing),
2014 (hildon_pannable_area_button_press_cb),
2015 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2016 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2017 (hildon_pannable_area_motion_notify_cb),
2018 (hildon_pannable_area_button_release_cb),
2019 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2020 (hildon_pannable_area_remove),
2021 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2022 chage the code layout to a more GtkWidget like. Review the use of
2025 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2027 * examples/hildon-pannable-area-example-4.c,
2028 (main): Modified the name of the hindicator_mode to
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_class_init),
2033 (hildon_pannable_area_motion_notify_cb),
2034 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2035 we have reduced the amount of signals and managed reviewed its
2036 rationale. Changed the default decelerate value.
2038 (hildon_pannable_area_add),
2039 (hildon_pannable_area_redraw): Refactored functions.
2041 (hildon_pannable_area_init),
2042 (hildon_pannable_area_get_property),
2043 (hildon_pannable_area_set_property):
2044 (hildon_pannable_draw_vscroll),
2045 (hildon_pannable_draw_hscroll),
2046 (hildon_pannable_area_initial_effect),
2047 (hildon_pannable_area_expose_event),
2048 (hildon_pannable_area_scroll),
2049 (hildon_pannable_area_button_press_cb),
2050 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2051 and vindicator_mode with hscrollbar_policy and
2052 vscrollbar_policy. Replaced hscroll and vscroll with
2053 hscroll_visible and vscroll_visible.
2055 (hildon_pannable_area_refresh): Refactor the function, remove
2056 variables and check the calls to this function, added resize
2057 conditions in case the children change their layout.
2059 (hildon_pannable_area_size_request): Added more detailed
2060 size_request calculation.
2063 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2065 * src/hildon-color-chooser.c
2066 (init_borders): use the correct gtk_border_free instead of g_free, to
2067 avoid a crash when this widget is used (ie: the three color selection
2070 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2072 * src/hildon-check-button.c,
2073 (hildon_check_button_set_active): Fixed problem when setting the
2074 active value, the widget was not redrawn.
2076 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2078 * src/hildon-pannable-area.c,
2079 (hildon_pannable_area_refresh),
2080 (hildon_pannable_area_scroll),
2081 (hildon_pannable_area_motion_notify_cb): Small code style change.
2083 (hildon_pannable_area_class_init): Default initial_hint set to
2084 FALSE, it is not in the specs.
2086 (hildon_pannable_area_initial_effect),
2087 (hildon_pannable_area_expose_event),
2088 (hildon_pannable_area_map),
2089 (hildon_pannable_area_init): Moved the launching point of the
2090 initial effect, it was in map but the sizes where not correct in
2091 that method so we do not know if we have the reproduce it. Now it
2092 is placed in the expose_event method and uses a variable to
2093 reproduce it just once.
2095 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2097 * src/hildon-pannable-area.c,
2098 (hildon_pannable_draw_vscroll),
2099 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2100 position allowed for the scrollbars.
2102 (hildon_pannable_area_size_allocate): Small style change.
2104 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2106 * src/hildon-pannable-area.c,
2107 (hildon_pannable_area_scroll_indicator_fade),
2108 (hildon_pannable_area_button_press_cb),
2109 (hildon_pannable_area_button_release_cb),
2110 (hildon_pannable_area_scroll_cb),
2111 (hildon_pannable_area_expose_event),
2112 (hildon_pannable_area_init): Added the define parameter
2113 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2114 and refactor the fade variable.
2116 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2118 * src/hildon-pannable-area.c,
2119 (hildon_pannable_area_redraw),
2120 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2121 lines, we were reimplemeting the redraw code.
2123 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2125 * src/hildon-pannable-area.c,
2126 (hildon_pannable_area_scroll_cb),
2127 (hildon_pannable_area_realize),
2128 (hildon_pannable_area_class_init): Added scroll_event management
2129 for pannable area, now we can scroll the usual desktop method.
2131 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2132 initialization of the parameters should depend on idle_id.
2134 (hildon_pannable_area_init),
2135 (hildon_pannable_area_map): Small code style modifications
2137 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2139 * src/hildon-pannable-area.c
2140 (hildon_pannable_area_button_press_cb),
2141 (hildon_pannable_area_motion_notify_cb),
2142 (hildon_pannable_area_button_release_cb),
2143 (hildon_pannable_area_size_allocate),
2144 (hildon_pannable_area_scroll_to): Improved the timeouts
2145 management, we avoid creating them each time.
2147 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2149 * src/hildon-pannable-area.c:
2150 (hildon_pannable_area_refresh),
2151 (hildon_pannable_area_motion_notify_cb),
2152 (hildon_pannable_area_class_init):
2153 * src/hildon-pannable-area.h:
2154 * src/hildon-touch-selector.c
2155 (_create_new_column):
2156 * examples/hildon-pannable-area-example-4.c:
2157 (horizontal_movement),
2158 (vertical_movement),
2160 Replaced the names of enums in the HildonPannableArea:
2161 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2162 HILDON_MOVEMENT_MODE_*
2163 - HILDON_PANNABLE_AREA_MOV_* ->
2165 - Removed HildonPannableAreaIndicatorMode, now we
2168 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2170 * examples/hildon-pannable-area-touch-grid-example.c
2171 * examples/hildon-pannable-area-touch-list-example.c: Fix
2172 compilation warnings.
2174 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2176 * src/hildon-gtk.c (hildon_gtk_button_new)
2177 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2178 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2179 images overriding the value of the "gtk-button-images" setting.
2181 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-check-button.c (hildon_check_button_new):
2184 Instead of using a custom container, display the label and the
2185 checkbox using the standard GtkButton API.
2187 * examples/hildon-check-button-example.c (main): Don't use
2188 hildon_check_button_set_label() anymore
2190 * src/hildon-check-button.h
2191 * src/hildon-check-button.c
2192 (hildon_check_button_set_label, hildon_check_button_get_label):
2193 Set as deprecated, now we're using gtk_button_{get,set}_label()
2195 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2197 * src/hildon-pannable-area.c,
2198 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2199 GtkTreeview first line we detected it after the inclusion of the
2200 GtkWindowImpl in gtk+. We now check if the window is visible, not
2201 just if the pointer is over the window.
2202 (hildon_pannable_axis_scroll),
2203 (hildon_pannable_area_expose_event): Small style changes.
2205 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-button.c: Update documentation.
2209 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2211 * examples/hildon-button-example.c: Add a switch to show images in
2214 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2216 * doc/hildon-docs.sgml: Some docs reorganization.
2218 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2220 * examples/hildon-pannable-area-touch-list-example.c
2222 * examples/hildon-pannable-area-touch-grid-example.c
2223 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2224 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2225 Fix memory leak when setting the tree model.
2227 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2231 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2233 * doc/hildon.types: Remove duplicated hildon_window_get_type
2234 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2235 documentation comment.
2237 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2239 * doc/Makefile.am: Complete list of private headers.
2241 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2243 * doc/hildon-docs.sgml
2244 * src/hildon-app-menu.c
2245 * src/hildon-bread-crumb.c
2246 * src/hildon-button.c
2248 * src/hildon-program.c
2249 * src/hildon-stackable-window.c
2250 * src/hildon-window.c: Lots of documentation updates.
2252 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2254 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2256 * configure.ac: Require Gtk+ 2.12.9 at least
2258 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2260 * src/hildon-pannable-area.c
2261 (hildon_pannable_area_scroll_indicator_fade),
2262 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2263 to protect the return of this timeout callbacks, avoiding deadlocks.
2265 2008-08-12 Christian Dywan <christian@imendio.com>
2268 * src/hildon-*.h: Ensure a consistent include order,
2269 include <gtk/gtk.h> instead of particular files and
2270 only include the topmost header in the gtk stack. See NB #39857
2272 2008-08-12 Christian Dywan <christian@imendio.com>
2274 * src/hildon-picker-dialog.c
2275 * src/hildon-touch-selector.c: Fix warnings about unused and
2276 uninitialized variables.
2278 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2280 * examples/Makefile.am
2281 * examples/hildon-check-button-example.c: Example of the hildon
2284 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-window.h
2287 * src/hildon-window.c (hildon_window_class_init)
2288 (hildon_window_unset_program): Don't make
2289 hildon_window_unset_program a virtual function anymore.
2291 * src/hildon-stackable-window.c: Update documentation
2293 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2296 * doc/hildon-docs.sgml
2297 * doc/visual_index.xml
2298 * src/hildon-defines.c
2300 * src/hildon-helper.c
2301 * src/hildon-range-editor.c: Lots of documentation fixes.
2303 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2305 * examples/hildon-picker-button-multicolumn-example.c
2306 (create_touch_selector): Fix compilation warning.
2308 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2310 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2311 (hildon_pannable_area_button_release_cb)
2312 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2314 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2319 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-bread-crumb-trail.h
2322 * src/hildon-date-editor.c
2323 * src/hildon-date-selector.c
2324 * src/hildon-pannable-area.c
2325 * src/hildon-picker-dialog.c
2326 * src/hildon-time-selector.c
2327 * src/hildon-touch-selector-entry.c
2328 * src/hildon-touch-selector.c
2329 * src/hildon-touch-selector.h: Misc documentation fixes
2331 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2333 * examples/hildon-date-editor-example.c (main): Updated date
2336 * examples/hildon-note-example.c (on_confirmation_clicked):
2337 Updated confirmation note example.
2339 * src/hildon-date-editor.c
2340 * src/hildon-note.c: Updated sample programs in documentation.
2343 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-date-button.h:
2346 * src/hildon-picker-button.h:
2347 * src/hildon-time-button.c:
2348 * src/hildon-time-button.h:
2350 Some declarations changes to allow gtk-doc to document the widgets
2353 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-date-button.c: Document the widget.
2356 * src/hildon-time-button.c: Document the widget.
2358 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-button.c: Document the widget.
2361 * src/hildon-touch-selector-entry.c: Document the widget.
2363 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2365 * doc/hildon-docs.sgml
2368 * src/hildon-check-button.h
2369 * src/hildon-check-button.c: New functions to create the Hildon
2373 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2375 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-button.h
2378 * src/hildon-button.c
2379 (hildon_button_add_title_size_group)
2380 (hildon_button_add_value_size_group)
2381 (hildon_button_add_image_size_group)
2382 (hildon_button_add_size_groups): New functions to set size groups
2383 for the button labels and image.
2384 (hildon_button_new_full): Removed
2386 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2388 * src/hildon-time-selector.c
2389 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2390 in order to avoid a crash if gconf is not available
2392 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-button.c (hildon_button_set_arrangement)
2395 (hildon_button_construct_child): Don't construct the button child
2396 before setting the arrangement.
2398 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-program-private.h
2401 * src/hildon-program.c
2402 * src/hildon-program.h
2403 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2404 (hildon_program_peek_window_stack)
2405 (hildon_program_pop_window_stack)
2406 (hildon_program_go_to_root_window): HildonProgram now has a
2407 separate list for stackable windows. Functions are provided to
2408 manage that list with a stack-like API.
2410 * src/hildon-stackable-window.c: Stackable window management is
2411 now much simpler with the new HildonProgram API. Windows no
2412 longer need to be manually added to the program, they're
2413 automatically pushed to the top of the stack when shown.
2415 * examples/hildon-stackable-window-example.c: Updated example to
2416 reflect the API changes.
2418 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2420 * src/hildon-touch-selector.c: Comment out unimplemented
2421 hildon_touch_selector_insert_column() to avoid a compile warning.
2423 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2426 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2427 (hildon_touch_selector_set_column_selection_mode),
2428 (_hildon_touch_selector_set_model),
2429 (hildon_touch_selector_set_model):
2431 Complete review of HildonTouchSelector documentation.
2433 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2435 * doc/hildon-docs.sgml
2439 * src/hildon-gtk.c: Convenience functions for standard Gtk
2440 widgets, used to easily perform frequent operations.
2442 * src/hildon-button-helpers.h
2443 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2445 * src/hildon-helper.h
2446 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2447 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2449 * src/hildon-button.h
2450 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2452 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-button.c (hildon_button_init)
2455 (hildon_button_set_arrangement, hildon_button_construct_child):
2456 Pack the image and the labels inside the same GtkAlignment so
2457 gtk_button_set_alignment() can be used
2459 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-button.h
2462 * src/hildon-button.c
2463 (hildon_button_init, hildon_button_set_image)
2464 (hildon_button_set_image_position)
2465 (hildon_button_construct_child): New functions to add an image to
2468 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-date-button.c
2471 * src/hildon-picker-button.c
2472 * src/hildon-time-button.c
2473 * src/hildon-button.c:
2474 (hildon_button_class_init): "size-flags" renamed to "size"
2475 (hildon_button_set_title): Hide the title label if set to NULL.
2477 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2479 HildonButtonFlags split into HildonButtonArrangement (to set the
2480 button layout) and HildonSizeType (which can be used for any
2483 * src/hildon-button.h
2484 * src/hildon-button.c
2485 (hildon_button_class_init)
2486 (hildon_button_set_arrangement)
2487 (hildon_button_set_property): New "size-flags"
2488 property. "arrangement-flags" renamed to "arrangement".
2489 (hildon_button_new, hildon_button_new_with_text)
2490 (hildon_button_new_full): Constructors updated to reflect type changes.
2492 * src/hildon-helper.h
2493 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2494 to set the size of a widget.
2498 * src/hildon-button-helpers.c
2499 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2501 * src/hildon-date-button.c
2502 * src/hildon-date-button.h
2503 * src/hildon-picker-button.c
2504 * src/hildon-picker-button.h
2505 * src/hildon-time-button.c
2506 * src/hildon-time-button.h: Updated widgets to reflect
2507 HildonButton API changes.
2509 * examples/hildon-button-example.c
2510 * examples/hildon-date-button-example.c
2511 * examples/hildon-picker-button-example.c
2512 * examples/hildon-picker-button-multicolumn-example.c
2513 * examples/hildon-time-button-example.c
2514 * examples/hildon-touch-selector-entry-example.c
2515 * examples/hildon-touch-selector-example.c: Updated examples to
2516 reflect HildonButton API changes.
2518 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2520 * doc/hildon-docs.sgml:
2522 * examples/Makefile.am:
2523 * examples/hildon-touch-selector-entry-example.c:
2525 * src/hildon-touch-selector-entry.c:
2526 * src/hildon-touch-selector-entry.h:
2529 Moved HildonTouchSelectorEntry from sandbox. Added its
2530 documentation and examples.
2532 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-touch-selector.h:
2535 * examples/hildon-picker-button-multicolumn-example.c:
2536 (hildon_touch_selector_append_text_column): Add a gboolean
2537 parameter to determine if text must be centered in the column.
2539 * src/hildon-date-selector.c: (hildon_date_selector_init):
2540 * src/hildon-time-selector.c: (hildon_time_selector_init):
2541 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2542 (create_touch_selector): Update widgets and example to reflect
2545 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2547 * src/hildon-touch-selector.c:
2548 (hildon_touch_selector_set_active_iter): Set also the cursor in
2551 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2553 * doc/hildon-docs.sgml
2556 * src/hildon-toggle-button.c
2557 * src/hildon-toggle-button.h
2558 * src/hildon.h: Removed HildonToggleButton widget, a derived
2559 class is not necessary for this.
2561 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2563 * src/hildon-pannable-area.c,
2564 (hildon_pannable_area_realize),
2565 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2568 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2571 "done" button the default widget for the dialog.
2573 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-touch-selector.c:
2576 (hildon_touch_selector_class_init),
2577 (hildon_touch_selector_get_property),
2578 (_hildon_touch_selector_set_model),
2579 (_hildon_touch_selector_has_multiple_selection),
2580 (hildon_touch_selector_has_multiple_selection):
2581 Add a "has-multiple-selection" property with a virtual
2582 has_multiple_selection() method to allow derived classes to
2583 override the default value for it. See the method and property
2584 documentation for details.
2586 * src/hildon-touch-selector.h: Add the new API.
2588 * src/hildon-picker-dialog.c: (requires_done_button): Call
2589 hildon_touch_selector_has_multiple_selection() instead of
2590 determining the need for a button itself.
2592 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2595 (_hildon_touch_selector_set_model),
2596 (hildon_touch_selector_set_model): Move working code to
2597 _hildon_touch_selector_set_mode(). Call the class method instead.
2599 * src/hildon-touch-selector.h: Add (*set_model) to
2600 HildonTouchSelectorClass.
2602 Make hildon_touch_selector_set_model() a virtual method, so that
2603 derived classes can extend it and do fancy stuff with the model.
2605 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2607 * configure.ac: Set back the tarname in AC_INIT to hildon.
2609 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2613 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2614 instead of libesd (NB#86876). Volume handling is still an open issue.
2616 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2619 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2622 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2623 derived class to ease placement of an entry widget in
2624 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2625 end, where the selector columns are packed now.
2627 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/hildon-picker-button.c: Removed the simple _text() API.
2630 * src/hildon-picker-button.h: Likewise.
2632 * src/hildon-touch-selector.h:
2633 * src/hildon-touch-selector.c:
2634 (hildon_touch_selector_new_text),
2635 (hildon_touch_selector_append_text),
2636 (hildon_touch_selector_prepend_text),
2637 (hildon_touch_selector_insert_text):
2639 Moved the simple _text() API from HildonPickerButton to
2640 HildonTouchPicker, to provide better escalability and not to tie
2641 that API to HildonPickerButton.
2643 * examples/hildon-picker-button-example.c: (main): Example updated.
2645 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-button.c: Updated documentation.
2649 * examples/hildon-button-example.c: Add the posibility to create
2650 the buttons using horizontal layout for title and value.
2652 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-app-menu-private.h
2655 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2656 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2657 GtkSizeGroup for the filters, use the 'homogeneous' property of
2660 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2662 * examples/hildon-button-example.c: Updated example.
2664 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2666 * doc/hildon-docs.sgml:
2669 Update documentation.
2671 * examples/Makefile.am: Update renamed examples.
2673 * examples/hildon-picker-button-multicolumn-example.c:
2674 (create_touch_selector), (main): Update after the rename.
2676 * examples/hildon-touch-picker-example.c: Removed.
2677 * examples/hildon-touch-selector-example.c: (value_changed),
2678 (create_selector), (get_visible_content), (main): Renamed from
2679 hildon-touch-picker-example.c
2681 * src/Makefile.am: Updated renamed files.
2683 * src/hildon-date-button.c: (hildon_date_button_init),
2684 (hildon_date_button_get_date), (hildon_date_button_set_date):
2685 * src/hildon-date-selector.c: (hildon_date_selector_init),
2686 (_custom_print_func), (_update_day_model),
2687 (_manage_selector_change_cb),
2688 (hildon_date_selector_select_current_date),
2689 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2690 * src/hildon-date-selector.h:
2691 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2692 (hildon_picker_button_set_property),
2693 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2694 (hildon_picker_button_init), (hildon_picker_button_new_text),
2695 (hildon_picker_button_append_text),
2696 (hildon_picker_button_prepend_text),
2697 (hildon_picker_button_insert_text),
2698 (hildon_picker_button_set_selector),
2699 (hildon_picker_button_get_selector):
2700 * src/hildon-picker-button.h:
2701 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2702 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2703 (_update_title_on_selector_changed_cb), (requires_done_button),
2704 (_hildon_picker_dialog_set_selector),
2705 (hildon_picker_dialog_set_selector),
2706 (hildon_picker_dialog_get_selector):
2707 * src/hildon-picker-dialog.h:
2708 * src/hildon-time-button.c: (hildon_time_button_init),
2709 (hildon_time_button_get_time), (hildon_time_button_set_time):
2710 * src/hildon-time-selector.c: (hildon_time_selector_init),
2711 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2712 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2713 * src/hildon-time-selector.h:
2716 Massive code updates after the rename.
2718 * src/hildon-touch-picker.c: Removed.
2719 * src/hildon-touch-picker.h: Removed.
2721 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2722 (hildon_touch_selector_init), (hildon_touch_selector_map),
2723 (hildon_touch_selector_remove), (_default_print_func),
2724 (_selection_changed_cb), (_create_new_column),
2725 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2726 (hildon_touch_selector_append_text_column),
2727 (hildon_touch_selector_remove_column),
2728 (hildon_touch_selector_set_column_attributes),
2729 (hildon_touch_selector_insert_column),
2730 (hildon_touch_selector_get_num_columns),
2731 (hildon_touch_selector_get_column_selection_mode),
2732 (hildon_touch_selector_set_column_selection_mode),
2733 (hildon_touch_selector_set_print_func),
2734 (hildon_touch_selector_get_print_func),
2735 (hildon_touch_selector_get_active_iter),
2736 (hildon_touch_selector_set_active_iter),
2737 (hildon_touch_selector_get_selected_rows),
2738 (hildon_touch_selector_get_model),
2739 (hildon_touch_selector_set_model),
2740 (hildon_touch_selector_get_current_text),
2741 (_hildon_touch_selector_center_on_selected_items):
2742 * src/hildon-touch-selector.h: Renamed from
2743 hildon-touch-picker.[ch]
2745 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2746 references, code examples, and related documentation.
2748 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2750 * doc/hildon-docs.sgml
2753 * src/hildon-toggle-button.c
2754 * src/hildon-toggle-button.h
2755 * src/hildon.h: New HildonToggleButton widget.
2757 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-button.c: Add API documentation.
2760 (hildon_button_set_size_groups): Check input parameters
2762 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2764 * src/hildon-pannable-area.c
2765 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2766 effect after reaching the movement thredshold. This way we start
2767 using the distance after passing the thredshold.
2769 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-button.c: (hildon_button_set_property): Use the
2772 appropriate g_value_get_flags() method.
2774 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2776 * doc/hildon-docs.sgml:
2779 Add the touch pickers, picker dialogs, and picker button widgets
2780 to the documentation.
2782 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-button.c: (hildon_button_set_property),
2785 (hildon_button_class_init): Make "arrangement-flags" a proper
2786 G_TYPE_FLAGS derived property.
2788 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2790 * examples/Makefile.am: Add below examples.
2791 * examples/hildon-date-button-example.c:
2792 * examples/hildon-picker-button-example.c:
2793 * examples/hildon-picker-button-multicolumn-example.c:
2794 * examples/hildon-time-button-example.c:
2795 * examples/hildon-touch-picker-example.c:
2797 Add examples for the recently added touch pickers,
2798 picker dialogs, and picker button widgets.
2800 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-button.c: Add some API documentation
2804 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-button.h
2807 * src/hildon-button.c
2809 (hildon_button_new_with_text): New constructor to create a button
2810 with no text at all.
2811 (hildon_button_init, hildon_button_set_arrangement)
2812 (hildon_button_set_title, hildon_button_set_value)
2813 (hildon_button_set_text)
2814 (hildon_button_construct_child): Hide the value when it's not used
2815 so the rest of the text is properly aligned.
2816 Allow creating buttons with arbitrary widgets inside (not just
2817 title/value labels).
2819 * examples/hildon-button-example.c (vertical_buttons_window)
2820 (horizontal_buttons_window): Update example to use new API.
2822 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2824 * src/Makefile.am: Added HildonTimeButton.
2825 * src/hildon-time-button.c: Added missing LGPL header.
2826 * src/hildon-time-button.h: Added missing LGPL header.
2827 * src/hildon.h: Add hildon-time-button.h
2829 Copied HildonTimeButton from sandbox to trunk. Future work on this
2830 widget must take place in trunk.
2832 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/Makefile.am: Added HildonDateButton.
2835 * src/hildon-date-button.c: Update includes.
2836 * src/hildon.h: Add hildon-date-button.h
2838 Copied HildonDateButton from sandbox to trunk. Future work on this
2839 widget must take place in trunk.
2841 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/Makefile.am: Added HildonPickerButton.
2844 * src/hildon-picker-button.h: Update includes.
2845 * src/hildon.h: Add hildon-picker-button.h
2847 Copied HildonPickerButton from sandbox to trunk. Future work on
2848 this widget must take place in trunk.
2850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/Makefile.am: Added HildonPickerDialog.
2853 * src/hildon-picker-dialog.c: Update includes.
2854 * src/hildon.h: Add hildon-picker-dialog.h
2856 Copied HildonPickerDialog from sandbox to trunk. Future work
2857 on this widget must take place in trunk.
2859 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/Makefile.am: Added HildonTimeSelector.
2862 * src/hildon.h: Add hildon-time-selector.h
2864 Copied HildonTimeSelector widget from sandbox to trunk. Future
2865 work on this widget must happen in trunk.
2867 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/Makefile.am: Added HildonDateSelector.
2870 * src/hildon.h: Add hildon-date-selector.h
2872 Copied HildonDateSelector widget from sandbox to trunk. Future
2873 work on this widget must happen in trunk.
2875 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/Makefile.am: Added HildonTouchPicker.
2878 * src/hildon-touch-picker.c: Update includes.
2879 * src/hildon.h: Add hildon-touch-picker.h
2881 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2882 on this widget must happen in trunk.
2884 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-pannable-area.c:
2887 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2889 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2891 * examples/hildon-app-menu-example.c (main): Let the window
2894 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c
2897 (hildon_pannable_area_class_init): Set the min value of the
2898 overshoot properties to zero, which points out that not
2899 overshooting allowed.
2901 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2903 Modified the procedure to get the widget at a point inside the
2904 pannable area when using the movement type signals. Now the user
2905 has to call a function to get the child, that way we just
2906 calculate the child in case the user really want to use it and not
2909 * src/hildon-marshalers.list: Modified the marshallers, now we do
2910 not have the widget as a parameter.
2912 * src/hildon-pannable-area.c
2913 (hildon_pannable_area_motion_notify_cb),
2914 (hildon_pannable_area_class_init),
2915 (hildon_pannable_get_child_widget_at): Removed the widget
2916 parameter from the signal callback. We have also refactored the
2917 emission of the signals.
2919 * src/hildon-pannable-area.h: Added a new method to the API to
2920 calculate a widget at a point inside the pannable area,
2921 hildon_pannable_get_child_widget_at.
2923 * examples/hildon-pannable-area-example-4.c
2924 (horizontal_movement): Modified the example to use the new API,
2925 added condition to control which widget is under the event. This
2926 way we can avoid scrolling laterally over other widgets.
2928 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2930 * src/hildon-pannable-area.c
2931 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2932 modes, we stop getting the pointer events due to returning the
2933 callback without properly calling the get pointer again. Fixed
2934 also an error using the hscroll and vscroll.
2936 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-app-menu-private.h
2939 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2940 (hildon_app_menu_button_release, hildon_app_menu_init)
2941 (hildon_app_menu_class_init): Don't hide the menu on button
2942 release if the user didn't press outside first.
2944 * src/hildon-window.h
2945 * src/hildon-window.c (hildon_window_toggle_menu)
2946 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2947 hildon_window_toggle_menu a virtual function for the stackable
2948 window to override it.
2950 * src/hildon-stackable-window.h
2951 * src/hildon-stackable-window-private.h
2952 * src/hildon-stackable-window.c
2953 (hildon_stackable_window_realize)
2954 (hildon_stackable_window_finalize)
2955 (hildon_stackable_window_class_init)
2956 (hildon_stackable_window_init)
2957 (hildon_stackable_window_set_main_menu): New function to set the
2958 app menu of a HildonStackableWindow.
2960 * examples/hildon-app-menu-example.c: Remove the button to show
2961 the app menu, now it'll be shown when clicking on the title bar
2964 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2967 set the widget name if the arrangement flags do not specify
2970 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-button.c: (hildon_button_set_property),
2973 (hildon_button_class_init), (hildon_button_new_full),
2974 (hildon_button_set_arrangement): Added "arrangement-flags"
2977 Make the HildonButtonFlags a construction-only property, to allow
2978 subclasses to set them properly.
2980 2008-07-21 Tim Janik <timj@imendio.com>
2982 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2983 insertion position after backspace, so additional digits are appended,
2986 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2988 * src/hildon-pannable-area.c,
2989 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2990 TODO list, it was complete and removed the g_debug and g_print
2993 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2995 Added the movement modes to the hildon-pannable-area, with this
2996 modes the developers can control in which directions the widget
2997 can scroll. They can also connect to signals in order to do
2998 something when that happens, allowing applications scroll. There
2999 is an example uploaded showing how to use it.
3001 * examples/Makefile.am:
3002 * examples/hildon-pannable-area-example-4.c: Added this example of
3003 an application using the modes.
3005 * src/hildon-marshalers.list: Added a new marshaller for the new
3008 * src/hildon-pannable-area.h: Added new enumerations and flags in
3009 order to control the movement modes and the new signals to warn
3010 about the movements in the area.
3012 * src/hildon-pannable-area.c:
3013 (hildon_pannable_axis_scroll),
3014 (hildon_pannable_area_scroll),
3015 (hildon_pannable_area_motion_notify_cb),
3016 (hildon_pannable_area_get_property),
3017 (hildon_pannable_area_set_property),
3018 (hildon_pannable_area_map),
3019 (hildon_pannable_area_class_init),
3020 (hildon_pannable_area_init),
3021 (hildon_pannable_area_jump_to): Added the modes to control the
3022 movement in the widget. We have added properties to control it,
3023 signals to warn about the movements and refactored some code.
3025 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3027 Changes required in order to allow vfast_factor set to zero to
3030 * src/hildon-pannable-area.c:
3031 (hildon_pannable_area_button_press_cb): Changed the condition, it
3032 is required for not allowing click when vfast_factor is zero.
3033 (hildon_pannable_area_timeout): Initialized velocity variables
3034 when we stop moving, it was less than 1 but not zero and we need
3035 to check zero in some situations.
3036 (hildon_pannable_area_class_init): Changed the default value of
3037 the speed factor, now the button_press is just sent in case the
3038 speed is 2 per cent of the max speed.
3039 (hildon_pannable_area_init): Initialization with 0.
3041 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3043 * src/hildon-pannable-area.c,
3044 (hildon_pannable_area_get_topmost): replaced
3045 gdk_window_get_children with gdk_window_peek_children, this way we
3046 do not have to free the list because it is not a copy.
3048 (hildon_pannable_axis_scroll),
3049 (hildon_pannable_area_scroll),
3050 (hildon_pannable_area_timeout),
3051 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3052 two parameters that were only used inside the
3053 hildon_pannable_area_scroll function.
3055 * examples/hildon-pannable-area-example.c,
3056 (get_sawtooth_label): Fixed small memory leak.
3058 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3060 More checks for the case where the overshoot is bigger than the
3063 * src/hildon-pannable-area.c:
3064 (hildon_pannable_draw_vscroll),
3065 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3066 to draw the slider of the scrollbar under the other scrollbar.
3067 (hildon_pannable_area_expose_event): added new checks to control
3068 the drawing of the overshooting area rectangle, in case it is too
3069 big for the area of the widget.
3070 (hildon_pannable_area_size_allocate): add more checks to avoid
3071 setting a position to the child widget outside the area.
3073 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3075 * src/hildon-pannable-area.c
3076 (hildon_pannable_area_size_allocate): Added conditions to control
3077 when overshooting is bigger than the allocated space for the
3078 children, this avoids negative allocations.
3080 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3082 * doc/hildon-docs.sgml
3084 * examples/Makefile.am
3085 * examples/hildon-button-example.c
3087 * src/hildon-button.c
3088 * src/hildon-button.h
3089 * src/hildon.h: Initial version of the new HildonButton widget,
3092 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-pannable-area.c:
3095 (hildon_pannable_area_button_press_cb),
3096 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3097 (hildon_pannable_area_motion_notify_cb),
3098 (hildon_pannable_area_button_release_cb),
3099 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3100 (hildon_pannable_area_jump_to_child):
3102 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3104 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3106 * examples/Makefile.am
3107 * examples/hildon-pannable-area-touch-grid-example.c
3108 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3109 the Hildon Touch List and Hildon Touch Grid using the
3110 HildonPannableArea widget.
3112 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3114 * src/hildon-pannable-area.c,
3115 (hildon_pannable_area_button_press_cb),
3116 (hildon_pannable_area_refresh),
3117 (hildon_pannable_area_scroll),
3118 (hildon_pannable_area_motion_notify_cb),
3119 (hildon_pannable_area_button_release_cb),
3120 (hildon_pannable_area_expose_event),
3121 (hildon_pannable_area_add),
3122 (hildon_pannable_area_remove),
3123 (hildon_pannable_area_realize),
3124 (hildon_pannable_area_size_allocate),
3125 (hildon_pannable_area_class_init),
3126 (hildon_pannable_area_init),
3127 (hildon_pannable_area_scroll_to_child),
3128 (hildon_pannable_area_jump_to_child): Fixed the problem of
3129 removing the child from the GtkBin, we have rearranged the widget
3130 hierarchy, now there is no GtkAlignment which was not doing
3131 anything interesting but breaking some of the assumptions of
3132 GtkContainer. Now developers if they want to add a GtkAlignment
3133 they could, but it is not inside the area.
3135 We had to review the whole allocation/expose process, now it is
3136 improved and we save at least three signals which would be saving
3137 some time when rendering the widget. The allocation of the
3138 scrollbars is now made in the allocate method as usual.
3140 We have also added some conditions in order to control when there
3141 is no child of the pannable area. Maybe we will need more work
3144 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3146 * src/hildon-pannable-area.c,
3147 (hildon_pannable_area_dispose): Released the fade-out timeout when
3148 disposing the widget.
3150 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3152 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3153 zero, we are going to use that property in order to deactivate the
3155 (hildon_pannable_axis_scroll),
3156 (hildon_pannable_area_size_allocate): Added conditions to control
3157 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3158 call, now it is called in all situations and we can remove calls
3159 in the allocate method.
3160 (hildon_pannable_area_map): Control the situation when
3161 overshoot_max is zero, we do not need the timeout.
3162 (hildon_pannable_area_class_init): Added documentation in order to
3163 point out that setting zero to overshoot_max means deactivate
3166 NOTE: removed trailing whitespaces from my previous comments of
3169 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-pannable-area.c
3172 (hildon_pannable_area_get_property),
3173 (hildon_pannable_area_set_property),
3174 (hildon_pannable_area_map),
3175 (hildon_pannable_area_class_init),
3176 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3177 to cause the widget give a hint about its panning abilities upon
3180 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-pannable-area.c: Several documentation improvements.
3184 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-program.c
3187 * src/hildon-stackable-window.c: Update documentation.
3189 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-stackable-window.c (get_previous_window_if_last):
3192 Renamed get_last_window()
3193 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3194 (hildon_stackable_window_unset_program):
3196 (get_previous_window_if_last):
3197 Detect if the window hasn't been added to a HildonProgram.
3199 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3201 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-pannable-area.c
3204 (hildon_pannable_area_button_press_cb),
3205 (hildon_pannable_axis_scroll),
3206 (hildon_pannable_area_scroll),
3207 (hildon_pannable_area_timeout),
3208 (hildon_pannable_calculate_vel_factor),
3209 (hildon_pannable_area_get_property),
3210 (hildon_pannable_area_set_property),
3211 (hildon_pannable_area_class_init),
3212 (hildon_pannable_area_init),
3213 (hildon_pannable_area_scroll_to),
3214 (hildon_pannable_area_jump_to),
3215 (hildon_pannable_area_scroll_to_child),
3216 (hildon_pannable_area_jump_to_child):
3217 * src/hildon-pannable-area.h: Added the new API functions:
3218 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3219 hildon_pannable_area_scroll_to_child,
3220 hildon_pannable_area_jump_to_child
3223 * examples/Makefile.am
3224 * examples/hildon-pannable-area-example-2.c
3225 * examples/hildon-pannable-area-example-3.c: Added these two new
3226 examples in order to test and show how the new APIs work.
3228 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3230 * examples/hildon-stackable-window-example.c (new_window):
3231 * src/Makefile.am (noinst_HEADERS):
3232 * src/hildon-program.c (hildon_program_go_to_root_window):
3233 * src/hildon-program.h:
3234 * src/hildon-stackable-window-private.h:
3235 * src/hildon-stackable-window.c:
3236 * src/hildon-stackable-window.h:
3237 Create hildon-stackable-window-private.h
3238 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3240 * examples/hildon-app-menu-example.c (create_menu):
3241 * examples/hildon-hvolumebar-insensitive-example.c (main):
3242 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3243 * examples/hildon-toolbar-seekbar-example.c (main):
3244 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3245 * src/hildon-banner.c (hildon_banner_set_property):
3246 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3247 Fix compilation warnings
3249 * src/hildon-window.c:
3252 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-stackable-window.c
3255 (hildon_stackable_window_unset_program):
3256 Calculate correctly whether to show the previous window if the
3257 last one is removed from the stack.
3258 (hildon_stackable_window_go_to_root_window):
3259 Send delete events starting from the topmost window.
3260 Stop if one of the windows is not destroyed.
3262 (hildon_stackable_window_delete_event)
3263 (hildon_stackable_window_class_init):
3264 Ignore the delete event if the window is not the topmost one.
3266 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3268 * src/hildon-pannable-area.c
3269 (hildon_pannable_area_expose_event): Fixed a problem when
3270 selecting the background color of the scrollbars.
3272 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3274 * examples/hildon-stackable-window-example.c
3275 * src/hildon-stackable-window.c
3276 * src/hildon-stackable-window.h
3277 hildon_stackable_window_go_home() renamed to
3278 hildon_stackable_window_go_to_root_window()
3279 Send delete events to windows rather than closing them with
3280 gtk_widget_destroy()
3282 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3284 * src/hildon-pannable-area.c
3285 (hildon_pannable_area_button_release_cb): Fix overshooting in
3288 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-pannable-area.c
3291 (hildon_pannable_area_init): Initially show the scroll indicators.
3292 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3294 Add initial effect showing the widget is pannable.
3296 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-pannable-area.c
3299 (hildon_pannable_area_class_init)
3300 (hildon_pannable_area_set_property)
3301 (hildon_pannable_area_get_property)
3302 (hildon_pannable_area_button_press_cb):
3303 New 'velocity_fast_factor' property to decide which velocity is
3306 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-pannable-area.c
3309 (hildon_pannable_draw_hscroll)
3310 (hildon_pannable_draw_vscroll):
3311 Use float variables to calculate the size of the scrollbars to
3312 avoid error propagation and resizing during scrolling.
3314 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-pannable-area.c
3317 (hildon_pannable_draw_vscroll)
3318 (hildon_pannable_draw_hscroll):
3319 Define a minimum size for the scroll bars
3321 * src/hildon-stackable-window.c
3322 (hildon_stackable_window_go_home): Fix compilation warning
3323 (get_last_window): Minor optimizations
3324 (hildon_stackable_window_class_init): Fix initialization of
3327 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-stackable-window.c: Fixed typos in doc
3331 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3333 * src/hildon-pannable-area.c
3334 (hildon_pannable_area_scroll):
3335 Calculate here whether we need to scroll instead of using the booleans
3336 that tell us whether to /draw/ the scrolling bars.
3338 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-app-menu.h
3342 * src/hildon-app-menu.c
3343 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3344 multiple filter groups related code and API. Now we support only
3346 * examples/hildon-app-menu-example.c:
3348 Update to reflect API changes.
3350 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-stackable-window.c
3353 (hildon_stackable_window_class_init):
3354 Add hildon_stackable_window_realize.
3355 (hildon_stackable_window_realize):
3356 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3357 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3358 to apply theming and behavior specific to HildonStackableWindow
3361 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3363 * src/hildon-note.c (hildon_note_button_release):
3364 Close information notes also when tapping on them
3366 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3368 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3369 ELASTICITY, refactor and review, fix some issues with drawing
3372 * src/hildon-pannable-area.c:
3373 (hildon_pannable_area_button_press_cb): removed the conditions to
3374 avoid clicks when overshooting. It is not required
3376 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3377 define. Refatored and reviewed the code, now we do not need to
3378 manage velocity in motion_notify.
3380 (hildon_pannable_area_motion_notify_cb): We have moved the code
3381 that controls the area_scroll to the axis_scroll function and get
3382 rid of duplicated code.
3384 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3386 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3388 (hildon_pannable_draw_vscroll),
3389 (hildon_pannable_draw_hscroll): Fixed the problems with the
3390 scrollbar drawing, now we do not use two surfaces, it is easier
3391 and saves resources.
3393 (hildon_pannable_area_get_property): Style modification.
3395 (hildon_pannable_area_class_init): Changed some default values.
3397 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-stackable-window.c: Fix some typos in the
3402 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-dialog.c:
3405 Change indentation style
3408 (hildon_note_button_release):
3409 Use root coordinates to check if the release event happened
3412 * src/hildon-app-menu.c
3413 (hildon_app_menu_button_release):
3414 Remove unnecessary check
3416 * examples/hildon-app-menu-example.c
3418 Add cast to fix warning
3420 * src/hildon-app-menu.c
3421 (hildon_app_menu_class_init):
3422 New inner-border style property.
3423 Set all default spacings to 16
3424 (hildon_app_menu_init):
3425 Use vertical-spacing to set the space between filter buttons and
3426 regular menu buttons.
3427 Set the default container border using the inner-border value.
3429 * examples/hildon-app-menu-example.c
3431 Don't set the menu border explicitly, now we have the inner-border
3432 style property for that.
3434 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-app-menu.c (hildon_app_menu_init):
3437 Make the window modal
3439 * src/hildon-note.c (hildon_note_map)
3440 * src/hildon-app-menu.c (hildon_app_menu_map):
3441 Destroy the grab window if we're unable to grab the pointer
3443 * src/hildon-app-menu-private.h
3444 * src/hildon-app-menu.c
3445 (hildon_app_menu_init, hildon_app_menu_finalize)
3446 (hildon_app_menu_map, hildon_app_menu_unmap)
3447 (hildon_app_menu_button_release)
3448 (grab_transfer_window_get):
3449 Bring back the grab window
3450 (hildon_app_menu_realize):
3451 Decorate the window, set WM hint for Matchbox
3453 * src/hildon-note.c (hildon_note_realize):
3454 * src/hildon-banner.c (hildon_banner_realize):
3455 Add WM hints for Matchbox
3457 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-app-menu-private.h
3460 * src/hildon-app-menu.c
3461 (hildon_app_menu_init, hildon_app_menu_finalize)
3462 (hildon_app_menu_map, hildon_app_menu_unmap)
3463 (hildon_app_menu_button_release):
3464 Remove the grab window, it's not needed anymore
3466 * src/hildon-program.c
3467 Fixed typo in documentation
3469 * src/hildon-app-menu.h
3470 * src/hildon-app-menu.c
3471 * examples/hildon-app-menu-example.c
3472 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3474 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3477 Added new transfer_window and close_if_pressed_outside private
3479 (hildon_note_rebuild):
3480 Don't add a cancel button to the information note. It will be
3481 closed when tapping outside
3482 Remove the comment about the OK button in the documentation
3483 (hildon_note_realize):
3484 Set the notification type hint
3485 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3486 Grab/ungrab pointer and keyboard if the note has to be closed when
3488 (hildon_note_button_release):
3489 Close the note when tapping outside (if applicable)
3491 * src/hildon-app-menu.c
3492 Grab/ungrab pointer and keyboard on map/unmap
3493 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3494 Close the menu on button release, not button press
3496 * src/hildon-banner.c
3497 (hildon_banner_set_property)
3498 (hildon_banner_check_position):
3499 Make the banner use the full width of the screen
3500 (hildon_banner_show_information)
3501 (hildon_banner_show_information_with_markup):
3502 Don't display an icon by default
3504 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3506 Added fading scrollbars and adapted all the overshooting code to
3507 horizontal scrolling. We have also fixed bugs with overshooting
3508 and current fading implementation.
3510 * src/hildon-pannable-area.c
3511 (hildon_pannable_area_scroll_indicator_fade): Time out function
3512 used to change the transparency of the scrollbars.
3514 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3515 control and fixed a problem with fading, we now remove the fade
3516 timeout before adding a new one.
3518 (hildon_pannable_axis_scroll):
3519 (hildon_pannable_area_scroll):
3520 (hildon_pannable_area_timeout): Added this functions so we can use
3521 the scroll code both for vertical and horizontal.
3523 (hildon_pannable_area_motion_notify_cb):
3524 (hildon_pannable_area_button_release_cb): Added the horizontal
3525 scrolling control, fixed a problem with the overshooting timeout.
3527 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3528 painting of the scrolls.
3530 (hildon_pannable_draw_vscroll):
3531 (hildon_pannable_draw_hscroll):
3532 (hildon_pannable_area_expose_event):
3533 Draw both scrollbars and rectangles in the overshooting area.
3535 (hildon_pannable_area_get_property):
3536 (hildon_pannable_area_set_property):
3537 Modified the overshoot property to overshoot_max
3539 (hildon_pannable_area_map):
3540 Replaced the comments symbols.
3542 (hildon_pannable_area_size_allocate):
3543 (hildon_pannable_area_class_init):
3544 (hildon_pannable_area_init): Added horizontal scroll, fading
3545 effect properties, fixed a problem when overshooting in the bottom
3548 * examples/hildon-pannable-area-example.c:
3549 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3550 looks better in the example.
3552 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-window.c
3555 * src/hildon-window.h
3556 (hildon_window_class_init)
3557 (hildon_window_unset_program)
3558 (hildon_window_unset_program_real):
3559 Make unset_program a virtual function
3561 * src/hildon-stackable-window.c
3562 * src/hildon-stackable-window.h
3563 Added hildon_stackable_window_go_home()
3565 * examples/Makefile.am
3566 * examples/hildon-stackable-window-example.c
3567 HildonStackableWindow example
3569 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3571 * hildon-pannable-area.c: Added the overshoot property and removed
3572 the OVERSHOOT define. Fixed an indent style error.
3573 (hildon_pannable_area_motion_notify_cb):
3574 (hildon_pannable_area_get_property):
3575 (hildon_pannable_area_set_property): Add overshoot property.
3577 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3580 (hildon_pannable_area_class_init): Installed the new property.
3582 * hildon-pannable-area-example.c: Added a sawtooth function, this
3583 way it is easier to check the movement in the pannable.
3584 (get_sawtooth_label): Added this function.
3585 (main): Now we get the labels from the new get_sawtooth_label
3588 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-app-menu.h
3591 * src/hildon-app-menu.c
3592 Renamed API variables for consistency
3594 (hildon_app_menu_popup): Use also the default window size to
3595 decide where to place the menu
3597 (hildon_app_menu_init, hildon_app_menu_class_init): New
3598 external-border style property
3600 2008-05-26 Michael Natterer <mitch@imendio.com>
3602 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3603 widget_class->tap_and_hold_setup signal slot doesn't exist any
3604 longer, stop overriding it.
3606 (hildon_time_editor_init): g_signal_connect() to the
3607 tap-and-hold-setup signal instead.
3609 (hildon_time_editor_entry_keypress): add cast to fix warning.
3611 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3613 * doc/hildon-docs.sgml
3615 * examples/Makefile.am
3616 * examples/hildon-app-menu-example.c
3618 * src/hildon-app-menu-private.h
3619 * src/hildon-app-menu.c
3620 * src/hildon-app-menu.h
3622 New HildonAppMenu widget
3624 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3626 Rearranged the inheritance of the pannable area, now it inherits
3627 from GtkBin. This will allow us to control the event_window and
3628 the allocation process of the widget, required for some effects.
3630 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3631 GtkBin structures. * src/hildon-pannable-area.c: Added the
3632 event_window variable.
3633 (hildon_pannable_area_button_press_cb):
3634 (hildon_pannable_area_button_release_cb):
3635 (hildon_pannable_area_motion_notify_cb):
3636 Changed the signature of the method, now we override the event
3637 callback instead of connecting to the signal.
3639 (hildon_pannable_area_realize):
3640 (hildon_pannable_area_unrealize):
3641 (hildon_pannable_area_map):
3642 (hildon_pannable_area_unmap):
3643 (hildon_pannable_area_size_allocate):
3644 Added functions to control the widget construction. We add a
3645 INPUT_ONLY window and we put it over the widgets inside the
3646 container, this event_window handles the events.
3648 (hildon_pannable_area_class_init):
3649 Replaced the signal connections with overrides of the event
3652 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3654 Bouncing effect added when touching the borders, you can change
3655 the elasticity of the border changing the ELASTICITY define.
3657 * src/hildon-pannable-area.c: Added ELASTICITY define.
3658 (hildon_pannable_area_timeout): Added inverse velocity when
3659 touching the border of the child widget, that causes a bounce.
3661 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3663 Improved performance, we now do not go to the X server in order to
3664 get the list of window children. Apparently the effect is the
3665 same, we have to be careful and check if this breaks something in
3668 * src/hildon-pannable-area.c:
3669 (get_ordered_children): Removed this function.
3670 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3671 the children windows function with gdk_window_get_children.
3673 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3675 * src/hildon-pannable-area.c:
3676 (hildon_pannable_area_dispose): Fixed a crash when closing the
3677 window and kinetics is activated.
3679 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3681 * src/hildon-pannable-area.h
3682 * src/hildon-pannable-area.c
3683 Changed indentation style to meet the one used in Hildon
3685 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3687 Reviewed the interaction of the AUTO mode, now we use the time
3688 attribute of the events and calculate the velocity in the motion,
3689 doing a gimp like calculation. The velocity is calculated in each
3690 motion event using the last velocity and the current one, the
3691 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3693 * src/hildon-pannable-area.c: Replaced the time based algorithm
3695 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3696 timeout for the AUTO mode when we are still moving the cursor. We
3697 added also the velocity calculation in this function.
3698 (hildon_pannable_area_button_release_cb): launch the timeout in
3699 case we are in AUTO mode. There are still some constants here that
3700 come from the old implementation that should be reviewed and
3703 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3705 * doc/hildon-docs.sgml
3708 * src/hildon-stackable-window.c
3709 * src/hildon-stackable-window.h
3711 New HildonStackableWindow widget
3713 * examples/hildon-dialog-example.c
3714 * examples/hildon-pannable-area-example.c
3717 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-dialog.c
3720 (hildon_dialog_new_with_buttons): New constructor.
3722 * examples/hildon-dialog-example.c
3723 (main): Update the example to use the new
3724 hildon_dialog_new_with_buttons().
3726 * examples/hildon-pannable-area-example.c
3727 (main): Update example.
3729 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3731 * doc/hildon-docs.sgml
3733 Added HildonPannableArea to the documentation.
3735 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3737 * doc/visual_index.xml
3738 Fix reference to HildonLoginDialog in documentation
3740 * doc/hildon-docs.sgml
3742 * examples/Makefile.am
3743 * examples/hildon-dialog-example.c
3745 * src/hildon-dialog.c
3746 * src/hildon-dialog.h
3748 New HildonDialog widget.
3750 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3752 * src/hildon-pannable-area.c
3753 Merge latest changes (r4318, r4342) from libmokoui trunk
3755 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3757 * examples/Makefile.am
3758 * examples/hildon-pannable-area-example.c
3760 * src/hildon-pannable-area.c
3761 * src/hildon-pannable-area.h
3763 New HildonPannableArea widget.
3765 2008-04-15 18:05:19 <timj@imendio.com>
3767 * src/hildon-banner.c: revert the recent change, that introduced
3768 gtk_window_present() calls. this reopens:
3769 Bug 78481 - [freetest] information banners are hidden under browser menu
3770 But resolves another variant of:
3771 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3773 2008-04-15 13:21:13 <timj@imendio.com>
3775 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3776 recreated its layout, spotted by Kris. this fixes all remaining
3777 artefacts and stability issues with the banner code. in particular:
3778 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3780 2008-04-14 16:52:59 <timj@imendio.com>
3782 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3783 operating on unrealized widgets, fixes:
3784 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3786 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3788 2008-04-09 Kristian Rietveld <kris@imendio.com>
3790 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3791 makes banner disappear.
3792 Fixes: NB#79182: info banner flickering with certain message lengts.
3794 * src/hildon-banner.c (hildon_banner_constructor),
3795 (hildon_banner_init), (hildon_banner_set_text),
3796 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3797 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3798 FALSE, reset size requests of label and banner,
3799 (force_to_wrap_truncated): when the text is too wide, always enforce
3800 the maximum possible width instead of recalculating it from the
3801 layout; enforce the maximum banner height of 3 lines,
3802 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3803 nicer wrapping and no truncated chars if space gets tight.
3805 * src/hildon-banner-private.h: add has_been_wrapped and
3806 has_been_truncated fields.
3808 2008-04-07 Sven Herzberg <sven@imendio.com>
3810 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3811 local values in hildon_date_editor_size_allocate
3813 * src/hildon-date-editor.c: moved the real allocation code into the
3816 2008-04-07 Sven Herzberg <sven@imendio.com>
3818 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3819 local values in hildon_date_editor_size_allocate
3821 * src/hildon-date-editor.c: merged the two if() branches together
3823 2008-04-07 Sven Herzberg <sven@imendio.com>
3825 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3826 local values in hildon_date_editor_size_allocate
3828 * src/hildon-date-editor.c: changed the arguments of the if()
3831 2008-04-07 Sven Herzberg <sven@imendio.com>
3833 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3834 local values in hildon_date_editor_size_allocate
3836 * src/hildon-date-editor.c: split the calculation of the allocation
3837 from the real allocation
3839 2008-03-27 Michael Natterer <mitch@imendio.com>
3841 Fixes: NB#81696: The passcode is not overwritten even after
3844 * src/hildon-code-dialog.c
3845 (hildon_code_dialog_button_clicked)
3846 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3847 because that doesn't overwrite selected text. Instead, emit the
3848 "commit" signal on the entry's im_context so the entry's normal
3849 insert logic is triggered. Set the cursor to the end of the entry
3850 after each insert operation so that we *only* insert in the middle
3851 of the text if something was selected.
3853 2008-03-27 Michael Natterer <mitch@imendio.com>
3855 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3856 selector cannot be opened
3858 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3859 when the popup color selector is created. Please connect to this
3860 signal in order to set the dialog's help ID.
3862 2008-03-25 Sven Herzberg <sven@imendio.com>
3864 Fixes: MB#1212: Hide info banners (infoprints) on click
3866 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3867 extracted the close event simulation into an extra function
3868 (hildon_banner_button_press_event): simulate a close event and destroy
3869 the widget if the event wasn't handled
3870 (hildon_banner_class_init): added the button_press_event handler
3871 (hildon_banner_init): added button-press events to the widget
3873 2008-03-25 Sven Herzberg <sven@imendio.com>
3875 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3876 Patch from: Mohammad Anwari <mdamt@maemo.org>
3878 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3879 instead of the right in RTL mode
3880 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3881 breadcrumb button list in RTL mode
3882 * src/hildon-caption.c: mirror the appearance of the caption widget in
3884 * src/hildon-date-editor.c: mirror appearance of the date editor in
3886 * src/hildon-time-editor.c: mirror appearance of the time editor in
3888 * src/hildon-window.c: fix the position of the popup in RTL mode
3890 2008-03-25 Sven Herzberg <sven@imendio.com>
3892 Amendment to the fix of NB#22072. Fix compilation.
3894 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3896 2008-03-19 Sven Herzberg <sven@imendio.com>
3898 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3901 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3902 timeout id properly when the timeout will disappear this leaves no
3903 artifacts around in the destroy(); there will only be the timeout
3904 created by hildon_banner_ensure_timeout() and adding a new timeout
3905 will also work if the timeout gets removed because the timeout_handler
3908 2008-03-19 Michael Natterer <mitch@imendio.com>
3910 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3912 * src/hildon-volumebar.c
3913 * src/hildon-vvolumebar.c
3914 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3915 the widget becomes focussable at all.
3917 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3918 set the focus to wither the mute button or the volumebar.
3920 Remove own "can-focus" property and instead listen to
3921 notify::can-focus in order to update the widget's state.
3923 Implement GtkWidget::focus() and make sure we can also *leave* the
3924 widget, not only enter it, depending on volumebar orientation and
3925 requested focus direction.
3927 Clean up set_mute() to cooperate nicely with all the above.
3929 2008-03-04 Michael Natterer <mitch@imendio.com>
3931 Fixes: NB#78481: information banners are hidden under browser menu
3933 * src/hildon-banner.c: call gtk_window_present() on the banners so
3934 they are risen if they are already visible.
3936 2008-03-03 Sven Herzberg <sven@imendio.com>
3938 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3940 * examples/hildon-window-menu-example.c: (main): extended the window
3941 menu example to serve as a testcase for automatically added
3942 accelerator groups, too
3943 * src/hildon-window.c: (hildon_window_add_accel_group),
3944 (hildon_window_set_menu): added patch by Tommi Komulainen
3946 2008-03-03 Sven Herzberg <sven@imendio.com>
3948 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3950 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3951 knowledge about the border allocators used within GTK+
3953 2008-02-26 Sven Herzberg <sven@imendio.com>
3955 Fixes: MB#2981: Build with asserts broken
3957 * src/hildon-date-editor.c,
3958 * src/hildon-number-editor.c,
3959 * src/hildon-time-editor.c,
3960 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3961 the proper GType instance check
3963 2008-02-25 Sven Herzberg <sven@imendio.com>
3965 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3967 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3968 * examples/hildon-window-menu-example.c: (main): explicitly show
3970 * src/hildon-window.c:
3971 (hildon_window_set_main_menu): moved most of the code from set_menu()
3972 to this place; skipped the call to gtk_widget_show_all(); also didn't
3973 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3974 (hildon_window_set_menu): removed most of the code, just keep the
3975 questionable gtk_widget_show_all()
3976 * src/hildon-window.h: added the new function and deprecate the old
3979 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3985 * debian/changelog: Updating.
3987 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3990 * pkgconfig/Makefile.am:
3991 * pkgconfig/hildon.pc.in:
3994 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3995 use newly created API_MAJOR_VERSION.
3997 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4003 * debian/changelog: Updating.
4005 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4007 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4009 Add outer_border style property, we use it but don't define it (!).
4013 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4015 * examples/hildon-bread-crumb-trail-example.c (main):
4019 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4021 Fix logic for the bread crumb trail node removal.
4025 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4031 * debian/changelog: Updating.
4033 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4035 Patch by Alejandro to get/set passwords dialogs accesibility.
4037 * hildon-1/src/hildon-get-password-dialog.c:
4038 * hildon-1/src/hildon-set-password-dialog.c:
4039 Set atk_set_name to the passwd entries in order to allow
4040 accessibility by name on this entries.
4042 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * debian/control: Updating gtk dep.
4049 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4051 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4052 USE_MAEMO_GTK is enabled.
4054 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4056 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4057 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4059 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * debian/changelog: Updating.
4067 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4069 * examples/Makefile.am:
4070 * examples/hildon-logical-color-example.c:
4071 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4072 applied + adding a test case. Fixes: NB#71660.
4074 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4076 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4077 to be visible, fixes warning on map for windows without toolbars.
4079 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4081 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4082 2.11.0, add a check for that besides the MAEMO_GTK check.
4084 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4090 * debian/changelog: Updating.
4092 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4094 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4095 visibility. Fixes: NB#70842 and MB#615.
4097 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4099 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4100 set the separator as no-show-all so it doesn't unintentionally appear when
4101 someone does a show_all.
4103 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4105 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4106 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4107 toplevel item. Fixes: NB#62031
4109 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4111 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4112 fix the name of the function in the docs.
4114 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4120 * debian/changelog: Updating.
4122 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4124 * examples/hildon-banner-long-example.c: Adding a test-case for long
4127 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4129 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4131 * src/hildon-color-chooser-dialog.c:
4132 * src/hildon-color-chooser.c:
4133 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4134 memory leaks in font selector and color selector. Fixes: NB#70499 and
4137 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4139 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4141 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4144 little bit bigger. Fixes: #NB63694.
4146 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * debian/changelog: Updating.
4154 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4157 * doc/hildon-docs.sgml:
4158 * doc/images/bread-crumb-trail.png:
4159 * doc/images/calendar-popup.png:
4160 * doc/images/caption.png:
4161 * doc/images/code-dialog.png:
4162 * doc/images/color-button.png:
4163 * doc/images/color-chooser-dialog.png:
4164 * doc/images/color-chooser.png:
4165 * doc/images/controlbar.png:
4166 * doc/images/date-editor.png:
4167 * doc/images/font-selection-dialog.png:
4168 * doc/images/get-password-dialog.png:
4169 * doc/images/hvolumebar.png:
4170 * doc/images/login-dialog.png:
4171 * doc/images/note.png:
4172 * doc/images/number-editor.png:
4173 * doc/images/range-editor.png:
4174 * doc/images/seekbar.png:
4175 * doc/images/set-password-dialog.png:
4176 * doc/images/sort-dialog.png:
4177 * doc/images/time-editor.png:
4178 * doc/images/time-picker.png:
4179 * doc/images/vvolumebar.png:
4180 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4181 Adding the bread-crumb-trial and helpers to the documentation.
4183 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4185 * examples/hildon-find-toolbar-example.c:
4186 * src/hildon-find-toolbar.c:
4187 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4188 actually continue firing the other handlers if connected. Adding a new
4190 hildon_find_toolbar_get_last_index that gets the index of the most
4191 recently added (last) item. Fixes: NB#52301.
4193 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4195 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4196 behaviour. Fixes: NB#68610.
4198 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4200 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4203 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4205 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4206 when realizing the banner. Should make the infonbanner effect a bit more
4209 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4211 * src/hildon-volumebar.c:
4212 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4213 hildon_volumebar_set_range_insensitive_message and
4214 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4216 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4218 * src/hildon-window.c: Fixing the border freeing on destroy.
4220 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4222 * src/hildon-code-dialog-private.h:
4223 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4224 kw keyboard support in HildonCodeDialog.
4226 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4232 * debian/changelog: Updating.
4234 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4236 * src/hildon-date-editor.c:
4237 * src/hildon-number-editor.c:
4238 * src/hildon-private.c:
4239 * src/hildon-private.h:
4240 * src/hildon-time-editor.c:
4241 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4242 handling in subclassed composite widgets. Fixes: NB#66628.
4244 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4246 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4247 from destroy_ callback as it introduces problems in async dbus signal
4248 handlers. Fixes NB#66673.
4250 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4252 * examples/hildon-hvolumebar-example.c:
4253 * src/hildon-volumebar.c: Improving the focus handling in the
4254 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4255 set_property accessor so that "mute" property can be actually set. I'm
4256 scared that nobody noticed it's totally broken.
4258 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4260 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4263 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4265 * src/hildon-calendar.c:
4266 * src/hildon-number-editor.c:
4267 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4268 matches the spec of 6 chars per second. Fixes: NB#60489.
4270 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4272 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4273 gtk_style_lookup_color sometime returns FALSE even though color was
4274 found and values were filled properly. Weird. Removing the warning for the
4277 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4279 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4280 expand vertically. Adding some extra space to the find toolbar buttons to
4281 make them thumbable. Fixes NB#66060.
4283 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4285 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4286 popup with "Ok" and "Cancel". Fixes NB#59299.
4288 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4290 * src/hildon-calendar.c: Process all window updates before executing next
4291 timeout. Fixes: NB#54146.
4293 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4299 * debian/changelog: Updating.
4301 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4303 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4304 the client event and ignore it, since we use the delete event to close
4307 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4309 * src/hildon-helper.c: Remove the bogus warning about color not being
4310 found. Fixes NB#58352.
4312 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4314 * examples/Makefile.am:
4315 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4316 HildonSeekbar widget inside a toolbar.
4318 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4320 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4321 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4322 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4323 don't want to be closed by non-temporary windows on map.
4325 Also use G_DEFINE_TYPE instead of manually typed code.
4327 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4334 * debian/rules: Updating.
4336 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4338 * examples/Makefile.am:
4339 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4340 bug NB#61128. Strangely it works.
4342 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4344 * src/hildon-date-editor.c: When the date editor entry has been changed
4345 but the numbers of characters < max, turn off the skip validation flag.
4346 Prevents a situation when we enter first a valid year and later re-write
4347 it with an invalid one. Fixes NB#60154.
4349 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4351 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4352 code dialog. Fixes NB#64355.
4354 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4356 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4357 switching the page. Fixes NB#49374.
4359 * examples/Makefile.am:
4360 * examples/hildon-wizard-dialog-example.c: Adding an example for
4361 HildonWizardDialog that shows how to handle manual sensitivity setting on
4364 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4368 * src/hildon-version.h.in:
4369 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4371 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4373 * src/hildon-volumebar.c: Updating the docs.
4375 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4381 * debian/changelog: Updating.
4383 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4385 * src/hildon-find-toolbar.c:
4386 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4387 selected item: hildon_find_toolbar_set_active,
4388 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4389 hildon_find_toolbar_get_active_iter . They correspond to respective
4390 GtkComboBox functions.
4392 * examples/Makefile.am:
4393 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4396 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4398 * examples/Makefile.am:
4399 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4402 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4403 when font size > 32 and we pack a focusable widget inside. Actually using
4404 the default response would work too, but since we don't show default
4405 response state in any way (no theming) it would not be visible to the
4406 user. Fixes NB#63430.
4408 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4410 * src/hildon-date-editor.c: Adding the missing variable setter in the
4411 set_property handler. Fixes NB#54182.
4413 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4415 * src/hildon-window.h: Changing the long key press time from 1500ms to
4416 800ms as requested in NB#63700. I have a bad feeling about this, let's
4417 see... Fixes NB#63700.
4419 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4421 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4422 hildon_time_picker_map, hildon_time_picker_realize,
4423 hildon_time_picker_style_set): Split the contents of map to more
4424 appropriate functions; set window decorations on realize and update
4425 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4427 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4432 * debian/changelog: Updating.
4434 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4436 * src/Makefile.am: fixed installation of the header files
4438 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4444 * debian/changelog: Updating.
4446 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4448 * configure.ac: Removing some remaining of --enable-xan.
4450 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4452 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4453 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4455 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4456 2.10.12-osso6 because the move-focus signal needs to be available in
4459 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4461 * examples/Makefile.am:
4462 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4463 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4464 fine. Prolly NB#61128 is fixed now.
4466 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * src/hildon-volumebar.c:
4469 * src/hildon-volumebar.h: Adding the
4470 hildon_volumebar_set_range_insensitive_message and
4471 hildon_volumebar_set_range_insensitive_messagef functions to set
4472 insensitive message on the slider of the volumebar. Fixes NB#61129.
4474 * examples/Makefile.am:
4475 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4476 test the new insensitive messsage functionality on HildonVolumebar.
4478 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4480 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4483 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4485 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4486 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4487 button on after clearing the trail.
4489 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4491 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4493 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4495 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4496 by splitting the installed headers in generated and non-generated groups. Use
4497 only the non-generated headers to create the hildon-enum-types.h file.
4499 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4501 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4503 * src/hildon-window.c: Hide the window before performing the destroy.
4504 Should make the app closing a little tiny bit more snappy.
4506 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4508 * src/hildon-seekbar.c: add gtkrange.h header
4509 * src/hildon-caption.c: remove unused variable
4511 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4513 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4516 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4522 * debian/changelog: Updating.
4524 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4526 * src/hildon-window.c (hildon_window_window_state_event,
4527 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4528 escape timeout on focus-out-event rather than notify::is-topmost; the
4529 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4531 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4533 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4534 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4536 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4538 * src/hildon-window: actually, you need to use the macro always, there's
4539 no private pointer in the instance structure. We should have cleaned this up
4540 when we had the chance...
4542 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4544 * src/hildon-window.c: do not get the private date from HildonWindow before
4545 it passes the g_return_if_fail check. Once it's passed the test, there's no
4546 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4547 if you are only going to access the data once. Whitespace cleanups.
4549 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4551 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4552 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4554 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4560 * debian/changelog: Updating.
4562 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4564 * src/hildon-window.c: When destroying the window, remove (if exists) the
4565 escape timeout handler. Fixes #NB59276.
4567 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4569 * src/hildon-banner.c: When realizing the widget, set the window
4570 transiency. Setting the transiency in the gobject constructor is not
4571 good, as the widget is not realized at that point. Fixes: #NB56624.
4573 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4575 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4576 Add padding for future expansions.
4578 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4580 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4581 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4582 will fake an activation on the previous to the last item of the trail, so
4583 the effect can be overrided by the developer as usual.
4584 Also change the callback for the back button to do the same thing, so its
4585 effect can be overrided too. Fixes: NB#58982
4587 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4589 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4590 HildonCaption. Fixes NB#52379.
4592 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4594 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4595 the internal state of the trail after the user has had the chance of executing
4596 his handler for the signal. Specifically, it may happen that the activated button
4597 is removed and the user still lets the default handler run. This would segfault
4600 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4602 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4603 scrollbar to the preview dialog. Fixes NB#54147.
4605 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4607 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4608 max/min year properties can be altered, so the client can modify it
4609 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4611 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4613 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4614 hildonlike by default. Fixing a problem with disappearing arrows when
4615 scrolling through months and years. Fixes NB#54127.
4617 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4619 * examples/hildon-date-editor-example.c: Adding error callback to the date
4622 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4628 * configure.ac: Updating.
4630 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4632 * configure.ac: Adding a special '--enable-xan' configure option that
4633 turns off the -Werror compilation setting. Usefull for development.
4635 * src/hildon-calendar.c:
4636 * src/hildon-number-editor.c:
4637 * src/hildon-time-picker.c: Adding the 5* multiplier to
4640 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4642 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4643 instead of g_object_ref + gtk_object_sink.
4645 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4651 * debian/changelog: Updating.
4653 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4655 * src/hildon-color-chooser-dialog.c:
4656 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4657 straight from Tommi labs.
4659 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4661 * examples/hildon-finger-example.c: Correcting the header file path.
4663 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4664 the changed signal. Fixes a small memory leak.
4666 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4670 * src/hildon-banner.c: Importing several usefull fixes from the
4671 ubuntu-mobile branch.
4673 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4675 * examples/Makefile.am:
4676 * examples/hildon-finger-example.c: Adding a finger-checking code
4679 * src/hildon-font-selection-dialog.c: Do not allocate the color
4680 structure using the g_new. Fixes NB#54061.
4682 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4684 * src/hildon-helper.c: Correcting tabs in file.
4686 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4688 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4689 control the visibility of the children.
4691 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4693 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4699 * debian/changelog: Updating.
4701 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4703 * src/hildon-bread-crumb-trail.c:
4704 (hildon_bread_crumb_trail_size_allocate):
4706 Make the back button always a square.
4708 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4710 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4711 from the .c file as it's a private file.
4713 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4715 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4716 uses slightly bigger height.
4718 * src/hildon-font-selection-dialog.c: Adding some checks before
4719 freeing memory in the font selection dialog.
4721 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4723 * src/hildon-font-selection-dialog.c: Adding a small check when
4726 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4727 buttons sensitivity on page switching.
4729 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4731 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4732 internal details of adding a bread crumb to the trail.
4734 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4740 * debian/changelog: Updating.
4742 * src/hildon-bread-crumb-trail.h:
4743 * src/hildon-bread-crumb.h: Changing the API guard to
4744 HILDON_ENABLE_UNSTABLE_API.
4746 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4754 * src/hildon-helper.h: Updating.
4756 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4764 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4768 * src/hildon-helper.h: Small fix to make the package actually compile.
4770 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4772 * src/hildon-bread-crumb-trail.h:
4773 * src/hildon-bread-crumb.h:
4775 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4776 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4778 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4780 * examples/hildon-bread-crumb-trail-example.c:
4782 * src/hildon-bread-crumb-trail.c:
4783 * src/hildon-bread-crumb-trail.h:
4784 * src/hildon-bread-crumb.c:
4785 * src/hildon-bread-crumb.h:
4786 * src/hildon-marshalers.list:
4787 * src/hildon-bread-crumb-widget.c:
4788 * src/hildon-bread-crumb-widget.h:
4790 Slight change in the widget design. The bread crumb trail API is
4791 unchanged, but HildonBreadCrumb is now an interface. A *private*
4792 implementation, hildon-bread-crumb-widget, is provided and used
4793 internally by the trail for the push_text/push_icon functions.
4795 The generic push API is still available, so anyone can implement
4796 and use its own bread crumb widget.
4798 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4800 * debian/rules: Fixing the shlibs.
4802 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4804 * src/hildon-banner.c: Fixing a problem with timed banners having
4805 their parrent destroyed before they are.
4807 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4809 * src/hildon-bread-crumb.c:
4810 * src/hildon-bread-crumb.h:
4812 Make the get_natural_size function a vfunc.
4814 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4816 * src/hildon-bread-crumb.c:
4817 * src/hildon-bread-crumb-trail.c:
4821 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4828 * debian/changelog: Updating for release.
4830 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4832 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4833 don't leak the pango layout.
4835 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4838 * examples/hildon-bread-crumb-trail-example.c:
4842 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4844 * debian/changelog: Removing the bug-fixed entries that were actually
4845 resolved as WONTFIX.
4847 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4850 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4852 * src/hildon-bread-crumb-trail.c:
4853 * src/hildon-bread-crumb-trail.h:
4854 * src/hildon-bread-crumb.c:
4855 * src/hildon-bread-crumb.h:
4859 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4861 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4862 until it's passed the type check.
4864 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4866 * examples/hildon-bread-crumb-trail-example.c
4870 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4872 * examples/Makefile.am
4873 * examples/hildon-bread-crumb-trail-example.c
4875 * src/hildon-bread-crumb-trail.c
4876 * src/hildon-bread-crumb-trail.h
4877 * src/hildon-bread-crumb.c
4878 * src/hildon-bread-crumb.h
4880 New HildonBreadCrumbTrail widget.
4882 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4884 * src/hildon-range-editor.c (hildon_range_editor_init),
4885 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4886 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4887 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4888 hildon_time_editor_class_init, hildon_time_editor_init),
4889 src/hildon-get-password-dialog.c (invalid_input,
4890 hildon_get_password_set_property, hildon_get_password_get_property,
4891 create_contents, hildon_get_password_dialog_set_max_characters),
4892 src/hildon-set-password-dialog.c (create_contents),
4893 src/hildon-date-editor.c (hildon_date_editor_init),
4894 src/hildon-login-dialog.c (hildon_login_dialog_init),
4895 src/hildon-number-editor.c (hildon_number_editor_init),
4896 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4897 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4898 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4899 configure option and adding the respective checks in the code.
4900 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4901 hildon_calendar_drag_data_received): fixed some build warnings.
4903 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4905 * debian/changelog: A 1.0.0 release notes.