1 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-picker-dialog.c:
4 (hildon_picker_dialog_init): Initialize the signal id for
5 HildonTouchSelector::columns-changed.
6 (+on_selector_columns_changed): Set up the interaction mode everytime a
7 column is added or removed from the HildonTouchSelector.
8 (_hildon_picker_dialog_set_selector): Connect to
9 HildonTouchSelector::columns-changed and keep track of it.
11 Make sure to update the interaction mode of the dialog everytime a
12 column is added or removed in the HildonTouchSelector.
14 Fixes: NB#93228 (Done button is not shown always in listpicker)
16 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
18 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
19 a new ::columns-changed signal.
20 (hildon_touch_selector_append_column): Emit ::columns-changed.
21 (hildon_touch_selector_remove_column): Emit ::columns-changed.
23 Add a ::columns-changed signal, emitted when the number of columns in a
24 HildonTouchSelector changes.
26 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
28 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
29 (_hildon_picker_dialog_set_selector): Factor out the code
30 to set up the dialog interaction mode.
32 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
34 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
35 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
38 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
40 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
43 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
45 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
46 Updated the logical ids related to ampm format, as now it is required to
47 show it correctly localized even on languages with no default
48 abbreviations for am or pm
49 (_check_am_pm_format): check correctly the 24h format gconf property
51 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
53 2008-11-27 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-button.c: Documentation updates.
57 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
59 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
60 * src/hildon-caption.c: (hildon_caption_class_init):
61 * src/hildon-color-button.c: (hildon_color_button_class_init):
62 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
63 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
64 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
65 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
67 Remove deprecated GTK+ marshalers and replace them with the ones
68 provided by GLib, for those available, add a marshaler for
69 BOOLEAN:VOID, which is not available in GLib, and use it.
71 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
73 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
74 the text from the previous column if there is no
75 HildonTouchSelectorColumn::text-property set.
77 2008-11-27 Alberto Garcia <agarcia@igalia.com>
80 * src/hildon-button.c (hildon_button_set_property)
81 (hildon_button_get_property, hildon_button_class_init)
82 (hildon_button_set_style, hildon_button_get_style):
83 New "style" property to change the visual appearance of the
86 * src/hildon-picker-button.c (hildon_picker_button_new):
87 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
89 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
90 HildonButton look like PickerButton)
92 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
94 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
95 column while building the default string.
97 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
99 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
100 scroll indicator by default.
102 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
104 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-main.c: Fix the documentation for hildon_init()
108 2008-11-25 Alberto Garcia <agarcia@igalia.com>
110 * doc/hildon-docs.sgml
114 * src/hildon-window-stack-private.h
115 * src/hildon-window-stack.h
116 * src/hildon-window-stack.c:
117 New HildonWindowStack object, that adds support for multiple
118 stacks of windows per process.
120 * src/hildon-stackable-window-private.h
121 * src/hildon-stackable-window.h
122 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
123 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
124 (hildon_stackable_window_show, hildon_stackable_window_hide)
125 (hildon_stackable_window_class_init)
126 (hildon_stackable_window_init):
127 Use HildonWindowStack for stack management.
129 * src/hildon-program.c (hildon_program_pop_window_stack)
130 (hildon_program_peek_window_stack)
131 (hildon_program_go_to_root_window):
132 Add a fallback implementation to the deprecated functions using
135 * examples/hildon-stackable-window-example.c:
136 Use the new HildonWindowStack API.
138 2008-11-25 Alberto Garcia <agarcia@igalia.com>
140 * src/hildon-stackable-window-private.h
141 * src/hildon-stackable-window.c (hildon_stackable_window_show)
142 (hildon_stackable_window_hide, hildon_stackable_window_init):
143 Remove all window stack management.
145 * src/hildon-program-private.h
146 * src/hildon-program.h
147 * src/hildon-program.c (hildon_program_init)
148 (hildon_program_pop_window_stack)
149 (hildon_program_peek_window_stack)
150 (hildon_program_go_to_root_window):
151 Remove all window stack management and mark functions as
154 2008-11-25 Alberto Garcia <agarcia@igalia.com>
156 * src/hildon-app-menu.c (hildon_app_menu_realize):
157 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
159 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
161 * configure.ac: post release version bump
162 * debian/changelog: version bump
164 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: bump version
170 * debian/changelog: updates
172 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
174 Based on initial code by Christian Dywan (christian@imendio.com)
176 * doc/hildon-docs.sgml: Add section for hildon-main.
177 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
178 * src/Makefile.am: Add new hildon-main.[ch]
179 * src/hildon-defines.h: Update the icon sizes.
180 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
181 new library initialization files and register icon sizes.
182 * src/hildon-main.h: New declarations.
183 * src/hildon.h: Include hildon-main.h
185 Add new initialization functions to the library. These methods
186 will register the hildon specific icon sizes and can be used in the
187 future for other hildon specific bits.
189 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
191 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-window.c: (hildon_window_realize),
194 (hildon_window_notify), (-hildon_window_update_title): Do not set
195 the application name in the window title.
197 Fixes: NB#89754 (Applications shouldn't display their names in the
200 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
202 * src/hildon-note-private.h:
203 * src/hildon-note.c: (hildon_note_set_property),
204 (hildon_note_get_property), (hildon_note_class_init),
205 (hildon_note_init), (hildon_note_finalize),
206 (hildon_note_new_confirmation_with_icon_name),
207 (hildon_note_new_information_with_icon_name):
209 No need to mark as deprecated the actual code. Revert
210 to avoid missing symbols in widgets using deprecated API.
212 2008-11-20 Alberto Garcia <agarcia@igalia.com>
214 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
216 * src/hildon-volumebar.h
217 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
218 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
220 * src/hildon-helper.h
221 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
222 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
224 * examples/Makefile.am:
225 Deprecate hildon-insensitive-example
227 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
229 2008-11-20 Alberto Garcia <agarcia@igalia.com>
231 * examples/hildon-pannable-area-buttons-scroll-example.c:
232 Make all buttons finger height
234 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
236 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
238 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
239 update the day model only if it is really required, and to avoid the
240 full-reconstruction aproach. Now it only add or remove the required days.
242 The purpose of this is avoid superfluous HildonTouchSelector::changed
245 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
246 with strange parameters)
248 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
250 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
252 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
253 the WINDOW_TYPE property.
255 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
257 2008-11-19 Alberto Garcia <agarcia@igalia.com>
260 Fix dependency to allow parallel compilation with make -jX
262 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
264 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
265 color frame and some minor tweaks to make it more consistent with
268 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
269 highlighted but not visible)
271 2008-11-14 Alejandro G. Castro <alex@igalia.com>
273 * examples/Makefile.am: Fixed typo in the Makefile.am.
275 2008-11-14 Alejandro G. Castro <alex@igalia.com>
277 Reviewed the use of MAEMO_GTK define, now we add the define in the
278 compilation line, and we also add it to the pc file.
280 * configure.ac: Added MAEMO_GTK define to the compilation command
281 and removed it from the config.h.
283 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
284 do not have to take care about this define if the library was
288 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
290 2008-11-14 Alejandro G. Castro <alex@igalia.com>
292 * examples/Makefile.am,
293 * examples/hildon-pannable-area-buttons-scroll-example.c,
294 * examples/hildon-pannable-area-gesture-signals-example.c,
295 * examples/hildon-pannable-area-scroll-jump-example.c,
296 * examples/hildon-pannable-area-tree-view-example.c:
297 Renamed the pannable area examples, now they have more meaningful
300 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
302 * src/hildon-touch-selector.c:
303 (hildon_touch_selector_set_column_selection_mode): Used of
304 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
305 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
306 to avoid re-seting the same selection mode.
308 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
309 breaks HildonPickerDialog)
311 2008-11-13 Alejandro G. Castro <alex@igalia.com>
313 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
314 conditional in the Makefile.am
316 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
319 Remove unused methods.
321 2008-11-12 Alberto Garcia <agarcia@igalia.com>
323 * src/hildon-button.c (hildon_button_init):
324 Make button images center-aligned by default
326 2008-11-12 Alejandro G. Castro <alex@igalia.com>
329 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
330 activated, we have to think about how to deal with both defines
331 MAEMO_GTK and MAEMO_CHANGES.
333 2008-11-12 Alberto Garcia <agarcia@igalia.com>
335 * examples/hildon-app-menu-example.c (create_menu): Make all
338 2008-11-11 Alejandro G. Castro <alex@igalia.com>
340 Fixed the compilation without maemo gtk adding ifdefs with
341 MAEMO_GTK define to the code, we have to check this version more
344 * examples/Makefile.am: Added control to avoid some examples that
345 just make sense with maemo gtk.
348 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
349 hildon modes with the define.
351 * examples/hildon-edit-toolbar-example.c,
352 (create_icon_view): Create the icon view without hildon-gtk
353 helpers if we are not using maemo gtk.
355 * src/hildon-touch-selector.c,
356 (_create_new_column): Create the treeview without hildon-gtk
357 helpers if we are not using maemo gtk.
359 2008-11-11 Alejandro G. Castro <alex@igalia.com>
361 * src/hildon-pnnable-area.c,
362 (hildon_pannable_area_dispose),
363 (hildon_pannable_area_button_press_cb),
364 (hildon_pannable_area_child_mapped),
365 (hildon_pannable_area_add),
366 (hildon_pannable_area_remove): Added code to control the position
367 of the event_window when adding and removing children from the
368 pannable. We have to raise the event window when the child is
371 Fixes: NB#89811 (Not able to select first image thumbnail in multi
372 selection mode using custom widget inside pannable)
374 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: post release version bump
377 * debian/changelog: version bump
379 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
384 * configure.ac: bump version
385 * debian/changelog: updates
387 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
389 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
390 search mode, in order to avoid lose the focus on the treeview when
391 a hw key (like enter) is pressed.
393 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
394 in HildonDateSelector dialog)
396 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
398 * debian/rules: Added --enable-maintainer-mode
399 * Makefile.am: Added ACLOCAL_AMFLAGS
401 This allows to properly regenerate the Makefiles if you modify the
402 configure.ac or any Makefile.am.
404 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
406 * examples/hildon-app-menu-example.c: (main): Do not set RC style
407 properties, not needed at all.
409 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-note-private.h: Add strings for the icon and stock_icon
413 * src/hildon-note.c: (hildon_note_set_property),
414 (hildon_note_get_property), (hildon_note_class_init),
415 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
416 (hildon_note_new_confirmation_add_buttons): Remove icons.
417 (hildon_note_new_confirmation_with_icon_name): Deprecate.
418 (hildon_note_new_information_with_icon_name): Deprecate.
419 (hildon_note_new_confirmation): Act directly, without calling
420 the deprecated constructor.
421 (hildon_note_new_information): Act directly, without calling
422 the deprecated constructor.
423 * src/hildon-note.h: Mark deprecate methods as such.
424 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
425 not run tests on the deprecated methods if built with deprecation
428 Fixes: NB#91688 (Never show icons in information notes/confirmation
431 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
433 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
434 (hildon_app_menu_key_press): Remove leftover usage of the
435 private structure in HildonAppMenu struct.
436 * src/hildon-app-menu.h: Remove leftover private structure
437 from the HildonAppMenu struct.
439 Fixes a crasher when using the HildonAppMenu.
441 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
443 * src/hildon-picker-dialog.c: Use appropriate logical id
444 for the default "Done" text.
446 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
448 * configure.ac: post release version bump
449 * debian/changelog: version bump
451 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
453 Modified the way to scroll to the current selection just when the touch
454 selector is shown on the screen, avoiding a g_idle. Added too a property
455 to configure this behaviour. See hildon_pannable_area_jump_to_child
456 documentation for more information.
458 * src/hildon-touch-selector.c
459 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
460 Added 'initial-scroll' property
461 (hildon_touch_selector_set_property): Added
462 (hildon_touch_selector_map): Removed as not required anymore
463 (_hildon_touch_selector_on_selected_items): Modified in order to manage
464 only a concrete column, instead of iterate along all the columns
466 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: bump version
472 * debian/changelog: updates
474 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
477 compilation time warnings.
479 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
481 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
482 the default value for HildonPannableArea::mov-mode to
483 HILDON_PANNABLE_AREA_MODE_VERT.
485 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
487 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
489 Reverting following commit:
491 2008-10-13 Alberto Garcia <agarcia@igalia.com>
493 * src/hildon-app-menu-private.h
494 * src/hildon-app-menu.[ch]
495 * src/hildon-button.[ch]
496 * src/hildon-check-button.[ch]
497 * src/hildon-entry.[ch]
498 * src/hildon-pannable-area.[ch]
499 * src/hildon-text-view.[ch]:
500 Added private field to the object's structure.
502 because it causes an ABI breakage. We will need to introduce these
503 changes later at some point. See NB#91636 for an extensive
504 explanation and status.
506 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
508 Patch contributed by Daniel Borgmann (danielb@openismus.com)
510 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
511 remove special cases that are no longer necessary.
513 Fixes: NB#91016 (Change toolbar sizes, simplification)
515 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
517 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
518 is shown in the cancel note.
520 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
522 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
523 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
524 (hildon_seekbar_init): Remove steppers, remove expose event.
525 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
527 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
529 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
531 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
532 label font to "SmallSystemFont" for vertically arranged buttons.
534 Fixes: NB#90662 (HildonButton "value" and "detail" text is
537 2008-10-31 Alberto Garcia <agarcia@igalia.com>
539 * src/hildon-check-button.c
540 (hildon_check_button_set_active, hildon_check_button_clicked):
541 Don't access private parts directly, use getters instead.
543 2008-10-31 Alberto Garcia <agarcia@igalia.com>
545 * src/hildon-check-button.c (hildon_check_button_new):
546 Align the contents of the check button to the left.
548 2008-10-30 Alejandro G. Castro <alex@igalia.com>
550 * src/hildon-pannable-area.c,
551 (hildon_pannable_area_scroll_to),
552 (hildon_pannable_area_jump_to),
553 (hildon_pannable_area_scroll_to_child),
554 (hildon_pannable_area_jump_to_child): Replace the mapped
555 precondition of these functions with the realized, it is the
556 correct state of the widget in this case. Changed the
557 documentation according to this modification.
559 2008-10-30 Alejandro G. Castro <alex@igalia.com>
561 Added a new EXTRA_CFLAGS option to add the deprecated define to
562 the compilation command. This way we can avoid using the define in
563 the documentation compilation.
565 * configure.ac: Defined EXTRA_CFLAGS.
567 * examples/Makefile.am:
569 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
571 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
573 * src/hildon-picker-dialog.c:
574 Defined a utility macro with the desired touch selector height
575 Removed currently unused separator, and title_label variables from
577 (hildon_picker_dialog_init): Removed code related to the creation
578 of unused private variables title_label and separator.
579 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
580 to ensure correct visualization of the touch selector inside the dialog.
581 * src/hildon-touch-selector.c
582 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
583 ensure a concrete height of the widget.
585 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
590 Remove spurious whitespaces.
592 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
594 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
595 compilation warning after the cancel button removal.
597 2008-10-30 Alejandro G. Castro <alex@igalia.com>
599 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
601 * configure.ac: Added an AM_CONDITIONAL in order to use in the
602 Makefile.am, that way we can choose not to compile some examples
603 and tests of the deprecated widgets.
605 * examples/Makefile.am: Divided the sources in deprecated and
608 * src/Makefile.am: Added undef statement of the deprecated
609 symbol to the enums file generation process.
611 * src/hildon-color-chooser-dialog.c
612 * src/hildon-color-chooser-dialog.h
613 * src/hildon-color-button.c
614 * src/hildon-color-button.h
615 * src/hildon-color-chooser.c
616 * src/hildon-color-chooser.h
617 * src/hildon-controlbar.c
618 * src/hildon-controlbar.h
619 * src/hildon-date-editor.c
620 * src/hildon-date-editor.h
621 * src/hildon-hvolumebar.c
622 * src/hildon-hvolumebar.h
623 * src/hildon-private.c
624 * src/hildon-private.h
625 * src/hildon-range-editor.c
626 * src/hildon-range-editor.h
627 * src/hildon-seekbar.c
628 * src/hildon-seekbar.h
629 * src/hildon-time-editor.c
630 * src/hildon-time-editor.h
631 * src/hildon-time-picker.c
632 * src/hildon-time-picker.h
633 * src/hildon-volumebar.c
634 * src/hildon-volumebar.h
635 * src/hildon-vvolumebar.c
636 * src/hildon-vvolumebar.h
637 * src/hildon-bread-crumb-trail.h
638 * src/hildon-bread-crumb-trail.c
639 * src/hildon-calendar-popup.c
640 * src/hildon-calendar-popup.h
641 * src/hildon-weekday-picker.c:
642 * src/hildon-weekday-picker.h:
643 * src/hildon-bread-crumb-widget.c:
644 * src/hildon-bread-crumb-widget.h:
645 * src/hildon-bread-crumb.c:
646 * src/hildon-bread-crumb.h:
647 * src/hildon-calendar.c:
648 * src/hildon-calendar.h:
649 * src/hildon-caption.c:
650 * src/hildon-code-dialog.c:
651 * src/hildon-code-dialog.h:
652 * src/hildon-font-selection-dialog.c:
653 * src/hildon-font-selection-dialog.h:
654 * src/hildon-get-password-dialog.c:
655 * src/hildon-get-password-dialog.h:
656 * src/hildon-login-dialog.c:
657 * src/hildon-login-dialog.h:
658 * src/hildon-number-editor.c:
659 * src/hildon-number-editor.h:
660 * src/hildon-set-password-dialog.c:
661 * src/hildon-set-password-dialog.h:
662 * src/hildon-sort-dialog.c:
663 * src/hildon-sort-dialog.h: This is the list of deprecated
666 * src/hildon-touch-selector.c:
667 * src/hildon-window.c: Added undef statement to avoid compilation
670 * tests/Makefile.am: Divided the sources in deprecated and
673 * tests/check_test.c,
674 (configure_tests): Marked the deprecated code that was adding
675 suites with deprecated tests.
677 Fixes: NB#91135 (Deprecate legacy hildon widgets)
679 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
681 * src/hildon-touch-selector.c: (_default_print_func): Do not
682 duplicate a string returned by gtk_tree_model_get(), it is already
685 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
688 2008-10-28 Alejandro G. Castro <alex@igalia.com>
690 * src/hildon-pannable-area.c
691 (hildon_pannable_area_add_with_viewport): Reviewed the complete
692 method, it had problems when adding a widget with viewport the
693 second time. Now checks if it already has a viewport and uses it.
695 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
698 2008-10-28 Alejandro G. Castro <alex@igalia.com>
700 * src/hildon-pannable-area.c,
701 (hildon_pannable_area_scroll_to),
702 (hildon_pannable_area_jump_to),
703 (hildon_pannable_area_scroll_to_child),
704 (hildon_pannable_area_jump_to_child): Added a precondition to the
705 scroll and jump to functions: the widget must be mapped before we
706 can safely call these functions. We have also added documentation
707 to the functions to explain how to use them in this situation.
710 2008-10-28 Alejandro G. Castro <alex@igalia.com>
712 Reviewed the threading handling of the pannable widget, we have
713 used the gdk_threads_add_timeout function instead of the usual
714 glib handlers. This avoids some problems with the threads.
716 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
717 (hildon_pannable_area_initial_effect),
718 (hildon_pannable_area_scroll_indicator_fade),
719 (hildon_pannable_area_button_press_cb),
720 (hildon_pannable_area_timeout),
721 (hildon_pannable_area_motion_notify_cb),
722 (hildon_pannable_area_button_release_cb),
723 (hildon_pannable_area_scroll_cb),
724 (hildon_pannable_area_scroll_to): Removed the
725 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
726 gdk_threads_add_timeout.
728 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
730 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: bump version
736 * debian/changelog: updates
738 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
741 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
742 * src/hildon-color-chooser-dialog.c:
743 (hildon_color_chooser_dialog_init):
744 * src/hildon-font-selection-dialog.c:
745 (hildon_font_selection_dialog_init):
746 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
748 Remove all cancel/close-like dialogs, as these are not going to be
751 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
753 * src/hildon-note.c: (hildon_note_rebuild),
754 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
757 Fixes: NB#90661 (Delete dialog is displayed without NO button)
759 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
762 sure all buttons are shown, even the Cancel/Close-like ones.
764 Fixes: NB#90861 (Custom Confirmation dialogs should be
765 protected from cancel button removal)
767 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
769 * debian/control: Change libhildon1-examples dependency from libhildon1
771 * debian/libhildon1-examples.install
773 * Makefile.am: Modified the final install directory for the examples on
774 package libhildon1-examples
775 * Makefile.static: Update clean target in order to remove all the binary
778 Changes suggested by Claudio after review new libhildon1-examples package
780 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
783 * src/hildon-touch-selector.c: Ditto.
785 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
787 * debian/control: Added new package libhildon1-examples, in order to pack
788 the current hildon examples as documentation
789 * debian/rules: Not to compress .c files, modify some includes on the
790 examples (as normally are compiled locally, but when installed it will
791 require to include the installed libhildon1 library), and rename
793 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
794 install all the example files on the new example package
795 * examples/Makefile.static: Added static makefile that can be used to
796 compile the examples, once installed the new example package
797 * examples: Most of the examples were modified in order to grant that
798 all use only '#include "hildon.h"', in order to be easy to prepare
799 it on the example package
801 2008-10-23 Alberto Garcia <agarcia@igalia.com>
804 * debian/libhildon1-dev.install
805 * debian/libhildon1-doc.install:
806 Move all gtk-doc files to a separate libhildon1-doc package.
808 2008-10-23 Daniel Borgmann <danielb@openismus.com>
810 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
812 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
814 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
816 * debian/rules: Fixed a error in order to avoid unnecessary calls
817 to autogen.sh on package building
819 2008-10-22 Alberto Garcia <agarcia@igalia.com>
821 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
823 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
825 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
828 2008-10-21 Alberto Garcia <agarcia@igalia.com>
830 * src/hildon-picker-button.c
831 (hildon_picker_button_finalize):
832 Free priv->done_button_text
834 * src/hildon-time-button.c
835 (hildon_time_button_set_time)
836 * src/hildon-picker-button.c
837 (hildon_picker_button_clicked)
838 (hildon_picker_button_selector_selection_changed)
839 (hildon_picker_button_set_selector)
840 * src/hildon-date-button.c
841 (hildon_date_button_set_date):
842 Free strings returned by hildon_touch_selector_get_current_text()
844 * src/hildon-button.c (hildon_button_construct_child):
845 Fix leaks in priv->image and priv->label_box
847 Fixes: NB#90535 (Memory leak in picker button)
849 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-button.c: (hildon_button_get_property): Do not access
852 private elements directly, use getters instead.
854 2008-10-20 Alberto Garcia <agarcia@igalia.com>
856 * src/hildon-app-menu-private.h
857 * src/hildon-app-menu.c
858 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
859 Store the menu's parent window.
861 * src/hildon-stackable-window.c
862 (hildon_stackable_window_toggle_menu)
863 (hildon_stackable_window_finalize):
864 Set the menu's parent window when the menu is shown, unset it when
867 * src/hildon-app-menu.c
868 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
869 (hildon_app_menu_class_init):
870 Send unhandled keyboard accelerators to the parent window.
872 2008-10-20 Alberto Garcia <agarcia@igalia.com>
874 * src/hildon-stackable-window.c
875 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
877 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
879 * configure.ac: post release version bump
881 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
884 * configure.ac: Bump version
885 * debian/changelog: Updates
886 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
889 2008-10-20 Alberto Garcia <agarcia@igalia.com>
891 Patch contributed by Daniel Borgmann (danielb@openismus.com)
894 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
895 GtkMenu with Hildon style.
897 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-picker-button.c:
900 (hildon_picker_button_set_done_button_text): Set the dialog's
901 done button text here as well.
903 Fixes: NB#90232 (Picker button does not set the label on done button
906 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
908 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
911 2008-10-16 Alberto Garcia <agarcia@igalia.com>
913 * src/hildon-app-menu.c (hildon_app_menu_insert)
914 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
915 the HildonAppMenu to be activatable using keyboard accelerators
916 when the menu is not being shown.
918 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
920 2008-10-16 Alberto Garcia <agarcia@igalia.com>
922 * src/hildon-stackable-window.c
923 (hildon_stackable_window_show):
924 Don't hide old windows automatically when new windows are shown:
925 this is now a task for the window manager.
926 (hildon_stackable_window_class_init)
927 (hildon_stackable_window_hide):
928 Remove windows from the stack everytime they're hidden.
929 (hildon_stackable_window_realize):
930 Don't change the _NET_WM_WINDOW_TYPE property. Use
931 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
932 it as a stackable window.
934 * src/hildon-program.c
935 (hildon_program_pop_window_stack):
936 Just hide the window to remove it from the stack.
937 (hildon_program_go_to_root_window):
938 Don't call gtk_widget_show(), this is now a task for the window
941 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
943 2008-10-15 Alberto Garcia <agarcia@igalia.com>
945 * src/hildon-button.c
946 (hildon_button_construct_child):
947 Don't pack anything in the button until text or image are
948 set. This allows adding a custom child after creating the button
949 with hildon_button_new().
950 (hildon_button_finalize, hildon_button_class_init)
951 (hildon_button_init, hildon_button_set_arrangement): Destroy the
952 alignment and the label box even when they're not packed in the
955 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
957 * src/hildon-touch-selector.h:
958 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
959 currently the type definition was using GTK_TYPE_VBOX
960 * src/hildon-touch-selector.c:
961 Added some implementation notes in order to clarify that any other widget
962 added without the column related API will not be included on the
963 selection logic, and how the widget is freed, as some people ask about
965 (hildon_touch_selector_remove): Reimplemented in order to free properly
966 the column related data when you remove the private hbox.
967 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
968 to get a proper HildonTouchSelectorColumn documentation
970 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
972 * src/hildon-touch-selector-entry.c:
973 (hildon_touch_selector_entry_print_func): Return NULL if there is no
974 text in the GtkEntry and there is no item selected. Fixes a
977 2008-10-13 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-app-menu-private.h
980 * src/hildon-app-menu.[ch]
981 * src/hildon-button.[ch]
982 * src/hildon-check-button.[ch]
983 * src/hildon-entry.[ch]
984 * src/hildon-pannable-area.[ch]
985 * src/hildon-text-view.[ch]:
986 Added private field to the object's structure.
988 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
990 * configure.ac: post-release version bump
992 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: pre-release version bump
998 * debian/changelog: updates.
1000 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1002 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1003 Disconnect the handler for HildonTouchSelector::changed.
1005 (hildon_picker_button_selector_selection_changed): Update the button
1006 value if the selection change was not triggered by the
1009 (hildon_picker_button_set_selector): connect to
1010 HildonTouchSelector::changed.
1012 Fixes: NB#89650 (Picker button is not updated, when selection in
1013 selector has changed)
1015 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1017 * src/hildon-picker-dialog.c
1018 (hildon_picker_dialog_realize): Removed as not required
1019 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1020 * src/hildon-picker-button.c
1021 (_current_selector_empty): New function, checks if the selector is empty
1022 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1023 if the current selector is empty, in order to avoid to show the dialog
1024 close the dialog in this case (and shows a g_warning).
1026 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1028 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1030 * src/hildon-pannable-area.c,
1031 (hildon_pannable_area_scroll): Added clause to stop movement when
1032 the child of pannable is smaller than one page.
1033 (hildon_pannable_area_scroll_to): Added conditions to avoid
1034 starting the scrolling movement if the child is smaller than one
1035 page, the complete child is in the screen, we do not have to move.
1037 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1039 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1042 this is managed automatically by the widget when the size of the
1045 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1047 * src/hildon-picker-button.c
1048 (hildon_picker_button_set_done_button_text): Make a copy of the
1049 text, and free the previous value.
1051 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-touch-selector-entry.c:
1054 (hildon_touch_selector_entry_print_func): Return the selected row's
1055 text if the entry is empty.
1057 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1060 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1064 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-check-button.h
1068 * src/hildon-check-button.c
1069 * examples/hildon-check-button-example.c:
1070 HildonCheckButton is now a new widget. 'toggled' signal added.
1072 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-program-private.h
1075 * src/hildon-program.c (hildon_program_init)
1076 (hildon_program_finalize): Removed unused variables group_leader
1077 and name from HildonProgramPrivate.
1079 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-check-button.c (hildon_check_button_set_active)
1082 (hildon_check_button_get_active, hildon_check_button_new): Use
1083 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1085 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1087 * src/hildon-touch-selector.h
1088 (hildon_touch_selector_set_column_attributes): added deprecation
1089 guard HILDON_DISABLE_DEPRECATED
1090 * src/hildon-time-selector.c
1091 (hildon_time_selector_set_time)
1092 (hildon_time_selector_get_time): Fixed a typo on documentation
1093 * src/hildon-touch-selector.c: update HildonTouchSelector and
1094 HildonTouchSelectorColumn documentation
1095 * src/hildon-touch-selector-entry.c: update "text-column" property
1097 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1098 to be added to the general documentation.
1100 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1102 * examples/hildon-pannable-area-example-4.c,
1104 * examples/hildon-pannable-area-example.c,
1105 (main): Modified the code in order to use the container add, with
1106 viewport treeviews could have problems if they are really big.
1108 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1110 * src/hildon-weekday-picker.c,
1111 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1112 the agreement regarding deprecation in the library.
1114 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1116 * examples/hildon-picker-button-multicolumn-example.c:
1117 (main): Use custom "done" button text.
1119 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1120 (hildon_picker_button_set_property),
1121 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1122 (hildon_picker_button_init),
1123 (+hildon_picker_button_get_done_button_text),
1124 (+hildon_picker_button_set_done_button_text): New methods to customize
1125 the "done" button label in the launched HildonPickerDialog. Also,
1128 * src/hildon-picker-button.h: add the public API.
1130 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1132 * src/hildon-date-selector.h:
1133 * src/hildon-picker-dialog.h:
1134 * src/hildon-time-selector.h:
1135 * src/hildon-touch-selector-column.h:
1136 * src/hildon-touch-selector.h:
1138 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1139 declarations. Fixes gtk-doc warnings.
1141 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1143 * src/hildon-picker-dialog.h
1144 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1145 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1147 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1148 long text is set as label for done button)
1150 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1152 * src/hildon-dialog.c (hildon_dialog_add_button):
1153 Set fixed width to all buttons in the HildonDialog.
1155 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1157 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1159 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1160 Set widget name using class name plus "-finger" or "-thumb".
1162 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1165 'clicked' when the state of the button is manually changed.
1167 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-app-menu.c (hildon_app_menu_realize)
1170 (hildon_app_menu_unrealize, hildon_app_menu_init)
1171 (hildon_app_menu_class_init, item_visibility_changed):
1172 Change the menu layout when the size of the screen changes.
1173 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1174 Show warning only when changing the number of colums using the
1177 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1179 * debian/compat: Set to 5
1180 * debian/control: Update dependencies.
1181 * debian/libhildon1-dbg.install: Remove.
1182 * debian/libhildon1-dev.install: Update according to cdbs paths.
1183 * debian/libhildon1.install: Update according to cdbs paths.
1184 * debian/rules: Switch to cdbs.
1186 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1188 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1189 'item' variable renamed to 'filter'
1191 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1193 * src/hildon-app-menu.c (hildon_app_menu_insert)
1194 (hildon_app_menu_add_filter, remove_item_from_list)
1195 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1196 Don't leak hidden items when the menu is destroyed.
1198 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1200 * src/hildon-app-menu.c (hildon_app_menu_insert)
1201 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1202 (hildon_app_menu_set_columns, item_visibility_changed)
1203 (filter_visibility_changed, hildon_app_menu_repack_filters)
1204 (hildon_app_menu_repack_items):
1205 Repack items and filters separately.
1207 Don't repack all items, change only the ones that are needed to
1210 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1212 * src/Makefile.am: added hildon-touch-selector-column.h
1214 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1216 * src/hildon-touch-selector.c: added the property "text-column" to the
1217 class HildonTouchSelectorColumn, and related get/set functions
1218 (_default_printf_func): updated to use "text-column" property
1219 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1220 "text-column" in his documentation, as this is now included on
1221 HildonTouchSelectorColumn. The get/set_property can still be used,
1222 working as a wrapper to the concrete column "text-column" property
1223 (_text_column_modified): callback added in order to handle the signal
1224 "notify::text-column" of the concrete HildonTouchSelectorColumn
1225 (hildon_touch_selector_entry_get_text_column)
1226 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1227 modified in order to use the HildonTouchSelectorColumn "text-column"
1229 * src/hildon-time-selector.c:
1230 * src/hildon-date-selector.c:
1231 * examples/hildon-touch-selector-example.c
1232 * examples/hildon-touch-selector-multi-cells-example.c
1233 * examples/hildon-picker-button-multicolumn-example.c
1234 Set the right value to "text-column" property on the creation of a new
1235 column using hildon_touch_selector_append_column()
1237 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1239 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-app-menu.c
1242 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1243 updating the layout of the menu, don't create all widgets again,
1244 just repack the items in their new places.
1246 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1248 * src/hildon-time-selector.c
1249 (hildon_time_selector_get_time)
1250 (hildon_time_selector_set_time)
1251 Added documentation of these public methods
1253 * src/hildon-date-button.h
1254 * src/hildon-touch-selector-column.h
1255 * src/hildon-time-button.h
1256 * src/hildon-picker-dialog.h
1257 * src/hildon-time-selector.h
1258 * src/hildon-picker-button.h
1259 * src/hildon-touch-selector.h
1260 * src/hildon-time-picker.h
1261 * src/hildon-date-selector.h
1262 * src/hildon-touch-selector-entry.h
1263 Modified in order to use hildon-widgets code style
1265 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1267 Added deprecated support to the compilation process using
1268 HILDON_DISABLE_DEPRECATED
1270 * configure.ac: Added the --disable-deprecated to the configure
1273 * src/hildon-weekday-picker.c:
1274 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1275 to use the deprecated support. We will update the other deprecated
1276 widgets status in a new patch.
1278 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1280 * configure.ac: Fixed typo with fatal warnings support, the
1281 variable name was not correct
1283 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1285 * src/hildon-app-menu.c
1286 * src/hildon-program.c: Update documentation.
1288 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1290 * configure.ac: Post-release version bump.
1292 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: Pre-release version bump.
1298 * debian/changelog: Updates.
1300 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1302 * NEWS: Update news for previous releases.
1304 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1306 * examples/hildon-touch-selector-multi-cells-example.c:
1307 (create_selector): Update the example to use
1308 hildon_touch_selector_append_column() with a NULL renderer and set
1309 the renderers later.
1310 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1311 passed a NULL renderer. This is documented behavior now.
1313 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1314 This must be used if the developer wants full control on the layout of
1315 the renderers to be added to the column.
1317 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1319 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1321 * src/hildon-touch-selector.c: Documentation fixes.
1323 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-wizard-dialog-private.h: Remove image and box.
1326 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1327 (hildon_wizard_dialog_set_property), (response): Completely remove
1328 image/icon support, and the containers required for the layout.
1330 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1332 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-app-menu.c: Updated documentation.
1336 * src/hildon-stackable-window.c
1337 (hildon_stackable_window_set_main_menu): Unref the old menu after
1338 ref'ing the new one.
1340 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-stackable-window.c
1343 (hildon_stackable_window_set_main_menu): Unref the previous menu
1344 instead of destroying it.
1346 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1347 floating reference and set has_user_ref_count to FALSE to make
1348 HildonAppMenu act like a normal ref-counted widget and not a
1351 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1354 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1356 * src/hildon-touch-selector-column.h: new file
1357 * src/hildon-touch-selector.h
1358 * src/hildon-touch-selector.c
1359 Implemented GtkCellLayout interface, in order to allow to configure
1360 the cell layout on each individual selector column
1361 (hildon_touch_selector_set_column_attributes): marked as deprecated
1362 * examples/hildon-touch-selector-multi-cells-example.c
1363 Example of how to use the GtkCellLayout interface on the selector
1365 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1367 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1369 * src/hildon-app-menu.h
1370 * src/hildon-app-menu.c
1371 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1372 (hildon_app_menu_append, hildon_app_menu_prepend):
1373 New methods to prepend, insert and move items in the menu.
1375 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-wizard-dialog.c:
1379 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1381 (create_title): Update logical IDs and related code.
1382 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1384 * src/hildon-wizard-dialog.h: Note that
1385 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1386 point, as it is not used anymore.
1388 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1390 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1392 * src/hildon-note.c:
1393 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1394 shown. Do not display an icon in confirmation notes nor information
1396 (hildon_note_set_button_text): Update logical ID for cancel button.
1398 Fixes: NB#88850 (Update HildonNote button strings + signals)
1400 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-stackable-window.c
1403 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1405 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1407 * src/hildon-app-menu-private.h
1408 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1409 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1410 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1411 temporary property 'columns' to change the number of columns.
1413 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1415 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1417 * examples/hildon-note-example.c: (on_information_clicked),
1418 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1419 debugging information.
1420 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1422 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1423 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1424 in order to close: this will be handled by the WM from now on.
1426 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1428 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-app-menu-private.h
1431 * src/hildon-app-menu.c
1432 (hildon_app_menu_append, hildon_app_menu_add_filter)
1433 (button_visibility_changed, hildon_app_menu_apply_style)
1434 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1435 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1436 layout everytime a button (item or filter) is shown or hidden.
1438 * src/hildon-stackable-window.c
1439 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1442 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1444 * src/hildon-touch-selector.c:
1445 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1446 that the treeview inside the touch selector is in fremantle hildon mode
1447 * examples/hildon-date-button-example.c
1448 * examples/hildon-picker-button-multicolumn-example.c
1449 * examples/hildon-touch-selector-entry-example.c
1450 * examples/hildon-touch-selector-example.c
1451 * examples/hildon-time-button-example.c
1452 * examples/hildon-picker-button-example.c:
1453 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1455 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1457 * examples/hildon-text-view-example.c: (main): Remove the
1458 gtkrc bits, now handled by the theme.
1460 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1462 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1465 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1467 * po/Makefile.am: Install properly the mo files.
1468 * po/en_GB.po: Update translation, to ease testing purposes.
1470 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1472 * examples/hildon-picker-button-example.c: (main): Select an item
1473 in the selector before setting it to the button.
1475 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1478 Update button's value if the selector has an item active.
1480 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1481 'value' with the selector)
1483 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1486 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1487 (hildon_picker_button_class_init): Plug the finalize method.
1488 (hildon_picker_button_set_selector): If there's a previously set
1489 selector, unref'it before setting a new one.
1491 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1492 HildonTouchSelector)
1494 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/hildon-touch-selector-entry.c:
1497 (hildon_touch_selector_entry_changed): Check if there is no text
1498 selected before setting the entry text.
1501 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1503 * src/hildon-touch-selector.h
1504 * src/hildon-touch-selector.c
1505 (hildon_touch_selector_get_active)
1506 (hildon_touch_selector_set_active): New methods to set/get the
1507 index of the selected item.
1509 * src/hildon-picker-button.h
1510 * src/hildon-picker-button.c
1511 (hildon_picker_button_get_active)
1512 (hildon_picker_button_set_active): New methods to set/get the
1513 index of the selected item.
1515 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1517 * configure.ac: post-release version bump.
1519 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1523 * configure.ac: Pre-release version bump.
1524 * debian/changelog: Updates.
1525 * debian/control: Add myself as maintainer and depend on l10n
1528 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-window.c
1531 (hildon_window_set_main_menu)
1532 * src/hildon-stackable-window.c
1533 (hildon_stackable_window_set_main_menu):
1534 Updated documentation.
1536 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1539 Don't free selector->priv manually.
1542 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1545 (hildon_gtk_window_set_progress_indicator):
1546 * src/hildon-gtk.h: Added the new API
1547 hildon_gtk_window_set_progress_indicator, it changes the state of
1548 the window progress hint.
1550 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-button.c
1553 * src/hildon-stackable-window.c: Minor documentation updates.
1555 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1557 * src/hildon-stackable-window.c: Updated documentation.
1559 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1561 * src/hildon-defines.h: Update margins definitions
1562 to the Fremantle sizes.
1565 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-touch-selector.c,
1568 (_hildon_touch_selector_set_model): Cleaning the code after
1569 review, removed g_print and #if 0 from the code.
1571 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-edit-toolbar.c: Update documentation.
1575 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1577 * src/hildon-check-button.h
1578 * src/hildon-check-button.c
1579 (hildon_check_button_set_label, hildon_check_button_get_label)
1580 * examples/hildon-check-button-example.c
1581 (button_clicked_cb):
1582 Removed deprecated methods.
1584 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-text-view.c:
1587 Add sample code to the documentation.
1589 * src/hildon-entry.h
1590 * src/hildon-text-view.h:
1591 Minor cosmetic changes.
1593 * src/hildon-entry.c:
1594 Add sample code to the documentation.
1595 (hildon_entry_init, hildon_entry_refresh_contents):
1596 Don't allow NULL values in the placeholder.
1598 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1600 * doc/hildon-docs.sgml
1602 * examples/Makefile.am
1603 * examples/hildon-text-view-example.c
1605 * src/hildon-text-view.c
1606 * src/hildon-text-view.h
1608 New HildonTextView widget, with example.
1610 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1612 * po/POTFILES.in: Add missing files with translatable strings.
1613 Partially fixes NB#88287.
1615 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1617 * examples/hildon-pannable-area-example-2.c: (main): No need to
1618 set the cellrenderer height inside hildon touch lists, the theme does
1621 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1623 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1624 they are integrated in the theme.
1626 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1628 * examples/hildon-entry-example.c: Update the example adding
1629 widgets to modify the text and the placeholder of the HildonEntry.
1631 * src/hildon-entry.c: Show the placeholder everytime the widget
1632 is empty and loses the focus.
1634 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1636 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1638 * src/hildon-pannable-area.c,
1639 (hildon_pannable_area_size_request): Fixed bug in height
1640 requisition, avoid increasing size and add border twice.
1642 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1644 * configure.ac: postrelease version bump.
1646 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1650 * configure.ac: Prerelease version bump.
1651 * debian/changelog: update.
1652 * debian/rules: make -dbg package contain useful debugging symbols.
1654 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-dialog.h
1657 * src/hildon-dialog.c
1658 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1659 New methods to add buttons with finger size.
1660 (hildon_dialog_new_with_buttons):
1661 Create buttons with finger size.
1663 * examples/hildon-dialog-example.c (main): Use HildonDialog
1664 methods to add buttons.
1666 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1668 * src/hildon-entry.c: Updated HildonButton documentation.
1670 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1673 button value label with (FALSE, FALSE) to prevent NB#88126 from
1676 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1678 * examples/hildon-pannable-area-example.c,
1679 (main): Removed examples panning a vbox inside a pannable
1680 area. Check bug NB#87965
1682 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1684 Patch contributed by Kris Rietveld (kris@imendio.com)
1686 * src/hildon-pannable-area.c,
1687 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1688 get_size and get_position, this saves an X server roundtrip.
1690 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1692 * doc/hildon-docs.sgml
1694 * examples/Makefile.am
1695 * examples/hildon-entry-example.c
1697 * src/hildon-entry.c
1698 * src/hildon-entry.h
1700 New HildonEntry widget, with example.
1702 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-button.c (hildon_button_construct_child): Pack the
1705 image with expand == fill == FALSE. This is a workaround for a bug
1708 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1710 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1711 labels for the text column, to make it more look more dynamic.
1713 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-time-selector.c
1716 Define gettext auxiliar macro N_
1717 (_create_minutes_model)
1718 (_create_hours_model)
1719 (_create_ampm_model): use of strftime in order to fill the model
1720 * src/hildon-date-selector.c
1721 (hildon_date_selector_finalize):
1722 (_locales_init): remove the logic related to get the name of the months
1723 using nl_langinfo, as it is not required anymore
1725 (_create_year_model)
1726 (_create_month_model)
1727 (_update_day_model): use of strftime in order to fill the model properly
1730 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-button.h
1733 * src/hildon-button.c (hildon_button_get_image): New method to
1736 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-touch-selector.c:
1739 (hildon_touch_selector_remove_column): Remove from the correct parent
1740 and also remove the list element and free it.
1743 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1745 * src/hildon-time-selector.c
1746 (_create_hours_model): change the range on 12h ampm format in order to use
1747 a 12-11 range instead of previous 01-12 range
1748 (hildon_time_selector_set_time): change the way to select the current time
1749 on 12h ampm format, due the change on the range
1750 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1753 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1755 * src/hildon-touch-selector.c
1756 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1757 in order to allow use this function on multiple row selection mode if
1758 the column is different that the first one
1761 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1763 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1764 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1766 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1768 * src/hildon-date-selector.h: clean some comments, now on the .c
1769 * src/hildon-date-selector.c
1770 (hildon_date_selector_select_month): first implementation
1771 (hildon_date_selector_select_day): added documentation, reimplemented
1772 using hildon_date_selector_select_current_date to avoid repeat code
1775 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1777 Reviewed interaction logic based on device experiences, refactored
1780 * src/hildon-pannable-area.c,
1781 (hildon_pannable_area_class_init): Updated default vmax speed.
1782 (hildon_pannable_area_calculate_velocity): Added this function, it
1783 avoids duplicate valocity calculation. Adjusted calculation to
1784 avoid problems with zero dist events.
1786 (hildon_pannable_area_motion_notify_cb): Now we use the
1787 calculate_velocity function.
1789 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1791 * src/hildon-date-selector.c
1792 (hildon_date_selector_select_current_date): fix the day range check
1793 as it failed using the last day of the current month
1796 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1798 * src/hildon-touch-selector.c
1799 (hildon_touch_selector_get_num_columns): added a parameter validation
1802 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1804 * examples/Makefile.am
1805 * examples/hildon-edit-toolbar-example.c: Example of the
1806 HildonEditToolbar widget.
1808 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1810 * configure.ac: postrelease version bump.
1812 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1816 * configure.ac: prerelease version bump.
1817 * debian/changelog: update.
1819 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1821 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1822 renderer to display stock icons in the touch list. Also, set the sizes
1823 to the recommended in the style guide.
1825 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1826 * src/hildon-touch-selector.h
1827 (hildon_touch_selector_set_active_iter): renamed, now is
1828 hildon_touch_selector_select_iter
1829 (hildon_touch_selector_get_active_iter): renamed, now is
1830 hildon_touch_selector_get_selected
1831 (hildon_touch_selector_unselect_iter): added
1832 * src/hildon-touch-selector.c
1833 Update after API modification (methods renamed)
1834 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1835 order to avoid problems selecting multiple elements on the column
1836 (hildon_touch_selector_unselect_iter): added the implementation
1837 * src/hildon-time-selector.c
1838 * src/hildon-date-selector.c
1839 * src/hildon-touch-selector-entry.c
1840 Update methods calls after hildon-touch-selector.h API modification (methods
1843 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-stackable-window.c
1846 (hildon_stackable_window_finalize): Call the parent class's finalize.
1848 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1850 * examples/hildon-touch-selector-example.c: (create_selector): Use
1851 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1854 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1856 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1857 set a cell background color, to respect theming.
1859 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1861 * doc/hildon-docs.sgml
1864 * src/hildon-edit-toolbar.c
1865 * src/hildon-edit-toolbar.h
1866 * src/hildon.h: New HildonEditToolbar widget.
1868 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1870 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1873 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1874 * src/hildon-touch-selector.c
1875 (_create_new_column): use g_object_set instead of two g_object_set_property
1877 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1878 * src/hildon-touch-selector.c
1879 (_create_new_column): use of hildon_gtk_tree_view_new to create
1880 the treeview, instead of use directly g_object_new
1881 (_create_new_column): update the property name "vindicator-mode" for the
1882 new one "vscrollbar-policy"
1883 * examples/hildon-date-button-example.c
1884 * examples/hildon-picker-button-multicolumn-example.c
1885 * examples/hildon-touch-selector-entry-example.c
1886 * examples/hildon-touch-selector-example.c
1887 * examples/hildon-time-button-example.c
1888 * examples/hildon-picker-button-example.c
1889 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1890 to all the treeviews inside a pannable area.
1892 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-button.h
1895 * src/hildon-button.c (hildon_button_init)
1896 (hildon_button_set_arrangement, hildon_button_set_alignment)
1897 (hildon_button_set_title_alignment)
1898 (hildon_button_set_value_alignment)
1899 (hildon_button_set_image_alignment)
1900 (hildon_button_construct_child): New methods to set the alignment
1901 of the individual components of the button (title, value,
1902 image). Also, new method to alter the xscale and yscale properties
1903 of the GtkAlignment inside the button, so more complex layouts can
1906 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-button.c (hildon_button_style_set)
1909 (hildon_button_class_init, hildon_button_set_arrangement)
1910 (hildon_button_construct_child): Apply style properties
1911 correctly. Use the 'image-spacing' style property too.
1913 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1915 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1916 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1919 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_size_request): Fixed problem with
1923 pannable-area size_request.
1925 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1927 Added management for the grab-focus to a child widget, like a
1928 range, we need to fade out the scrollbar when releasing.
1930 * src/hildon-pannable-area.c,
1931 (hildon_pannable_area_init): Connected the grab-focus signal to
1933 (hildon_pannable_area_grab_notify): Added this function in order
1934 to manage the situation when the grab-focus ends. We have to
1935 fade-out the scrollbar.
1937 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-app-menu.c: Minor documentation update.
1941 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-app-menu.c
1944 * examples/hildon-app-menu-example.c (create_menu): Update
1945 examples and documentation to explain how to connect callbacks.
1947 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1949 * examples/hildon-button-example.c
1950 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1951 hildon_stackable_window_new instead of gtk_window_new
1953 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1955 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1956 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1957 (hildon_pannable_area_set_property),
1958 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1959 (hildon_pannable_area_unrealize),
1960 (hildon_pannable_area_size_request),
1961 (hildon_pannable_area_size_allocate),
1962 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1963 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1964 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1965 (hildon_pannable_area_initial_effect),
1966 (hildon_pannable_area_redraw),
1967 (hildon_pannable_area_scroll_indicator_fade),
1968 (hildon_pannable_area_expose_event),
1969 (hildon_pannable_area_get_topmost), (synth_crossing),
1970 (hildon_pannable_area_button_press_cb),
1971 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1972 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1973 (hildon_pannable_area_motion_notify_cb),
1974 (hildon_pannable_area_button_release_cb),
1975 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1976 (hildon_pannable_area_remove),
1977 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1978 chage the code layout to a more GtkWidget like. Review the use of
1981 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1983 * examples/hildon-pannable-area-example-4.c,
1984 (main): Modified the name of the hindicator_mode to
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_class_init),
1989 (hildon_pannable_area_motion_notify_cb),
1990 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1991 we have reduced the amount of signals and managed reviewed its
1992 rationale. Changed the default decelerate value.
1994 (hildon_pannable_area_add),
1995 (hildon_pannable_area_redraw): Refactored functions.
1997 (hildon_pannable_area_init),
1998 (hildon_pannable_area_get_property),
1999 (hildon_pannable_area_set_property):
2000 (hildon_pannable_draw_vscroll),
2001 (hildon_pannable_draw_hscroll),
2002 (hildon_pannable_area_initial_effect),
2003 (hildon_pannable_area_expose_event),
2004 (hildon_pannable_area_scroll),
2005 (hildon_pannable_area_button_press_cb),
2006 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2007 and vindicator_mode with hscrollbar_policy and
2008 vscrollbar_policy. Replaced hscroll and vscroll with
2009 hscroll_visible and vscroll_visible.
2011 (hildon_pannable_area_refresh): Refactor the function, remove
2012 variables and check the calls to this function, added resize
2013 conditions in case the children change their layout.
2015 (hildon_pannable_area_size_request): Added more detailed
2016 size_request calculation.
2019 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2021 * src/hildon-color-chooser.c
2022 (init_borders): use the correct gtk_border_free instead of g_free, to
2023 avoid a crash when this widget is used (ie: the three color selection
2026 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2028 * src/hildon-check-button.c,
2029 (hildon_check_button_set_active): Fixed problem when setting the
2030 active value, the widget was not redrawn.
2032 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2034 * src/hildon-pannable-area.c,
2035 (hildon_pannable_area_refresh),
2036 (hildon_pannable_area_scroll),
2037 (hildon_pannable_area_motion_notify_cb): Small code style change.
2039 (hildon_pannable_area_class_init): Default initial_hint set to
2040 FALSE, it is not in the specs.
2042 (hildon_pannable_area_initial_effect),
2043 (hildon_pannable_area_expose_event),
2044 (hildon_pannable_area_map),
2045 (hildon_pannable_area_init): Moved the launching point of the
2046 initial effect, it was in map but the sizes where not correct in
2047 that method so we do not know if we have the reproduce it. Now it
2048 is placed in the expose_event method and uses a variable to
2049 reproduce it just once.
2051 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-pannable-area.c,
2054 (hildon_pannable_draw_vscroll),
2055 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2056 position allowed for the scrollbars.
2058 (hildon_pannable_area_size_allocate): Small style change.
2060 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_scroll_indicator_fade),
2064 (hildon_pannable_area_button_press_cb),
2065 (hildon_pannable_area_button_release_cb),
2066 (hildon_pannable_area_scroll_cb),
2067 (hildon_pannable_area_expose_event),
2068 (hildon_pannable_area_init): Added the define parameter
2069 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2070 and refactor the fade variable.
2072 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 (hildon_pannable_area_redraw),
2076 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2077 lines, we were reimplemeting the redraw code.
2079 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2081 * src/hildon-pannable-area.c,
2082 (hildon_pannable_area_scroll_cb),
2083 (hildon_pannable_area_realize),
2084 (hildon_pannable_area_class_init): Added scroll_event management
2085 for pannable area, now we can scroll the usual desktop method.
2087 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2088 initialization of the parameters should depend on idle_id.
2090 (hildon_pannable_area_init),
2091 (hildon_pannable_area_map): Small code style modifications
2093 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2095 * src/hildon-pannable-area.c
2096 (hildon_pannable_area_button_press_cb),
2097 (hildon_pannable_area_motion_notify_cb),
2098 (hildon_pannable_area_button_release_cb),
2099 (hildon_pannable_area_size_allocate),
2100 (hildon_pannable_area_scroll_to): Improved the timeouts
2101 management, we avoid creating them each time.
2103 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2105 * src/hildon-pannable-area.c:
2106 (hildon_pannable_area_refresh),
2107 (hildon_pannable_area_motion_notify_cb),
2108 (hildon_pannable_area_class_init):
2109 * src/hildon-pannable-area.h:
2110 * src/hildon-touch-selector.c
2111 (_create_new_column):
2112 * examples/hildon-pannable-area-example-4.c:
2113 (horizontal_movement),
2114 (vertical_movement),
2116 Replaced the names of enums in the HildonPannableArea:
2117 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2118 HILDON_MOVEMENT_MODE_*
2119 - HILDON_PANNABLE_AREA_MOV_* ->
2121 - Removed HildonPannableAreaIndicatorMode, now we
2124 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2126 * examples/hildon-pannable-area-touch-grid-example.c
2127 * examples/hildon-pannable-area-touch-list-example.c: Fix
2128 compilation warnings.
2130 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-gtk.c (hildon_gtk_button_new)
2133 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2134 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2135 images overriding the value of the "gtk-button-images" setting.
2137 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-check-button.c (hildon_check_button_new):
2140 Instead of using a custom container, display the label and the
2141 checkbox using the standard GtkButton API.
2143 * examples/hildon-check-button-example.c (main): Don't use
2144 hildon_check_button_set_label() anymore
2146 * src/hildon-check-button.h
2147 * src/hildon-check-button.c
2148 (hildon_check_button_set_label, hildon_check_button_get_label):
2149 Set as deprecated, now we're using gtk_button_{get,set}_label()
2151 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2153 * src/hildon-pannable-area.c,
2154 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2155 GtkTreeview first line we detected it after the inclusion of the
2156 GtkWindowImpl in gtk+. We now check if the window is visible, not
2157 just if the pointer is over the window.
2158 (hildon_pannable_axis_scroll),
2159 (hildon_pannable_area_expose_event): Small style changes.
2161 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-button.c: Update documentation.
2165 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2167 * examples/hildon-button-example.c: Add a switch to show images in
2170 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2172 * doc/hildon-docs.sgml: Some docs reorganization.
2174 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2176 * examples/hildon-pannable-area-touch-list-example.c
2178 * examples/hildon-pannable-area-touch-grid-example.c
2179 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2180 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2181 Fix memory leak when setting the tree model.
2183 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2187 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2189 * doc/hildon.types: Remove duplicated hildon_window_get_type
2190 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2191 documentation comment.
2193 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2195 * doc/Makefile.am: Complete list of private headers.
2197 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2199 * doc/hildon-docs.sgml
2200 * src/hildon-app-menu.c
2201 * src/hildon-bread-crumb.c
2202 * src/hildon-button.c
2204 * src/hildon-program.c
2205 * src/hildon-stackable-window.c
2206 * src/hildon-window.c: Lots of documentation updates.
2208 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2210 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2212 * configure.ac: Require Gtk+ 2.12.9 at least
2214 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2216 * src/hildon-pannable-area.c
2217 (hildon_pannable_area_scroll_indicator_fade),
2218 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2219 to protect the return of this timeout callbacks, avoiding deadlocks.
2221 2008-08-12 Christian Dywan <christian@imendio.com>
2224 * src/hildon-*.h: Ensure a consistent include order,
2225 include <gtk/gtk.h> instead of particular files and
2226 only include the topmost header in the gtk stack. See NB #39857
2228 2008-08-12 Christian Dywan <christian@imendio.com>
2230 * src/hildon-picker-dialog.c
2231 * src/hildon-touch-selector.c: Fix warnings about unused and
2232 uninitialized variables.
2234 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2236 * examples/Makefile.am
2237 * examples/hildon-check-button-example.c: Example of the hildon
2240 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-window.h
2243 * src/hildon-window.c (hildon_window_class_init)
2244 (hildon_window_unset_program): Don't make
2245 hildon_window_unset_program a virtual function anymore.
2247 * src/hildon-stackable-window.c: Update documentation
2249 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2252 * doc/hildon-docs.sgml
2253 * doc/visual_index.xml
2254 * src/hildon-defines.c
2256 * src/hildon-helper.c
2257 * src/hildon-range-editor.c: Lots of documentation fixes.
2259 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2261 * examples/hildon-picker-button-multicolumn-example.c
2262 (create_touch_selector): Fix compilation warning.
2264 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2267 (hildon_pannable_area_button_release_cb)
2268 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2270 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2275 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-bread-crumb-trail.h
2278 * src/hildon-date-editor.c
2279 * src/hildon-date-selector.c
2280 * src/hildon-pannable-area.c
2281 * src/hildon-picker-dialog.c
2282 * src/hildon-time-selector.c
2283 * src/hildon-touch-selector-entry.c
2284 * src/hildon-touch-selector.c
2285 * src/hildon-touch-selector.h: Misc documentation fixes
2287 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2289 * examples/hildon-date-editor-example.c (main): Updated date
2292 * examples/hildon-note-example.c (on_confirmation_clicked):
2293 Updated confirmation note example.
2295 * src/hildon-date-editor.c
2296 * src/hildon-note.c: Updated sample programs in documentation.
2299 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-date-button.h:
2302 * src/hildon-picker-button.h:
2303 * src/hildon-time-button.c:
2304 * src/hildon-time-button.h:
2306 Some declarations changes to allow gtk-doc to document the widgets
2309 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2311 * src/hildon-date-button.c: Document the widget.
2312 * src/hildon-time-button.c: Document the widget.
2314 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-picker-button.c: Document the widget.
2317 * src/hildon-touch-selector-entry.c: Document the widget.
2319 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2321 * doc/hildon-docs.sgml
2324 * src/hildon-check-button.h
2325 * src/hildon-check-button.c: New functions to create the Hildon
2329 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2331 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2333 * src/hildon-button.h
2334 * src/hildon-button.c
2335 (hildon_button_add_title_size_group)
2336 (hildon_button_add_value_size_group)
2337 (hildon_button_add_image_size_group)
2338 (hildon_button_add_size_groups): New functions to set size groups
2339 for the button labels and image.
2340 (hildon_button_new_full): Removed
2342 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2344 * src/hildon-time-selector.c
2345 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2346 in order to avoid a crash if gconf is not available
2348 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-button.c (hildon_button_set_arrangement)
2351 (hildon_button_construct_child): Don't construct the button child
2352 before setting the arrangement.
2354 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2356 * src/hildon-program-private.h
2357 * src/hildon-program.c
2358 * src/hildon-program.h
2359 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2360 (hildon_program_peek_window_stack)
2361 (hildon_program_pop_window_stack)
2362 (hildon_program_go_to_root_window): HildonProgram now has a
2363 separate list for stackable windows. Functions are provided to
2364 manage that list with a stack-like API.
2366 * src/hildon-stackable-window.c: Stackable window management is
2367 now much simpler with the new HildonProgram API. Windows no
2368 longer need to be manually added to the program, they're
2369 automatically pushed to the top of the stack when shown.
2371 * examples/hildon-stackable-window-example.c: Updated example to
2372 reflect the API changes.
2374 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-touch-selector.c: Comment out unimplemented
2377 hildon_touch_selector_insert_column() to avoid a compile warning.
2379 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2382 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2383 (hildon_touch_selector_set_column_selection_mode),
2384 (_hildon_touch_selector_set_model),
2385 (hildon_touch_selector_set_model):
2387 Complete review of HildonTouchSelector documentation.
2389 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2391 * doc/hildon-docs.sgml
2395 * src/hildon-gtk.c: Convenience functions for standard Gtk
2396 widgets, used to easily perform frequent operations.
2398 * src/hildon-button-helpers.h
2399 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2401 * src/hildon-helper.h
2402 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2403 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2405 * src/hildon-button.h
2406 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2408 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2410 * src/hildon-button.c (hildon_button_init)
2411 (hildon_button_set_arrangement, hildon_button_construct_child):
2412 Pack the image and the labels inside the same GtkAlignment so
2413 gtk_button_set_alignment() can be used
2415 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-button.h
2418 * src/hildon-button.c
2419 (hildon_button_init, hildon_button_set_image)
2420 (hildon_button_set_image_position)
2421 (hildon_button_construct_child): New functions to add an image to
2424 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-date-button.c
2427 * src/hildon-picker-button.c
2428 * src/hildon-time-button.c
2429 * src/hildon-button.c:
2430 (hildon_button_class_init): "size-flags" renamed to "size"
2431 (hildon_button_set_title): Hide the title label if set to NULL.
2433 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2435 HildonButtonFlags split into HildonButtonArrangement (to set the
2436 button layout) and HildonSizeType (which can be used for any
2439 * src/hildon-button.h
2440 * src/hildon-button.c
2441 (hildon_button_class_init)
2442 (hildon_button_set_arrangement)
2443 (hildon_button_set_property): New "size-flags"
2444 property. "arrangement-flags" renamed to "arrangement".
2445 (hildon_button_new, hildon_button_new_with_text)
2446 (hildon_button_new_full): Constructors updated to reflect type changes.
2448 * src/hildon-helper.h
2449 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2450 to set the size of a widget.
2454 * src/hildon-button-helpers.c
2455 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2457 * src/hildon-date-button.c
2458 * src/hildon-date-button.h
2459 * src/hildon-picker-button.c
2460 * src/hildon-picker-button.h
2461 * src/hildon-time-button.c
2462 * src/hildon-time-button.h: Updated widgets to reflect
2463 HildonButton API changes.
2465 * examples/hildon-button-example.c
2466 * examples/hildon-date-button-example.c
2467 * examples/hildon-picker-button-example.c
2468 * examples/hildon-picker-button-multicolumn-example.c
2469 * examples/hildon-time-button-example.c
2470 * examples/hildon-touch-selector-entry-example.c
2471 * examples/hildon-touch-selector-example.c: Updated examples to
2472 reflect HildonButton API changes.
2474 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2476 * doc/hildon-docs.sgml:
2478 * examples/Makefile.am:
2479 * examples/hildon-touch-selector-entry-example.c:
2481 * src/hildon-touch-selector-entry.c:
2482 * src/hildon-touch-selector-entry.h:
2485 Moved HildonTouchSelectorEntry from sandbox. Added its
2486 documentation and examples.
2488 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-touch-selector.h:
2491 * examples/hildon-picker-button-multicolumn-example.c:
2492 (hildon_touch_selector_append_text_column): Add a gboolean
2493 parameter to determine if text must be centered in the column.
2495 * src/hildon-date-selector.c: (hildon_date_selector_init):
2496 * src/hildon-time-selector.c: (hildon_time_selector_init):
2497 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2498 (create_touch_selector): Update widgets and example to reflect
2501 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-touch-selector.c:
2504 (hildon_touch_selector_set_active_iter): Set also the cursor in
2507 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2509 * doc/hildon-docs.sgml
2512 * src/hildon-toggle-button.c
2513 * src/hildon-toggle-button.h
2514 * src/hildon.h: Removed HildonToggleButton widget, a derived
2515 class is not necessary for this.
2517 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2519 * src/hildon-pannable-area.c,
2520 (hildon_pannable_area_realize),
2521 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2524 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2527 "done" button the default widget for the dialog.
2529 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-touch-selector.c:
2532 (hildon_touch_selector_class_init),
2533 (hildon_touch_selector_get_property),
2534 (_hildon_touch_selector_set_model),
2535 (_hildon_touch_selector_has_multiple_selection),
2536 (hildon_touch_selector_has_multiple_selection):
2537 Add a "has-multiple-selection" property with a virtual
2538 has_multiple_selection() method to allow derived classes to
2539 override the default value for it. See the method and property
2540 documentation for details.
2542 * src/hildon-touch-selector.h: Add the new API.
2544 * src/hildon-picker-dialog.c: (requires_done_button): Call
2545 hildon_touch_selector_has_multiple_selection() instead of
2546 determining the need for a button itself.
2548 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2551 (_hildon_touch_selector_set_model),
2552 (hildon_touch_selector_set_model): Move working code to
2553 _hildon_touch_selector_set_mode(). Call the class method instead.
2555 * src/hildon-touch-selector.h: Add (*set_model) to
2556 HildonTouchSelectorClass.
2558 Make hildon_touch_selector_set_model() a virtual method, so that
2559 derived classes can extend it and do fancy stuff with the model.
2561 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2563 * configure.ac: Set back the tarname in AC_INIT to hildon.
2565 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2569 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2570 instead of libesd (NB#86876). Volume handling is still an open issue.
2572 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2575 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2578 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2579 derived class to ease placement of an entry widget in
2580 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2581 end, where the selector columns are packed now.
2583 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-picker-button.c: Removed the simple _text() API.
2586 * src/hildon-picker-button.h: Likewise.
2588 * src/hildon-touch-selector.h:
2589 * src/hildon-touch-selector.c:
2590 (hildon_touch_selector_new_text),
2591 (hildon_touch_selector_append_text),
2592 (hildon_touch_selector_prepend_text),
2593 (hildon_touch_selector_insert_text):
2595 Moved the simple _text() API from HildonPickerButton to
2596 HildonTouchPicker, to provide better escalability and not to tie
2597 that API to HildonPickerButton.
2599 * examples/hildon-picker-button-example.c: (main): Example updated.
2601 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2603 * src/hildon-button.c: Updated documentation.
2605 * examples/hildon-button-example.c: Add the posibility to create
2606 the buttons using horizontal layout for title and value.
2608 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-app-menu-private.h
2611 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2612 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2613 GtkSizeGroup for the filters, use the 'homogeneous' property of
2616 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2618 * examples/hildon-button-example.c: Updated example.
2620 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2622 * doc/hildon-docs.sgml:
2625 Update documentation.
2627 * examples/Makefile.am: Update renamed examples.
2629 * examples/hildon-picker-button-multicolumn-example.c:
2630 (create_touch_selector), (main): Update after the rename.
2632 * examples/hildon-touch-picker-example.c: Removed.
2633 * examples/hildon-touch-selector-example.c: (value_changed),
2634 (create_selector), (get_visible_content), (main): Renamed from
2635 hildon-touch-picker-example.c
2637 * src/Makefile.am: Updated renamed files.
2639 * src/hildon-date-button.c: (hildon_date_button_init),
2640 (hildon_date_button_get_date), (hildon_date_button_set_date):
2641 * src/hildon-date-selector.c: (hildon_date_selector_init),
2642 (_custom_print_func), (_update_day_model),
2643 (_manage_selector_change_cb),
2644 (hildon_date_selector_select_current_date),
2645 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2646 * src/hildon-date-selector.h:
2647 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2648 (hildon_picker_button_set_property),
2649 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2650 (hildon_picker_button_init), (hildon_picker_button_new_text),
2651 (hildon_picker_button_append_text),
2652 (hildon_picker_button_prepend_text),
2653 (hildon_picker_button_insert_text),
2654 (hildon_picker_button_set_selector),
2655 (hildon_picker_button_get_selector):
2656 * src/hildon-picker-button.h:
2657 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2658 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2659 (_update_title_on_selector_changed_cb), (requires_done_button),
2660 (_hildon_picker_dialog_set_selector),
2661 (hildon_picker_dialog_set_selector),
2662 (hildon_picker_dialog_get_selector):
2663 * src/hildon-picker-dialog.h:
2664 * src/hildon-time-button.c: (hildon_time_button_init),
2665 (hildon_time_button_get_time), (hildon_time_button_set_time):
2666 * src/hildon-time-selector.c: (hildon_time_selector_init),
2667 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2668 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2669 * src/hildon-time-selector.h:
2672 Massive code updates after the rename.
2674 * src/hildon-touch-picker.c: Removed.
2675 * src/hildon-touch-picker.h: Removed.
2677 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2678 (hildon_touch_selector_init), (hildon_touch_selector_map),
2679 (hildon_touch_selector_remove), (_default_print_func),
2680 (_selection_changed_cb), (_create_new_column),
2681 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2682 (hildon_touch_selector_append_text_column),
2683 (hildon_touch_selector_remove_column),
2684 (hildon_touch_selector_set_column_attributes),
2685 (hildon_touch_selector_insert_column),
2686 (hildon_touch_selector_get_num_columns),
2687 (hildon_touch_selector_get_column_selection_mode),
2688 (hildon_touch_selector_set_column_selection_mode),
2689 (hildon_touch_selector_set_print_func),
2690 (hildon_touch_selector_get_print_func),
2691 (hildon_touch_selector_get_active_iter),
2692 (hildon_touch_selector_set_active_iter),
2693 (hildon_touch_selector_get_selected_rows),
2694 (hildon_touch_selector_get_model),
2695 (hildon_touch_selector_set_model),
2696 (hildon_touch_selector_get_current_text),
2697 (_hildon_touch_selector_center_on_selected_items):
2698 * src/hildon-touch-selector.h: Renamed from
2699 hildon-touch-picker.[ch]
2701 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2702 references, code examples, and related documentation.
2704 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2706 * doc/hildon-docs.sgml
2709 * src/hildon-toggle-button.c
2710 * src/hildon-toggle-button.h
2711 * src/hildon.h: New HildonToggleButton widget.
2713 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-button.c: Add API documentation.
2716 (hildon_button_set_size_groups): Check input parameters
2718 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2720 * src/hildon-pannable-area.c
2721 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2722 effect after reaching the movement thredshold. This way we start
2723 using the distance after passing the thredshold.
2725 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-button.c: (hildon_button_set_property): Use the
2728 appropriate g_value_get_flags() method.
2730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2732 * doc/hildon-docs.sgml:
2735 Add the touch pickers, picker dialogs, and picker button widgets
2736 to the documentation.
2738 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2740 * src/hildon-button.c: (hildon_button_set_property),
2741 (hildon_button_class_init): Make "arrangement-flags" a proper
2742 G_TYPE_FLAGS derived property.
2744 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2746 * examples/Makefile.am: Add below examples.
2747 * examples/hildon-date-button-example.c:
2748 * examples/hildon-picker-button-example.c:
2749 * examples/hildon-picker-button-multicolumn-example.c:
2750 * examples/hildon-time-button-example.c:
2751 * examples/hildon-touch-picker-example.c:
2753 Add examples for the recently added touch pickers,
2754 picker dialogs, and picker button widgets.
2756 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-button.c: Add some API documentation
2760 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2762 * src/hildon-button.h
2763 * src/hildon-button.c
2765 (hildon_button_new_with_text): New constructor to create a button
2766 with no text at all.
2767 (hildon_button_init, hildon_button_set_arrangement)
2768 (hildon_button_set_title, hildon_button_set_value)
2769 (hildon_button_set_text)
2770 (hildon_button_construct_child): Hide the value when it's not used
2771 so the rest of the text is properly aligned.
2772 Allow creating buttons with arbitrary widgets inside (not just
2773 title/value labels).
2775 * examples/hildon-button-example.c (vertical_buttons_window)
2776 (horizontal_buttons_window): Update example to use new API.
2778 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/Makefile.am: Added HildonTimeButton.
2781 * src/hildon-time-button.c: Added missing LGPL header.
2782 * src/hildon-time-button.h: Added missing LGPL header.
2783 * src/hildon.h: Add hildon-time-button.h
2785 Copied HildonTimeButton from sandbox to trunk. Future work on this
2786 widget must take place in trunk.
2788 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/Makefile.am: Added HildonDateButton.
2791 * src/hildon-date-button.c: Update includes.
2792 * src/hildon.h: Add hildon-date-button.h
2794 Copied HildonDateButton from sandbox to trunk. Future work on this
2795 widget must take place in trunk.
2797 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2799 * src/Makefile.am: Added HildonPickerButton.
2800 * src/hildon-picker-button.h: Update includes.
2801 * src/hildon.h: Add hildon-picker-button.h
2803 Copied HildonPickerButton from sandbox to trunk. Future work on
2804 this widget must take place in trunk.
2806 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2808 * src/Makefile.am: Added HildonPickerDialog.
2809 * src/hildon-picker-dialog.c: Update includes.
2810 * src/hildon.h: Add hildon-picker-dialog.h
2812 Copied HildonPickerDialog from sandbox to trunk. Future work
2813 on this widget must take place in trunk.
2815 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/Makefile.am: Added HildonTimeSelector.
2818 * src/hildon.h: Add hildon-time-selector.h
2820 Copied HildonTimeSelector widget from sandbox to trunk. Future
2821 work on this widget must happen in trunk.
2823 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/Makefile.am: Added HildonDateSelector.
2826 * src/hildon.h: Add hildon-date-selector.h
2828 Copied HildonDateSelector widget from sandbox to trunk. Future
2829 work on this widget must happen in trunk.
2831 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/Makefile.am: Added HildonTouchPicker.
2834 * src/hildon-touch-picker.c: Update includes.
2835 * src/hildon.h: Add hildon-touch-picker.h
2837 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2838 on this widget must happen in trunk.
2840 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2842 * src/hildon-pannable-area.c:
2843 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2845 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2847 * examples/hildon-app-menu-example.c (main): Let the window
2850 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2852 * src/hildon-pannable-area.c
2853 (hildon_pannable_area_class_init): Set the min value of the
2854 overshoot properties to zero, which points out that not
2855 overshooting allowed.
2857 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2859 Modified the procedure to get the widget at a point inside the
2860 pannable area when using the movement type signals. Now the user
2861 has to call a function to get the child, that way we just
2862 calculate the child in case the user really want to use it and not
2865 * src/hildon-marshalers.list: Modified the marshallers, now we do
2866 not have the widget as a parameter.
2868 * src/hildon-pannable-area.c
2869 (hildon_pannable_area_motion_notify_cb),
2870 (hildon_pannable_area_class_init),
2871 (hildon_pannable_get_child_widget_at): Removed the widget
2872 parameter from the signal callback. We have also refactored the
2873 emission of the signals.
2875 * src/hildon-pannable-area.h: Added a new method to the API to
2876 calculate a widget at a point inside the pannable area,
2877 hildon_pannable_get_child_widget_at.
2879 * examples/hildon-pannable-area-example-4.c
2880 (horizontal_movement): Modified the example to use the new API,
2881 added condition to control which widget is under the event. This
2882 way we can avoid scrolling laterally over other widgets.
2884 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2886 * src/hildon-pannable-area.c
2887 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2888 modes, we stop getting the pointer events due to returning the
2889 callback without properly calling the get pointer again. Fixed
2890 also an error using the hscroll and vscroll.
2892 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-app-menu-private.h
2895 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2896 (hildon_app_menu_button_release, hildon_app_menu_init)
2897 (hildon_app_menu_class_init): Don't hide the menu on button
2898 release if the user didn't press outside first.
2900 * src/hildon-window.h
2901 * src/hildon-window.c (hildon_window_toggle_menu)
2902 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2903 hildon_window_toggle_menu a virtual function for the stackable
2904 window to override it.
2906 * src/hildon-stackable-window.h
2907 * src/hildon-stackable-window-private.h
2908 * src/hildon-stackable-window.c
2909 (hildon_stackable_window_realize)
2910 (hildon_stackable_window_finalize)
2911 (hildon_stackable_window_class_init)
2912 (hildon_stackable_window_init)
2913 (hildon_stackable_window_set_main_menu): New function to set the
2914 app menu of a HildonStackableWindow.
2916 * examples/hildon-app-menu-example.c: Remove the button to show
2917 the app menu, now it'll be shown when clicking on the title bar
2920 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2923 set the widget name if the arrangement flags do not specify
2926 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-button.c: (hildon_button_set_property),
2929 (hildon_button_class_init), (hildon_button_new_full),
2930 (hildon_button_set_arrangement): Added "arrangement-flags"
2933 Make the HildonButtonFlags a construction-only property, to allow
2934 subclasses to set them properly.
2936 2008-07-21 Tim Janik <timj@imendio.com>
2938 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2939 insertion position after backspace, so additional digits are appended,
2942 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c,
2945 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2946 TODO list, it was complete and removed the g_debug and g_print
2949 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2951 Added the movement modes to the hildon-pannable-area, with this
2952 modes the developers can control in which directions the widget
2953 can scroll. They can also connect to signals in order to do
2954 something when that happens, allowing applications scroll. There
2955 is an example uploaded showing how to use it.
2957 * examples/Makefile.am:
2958 * examples/hildon-pannable-area-example-4.c: Added this example of
2959 an application using the modes.
2961 * src/hildon-marshalers.list: Added a new marshaller for the new
2964 * src/hildon-pannable-area.h: Added new enumerations and flags in
2965 order to control the movement modes and the new signals to warn
2966 about the movements in the area.
2968 * src/hildon-pannable-area.c:
2969 (hildon_pannable_axis_scroll),
2970 (hildon_pannable_area_scroll),
2971 (hildon_pannable_area_motion_notify_cb),
2972 (hildon_pannable_area_get_property),
2973 (hildon_pannable_area_set_property),
2974 (hildon_pannable_area_map),
2975 (hildon_pannable_area_class_init),
2976 (hildon_pannable_area_init),
2977 (hildon_pannable_area_jump_to): Added the modes to control the
2978 movement in the widget. We have added properties to control it,
2979 signals to warn about the movements and refactored some code.
2981 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2983 Changes required in order to allow vfast_factor set to zero to
2986 * src/hildon-pannable-area.c:
2987 (hildon_pannable_area_button_press_cb): Changed the condition, it
2988 is required for not allowing click when vfast_factor is zero.
2989 (hildon_pannable_area_timeout): Initialized velocity variables
2990 when we stop moving, it was less than 1 but not zero and we need
2991 to check zero in some situations.
2992 (hildon_pannable_area_class_init): Changed the default value of
2993 the speed factor, now the button_press is just sent in case the
2994 speed is 2 per cent of the max speed.
2995 (hildon_pannable_area_init): Initialization with 0.
2997 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2999 * src/hildon-pannable-area.c,
3000 (hildon_pannable_area_get_topmost): replaced
3001 gdk_window_get_children with gdk_window_peek_children, this way we
3002 do not have to free the list because it is not a copy.
3004 (hildon_pannable_axis_scroll),
3005 (hildon_pannable_area_scroll),
3006 (hildon_pannable_area_timeout),
3007 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3008 two parameters that were only used inside the
3009 hildon_pannable_area_scroll function.
3011 * examples/hildon-pannable-area-example.c,
3012 (get_sawtooth_label): Fixed small memory leak.
3014 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3016 More checks for the case where the overshoot is bigger than the
3019 * src/hildon-pannable-area.c:
3020 (hildon_pannable_draw_vscroll),
3021 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3022 to draw the slider of the scrollbar under the other scrollbar.
3023 (hildon_pannable_area_expose_event): added new checks to control
3024 the drawing of the overshooting area rectangle, in case it is too
3025 big for the area of the widget.
3026 (hildon_pannable_area_size_allocate): add more checks to avoid
3027 setting a position to the child widget outside the area.
3029 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3031 * src/hildon-pannable-area.c
3032 (hildon_pannable_area_size_allocate): Added conditions to control
3033 when overshooting is bigger than the allocated space for the
3034 children, this avoids negative allocations.
3036 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3038 * doc/hildon-docs.sgml
3040 * examples/Makefile.am
3041 * examples/hildon-button-example.c
3043 * src/hildon-button.c
3044 * src/hildon-button.h
3045 * src/hildon.h: Initial version of the new HildonButton widget,
3048 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-pannable-area.c:
3051 (hildon_pannable_area_button_press_cb),
3052 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3053 (hildon_pannable_area_motion_notify_cb),
3054 (hildon_pannable_area_button_release_cb),
3055 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3056 (hildon_pannable_area_jump_to_child):
3058 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3060 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3062 * examples/Makefile.am
3063 * examples/hildon-pannable-area-touch-grid-example.c
3064 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3065 the Hildon Touch List and Hildon Touch Grid using the
3066 HildonPannableArea widget.
3068 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3070 * src/hildon-pannable-area.c,
3071 (hildon_pannable_area_button_press_cb),
3072 (hildon_pannable_area_refresh),
3073 (hildon_pannable_area_scroll),
3074 (hildon_pannable_area_motion_notify_cb),
3075 (hildon_pannable_area_button_release_cb),
3076 (hildon_pannable_area_expose_event),
3077 (hildon_pannable_area_add),
3078 (hildon_pannable_area_remove),
3079 (hildon_pannable_area_realize),
3080 (hildon_pannable_area_size_allocate),
3081 (hildon_pannable_area_class_init),
3082 (hildon_pannable_area_init),
3083 (hildon_pannable_area_scroll_to_child),
3084 (hildon_pannable_area_jump_to_child): Fixed the problem of
3085 removing the child from the GtkBin, we have rearranged the widget
3086 hierarchy, now there is no GtkAlignment which was not doing
3087 anything interesting but breaking some of the assumptions of
3088 GtkContainer. Now developers if they want to add a GtkAlignment
3089 they could, but it is not inside the area.
3091 We had to review the whole allocation/expose process, now it is
3092 improved and we save at least three signals which would be saving
3093 some time when rendering the widget. The allocation of the
3094 scrollbars is now made in the allocate method as usual.
3096 We have also added some conditions in order to control when there
3097 is no child of the pannable area. Maybe we will need more work
3100 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3102 * src/hildon-pannable-area.c,
3103 (hildon_pannable_area_dispose): Released the fade-out timeout when
3104 disposing the widget.
3106 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3108 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3109 zero, we are going to use that property in order to deactivate the
3111 (hildon_pannable_axis_scroll),
3112 (hildon_pannable_area_size_allocate): Added conditions to control
3113 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3114 call, now it is called in all situations and we can remove calls
3115 in the allocate method.
3116 (hildon_pannable_area_map): Control the situation when
3117 overshoot_max is zero, we do not need the timeout.
3118 (hildon_pannable_area_class_init): Added documentation in order to
3119 point out that setting zero to overshoot_max means deactivate
3122 NOTE: removed trailing whitespaces from my previous comments of
3125 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-pannable-area.c
3128 (hildon_pannable_area_get_property),
3129 (hildon_pannable_area_set_property),
3130 (hildon_pannable_area_map),
3131 (hildon_pannable_area_class_init),
3132 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3133 to cause the widget give a hint about its panning abilities upon
3136 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-pannable-area.c: Several documentation improvements.
3140 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-program.c
3143 * src/hildon-stackable-window.c: Update documentation.
3145 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-stackable-window.c (get_previous_window_if_last):
3148 Renamed get_last_window()
3149 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3150 (hildon_stackable_window_unset_program):
3152 (get_previous_window_if_last):
3153 Detect if the window hasn't been added to a HildonProgram.
3155 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3157 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-pannable-area.c
3160 (hildon_pannable_area_button_press_cb),
3161 (hildon_pannable_axis_scroll),
3162 (hildon_pannable_area_scroll),
3163 (hildon_pannable_area_timeout),
3164 (hildon_pannable_calculate_vel_factor),
3165 (hildon_pannable_area_get_property),
3166 (hildon_pannable_area_set_property),
3167 (hildon_pannable_area_class_init),
3168 (hildon_pannable_area_init),
3169 (hildon_pannable_area_scroll_to),
3170 (hildon_pannable_area_jump_to),
3171 (hildon_pannable_area_scroll_to_child),
3172 (hildon_pannable_area_jump_to_child):
3173 * src/hildon-pannable-area.h: Added the new API functions:
3174 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3175 hildon_pannable_area_scroll_to_child,
3176 hildon_pannable_area_jump_to_child
3179 * examples/Makefile.am
3180 * examples/hildon-pannable-area-example-2.c
3181 * examples/hildon-pannable-area-example-3.c: Added these two new
3182 examples in order to test and show how the new APIs work.
3184 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3186 * examples/hildon-stackable-window-example.c (new_window):
3187 * src/Makefile.am (noinst_HEADERS):
3188 * src/hildon-program.c (hildon_program_go_to_root_window):
3189 * src/hildon-program.h:
3190 * src/hildon-stackable-window-private.h:
3191 * src/hildon-stackable-window.c:
3192 * src/hildon-stackable-window.h:
3193 Create hildon-stackable-window-private.h
3194 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3196 * examples/hildon-app-menu-example.c (create_menu):
3197 * examples/hildon-hvolumebar-insensitive-example.c (main):
3198 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3199 * examples/hildon-toolbar-seekbar-example.c (main):
3200 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3201 * src/hildon-banner.c (hildon_banner_set_property):
3202 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3203 Fix compilation warnings
3205 * src/hildon-window.c:
3208 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3210 * src/hildon-stackable-window.c
3211 (hildon_stackable_window_unset_program):
3212 Calculate correctly whether to show the previous window if the
3213 last one is removed from the stack.
3214 (hildon_stackable_window_go_to_root_window):
3215 Send delete events starting from the topmost window.
3216 Stop if one of the windows is not destroyed.
3218 (hildon_stackable_window_delete_event)
3219 (hildon_stackable_window_class_init):
3220 Ignore the delete event if the window is not the topmost one.
3222 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3224 * src/hildon-pannable-area.c
3225 (hildon_pannable_area_expose_event): Fixed a problem when
3226 selecting the background color of the scrollbars.
3228 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3230 * examples/hildon-stackable-window-example.c
3231 * src/hildon-stackable-window.c
3232 * src/hildon-stackable-window.h
3233 hildon_stackable_window_go_home() renamed to
3234 hildon_stackable_window_go_to_root_window()
3235 Send delete events to windows rather than closing them with
3236 gtk_widget_destroy()
3238 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3240 * src/hildon-pannable-area.c
3241 (hildon_pannable_area_button_release_cb): Fix overshooting in
3244 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3246 * src/hildon-pannable-area.c
3247 (hildon_pannable_area_init): Initially show the scroll indicators.
3248 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3250 Add initial effect showing the widget is pannable.
3252 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-pannable-area.c
3255 (hildon_pannable_area_class_init)
3256 (hildon_pannable_area_set_property)
3257 (hildon_pannable_area_get_property)
3258 (hildon_pannable_area_button_press_cb):
3259 New 'velocity_fast_factor' property to decide which velocity is
3262 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-pannable-area.c
3265 (hildon_pannable_draw_hscroll)
3266 (hildon_pannable_draw_vscroll):
3267 Use float variables to calculate the size of the scrollbars to
3268 avoid error propagation and resizing during scrolling.
3270 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3272 * src/hildon-pannable-area.c
3273 (hildon_pannable_draw_vscroll)
3274 (hildon_pannable_draw_hscroll):
3275 Define a minimum size for the scroll bars
3277 * src/hildon-stackable-window.c
3278 (hildon_stackable_window_go_home): Fix compilation warning
3279 (get_last_window): Minor optimizations
3280 (hildon_stackable_window_class_init): Fix initialization of
3283 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-stackable-window.c: Fixed typos in doc
3287 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-pannable-area.c
3290 (hildon_pannable_area_scroll):
3291 Calculate here whether we need to scroll instead of using the booleans
3292 that tell us whether to /draw/ the scrolling bars.
3294 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-app-menu.h
3298 * src/hildon-app-menu.c
3299 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3300 multiple filter groups related code and API. Now we support only
3302 * examples/hildon-app-menu-example.c:
3304 Update to reflect API changes.
3306 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-stackable-window.c
3309 (hildon_stackable_window_class_init):
3310 Add hildon_stackable_window_realize.
3311 (hildon_stackable_window_realize):
3312 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3313 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3314 to apply theming and behavior specific to HildonStackableWindow
3317 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-note.c (hildon_note_button_release):
3320 Close information notes also when tapping on them
3322 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3324 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3325 ELASTICITY, refactor and review, fix some issues with drawing
3328 * src/hildon-pannable-area.c:
3329 (hildon_pannable_area_button_press_cb): removed the conditions to
3330 avoid clicks when overshooting. It is not required
3332 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3333 define. Refatored and reviewed the code, now we do not need to
3334 manage velocity in motion_notify.
3336 (hildon_pannable_area_motion_notify_cb): We have moved the code
3337 that controls the area_scroll to the axis_scroll function and get
3338 rid of duplicated code.
3340 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3342 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3344 (hildon_pannable_draw_vscroll),
3345 (hildon_pannable_draw_hscroll): Fixed the problems with the
3346 scrollbar drawing, now we do not use two surfaces, it is easier
3347 and saves resources.
3349 (hildon_pannable_area_get_property): Style modification.
3351 (hildon_pannable_area_class_init): Changed some default values.
3353 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-stackable-window.c: Fix some typos in the
3358 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3360 * src/hildon-dialog.c:
3361 Change indentation style
3364 (hildon_note_button_release):
3365 Use root coordinates to check if the release event happened
3368 * src/hildon-app-menu.c
3369 (hildon_app_menu_button_release):
3370 Remove unnecessary check
3372 * examples/hildon-app-menu-example.c
3374 Add cast to fix warning
3376 * src/hildon-app-menu.c
3377 (hildon_app_menu_class_init):
3378 New inner-border style property.
3379 Set all default spacings to 16
3380 (hildon_app_menu_init):
3381 Use vertical-spacing to set the space between filter buttons and
3382 regular menu buttons.
3383 Set the default container border using the inner-border value.
3385 * examples/hildon-app-menu-example.c
3387 Don't set the menu border explicitly, now we have the inner-border
3388 style property for that.
3390 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-app-menu.c (hildon_app_menu_init):
3393 Make the window modal
3395 * src/hildon-note.c (hildon_note_map)
3396 * src/hildon-app-menu.c (hildon_app_menu_map):
3397 Destroy the grab window if we're unable to grab the pointer
3399 * src/hildon-app-menu-private.h
3400 * src/hildon-app-menu.c
3401 (hildon_app_menu_init, hildon_app_menu_finalize)
3402 (hildon_app_menu_map, hildon_app_menu_unmap)
3403 (hildon_app_menu_button_release)
3404 (grab_transfer_window_get):
3405 Bring back the grab window
3406 (hildon_app_menu_realize):
3407 Decorate the window, set WM hint for Matchbox
3409 * src/hildon-note.c (hildon_note_realize):
3410 * src/hildon-banner.c (hildon_banner_realize):
3411 Add WM hints for Matchbox
3413 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-app-menu-private.h
3416 * src/hildon-app-menu.c
3417 (hildon_app_menu_init, hildon_app_menu_finalize)
3418 (hildon_app_menu_map, hildon_app_menu_unmap)
3419 (hildon_app_menu_button_release):
3420 Remove the grab window, it's not needed anymore
3422 * src/hildon-program.c
3423 Fixed typo in documentation
3425 * src/hildon-app-menu.h
3426 * src/hildon-app-menu.c
3427 * examples/hildon-app-menu-example.c
3428 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3430 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3433 Added new transfer_window and close_if_pressed_outside private
3435 (hildon_note_rebuild):
3436 Don't add a cancel button to the information note. It will be
3437 closed when tapping outside
3438 Remove the comment about the OK button in the documentation
3439 (hildon_note_realize):
3440 Set the notification type hint
3441 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3442 Grab/ungrab pointer and keyboard if the note has to be closed when
3444 (hildon_note_button_release):
3445 Close the note when tapping outside (if applicable)
3447 * src/hildon-app-menu.c
3448 Grab/ungrab pointer and keyboard on map/unmap
3449 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3450 Close the menu on button release, not button press
3452 * src/hildon-banner.c
3453 (hildon_banner_set_property)
3454 (hildon_banner_check_position):
3455 Make the banner use the full width of the screen
3456 (hildon_banner_show_information)
3457 (hildon_banner_show_information_with_markup):
3458 Don't display an icon by default
3460 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3462 Added fading scrollbars and adapted all the overshooting code to
3463 horizontal scrolling. We have also fixed bugs with overshooting
3464 and current fading implementation.
3466 * src/hildon-pannable-area.c
3467 (hildon_pannable_area_scroll_indicator_fade): Time out function
3468 used to change the transparency of the scrollbars.
3470 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3471 control and fixed a problem with fading, we now remove the fade
3472 timeout before adding a new one.
3474 (hildon_pannable_axis_scroll):
3475 (hildon_pannable_area_scroll):
3476 (hildon_pannable_area_timeout): Added this functions so we can use
3477 the scroll code both for vertical and horizontal.
3479 (hildon_pannable_area_motion_notify_cb):
3480 (hildon_pannable_area_button_release_cb): Added the horizontal
3481 scrolling control, fixed a problem with the overshooting timeout.
3483 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3484 painting of the scrolls.
3486 (hildon_pannable_draw_vscroll):
3487 (hildon_pannable_draw_hscroll):
3488 (hildon_pannable_area_expose_event):
3489 Draw both scrollbars and rectangles in the overshooting area.
3491 (hildon_pannable_area_get_property):
3492 (hildon_pannable_area_set_property):
3493 Modified the overshoot property to overshoot_max
3495 (hildon_pannable_area_map):
3496 Replaced the comments symbols.
3498 (hildon_pannable_area_size_allocate):
3499 (hildon_pannable_area_class_init):
3500 (hildon_pannable_area_init): Added horizontal scroll, fading
3501 effect properties, fixed a problem when overshooting in the bottom
3504 * examples/hildon-pannable-area-example.c:
3505 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3506 looks better in the example.
3508 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-window.c
3511 * src/hildon-window.h
3512 (hildon_window_class_init)
3513 (hildon_window_unset_program)
3514 (hildon_window_unset_program_real):
3515 Make unset_program a virtual function
3517 * src/hildon-stackable-window.c
3518 * src/hildon-stackable-window.h
3519 Added hildon_stackable_window_go_home()
3521 * examples/Makefile.am
3522 * examples/hildon-stackable-window-example.c
3523 HildonStackableWindow example
3525 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3527 * hildon-pannable-area.c: Added the overshoot property and removed
3528 the OVERSHOOT define. Fixed an indent style error.
3529 (hildon_pannable_area_motion_notify_cb):
3530 (hildon_pannable_area_get_property):
3531 (hildon_pannable_area_set_property): Add overshoot property.
3533 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3536 (hildon_pannable_area_class_init): Installed the new property.
3538 * hildon-pannable-area-example.c: Added a sawtooth function, this
3539 way it is easier to check the movement in the pannable.
3540 (get_sawtooth_label): Added this function.
3541 (main): Now we get the labels from the new get_sawtooth_label
3544 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-app-menu.h
3547 * src/hildon-app-menu.c
3548 Renamed API variables for consistency
3550 (hildon_app_menu_popup): Use also the default window size to
3551 decide where to place the menu
3553 (hildon_app_menu_init, hildon_app_menu_class_init): New
3554 external-border style property
3556 2008-05-26 Michael Natterer <mitch@imendio.com>
3558 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3559 widget_class->tap_and_hold_setup signal slot doesn't exist any
3560 longer, stop overriding it.
3562 (hildon_time_editor_init): g_signal_connect() to the
3563 tap-and-hold-setup signal instead.
3565 (hildon_time_editor_entry_keypress): add cast to fix warning.
3567 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3569 * doc/hildon-docs.sgml
3571 * examples/Makefile.am
3572 * examples/hildon-app-menu-example.c
3574 * src/hildon-app-menu-private.h
3575 * src/hildon-app-menu.c
3576 * src/hildon-app-menu.h
3578 New HildonAppMenu widget
3580 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3582 Rearranged the inheritance of the pannable area, now it inherits
3583 from GtkBin. This will allow us to control the event_window and
3584 the allocation process of the widget, required for some effects.
3586 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3587 GtkBin structures. * src/hildon-pannable-area.c: Added the
3588 event_window variable.
3589 (hildon_pannable_area_button_press_cb):
3590 (hildon_pannable_area_button_release_cb):
3591 (hildon_pannable_area_motion_notify_cb):
3592 Changed the signature of the method, now we override the event
3593 callback instead of connecting to the signal.
3595 (hildon_pannable_area_realize):
3596 (hildon_pannable_area_unrealize):
3597 (hildon_pannable_area_map):
3598 (hildon_pannable_area_unmap):
3599 (hildon_pannable_area_size_allocate):
3600 Added functions to control the widget construction. We add a
3601 INPUT_ONLY window and we put it over the widgets inside the
3602 container, this event_window handles the events.
3604 (hildon_pannable_area_class_init):
3605 Replaced the signal connections with overrides of the event
3608 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3610 Bouncing effect added when touching the borders, you can change
3611 the elasticity of the border changing the ELASTICITY define.
3613 * src/hildon-pannable-area.c: Added ELASTICITY define.
3614 (hildon_pannable_area_timeout): Added inverse velocity when
3615 touching the border of the child widget, that causes a bounce.
3617 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3619 Improved performance, we now do not go to the X server in order to
3620 get the list of window children. Apparently the effect is the
3621 same, we have to be careful and check if this breaks something in
3624 * src/hildon-pannable-area.c:
3625 (get_ordered_children): Removed this function.
3626 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3627 the children windows function with gdk_window_get_children.
3629 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3631 * src/hildon-pannable-area.c:
3632 (hildon_pannable_area_dispose): Fixed a crash when closing the
3633 window and kinetics is activated.
3635 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3637 * src/hildon-pannable-area.h
3638 * src/hildon-pannable-area.c
3639 Changed indentation style to meet the one used in Hildon
3641 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3643 Reviewed the interaction of the AUTO mode, now we use the time
3644 attribute of the events and calculate the velocity in the motion,
3645 doing a gimp like calculation. The velocity is calculated in each
3646 motion event using the last velocity and the current one, the
3647 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3649 * src/hildon-pannable-area.c: Replaced the time based algorithm
3651 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3652 timeout for the AUTO mode when we are still moving the cursor. We
3653 added also the velocity calculation in this function.
3654 (hildon_pannable_area_button_release_cb): launch the timeout in
3655 case we are in AUTO mode. There are still some constants here that
3656 come from the old implementation that should be reviewed and
3659 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3661 * doc/hildon-docs.sgml
3664 * src/hildon-stackable-window.c
3665 * src/hildon-stackable-window.h
3667 New HildonStackableWindow widget
3669 * examples/hildon-dialog-example.c
3670 * examples/hildon-pannable-area-example.c
3673 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3675 * src/hildon-dialog.c
3676 (hildon_dialog_new_with_buttons): New constructor.
3678 * examples/hildon-dialog-example.c
3679 (main): Update the example to use the new
3680 hildon_dialog_new_with_buttons().
3682 * examples/hildon-pannable-area-example.c
3683 (main): Update example.
3685 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3687 * doc/hildon-docs.sgml
3689 Added HildonPannableArea to the documentation.
3691 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3693 * doc/visual_index.xml
3694 Fix reference to HildonLoginDialog in documentation
3696 * doc/hildon-docs.sgml
3698 * examples/Makefile.am
3699 * examples/hildon-dialog-example.c
3701 * src/hildon-dialog.c
3702 * src/hildon-dialog.h
3704 New HildonDialog widget.
3706 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3708 * src/hildon-pannable-area.c
3709 Merge latest changes (r4318, r4342) from libmokoui trunk
3711 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3713 * examples/Makefile.am
3714 * examples/hildon-pannable-area-example.c
3716 * src/hildon-pannable-area.c
3717 * src/hildon-pannable-area.h
3719 New HildonPannableArea widget.
3721 2008-04-15 18:05:19 <timj@imendio.com>
3723 * src/hildon-banner.c: revert the recent change, that introduced
3724 gtk_window_present() calls. this reopens:
3725 Bug 78481 - [freetest] information banners are hidden under browser menu
3726 But resolves another variant of:
3727 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3729 2008-04-15 13:21:13 <timj@imendio.com>
3731 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3732 recreated its layout, spotted by Kris. this fixes all remaining
3733 artefacts and stability issues with the banner code. in particular:
3734 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3736 2008-04-14 16:52:59 <timj@imendio.com>
3738 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3739 operating on unrealized widgets, fixes:
3740 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3742 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3744 2008-04-09 Kristian Rietveld <kris@imendio.com>
3746 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3747 makes banner disappear.
3748 Fixes: NB#79182: info banner flickering with certain message lengts.
3750 * src/hildon-banner.c (hildon_banner_constructor),
3751 (hildon_banner_init), (hildon_banner_set_text),
3752 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3753 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3754 FALSE, reset size requests of label and banner,
3755 (force_to_wrap_truncated): when the text is too wide, always enforce
3756 the maximum possible width instead of recalculating it from the
3757 layout; enforce the maximum banner height of 3 lines,
3758 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3759 nicer wrapping and no truncated chars if space gets tight.
3761 * src/hildon-banner-private.h: add has_been_wrapped and
3762 has_been_truncated fields.
3764 2008-04-07 Sven Herzberg <sven@imendio.com>
3766 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3767 local values in hildon_date_editor_size_allocate
3769 * src/hildon-date-editor.c: moved the real allocation code into the
3772 2008-04-07 Sven Herzberg <sven@imendio.com>
3774 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3775 local values in hildon_date_editor_size_allocate
3777 * src/hildon-date-editor.c: merged the two if() branches together
3779 2008-04-07 Sven Herzberg <sven@imendio.com>
3781 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3782 local values in hildon_date_editor_size_allocate
3784 * src/hildon-date-editor.c: changed the arguments of the if()
3787 2008-04-07 Sven Herzberg <sven@imendio.com>
3789 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3790 local values in hildon_date_editor_size_allocate
3792 * src/hildon-date-editor.c: split the calculation of the allocation
3793 from the real allocation
3795 2008-03-27 Michael Natterer <mitch@imendio.com>
3797 Fixes: NB#81696: The passcode is not overwritten even after
3800 * src/hildon-code-dialog.c
3801 (hildon_code_dialog_button_clicked)
3802 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3803 because that doesn't overwrite selected text. Instead, emit the
3804 "commit" signal on the entry's im_context so the entry's normal
3805 insert logic is triggered. Set the cursor to the end of the entry
3806 after each insert operation so that we *only* insert in the middle
3807 of the text if something was selected.
3809 2008-03-27 Michael Natterer <mitch@imendio.com>
3811 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3812 selector cannot be opened
3814 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3815 when the popup color selector is created. Please connect to this
3816 signal in order to set the dialog's help ID.
3818 2008-03-25 Sven Herzberg <sven@imendio.com>
3820 Fixes: MB#1212: Hide info banners (infoprints) on click
3822 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3823 extracted the close event simulation into an extra function
3824 (hildon_banner_button_press_event): simulate a close event and destroy
3825 the widget if the event wasn't handled
3826 (hildon_banner_class_init): added the button_press_event handler
3827 (hildon_banner_init): added button-press events to the widget
3829 2008-03-25 Sven Herzberg <sven@imendio.com>
3831 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3832 Patch from: Mohammad Anwari <mdamt@maemo.org>
3834 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3835 instead of the right in RTL mode
3836 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3837 breadcrumb button list in RTL mode
3838 * src/hildon-caption.c: mirror the appearance of the caption widget in
3840 * src/hildon-date-editor.c: mirror appearance of the date editor in
3842 * src/hildon-time-editor.c: mirror appearance of the time editor in
3844 * src/hildon-window.c: fix the position of the popup in RTL mode
3846 2008-03-25 Sven Herzberg <sven@imendio.com>
3848 Amendment to the fix of NB#22072. Fix compilation.
3850 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3852 2008-03-19 Sven Herzberg <sven@imendio.com>
3854 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3857 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3858 timeout id properly when the timeout will disappear this leaves no
3859 artifacts around in the destroy(); there will only be the timeout
3860 created by hildon_banner_ensure_timeout() and adding a new timeout
3861 will also work if the timeout gets removed because the timeout_handler
3864 2008-03-19 Michael Natterer <mitch@imendio.com>
3866 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3868 * src/hildon-volumebar.c
3869 * src/hildon-vvolumebar.c
3870 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3871 the widget becomes focussable at all.
3873 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3874 set the focus to wither the mute button or the volumebar.
3876 Remove own "can-focus" property and instead listen to
3877 notify::can-focus in order to update the widget's state.
3879 Implement GtkWidget::focus() and make sure we can also *leave* the
3880 widget, not only enter it, depending on volumebar orientation and
3881 requested focus direction.
3883 Clean up set_mute() to cooperate nicely with all the above.
3885 2008-03-04 Michael Natterer <mitch@imendio.com>
3887 Fixes: NB#78481: information banners are hidden under browser menu
3889 * src/hildon-banner.c: call gtk_window_present() on the banners so
3890 they are risen if they are already visible.
3892 2008-03-03 Sven Herzberg <sven@imendio.com>
3894 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3896 * examples/hildon-window-menu-example.c: (main): extended the window
3897 menu example to serve as a testcase for automatically added
3898 accelerator groups, too
3899 * src/hildon-window.c: (hildon_window_add_accel_group),
3900 (hildon_window_set_menu): added patch by Tommi Komulainen
3902 2008-03-03 Sven Herzberg <sven@imendio.com>
3904 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3906 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3907 knowledge about the border allocators used within GTK+
3909 2008-02-26 Sven Herzberg <sven@imendio.com>
3911 Fixes: MB#2981: Build with asserts broken
3913 * src/hildon-date-editor.c,
3914 * src/hildon-number-editor.c,
3915 * src/hildon-time-editor.c,
3916 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3917 the proper GType instance check
3919 2008-02-25 Sven Herzberg <sven@imendio.com>
3921 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3923 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3924 * examples/hildon-window-menu-example.c: (main): explicitly show
3926 * src/hildon-window.c:
3927 (hildon_window_set_main_menu): moved most of the code from set_menu()
3928 to this place; skipped the call to gtk_widget_show_all(); also didn't
3929 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3930 (hildon_window_set_menu): removed most of the code, just keep the
3931 questionable gtk_widget_show_all()
3932 * src/hildon-window.h: added the new function and deprecate the old
3935 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3941 * debian/changelog: Updating.
3943 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3946 * pkgconfig/Makefile.am:
3947 * pkgconfig/hildon.pc.in:
3950 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3951 use newly created API_MAJOR_VERSION.
3953 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3959 * debian/changelog: Updating.
3961 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3963 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3965 Add outer_border style property, we use it but don't define it (!).
3969 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3971 * examples/hildon-bread-crumb-trail-example.c (main):
3975 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3977 Fix logic for the bread crumb trail node removal.
3981 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3987 * debian/changelog: Updating.
3989 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3991 Patch by Alejandro to get/set passwords dialogs accesibility.
3993 * hildon-1/src/hildon-get-password-dialog.c:
3994 * hildon-1/src/hildon-set-password-dialog.c:
3995 Set atk_set_name to the passwd entries in order to allow
3996 accessibility by name on this entries.
3998 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4003 * debian/control: Updating gtk dep.
4005 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4007 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4008 USE_MAEMO_GTK is enabled.
4010 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4012 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4013 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4015 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4021 * debian/changelog: Updating.
4023 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4025 * examples/Makefile.am:
4026 * examples/hildon-logical-color-example.c:
4027 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4028 applied + adding a test case. Fixes: NB#71660.
4030 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4032 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4033 to be visible, fixes warning on map for windows without toolbars.
4035 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4037 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4038 2.11.0, add a check for that besides the MAEMO_GTK check.
4040 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4046 * debian/changelog: Updating.
4048 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4050 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4051 visibility. Fixes: NB#70842 and MB#615.
4053 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4055 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4056 set the separator as no-show-all so it doesn't unintentionally appear when
4057 someone does a show_all.
4059 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4061 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4062 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4063 toplevel item. Fixes: NB#62031
4065 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4067 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4068 fix the name of the function in the docs.
4070 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4076 * debian/changelog: Updating.
4078 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4080 * examples/hildon-banner-long-example.c: Adding a test-case for long
4083 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4085 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4087 * src/hildon-color-chooser-dialog.c:
4088 * src/hildon-color-chooser.c:
4089 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4090 memory leaks in font selector and color selector. Fixes: NB#70499 and
4093 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4095 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4097 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4099 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4100 little bit bigger. Fixes: #NB63694.
4102 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4108 * debian/changelog: Updating.
4110 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * doc/hildon-docs.sgml:
4114 * doc/images/bread-crumb-trail.png:
4115 * doc/images/calendar-popup.png:
4116 * doc/images/caption.png:
4117 * doc/images/code-dialog.png:
4118 * doc/images/color-button.png:
4119 * doc/images/color-chooser-dialog.png:
4120 * doc/images/color-chooser.png:
4121 * doc/images/controlbar.png:
4122 * doc/images/date-editor.png:
4123 * doc/images/font-selection-dialog.png:
4124 * doc/images/get-password-dialog.png:
4125 * doc/images/hvolumebar.png:
4126 * doc/images/login-dialog.png:
4127 * doc/images/note.png:
4128 * doc/images/number-editor.png:
4129 * doc/images/range-editor.png:
4130 * doc/images/seekbar.png:
4131 * doc/images/set-password-dialog.png:
4132 * doc/images/sort-dialog.png:
4133 * doc/images/time-editor.png:
4134 * doc/images/time-picker.png:
4135 * doc/images/vvolumebar.png:
4136 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4137 Adding the bread-crumb-trial and helpers to the documentation.
4139 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4141 * examples/hildon-find-toolbar-example.c:
4142 * src/hildon-find-toolbar.c:
4143 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4144 actually continue firing the other handlers if connected. Adding a new
4146 hildon_find_toolbar_get_last_index that gets the index of the most
4147 recently added (last) item. Fixes: NB#52301.
4149 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4151 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4152 behaviour. Fixes: NB#68610.
4154 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4156 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4159 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4161 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4162 when realizing the banner. Should make the infonbanner effect a bit more
4165 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * src/hildon-volumebar.c:
4168 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4169 hildon_volumebar_set_range_insensitive_message and
4170 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4172 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * src/hildon-window.c: Fixing the border freeing on destroy.
4176 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4178 * src/hildon-code-dialog-private.h:
4179 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4180 kw keyboard support in HildonCodeDialog.
4182 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4188 * debian/changelog: Updating.
4190 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4192 * src/hildon-date-editor.c:
4193 * src/hildon-number-editor.c:
4194 * src/hildon-private.c:
4195 * src/hildon-private.h:
4196 * src/hildon-time-editor.c:
4197 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4198 handling in subclassed composite widgets. Fixes: NB#66628.
4200 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4202 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4203 from destroy_ callback as it introduces problems in async dbus signal
4204 handlers. Fixes NB#66673.
4206 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4208 * examples/hildon-hvolumebar-example.c:
4209 * src/hildon-volumebar.c: Improving the focus handling in the
4210 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4211 set_property accessor so that "mute" property can be actually set. I'm
4212 scared that nobody noticed it's totally broken.
4214 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4216 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4219 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4221 * src/hildon-calendar.c:
4222 * src/hildon-number-editor.c:
4223 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4224 matches the spec of 6 chars per second. Fixes: NB#60489.
4226 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4229 gtk_style_lookup_color sometime returns FALSE even though color was
4230 found and values were filled properly. Weird. Removing the warning for the
4233 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4235 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4236 expand vertically. Adding some extra space to the find toolbar buttons to
4237 make them thumbable. Fixes NB#66060.
4239 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4241 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4242 popup with "Ok" and "Cancel". Fixes NB#59299.
4244 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4246 * src/hildon-calendar.c: Process all window updates before executing next
4247 timeout. Fixes: NB#54146.
4249 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4255 * debian/changelog: Updating.
4257 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4259 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4260 the client event and ignore it, since we use the delete event to close
4263 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4265 * src/hildon-helper.c: Remove the bogus warning about color not being
4266 found. Fixes NB#58352.
4268 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * examples/Makefile.am:
4271 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4272 HildonSeekbar widget inside a toolbar.
4274 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4276 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4277 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4278 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4279 don't want to be closed by non-temporary windows on map.
4281 Also use G_DEFINE_TYPE instead of manually typed code.
4283 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4290 * debian/rules: Updating.
4292 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4294 * examples/Makefile.am:
4295 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4296 bug NB#61128. Strangely it works.
4298 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4300 * src/hildon-date-editor.c: When the date editor entry has been changed
4301 but the numbers of characters < max, turn off the skip validation flag.
4302 Prevents a situation when we enter first a valid year and later re-write
4303 it with an invalid one. Fixes NB#60154.
4305 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4307 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4308 code dialog. Fixes NB#64355.
4310 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4312 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4313 switching the page. Fixes NB#49374.
4315 * examples/Makefile.am:
4316 * examples/hildon-wizard-dialog-example.c: Adding an example for
4317 HildonWizardDialog that shows how to handle manual sensitivity setting on
4320 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4324 * src/hildon-version.h.in:
4325 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4327 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4329 * src/hildon-volumebar.c: Updating the docs.
4331 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4337 * debian/changelog: Updating.
4339 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4341 * src/hildon-find-toolbar.c:
4342 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4343 selected item: hildon_find_toolbar_set_active,
4344 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4345 hildon_find_toolbar_get_active_iter . They correspond to respective
4346 GtkComboBox functions.
4348 * examples/Makefile.am:
4349 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4352 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4354 * examples/Makefile.am:
4355 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4358 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4359 when font size > 32 and we pack a focusable widget inside. Actually using
4360 the default response would work too, but since we don't show default
4361 response state in any way (no theming) it would not be visible to the
4362 user. Fixes NB#63430.
4364 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4366 * src/hildon-date-editor.c: Adding the missing variable setter in the
4367 set_property handler. Fixes NB#54182.
4369 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4371 * src/hildon-window.h: Changing the long key press time from 1500ms to
4372 800ms as requested in NB#63700. I have a bad feeling about this, let's
4373 see... Fixes NB#63700.
4375 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4377 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4378 hildon_time_picker_map, hildon_time_picker_realize,
4379 hildon_time_picker_style_set): Split the contents of map to more
4380 appropriate functions; set window decorations on realize and update
4381 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4383 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4388 * debian/changelog: Updating.
4390 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4392 * src/Makefile.am: fixed installation of the header files
4394 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4400 * debian/changelog: Updating.
4402 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4404 * configure.ac: Removing some remaining of --enable-xan.
4406 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4408 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4409 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4411 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4412 2.10.12-osso6 because the move-focus signal needs to be available in
4415 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * examples/Makefile.am:
4418 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4419 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4420 fine. Prolly NB#61128 is fixed now.
4422 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4424 * src/hildon-volumebar.c:
4425 * src/hildon-volumebar.h: Adding the
4426 hildon_volumebar_set_range_insensitive_message and
4427 hildon_volumebar_set_range_insensitive_messagef functions to set
4428 insensitive message on the slider of the volumebar. Fixes NB#61129.
4430 * examples/Makefile.am:
4431 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4432 test the new insensitive messsage functionality on HildonVolumebar.
4434 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4436 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4439 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4441 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4442 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4443 button on after clearing the trail.
4445 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4447 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4449 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4451 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4452 by splitting the installed headers in generated and non-generated groups. Use
4453 only the non-generated headers to create the hildon-enum-types.h file.
4455 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4457 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4459 * src/hildon-window.c: Hide the window before performing the destroy.
4460 Should make the app closing a little tiny bit more snappy.
4462 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4464 * src/hildon-seekbar.c: add gtkrange.h header
4465 * src/hildon-caption.c: remove unused variable
4467 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4469 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4472 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4478 * debian/changelog: Updating.
4480 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4482 * src/hildon-window.c (hildon_window_window_state_event,
4483 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4484 escape timeout on focus-out-event rather than notify::is-topmost; the
4485 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4487 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4489 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4490 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4492 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4494 * src/hildon-window: actually, you need to use the macro always, there's
4495 no private pointer in the instance structure. We should have cleaned this up
4496 when we had the chance...
4498 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4500 * src/hildon-window.c: do not get the private date from HildonWindow before
4501 it passes the g_return_if_fail check. Once it's passed the test, there's no
4502 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4503 if you are only going to access the data once. Whitespace cleanups.
4505 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4507 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4508 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4510 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4516 * debian/changelog: Updating.
4518 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4520 * src/hildon-window.c: When destroying the window, remove (if exists) the
4521 escape timeout handler. Fixes #NB59276.
4523 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4525 * src/hildon-banner.c: When realizing the widget, set the window
4526 transiency. Setting the transiency in the gobject constructor is not
4527 good, as the widget is not realized at that point. Fixes: #NB56624.
4529 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4531 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4532 Add padding for future expansions.
4534 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4536 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4537 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4538 will fake an activation on the previous to the last item of the trail, so
4539 the effect can be overrided by the developer as usual.
4540 Also change the callback for the back button to do the same thing, so its
4541 effect can be overrided too. Fixes: NB#58982
4543 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4545 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4546 HildonCaption. Fixes NB#52379.
4548 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4550 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4551 the internal state of the trail after the user has had the chance of executing
4552 his handler for the signal. Specifically, it may happen that the activated button
4553 is removed and the user still lets the default handler run. This would segfault
4556 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4558 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4559 scrollbar to the preview dialog. Fixes NB#54147.
4561 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4563 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4564 max/min year properties can be altered, so the client can modify it
4565 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4567 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4569 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4570 hildonlike by default. Fixing a problem with disappearing arrows when
4571 scrolling through months and years. Fixes NB#54127.
4573 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4575 * examples/hildon-date-editor-example.c: Adding error callback to the date
4578 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4584 * configure.ac: Updating.
4586 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4588 * configure.ac: Adding a special '--enable-xan' configure option that
4589 turns off the -Werror compilation setting. Usefull for development.
4591 * src/hildon-calendar.c:
4592 * src/hildon-number-editor.c:
4593 * src/hildon-time-picker.c: Adding the 5* multiplier to
4596 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4598 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4599 instead of g_object_ref + gtk_object_sink.
4601 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4607 * debian/changelog: Updating.
4609 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4611 * src/hildon-color-chooser-dialog.c:
4612 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4613 straight from Tommi labs.
4615 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4617 * examples/hildon-finger-example.c: Correcting the header file path.
4619 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4620 the changed signal. Fixes a small memory leak.
4622 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4626 * src/hildon-banner.c: Importing several usefull fixes from the
4627 ubuntu-mobile branch.
4629 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4631 * examples/Makefile.am:
4632 * examples/hildon-finger-example.c: Adding a finger-checking code
4635 * src/hildon-font-selection-dialog.c: Do not allocate the color
4636 structure using the g_new. Fixes NB#54061.
4638 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4640 * src/hildon-helper.c: Correcting tabs in file.
4642 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4644 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4645 control the visibility of the children.
4647 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4649 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4655 * debian/changelog: Updating.
4657 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4659 * src/hildon-bread-crumb-trail.c:
4660 (hildon_bread_crumb_trail_size_allocate):
4662 Make the back button always a square.
4664 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4666 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4667 from the .c file as it's a private file.
4669 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4671 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4672 uses slightly bigger height.
4674 * src/hildon-font-selection-dialog.c: Adding some checks before
4675 freeing memory in the font selection dialog.
4677 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4679 * src/hildon-font-selection-dialog.c: Adding a small check when
4682 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4683 buttons sensitivity on page switching.
4685 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4687 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4688 internal details of adding a bread crumb to the trail.
4690 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4696 * debian/changelog: Updating.
4698 * src/hildon-bread-crumb-trail.h:
4699 * src/hildon-bread-crumb.h: Changing the API guard to
4700 HILDON_ENABLE_UNSTABLE_API.
4702 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4710 * src/hildon-helper.h: Updating.
4712 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4720 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4724 * src/hildon-helper.h: Small fix to make the package actually compile.
4726 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4728 * src/hildon-bread-crumb-trail.h:
4729 * src/hildon-bread-crumb.h:
4731 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4732 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4734 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4736 * examples/hildon-bread-crumb-trail-example.c:
4738 * src/hildon-bread-crumb-trail.c:
4739 * src/hildon-bread-crumb-trail.h:
4740 * src/hildon-bread-crumb.c:
4741 * src/hildon-bread-crumb.h:
4742 * src/hildon-marshalers.list:
4743 * src/hildon-bread-crumb-widget.c:
4744 * src/hildon-bread-crumb-widget.h:
4746 Slight change in the widget design. The bread crumb trail API is
4747 unchanged, but HildonBreadCrumb is now an interface. A *private*
4748 implementation, hildon-bread-crumb-widget, is provided and used
4749 internally by the trail for the push_text/push_icon functions.
4751 The generic push API is still available, so anyone can implement
4752 and use its own bread crumb widget.
4754 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4756 * debian/rules: Fixing the shlibs.
4758 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4760 * src/hildon-banner.c: Fixing a problem with timed banners having
4761 their parrent destroyed before they are.
4763 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4765 * src/hildon-bread-crumb.c:
4766 * src/hildon-bread-crumb.h:
4768 Make the get_natural_size function a vfunc.
4770 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4772 * src/hildon-bread-crumb.c:
4773 * src/hildon-bread-crumb-trail.c:
4777 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4784 * debian/changelog: Updating for release.
4786 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4788 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4789 don't leak the pango layout.
4791 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4794 * examples/hildon-bread-crumb-trail-example.c:
4798 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4800 * debian/changelog: Removing the bug-fixed entries that were actually
4801 resolved as WONTFIX.
4803 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4806 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4808 * src/hildon-bread-crumb-trail.c:
4809 * src/hildon-bread-crumb-trail.h:
4810 * src/hildon-bread-crumb.c:
4811 * src/hildon-bread-crumb.h:
4815 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4817 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4818 until it's passed the type check.
4820 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4822 * examples/hildon-bread-crumb-trail-example.c
4826 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4828 * examples/Makefile.am
4829 * examples/hildon-bread-crumb-trail-example.c
4831 * src/hildon-bread-crumb-trail.c
4832 * src/hildon-bread-crumb-trail.h
4833 * src/hildon-bread-crumb.c
4834 * src/hildon-bread-crumb.h
4836 New HildonBreadCrumbTrail widget.
4838 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4840 * src/hildon-range-editor.c (hildon_range_editor_init),
4841 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4842 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4843 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4844 hildon_time_editor_class_init, hildon_time_editor_init),
4845 src/hildon-get-password-dialog.c (invalid_input,
4846 hildon_get_password_set_property, hildon_get_password_get_property,
4847 create_contents, hildon_get_password_dialog_set_max_characters),
4848 src/hildon-set-password-dialog.c (create_contents),
4849 src/hildon-date-editor.c (hildon_date_editor_init),
4850 src/hildon-login-dialog.c (hildon_login_dialog_init),
4851 src/hildon-number-editor.c (hildon_number_editor_init),
4852 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4853 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4854 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4855 configure option and adding the respective checks in the code.
4856 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4857 hildon_calendar_drag_data_received): fixed some build warnings.
4859 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4861 * debian/changelog: A 1.0.0 release notes.