1 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-window.c: (hildon_window_realize),
4 (hildon_window_notify), (-hildon_window_update_title): Do not set
5 the application name in the window title.
7 Fixes: NB#89754 (Applications shouldn't display their names in the
10 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
12 * src/hildon-note-private.h:
13 * src/hildon-note.c: (hildon_note_set_property),
14 (hildon_note_get_property), (hildon_note_class_init),
15 (hildon_note_init), (hildon_note_finalize),
16 (hildon_note_new_confirmation_with_icon_name),
17 (hildon_note_new_information_with_icon_name):
19 No need to mark as deprecated the actual code. Revert
20 to avoid missing symbols in widgets using deprecated API.
22 2008-11-20 Alberto Garcia <agarcia@igalia.com>
24 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
26 * src/hildon-volumebar.h
27 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
28 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
31 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
32 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
34 * examples/Makefile.am:
35 Deprecate hildon-insensitive-example
37 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
39 2008-11-20 Alberto Garcia <agarcia@igalia.com>
41 * examples/hildon-pannable-area-buttons-scroll-example.c:
42 Make all buttons finger height
44 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
46 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
48 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
49 update the day model only if it is really required, and to avoid the
50 full-reconstruction aproach. Now it only add or remove the required days.
52 The purpose of this is avoid superfluous HildonTouchSelector::changed
55 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
56 with strange parameters)
58 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
60 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
62 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
63 the WINDOW_TYPE property.
65 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
67 2008-11-19 Alberto Garcia <agarcia@igalia.com>
70 Fix dependency to allow parallel compilation with make -jX
72 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
74 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
75 color frame and some minor tweaks to make it more consistent with
78 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
79 highlighted but not visible)
81 2008-11-14 Alejandro G. Castro <alex@igalia.com>
83 * examples/Makefile.am: Fixed typo in the Makefile.am.
85 2008-11-14 Alejandro G. Castro <alex@igalia.com>
87 Reviewed the use of MAEMO_GTK define, now we add the define in the
88 compilation line, and we also add it to the pc file.
90 * configure.ac: Added MAEMO_GTK define to the compilation command
91 and removed it from the config.h.
93 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
94 do not have to take care about this define if the library was
98 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
100 2008-11-14 Alejandro G. Castro <alex@igalia.com>
102 * examples/Makefile.am,
103 * examples/hildon-pannable-area-buttons-scroll-example.c,
104 * examples/hildon-pannable-area-gesture-signals-example.c,
105 * examples/hildon-pannable-area-scroll-jump-example.c,
106 * examples/hildon-pannable-area-tree-view-example.c:
107 Renamed the pannable area examples, now they have more meaningful
110 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
112 * src/hildon-touch-selector.c:
113 (hildon_touch_selector_set_column_selection_mode): Used of
114 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
115 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
116 to avoid re-seting the same selection mode.
118 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
119 breaks HildonPickerDialog)
121 2008-11-13 Alejandro G. Castro <alex@igalia.com>
123 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
124 conditional in the Makefile.am
126 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
128 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
129 Remove unused methods.
131 2008-11-12 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-button.c (hildon_button_init):
134 Make button images center-aligned by default
136 2008-11-12 Alejandro G. Castro <alex@igalia.com>
139 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
140 activated, we have to think about how to deal with both defines
141 MAEMO_GTK and MAEMO_CHANGES.
143 2008-11-12 Alberto Garcia <agarcia@igalia.com>
145 * examples/hildon-app-menu-example.c (create_menu): Make all
148 2008-11-11 Alejandro G. Castro <alex@igalia.com>
150 Fixed the compilation without maemo gtk adding ifdefs with
151 MAEMO_GTK define to the code, we have to check this version more
154 * examples/Makefile.am: Added control to avoid some examples that
155 just make sense with maemo gtk.
158 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
159 hildon modes with the define.
161 * examples/hildon-edit-toolbar-example.c,
162 (create_icon_view): Create the icon view without hildon-gtk
163 helpers if we are not using maemo gtk.
165 * src/hildon-touch-selector.c,
166 (_create_new_column): Create the treeview without hildon-gtk
167 helpers if we are not using maemo gtk.
169 2008-11-11 Alejandro G. Castro <alex@igalia.com>
171 * src/hildon-pnnable-area.c,
172 (hildon_pannable_area_dispose),
173 (hildon_pannable_area_button_press_cb),
174 (hildon_pannable_area_child_mapped),
175 (hildon_pannable_area_add),
176 (hildon_pannable_area_remove): Added code to control the position
177 of the event_window when adding and removing children from the
178 pannable. We have to raise the event window when the child is
181 Fixes: NB#89811 (Not able to select first image thumbnail in multi
182 selection mode using custom widget inside pannable)
184 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
186 * configure.ac: post release version bump
187 * debian/changelog: version bump
189 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
194 * configure.ac: bump version
195 * debian/changelog: updates
197 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
199 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
200 search mode, in order to avoid lose the focus on the treeview when
201 a hw key (like enter) is pressed.
203 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
204 in HildonDateSelector dialog)
206 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
208 * debian/rules: Added --enable-maintainer-mode
209 * Makefile.am: Added ACLOCAL_AMFLAGS
211 This allows to properly regenerate the Makefiles if you modify the
212 configure.ac or any Makefile.am.
214 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
216 * examples/hildon-app-menu-example.c: (main): Do not set RC style
217 properties, not needed at all.
219 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
221 * src/hildon-note-private.h: Add strings for the icon and stock_icon
223 * src/hildon-note.c: (hildon_note_set_property),
224 (hildon_note_get_property), (hildon_note_class_init),
225 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
226 (hildon_note_new_confirmation_add_buttons): Remove icons.
227 (hildon_note_new_confirmation_with_icon_name): Deprecate.
228 (hildon_note_new_information_with_icon_name): Deprecate.
229 (hildon_note_new_confirmation): Act directly, without calling
230 the deprecated constructor.
231 (hildon_note_new_information): Act directly, without calling
232 the deprecated constructor.
233 * src/hildon-note.h: Mark deprecate methods as such.
234 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
235 not run tests on the deprecated methods if built with deprecation
238 Fixes: NB#91688 (Never show icons in information notes/confirmation
241 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
243 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
244 (hildon_app_menu_key_press): Remove leftover usage of the
245 private structure in HildonAppMenu struct.
246 * src/hildon-app-menu.h: Remove leftover private structure
247 from the HildonAppMenu struct.
249 Fixes a crasher when using the HildonAppMenu.
251 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
253 * src/hildon-picker-dialog.c: Use appropriate logical id
254 for the default "Done" text.
256 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
258 * configure.ac: post release version bump
259 * debian/changelog: version bump
261 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
263 Modified the way to scroll to the current selection just when the touch
264 selector is shown on the screen, avoiding a g_idle. Added too a property
265 to configure this behaviour. See hildon_pannable_area_jump_to_child
266 documentation for more information.
268 * src/hildon-touch-selector.c
269 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
270 Added 'initial-scroll' property
271 (hildon_touch_selector_set_property): Added
272 (hildon_touch_selector_map): Removed as not required anymore
273 (_hildon_touch_selector_on_selected_items): Modified in order to manage
274 only a concrete column, instead of iterate along all the columns
276 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
281 * configure.ac: bump version
282 * debian/changelog: updates
284 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
286 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
287 compilation time warnings.
289 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
291 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
292 the default value for HildonPannableArea::mov-mode to
293 HILDON_PANNABLE_AREA_MODE_VERT.
295 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
297 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
299 Reverting following commit:
301 2008-10-13 Alberto Garcia <agarcia@igalia.com>
303 * src/hildon-app-menu-private.h
304 * src/hildon-app-menu.[ch]
305 * src/hildon-button.[ch]
306 * src/hildon-check-button.[ch]
307 * src/hildon-entry.[ch]
308 * src/hildon-pannable-area.[ch]
309 * src/hildon-text-view.[ch]:
310 Added private field to the object's structure.
312 because it causes an ABI breakage. We will need to introduce these
313 changes later at some point. See NB#91636 for an extensive
314 explanation and status.
316 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
318 Patch contributed by Daniel Borgmann (danielb@openismus.com)
320 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
321 remove special cases that are no longer necessary.
323 Fixes: NB#91016 (Change toolbar sizes, simplification)
325 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
327 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
328 is shown in the cancel note.
330 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
332 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
333 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
334 (hildon_seekbar_init): Remove steppers, remove expose event.
335 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
337 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
339 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
341 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
342 label font to "SmallSystemFont" for vertically arranged buttons.
344 Fixes: NB#90662 (HildonButton "value" and "detail" text is
347 2008-10-31 Alberto Garcia <agarcia@igalia.com>
349 * src/hildon-check-button.c
350 (hildon_check_button_set_active, hildon_check_button_clicked):
351 Don't access private parts directly, use getters instead.
353 2008-10-31 Alberto Garcia <agarcia@igalia.com>
355 * src/hildon-check-button.c (hildon_check_button_new):
356 Align the contents of the check button to the left.
358 2008-10-30 Alejandro G. Castro <alex@igalia.com>
360 * src/hildon-pannable-area.c,
361 (hildon_pannable_area_scroll_to),
362 (hildon_pannable_area_jump_to),
363 (hildon_pannable_area_scroll_to_child),
364 (hildon_pannable_area_jump_to_child): Replace the mapped
365 precondition of these functions with the realized, it is the
366 correct state of the widget in this case. Changed the
367 documentation according to this modification.
369 2008-10-30 Alejandro G. Castro <alex@igalia.com>
371 Added a new EXTRA_CFLAGS option to add the deprecated define to
372 the compilation command. This way we can avoid using the define in
373 the documentation compilation.
375 * configure.ac: Defined EXTRA_CFLAGS.
377 * examples/Makefile.am:
379 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
381 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
383 * src/hildon-picker-dialog.c:
384 Defined a utility macro with the desired touch selector height
385 Removed currently unused separator, and title_label variables from
387 (hildon_picker_dialog_init): Removed code related to the creation
388 of unused private variables title_label and separator.
389 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
390 to ensure correct visualization of the touch selector inside the dialog.
391 * src/hildon-touch-selector.c
392 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
393 ensure a concrete height of the widget.
395 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
400 Remove spurious whitespaces.
402 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
404 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
405 compilation warning after the cancel button removal.
407 2008-10-30 Alejandro G. Castro <alex@igalia.com>
409 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
411 * configure.ac: Added an AM_CONDITIONAL in order to use in the
412 Makefile.am, that way we can choose not to compile some examples
413 and tests of the deprecated widgets.
415 * examples/Makefile.am: Divided the sources in deprecated and
418 * src/Makefile.am: Added undef statement of the deprecated
419 symbol to the enums file generation process.
421 * src/hildon-color-chooser-dialog.c
422 * src/hildon-color-chooser-dialog.h
423 * src/hildon-color-button.c
424 * src/hildon-color-button.h
425 * src/hildon-color-chooser.c
426 * src/hildon-color-chooser.h
427 * src/hildon-controlbar.c
428 * src/hildon-controlbar.h
429 * src/hildon-date-editor.c
430 * src/hildon-date-editor.h
431 * src/hildon-hvolumebar.c
432 * src/hildon-hvolumebar.h
433 * src/hildon-private.c
434 * src/hildon-private.h
435 * src/hildon-range-editor.c
436 * src/hildon-range-editor.h
437 * src/hildon-seekbar.c
438 * src/hildon-seekbar.h
439 * src/hildon-time-editor.c
440 * src/hildon-time-editor.h
441 * src/hildon-time-picker.c
442 * src/hildon-time-picker.h
443 * src/hildon-volumebar.c
444 * src/hildon-volumebar.h
445 * src/hildon-vvolumebar.c
446 * src/hildon-vvolumebar.h
447 * src/hildon-bread-crumb-trail.h
448 * src/hildon-bread-crumb-trail.c
449 * src/hildon-calendar-popup.c
450 * src/hildon-calendar-popup.h
451 * src/hildon-weekday-picker.c:
452 * src/hildon-weekday-picker.h:
453 * src/hildon-bread-crumb-widget.c:
454 * src/hildon-bread-crumb-widget.h:
455 * src/hildon-bread-crumb.c:
456 * src/hildon-bread-crumb.h:
457 * src/hildon-calendar.c:
458 * src/hildon-calendar.h:
459 * src/hildon-caption.c:
460 * src/hildon-code-dialog.c:
461 * src/hildon-code-dialog.h:
462 * src/hildon-font-selection-dialog.c:
463 * src/hildon-font-selection-dialog.h:
464 * src/hildon-get-password-dialog.c:
465 * src/hildon-get-password-dialog.h:
466 * src/hildon-login-dialog.c:
467 * src/hildon-login-dialog.h:
468 * src/hildon-number-editor.c:
469 * src/hildon-number-editor.h:
470 * src/hildon-set-password-dialog.c:
471 * src/hildon-set-password-dialog.h:
472 * src/hildon-sort-dialog.c:
473 * src/hildon-sort-dialog.h: This is the list of deprecated
476 * src/hildon-touch-selector.c:
477 * src/hildon-window.c: Added undef statement to avoid compilation
480 * tests/Makefile.am: Divided the sources in deprecated and
483 * tests/check_test.c,
484 (configure_tests): Marked the deprecated code that was adding
485 suites with deprecated tests.
487 Fixes: NB#91135 (Deprecate legacy hildon widgets)
489 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
491 * src/hildon-touch-selector.c: (_default_print_func): Do not
492 duplicate a string returned by gtk_tree_model_get(), it is already
495 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
498 2008-10-28 Alejandro G. Castro <alex@igalia.com>
500 * src/hildon-pannable-area.c
501 (hildon_pannable_area_add_with_viewport): Reviewed the complete
502 method, it had problems when adding a widget with viewport the
503 second time. Now checks if it already has a viewport and uses it.
505 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
508 2008-10-28 Alejandro G. Castro <alex@igalia.com>
510 * src/hildon-pannable-area.c,
511 (hildon_pannable_area_scroll_to),
512 (hildon_pannable_area_jump_to),
513 (hildon_pannable_area_scroll_to_child),
514 (hildon_pannable_area_jump_to_child): Added a precondition to the
515 scroll and jump to functions: the widget must be mapped before we
516 can safely call these functions. We have also added documentation
517 to the functions to explain how to use them in this situation.
520 2008-10-28 Alejandro G. Castro <alex@igalia.com>
522 Reviewed the threading handling of the pannable widget, we have
523 used the gdk_threads_add_timeout function instead of the usual
524 glib handlers. This avoids some problems with the threads.
526 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
527 (hildon_pannable_area_initial_effect),
528 (hildon_pannable_area_scroll_indicator_fade),
529 (hildon_pannable_area_button_press_cb),
530 (hildon_pannable_area_timeout),
531 (hildon_pannable_area_motion_notify_cb),
532 (hildon_pannable_area_button_release_cb),
533 (hildon_pannable_area_scroll_cb),
534 (hildon_pannable_area_scroll_to): Removed the
535 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
536 gdk_threads_add_timeout.
538 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
540 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
545 * configure.ac: bump version
546 * debian/changelog: updates
548 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
550 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
551 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
552 * src/hildon-color-chooser-dialog.c:
553 (hildon_color_chooser_dialog_init):
554 * src/hildon-font-selection-dialog.c:
555 (hildon_font_selection_dialog_init):
556 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
558 Remove all cancel/close-like dialogs, as these are not going to be
561 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
563 * src/hildon-note.c: (hildon_note_rebuild),
564 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
567 Fixes: NB#90661 (Delete dialog is displayed without NO button)
569 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
571 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
572 sure all buttons are shown, even the Cancel/Close-like ones.
574 Fixes: NB#90861 (Custom Confirmation dialogs should be
575 protected from cancel button removal)
577 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
579 * debian/control: Change libhildon1-examples dependency from libhildon1
581 * debian/libhildon1-examples.install
583 * Makefile.am: Modified the final install directory for the examples on
584 package libhildon1-examples
585 * Makefile.static: Update clean target in order to remove all the binary
588 Changes suggested by Claudio after review new libhildon1-examples package
590 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
592 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
593 * src/hildon-touch-selector.c: Ditto.
595 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
597 * debian/control: Added new package libhildon1-examples, in order to pack
598 the current hildon examples as documentation
599 * debian/rules: Not to compress .c files, modify some includes on the
600 examples (as normally are compiled locally, but when installed it will
601 require to include the installed libhildon1 library), and rename
603 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
604 install all the example files on the new example package
605 * examples/Makefile.static: Added static makefile that can be used to
606 compile the examples, once installed the new example package
607 * examples: Most of the examples were modified in order to grant that
608 all use only '#include "hildon.h"', in order to be easy to prepare
609 it on the example package
611 2008-10-23 Alberto Garcia <agarcia@igalia.com>
614 * debian/libhildon1-dev.install
615 * debian/libhildon1-doc.install:
616 Move all gtk-doc files to a separate libhildon1-doc package.
618 2008-10-23 Daniel Borgmann <danielb@openismus.com>
620 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
622 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
624 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
626 * debian/rules: Fixed a error in order to avoid unnecessary calls
627 to autogen.sh on package building
629 2008-10-22 Alberto Garcia <agarcia@igalia.com>
631 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
633 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
638 2008-10-21 Alberto Garcia <agarcia@igalia.com>
640 * src/hildon-picker-button.c
641 (hildon_picker_button_finalize):
642 Free priv->done_button_text
644 * src/hildon-time-button.c
645 (hildon_time_button_set_time)
646 * src/hildon-picker-button.c
647 (hildon_picker_button_clicked)
648 (hildon_picker_button_selector_selection_changed)
649 (hildon_picker_button_set_selector)
650 * src/hildon-date-button.c
651 (hildon_date_button_set_date):
652 Free strings returned by hildon_touch_selector_get_current_text()
654 * src/hildon-button.c (hildon_button_construct_child):
655 Fix leaks in priv->image and priv->label_box
657 Fixes: NB#90535 (Memory leak in picker button)
659 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
661 * src/hildon-button.c: (hildon_button_get_property): Do not access
662 private elements directly, use getters instead.
664 2008-10-20 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-app-menu-private.h
667 * src/hildon-app-menu.c
668 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
669 Store the menu's parent window.
671 * src/hildon-stackable-window.c
672 (hildon_stackable_window_toggle_menu)
673 (hildon_stackable_window_finalize):
674 Set the menu's parent window when the menu is shown, unset it when
677 * src/hildon-app-menu.c
678 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
679 (hildon_app_menu_class_init):
680 Send unhandled keyboard accelerators to the parent window.
682 2008-10-20 Alberto Garcia <agarcia@igalia.com>
684 * src/hildon-stackable-window.c
685 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
687 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
689 * configure.ac: post release version bump
691 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump version
695 * debian/changelog: Updates
696 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
699 2008-10-20 Alberto Garcia <agarcia@igalia.com>
701 Patch contributed by Daniel Borgmann (danielb@openismus.com)
704 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
705 GtkMenu with Hildon style.
707 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-picker-button.c:
710 (hildon_picker_button_set_done_button_text): Set the dialog's
711 done button text here as well.
713 Fixes: NB#90232 (Picker button does not set the label on done button
716 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
721 2008-10-16 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-app-menu.c (hildon_app_menu_insert)
724 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
725 the HildonAppMenu to be activatable using keyboard accelerators
726 when the menu is not being shown.
728 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
730 2008-10-16 Alberto Garcia <agarcia@igalia.com>
732 * src/hildon-stackable-window.c
733 (hildon_stackable_window_show):
734 Don't hide old windows automatically when new windows are shown:
735 this is now a task for the window manager.
736 (hildon_stackable_window_class_init)
737 (hildon_stackable_window_hide):
738 Remove windows from the stack everytime they're hidden.
739 (hildon_stackable_window_realize):
740 Don't change the _NET_WM_WINDOW_TYPE property. Use
741 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
742 it as a stackable window.
744 * src/hildon-program.c
745 (hildon_program_pop_window_stack):
746 Just hide the window to remove it from the stack.
747 (hildon_program_go_to_root_window):
748 Don't call gtk_widget_show(), this is now a task for the window
751 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
753 2008-10-15 Alberto Garcia <agarcia@igalia.com>
755 * src/hildon-button.c
756 (hildon_button_construct_child):
757 Don't pack anything in the button until text or image are
758 set. This allows adding a custom child after creating the button
759 with hildon_button_new().
760 (hildon_button_finalize, hildon_button_class_init)
761 (hildon_button_init, hildon_button_set_arrangement): Destroy the
762 alignment and the label box even when they're not packed in the
765 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
767 * src/hildon-touch-selector.h:
768 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
769 currently the type definition was using GTK_TYPE_VBOX
770 * src/hildon-touch-selector.c:
771 Added some implementation notes in order to clarify that any other widget
772 added without the column related API will not be included on the
773 selection logic, and how the widget is freed, as some people ask about
775 (hildon_touch_selector_remove): Reimplemented in order to free properly
776 the column related data when you remove the private hbox.
777 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
778 to get a proper HildonTouchSelectorColumn documentation
780 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-touch-selector-entry.c:
783 (hildon_touch_selector_entry_print_func): Return NULL if there is no
784 text in the GtkEntry and there is no item selected. Fixes a
787 2008-10-13 Alberto Garcia <agarcia@igalia.com>
789 * src/hildon-app-menu-private.h
790 * src/hildon-app-menu.[ch]
791 * src/hildon-button.[ch]
792 * src/hildon-check-button.[ch]
793 * src/hildon-entry.[ch]
794 * src/hildon-pannable-area.[ch]
795 * src/hildon-text-view.[ch]:
796 Added private field to the object's structure.
798 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
800 * configure.ac: post-release version bump
802 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
806 * configure.ac: pre-release version bump
808 * debian/changelog: updates.
810 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
812 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
813 Disconnect the handler for HildonTouchSelector::changed.
815 (hildon_picker_button_selector_selection_changed): Update the button
816 value if the selection change was not triggered by the
819 (hildon_picker_button_set_selector): connect to
820 HildonTouchSelector::changed.
822 Fixes: NB#89650 (Picker button is not updated, when selection in
823 selector has changed)
825 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
827 * src/hildon-picker-dialog.c
828 (hildon_picker_dialog_realize): Removed as not required
829 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
830 * src/hildon-picker-button.c
831 (_current_selector_empty): New function, checks if the selector is empty
832 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
833 if the current selector is empty, in order to avoid to show the dialog
834 close the dialog in this case (and shows a g_warning).
836 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
838 2008-10-09 Alejandro G. Castro <alex@igalia.com>
840 * src/hildon-pannable-area.c,
841 (hildon_pannable_area_scroll): Added clause to stop movement when
842 the child of pannable is smaller than one page.
843 (hildon_pannable_area_scroll_to): Added conditions to avoid
844 starting the scrolling movement if the child is smaller than one
845 page, the complete child is in the screen, we do not have to move.
847 Fixes: NB#89632 (Picker button selection doesn't change on first click)
849 2008-10-09 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-app-menu.c: Removed the 'columns' property, as now
852 this is managed automatically by the widget when the size of the
855 2008-10-09 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-picker-button.c
858 (hildon_picker_button_set_done_button_text): Make a copy of the
859 text, and free the previous value.
861 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
863 * src/hildon-touch-selector-entry.c:
864 (hildon_touch_selector_entry_print_func): Return the selected row's
865 text if the entry is empty.
867 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
870 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-touch-selector-entry.c: Minor docs fixes.
874 2008-10-09 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-check-button.h
878 * src/hildon-check-button.c
879 * examples/hildon-check-button-example.c:
880 HildonCheckButton is now a new widget. 'toggled' signal added.
882 2008-10-08 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-program-private.h
885 * src/hildon-program.c (hildon_program_init)
886 (hildon_program_finalize): Removed unused variables group_leader
887 and name from HildonProgramPrivate.
889 2008-10-08 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-check-button.c (hildon_check_button_set_active)
892 (hildon_check_button_get_active, hildon_check_button_new): Use
893 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
895 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
897 * src/hildon-touch-selector.h
898 (hildon_touch_selector_set_column_attributes): added deprecation
899 guard HILDON_DISABLE_DEPRECATED
900 * src/hildon-time-selector.c
901 (hildon_time_selector_set_time)
902 (hildon_time_selector_get_time): Fixed a typo on documentation
903 * src/hildon-touch-selector.c: update HildonTouchSelector and
904 HildonTouchSelectorColumn documentation
905 * src/hildon-touch-selector-entry.c: update "text-column" property
907 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
908 to be added to the general documentation.
910 2008-10-08 Alejandro G. Castro <alex@igalia.com>
912 * examples/hildon-pannable-area-example-4.c,
914 * examples/hildon-pannable-area-example.c,
915 (main): Modified the code in order to use the container add, with
916 viewport treeviews could have problems if they are really big.
918 2008-10-06 Alejandro G. Castro <alex@igalia.com>
920 * src/hildon-weekday-picker.c,
921 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
922 the agreement regarding deprecation in the library.
924 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
926 * examples/hildon-picker-button-multicolumn-example.c:
927 (main): Use custom "done" button text.
929 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
930 (hildon_picker_button_set_property),
931 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
932 (hildon_picker_button_init),
933 (+hildon_picker_button_get_done_button_text),
934 (+hildon_picker_button_set_done_button_text): New methods to customize
935 the "done" button label in the launched HildonPickerDialog. Also,
938 * src/hildon-picker-button.h: add the public API.
940 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
942 * src/hildon-date-selector.h:
943 * src/hildon-picker-dialog.h:
944 * src/hildon-time-selector.h:
945 * src/hildon-touch-selector-column.h:
946 * src/hildon-touch-selector.h:
948 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
949 declarations. Fixes gtk-doc warnings.
951 2008-10-06 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-picker-dialog.h
954 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
955 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
957 Fixes: NB#89329 (selectors in picker dialog are not visible when a
958 long text is set as label for done button)
960 2008-10-06 Alberto Garcia <agarcia@igalia.com>
962 * src/hildon-dialog.c (hildon_dialog_add_button):
963 Set fixed width to all buttons in the HildonDialog.
965 2008-10-06 Alberto Garcia <agarcia@igalia.com>
967 Patch contributed by Daniel Borgmann (danielb@openismus.com)
969 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
970 Set widget name using class name plus "-finger" or "-thumb".
972 2008-10-03 Alberto Garcia <agarcia@igalia.com>
974 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
975 'clicked' when the state of the button is manually changed.
977 2008-10-02 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-app-menu.c (hildon_app_menu_realize)
980 (hildon_app_menu_unrealize, hildon_app_menu_init)
981 (hildon_app_menu_class_init, item_visibility_changed):
982 Change the menu layout when the size of the screen changes.
983 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
984 Show warning only when changing the number of colums using the
987 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
989 * debian/compat: Set to 5
990 * debian/control: Update dependencies.
991 * debian/libhildon1-dbg.install: Remove.
992 * debian/libhildon1-dev.install: Update according to cdbs paths.
993 * debian/libhildon1.install: Update according to cdbs paths.
994 * debian/rules: Switch to cdbs.
996 2008-10-01 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
999 'item' variable renamed to 'filter'
1001 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1003 * src/hildon-app-menu.c (hildon_app_menu_insert)
1004 (hildon_app_menu_add_filter, remove_item_from_list)
1005 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1006 Don't leak hidden items when the menu is destroyed.
1008 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-app-menu.c (hildon_app_menu_insert)
1011 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1012 (hildon_app_menu_set_columns, item_visibility_changed)
1013 (filter_visibility_changed, hildon_app_menu_repack_filters)
1014 (hildon_app_menu_repack_items):
1015 Repack items and filters separately.
1017 Don't repack all items, change only the ones that are needed to
1020 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1022 * src/Makefile.am: added hildon-touch-selector-column.h
1024 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1026 * src/hildon-touch-selector.c: added the property "text-column" to the
1027 class HildonTouchSelectorColumn, and related get/set functions
1028 (_default_printf_func): updated to use "text-column" property
1029 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1030 "text-column" in his documentation, as this is now included on
1031 HildonTouchSelectorColumn. The get/set_property can still be used,
1032 working as a wrapper to the concrete column "text-column" property
1033 (_text_column_modified): callback added in order to handle the signal
1034 "notify::text-column" of the concrete HildonTouchSelectorColumn
1035 (hildon_touch_selector_entry_get_text_column)
1036 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1037 modified in order to use the HildonTouchSelectorColumn "text-column"
1039 * src/hildon-time-selector.c:
1040 * src/hildon-date-selector.c:
1041 * examples/hildon-touch-selector-example.c
1042 * examples/hildon-touch-selector-multi-cells-example.c
1043 * examples/hildon-picker-button-multicolumn-example.c
1044 Set the right value to "text-column" property on the creation of a new
1045 column using hildon_touch_selector_append_column()
1047 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1049 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1051 * src/hildon-app-menu.c
1052 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1053 updating the layout of the menu, don't create all widgets again,
1054 just repack the items in their new places.
1056 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1058 * src/hildon-time-selector.c
1059 (hildon_time_selector_get_time)
1060 (hildon_time_selector_set_time)
1061 Added documentation of these public methods
1063 * src/hildon-date-button.h
1064 * src/hildon-touch-selector-column.h
1065 * src/hildon-time-button.h
1066 * src/hildon-picker-dialog.h
1067 * src/hildon-time-selector.h
1068 * src/hildon-picker-button.h
1069 * src/hildon-touch-selector.h
1070 * src/hildon-time-picker.h
1071 * src/hildon-date-selector.h
1072 * src/hildon-touch-selector-entry.h
1073 Modified in order to use hildon-widgets code style
1075 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1077 Added deprecated support to the compilation process using
1078 HILDON_DISABLE_DEPRECATED
1080 * configure.ac: Added the --disable-deprecated to the configure
1083 * src/hildon-weekday-picker.c:
1084 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1085 to use the deprecated support. We will update the other deprecated
1086 widgets status in a new patch.
1088 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1090 * configure.ac: Fixed typo with fatal warnings support, the
1091 variable name was not correct
1093 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-app-menu.c
1096 * src/hildon-program.c: Update documentation.
1098 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1100 * configure.ac: Post-release version bump.
1102 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1107 * configure.ac: Pre-release version bump.
1108 * debian/changelog: Updates.
1110 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1112 * NEWS: Update news for previous releases.
1114 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1116 * examples/hildon-touch-selector-multi-cells-example.c:
1117 (create_selector): Update the example to use
1118 hildon_touch_selector_append_column() with a NULL renderer and set
1119 the renderers later.
1120 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1121 passed a NULL renderer. This is documented behavior now.
1123 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1124 This must be used if the developer wants full control on the layout of
1125 the renderers to be added to the column.
1127 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1129 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector.c: Documentation fixes.
1133 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1135 * src/hildon-wizard-dialog-private.h: Remove image and box.
1136 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1137 (hildon_wizard_dialog_set_property), (response): Completely remove
1138 image/icon support, and the containers required for the layout.
1140 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1142 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-app-menu.c: Updated documentation.
1146 * src/hildon-stackable-window.c
1147 (hildon_stackable_window_set_main_menu): Unref the old menu after
1148 ref'ing the new one.
1150 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1152 * src/hildon-stackable-window.c
1153 (hildon_stackable_window_set_main_menu): Unref the previous menu
1154 instead of destroying it.
1156 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1157 floating reference and set has_user_ref_count to FALSE to make
1158 HildonAppMenu act like a normal ref-counted widget and not a
1161 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1164 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1166 * src/hildon-touch-selector-column.h: new file
1167 * src/hildon-touch-selector.h
1168 * src/hildon-touch-selector.c
1169 Implemented GtkCellLayout interface, in order to allow to configure
1170 the cell layout on each individual selector column
1171 (hildon_touch_selector_set_column_attributes): marked as deprecated
1172 * examples/hildon-touch-selector-multi-cells-example.c
1173 Example of how to use the GtkCellLayout interface on the selector
1175 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1177 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1179 * src/hildon-app-menu.h
1180 * src/hildon-app-menu.c
1181 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1182 (hildon_app_menu_append, hildon_app_menu_prepend):
1183 New methods to prepend, insert and move items in the menu.
1185 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/hildon-wizard-dialog.c:
1189 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1191 (create_title): Update logical IDs and related code.
1192 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1194 * src/hildon-wizard-dialog.h: Note that
1195 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1196 point, as it is not used anymore.
1198 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1200 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-note.c:
1203 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1204 shown. Do not display an icon in confirmation notes nor information
1206 (hildon_note_set_button_text): Update logical ID for cancel button.
1208 Fixes: NB#88850 (Update HildonNote button strings + signals)
1210 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-stackable-window.c
1213 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1215 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-app-menu-private.h
1218 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1219 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1220 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1221 temporary property 'columns' to change the number of columns.
1223 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1225 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1227 * examples/hildon-note-example.c: (on_information_clicked),
1228 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1229 debugging information.
1230 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1232 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1233 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1234 in order to close: this will be handled by the WM from now on.
1236 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1238 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-app-menu-private.h
1241 * src/hildon-app-menu.c
1242 (hildon_app_menu_append, hildon_app_menu_add_filter)
1243 (button_visibility_changed, hildon_app_menu_apply_style)
1244 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1245 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1246 layout everytime a button (item or filter) is shown or hidden.
1248 * src/hildon-stackable-window.c
1249 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1252 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1254 * src/hildon-touch-selector.c:
1255 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1256 that the treeview inside the touch selector is in fremantle hildon mode
1257 * examples/hildon-date-button-example.c
1258 * examples/hildon-picker-button-multicolumn-example.c
1259 * examples/hildon-touch-selector-entry-example.c
1260 * examples/hildon-touch-selector-example.c
1261 * examples/hildon-time-button-example.c
1262 * examples/hildon-picker-button-example.c:
1263 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1265 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1267 * examples/hildon-text-view-example.c: (main): Remove the
1268 gtkrc bits, now handled by the theme.
1270 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1275 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1277 * po/Makefile.am: Install properly the mo files.
1278 * po/en_GB.po: Update translation, to ease testing purposes.
1280 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1282 * examples/hildon-picker-button-example.c: (main): Select an item
1283 in the selector before setting it to the button.
1285 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1288 Update button's value if the selector has an item active.
1290 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1291 'value' with the selector)
1293 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1295 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1296 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1297 (hildon_picker_button_class_init): Plug the finalize method.
1298 (hildon_picker_button_set_selector): If there's a previously set
1299 selector, unref'it before setting a new one.
1301 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1302 HildonTouchSelector)
1304 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/hildon-touch-selector-entry.c:
1307 (hildon_touch_selector_entry_changed): Check if there is no text
1308 selected before setting the entry text.
1311 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-touch-selector.h
1314 * src/hildon-touch-selector.c
1315 (hildon_touch_selector_get_active)
1316 (hildon_touch_selector_set_active): New methods to set/get the
1317 index of the selected item.
1319 * src/hildon-picker-button.h
1320 * src/hildon-picker-button.c
1321 (hildon_picker_button_get_active)
1322 (hildon_picker_button_set_active): New methods to set/get the
1323 index of the selected item.
1325 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: post-release version bump.
1329 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1333 * configure.ac: Pre-release version bump.
1334 * debian/changelog: Updates.
1335 * debian/control: Add myself as maintainer and depend on l10n
1338 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-window.c
1341 (hildon_window_set_main_menu)
1342 * src/hildon-stackable-window.c
1343 (hildon_stackable_window_set_main_menu):
1344 Updated documentation.
1346 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1349 Don't free selector->priv manually.
1352 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1355 (hildon_gtk_window_set_progress_indicator):
1356 * src/hildon-gtk.h: Added the new API
1357 hildon_gtk_window_set_progress_indicator, it changes the state of
1358 the window progress hint.
1360 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-button.c
1363 * src/hildon-stackable-window.c: Minor documentation updates.
1365 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-stackable-window.c: Updated documentation.
1369 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-defines.h: Update margins definitions
1372 to the Fremantle sizes.
1375 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1377 * src/hildon-touch-selector.c,
1378 (_hildon_touch_selector_set_model): Cleaning the code after
1379 review, removed g_print and #if 0 from the code.
1381 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1383 * src/hildon-edit-toolbar.c: Update documentation.
1385 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-check-button.h
1388 * src/hildon-check-button.c
1389 (hildon_check_button_set_label, hildon_check_button_get_label)
1390 * examples/hildon-check-button-example.c
1391 (button_clicked_cb):
1392 Removed deprecated methods.
1394 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-text-view.c:
1397 Add sample code to the documentation.
1399 * src/hildon-entry.h
1400 * src/hildon-text-view.h:
1401 Minor cosmetic changes.
1403 * src/hildon-entry.c:
1404 Add sample code to the documentation.
1405 (hildon_entry_init, hildon_entry_refresh_contents):
1406 Don't allow NULL values in the placeholder.
1408 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1410 * doc/hildon-docs.sgml
1412 * examples/Makefile.am
1413 * examples/hildon-text-view-example.c
1415 * src/hildon-text-view.c
1416 * src/hildon-text-view.h
1418 New HildonTextView widget, with example.
1420 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1422 * po/POTFILES.in: Add missing files with translatable strings.
1423 Partially fixes NB#88287.
1425 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1427 * examples/hildon-pannable-area-example-2.c: (main): No need to
1428 set the cellrenderer height inside hildon touch lists, the theme does
1431 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1433 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1434 they are integrated in the theme.
1436 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1438 * examples/hildon-entry-example.c: Update the example adding
1439 widgets to modify the text and the placeholder of the HildonEntry.
1441 * src/hildon-entry.c: Show the placeholder everytime the widget
1442 is empty and loses the focus.
1444 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1446 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1448 * src/hildon-pannable-area.c,
1449 (hildon_pannable_area_size_request): Fixed bug in height
1450 requisition, avoid increasing size and add border twice.
1452 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1454 * configure.ac: postrelease version bump.
1456 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1460 * configure.ac: Prerelease version bump.
1461 * debian/changelog: update.
1462 * debian/rules: make -dbg package contain useful debugging symbols.
1464 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-dialog.h
1467 * src/hildon-dialog.c
1468 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1469 New methods to add buttons with finger size.
1470 (hildon_dialog_new_with_buttons):
1471 Create buttons with finger size.
1473 * examples/hildon-dialog-example.c (main): Use HildonDialog
1474 methods to add buttons.
1476 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1478 * src/hildon-entry.c: Updated HildonButton documentation.
1480 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1483 button value label with (FALSE, FALSE) to prevent NB#88126 from
1486 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1488 * examples/hildon-pannable-area-example.c,
1489 (main): Removed examples panning a vbox inside a pannable
1490 area. Check bug NB#87965
1492 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1494 Patch contributed by Kris Rietveld (kris@imendio.com)
1496 * src/hildon-pannable-area.c,
1497 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1498 get_size and get_position, this saves an X server roundtrip.
1500 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1502 * doc/hildon-docs.sgml
1504 * examples/Makefile.am
1505 * examples/hildon-entry-example.c
1507 * src/hildon-entry.c
1508 * src/hildon-entry.h
1510 New HildonEntry widget, with example.
1512 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1514 * src/hildon-button.c (hildon_button_construct_child): Pack the
1515 image with expand == fill == FALSE. This is a workaround for a bug
1518 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1520 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1521 labels for the text column, to make it more look more dynamic.
1523 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1525 * src/hildon-time-selector.c
1526 Define gettext auxiliar macro N_
1527 (_create_minutes_model)
1528 (_create_hours_model)
1529 (_create_ampm_model): use of strftime in order to fill the model
1530 * src/hildon-date-selector.c
1531 (hildon_date_selector_finalize):
1532 (_locales_init): remove the logic related to get the name of the months
1533 using nl_langinfo, as it is not required anymore
1535 (_create_year_model)
1536 (_create_month_model)
1537 (_update_day_model): use of strftime in order to fill the model properly
1540 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-button.h
1543 * src/hildon-button.c (hildon_button_get_image): New method to
1546 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1548 * src/hildon-touch-selector.c:
1549 (hildon_touch_selector_remove_column): Remove from the correct parent
1550 and also remove the list element and free it.
1553 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1555 * src/hildon-time-selector.c
1556 (_create_hours_model): change the range on 12h ampm format in order to use
1557 a 12-11 range instead of previous 01-12 range
1558 (hildon_time_selector_set_time): change the way to select the current time
1559 on 12h ampm format, due the change on the range
1560 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1563 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1565 * src/hildon-touch-selector.c
1566 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1567 in order to allow use this function on multiple row selection mode if
1568 the column is different that the first one
1571 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1573 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1574 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1576 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1578 * src/hildon-date-selector.h: clean some comments, now on the .c
1579 * src/hildon-date-selector.c
1580 (hildon_date_selector_select_month): first implementation
1581 (hildon_date_selector_select_day): added documentation, reimplemented
1582 using hildon_date_selector_select_current_date to avoid repeat code
1585 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1587 Reviewed interaction logic based on device experiences, refactored
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_class_init): Updated default vmax speed.
1592 (hildon_pannable_area_calculate_velocity): Added this function, it
1593 avoids duplicate valocity calculation. Adjusted calculation to
1594 avoid problems with zero dist events.
1596 (hildon_pannable_area_motion_notify_cb): Now we use the
1597 calculate_velocity function.
1599 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1601 * src/hildon-date-selector.c
1602 (hildon_date_selector_select_current_date): fix the day range check
1603 as it failed using the last day of the current month
1606 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * src/hildon-touch-selector.c
1609 (hildon_touch_selector_get_num_columns): added a parameter validation
1612 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1614 * examples/Makefile.am
1615 * examples/hildon-edit-toolbar-example.c: Example of the
1616 HildonEditToolbar widget.
1618 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1620 * configure.ac: postrelease version bump.
1622 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1626 * configure.ac: prerelease version bump.
1627 * debian/changelog: update.
1629 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1631 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1632 renderer to display stock icons in the touch list. Also, set the sizes
1633 to the recommended in the style guide.
1635 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1636 * src/hildon-touch-selector.h
1637 (hildon_touch_selector_set_active_iter): renamed, now is
1638 hildon_touch_selector_select_iter
1639 (hildon_touch_selector_get_active_iter): renamed, now is
1640 hildon_touch_selector_get_selected
1641 (hildon_touch_selector_unselect_iter): added
1642 * src/hildon-touch-selector.c
1643 Update after API modification (methods renamed)
1644 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1645 order to avoid problems selecting multiple elements on the column
1646 (hildon_touch_selector_unselect_iter): added the implementation
1647 * src/hildon-time-selector.c
1648 * src/hildon-date-selector.c
1649 * src/hildon-touch-selector-entry.c
1650 Update methods calls after hildon-touch-selector.h API modification (methods
1653 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-stackable-window.c
1656 (hildon_stackable_window_finalize): Call the parent class's finalize.
1658 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1660 * examples/hildon-touch-selector-example.c: (create_selector): Use
1661 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1664 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1666 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1667 set a cell background color, to respect theming.
1669 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1671 * doc/hildon-docs.sgml
1674 * src/hildon-edit-toolbar.c
1675 * src/hildon-edit-toolbar.h
1676 * src/hildon.h: New HildonEditToolbar widget.
1678 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1680 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1683 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1684 * src/hildon-touch-selector.c
1685 (_create_new_column): use g_object_set instead of two g_object_set_property
1687 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1688 * src/hildon-touch-selector.c
1689 (_create_new_column): use of hildon_gtk_tree_view_new to create
1690 the treeview, instead of use directly g_object_new
1691 (_create_new_column): update the property name "vindicator-mode" for the
1692 new one "vscrollbar-policy"
1693 * examples/hildon-date-button-example.c
1694 * examples/hildon-picker-button-multicolumn-example.c
1695 * examples/hildon-touch-selector-entry-example.c
1696 * examples/hildon-touch-selector-example.c
1697 * examples/hildon-time-button-example.c
1698 * examples/hildon-picker-button-example.c
1699 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1700 to all the treeviews inside a pannable area.
1702 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-button.h
1705 * src/hildon-button.c (hildon_button_init)
1706 (hildon_button_set_arrangement, hildon_button_set_alignment)
1707 (hildon_button_set_title_alignment)
1708 (hildon_button_set_value_alignment)
1709 (hildon_button_set_image_alignment)
1710 (hildon_button_construct_child): New methods to set the alignment
1711 of the individual components of the button (title, value,
1712 image). Also, new method to alter the xscale and yscale properties
1713 of the GtkAlignment inside the button, so more complex layouts can
1716 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1718 * src/hildon-button.c (hildon_button_style_set)
1719 (hildon_button_class_init, hildon_button_set_arrangement)
1720 (hildon_button_construct_child): Apply style properties
1721 correctly. Use the 'image-spacing' style property too.
1723 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1726 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1729 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1731 * src/hildon-pannable-area.c,
1732 (hildon_pannable_area_size_request): Fixed problem with
1733 pannable-area size_request.
1735 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1737 Added management for the grab-focus to a child widget, like a
1738 range, we need to fade out the scrollbar when releasing.
1740 * src/hildon-pannable-area.c,
1741 (hildon_pannable_area_init): Connected the grab-focus signal to
1743 (hildon_pannable_area_grab_notify): Added this function in order
1744 to manage the situation when the grab-focus ends. We have to
1745 fade-out the scrollbar.
1747 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-app-menu.c: Minor documentation update.
1751 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-app-menu.c
1754 * examples/hildon-app-menu-example.c (create_menu): Update
1755 examples and documentation to explain how to connect callbacks.
1757 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1759 * examples/hildon-button-example.c
1760 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1761 hildon_stackable_window_new instead of gtk_window_new
1763 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1766 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1767 (hildon_pannable_area_set_property),
1768 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1769 (hildon_pannable_area_unrealize),
1770 (hildon_pannable_area_size_request),
1771 (hildon_pannable_area_size_allocate),
1772 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1773 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1774 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1775 (hildon_pannable_area_initial_effect),
1776 (hildon_pannable_area_redraw),
1777 (hildon_pannable_area_scroll_indicator_fade),
1778 (hildon_pannable_area_expose_event),
1779 (hildon_pannable_area_get_topmost), (synth_crossing),
1780 (hildon_pannable_area_button_press_cb),
1781 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1782 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1783 (hildon_pannable_area_motion_notify_cb),
1784 (hildon_pannable_area_button_release_cb),
1785 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1786 (hildon_pannable_area_remove),
1787 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1788 chage the code layout to a more GtkWidget like. Review the use of
1791 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1793 * examples/hildon-pannable-area-example-4.c,
1794 (main): Modified the name of the hindicator_mode to
1797 * src/hildon-pannable-area.c,
1798 (hildon_pannable_area_class_init),
1799 (hildon_pannable_area_motion_notify_cb),
1800 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1801 we have reduced the amount of signals and managed reviewed its
1802 rationale. Changed the default decelerate value.
1804 (hildon_pannable_area_add),
1805 (hildon_pannable_area_redraw): Refactored functions.
1807 (hildon_pannable_area_init),
1808 (hildon_pannable_area_get_property),
1809 (hildon_pannable_area_set_property):
1810 (hildon_pannable_draw_vscroll),
1811 (hildon_pannable_draw_hscroll),
1812 (hildon_pannable_area_initial_effect),
1813 (hildon_pannable_area_expose_event),
1814 (hildon_pannable_area_scroll),
1815 (hildon_pannable_area_button_press_cb),
1816 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1817 and vindicator_mode with hscrollbar_policy and
1818 vscrollbar_policy. Replaced hscroll and vscroll with
1819 hscroll_visible and vscroll_visible.
1821 (hildon_pannable_area_refresh): Refactor the function, remove
1822 variables and check the calls to this function, added resize
1823 conditions in case the children change their layout.
1825 (hildon_pannable_area_size_request): Added more detailed
1826 size_request calculation.
1829 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1831 * src/hildon-color-chooser.c
1832 (init_borders): use the correct gtk_border_free instead of g_free, to
1833 avoid a crash when this widget is used (ie: the three color selection
1836 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-check-button.c,
1839 (hildon_check_button_set_active): Fixed problem when setting the
1840 active value, the widget was not redrawn.
1842 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1844 * src/hildon-pannable-area.c,
1845 (hildon_pannable_area_refresh),
1846 (hildon_pannable_area_scroll),
1847 (hildon_pannable_area_motion_notify_cb): Small code style change.
1849 (hildon_pannable_area_class_init): Default initial_hint set to
1850 FALSE, it is not in the specs.
1852 (hildon_pannable_area_initial_effect),
1853 (hildon_pannable_area_expose_event),
1854 (hildon_pannable_area_map),
1855 (hildon_pannable_area_init): Moved the launching point of the
1856 initial effect, it was in map but the sizes where not correct in
1857 that method so we do not know if we have the reproduce it. Now it
1858 is placed in the expose_event method and uses a variable to
1859 reproduce it just once.
1861 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1863 * src/hildon-pannable-area.c,
1864 (hildon_pannable_draw_vscroll),
1865 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1866 position allowed for the scrollbars.
1868 (hildon_pannable_area_size_allocate): Small style change.
1870 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1872 * src/hildon-pannable-area.c,
1873 (hildon_pannable_area_scroll_indicator_fade),
1874 (hildon_pannable_area_button_press_cb),
1875 (hildon_pannable_area_button_release_cb),
1876 (hildon_pannable_area_scroll_cb),
1877 (hildon_pannable_area_expose_event),
1878 (hildon_pannable_area_init): Added the define parameter
1879 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1880 and refactor the fade variable.
1882 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1884 * src/hildon-pannable-area.c,
1885 (hildon_pannable_area_redraw),
1886 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1887 lines, we were reimplemeting the redraw code.
1889 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_scroll_cb),
1893 (hildon_pannable_area_realize),
1894 (hildon_pannable_area_class_init): Added scroll_event management
1895 for pannable area, now we can scroll the usual desktop method.
1897 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1898 initialization of the parameters should depend on idle_id.
1900 (hildon_pannable_area_init),
1901 (hildon_pannable_area_map): Small code style modifications
1903 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1905 * src/hildon-pannable-area.c
1906 (hildon_pannable_area_button_press_cb),
1907 (hildon_pannable_area_motion_notify_cb),
1908 (hildon_pannable_area_button_release_cb),
1909 (hildon_pannable_area_size_allocate),
1910 (hildon_pannable_area_scroll_to): Improved the timeouts
1911 management, we avoid creating them each time.
1913 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1915 * src/hildon-pannable-area.c:
1916 (hildon_pannable_area_refresh),
1917 (hildon_pannable_area_motion_notify_cb),
1918 (hildon_pannable_area_class_init):
1919 * src/hildon-pannable-area.h:
1920 * src/hildon-touch-selector.c
1921 (_create_new_column):
1922 * examples/hildon-pannable-area-example-4.c:
1923 (horizontal_movement),
1924 (vertical_movement),
1926 Replaced the names of enums in the HildonPannableArea:
1927 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1928 HILDON_MOVEMENT_MODE_*
1929 - HILDON_PANNABLE_AREA_MOV_* ->
1931 - Removed HildonPannableAreaIndicatorMode, now we
1934 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1936 * examples/hildon-pannable-area-touch-grid-example.c
1937 * examples/hildon-pannable-area-touch-list-example.c: Fix
1938 compilation warnings.
1940 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-gtk.c (hildon_gtk_button_new)
1943 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1944 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1945 images overriding the value of the "gtk-button-images" setting.
1947 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-check-button.c (hildon_check_button_new):
1950 Instead of using a custom container, display the label and the
1951 checkbox using the standard GtkButton API.
1953 * examples/hildon-check-button-example.c (main): Don't use
1954 hildon_check_button_set_label() anymore
1956 * src/hildon-check-button.h
1957 * src/hildon-check-button.c
1958 (hildon_check_button_set_label, hildon_check_button_get_label):
1959 Set as deprecated, now we're using gtk_button_{get,set}_label()
1961 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1963 * src/hildon-pannable-area.c,
1964 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1965 GtkTreeview first line we detected it after the inclusion of the
1966 GtkWindowImpl in gtk+. We now check if the window is visible, not
1967 just if the pointer is over the window.
1968 (hildon_pannable_axis_scroll),
1969 (hildon_pannable_area_expose_event): Small style changes.
1971 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1973 * src/hildon-button.c: Update documentation.
1975 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1977 * examples/hildon-button-example.c: Add a switch to show images in
1980 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1982 * doc/hildon-docs.sgml: Some docs reorganization.
1984 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1986 * examples/hildon-pannable-area-touch-list-example.c
1988 * examples/hildon-pannable-area-touch-grid-example.c
1989 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1990 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1991 Fix memory leak when setting the tree model.
1993 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1997 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1999 * doc/hildon.types: Remove duplicated hildon_window_get_type
2000 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2001 documentation comment.
2003 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2005 * doc/Makefile.am: Complete list of private headers.
2007 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2009 * doc/hildon-docs.sgml
2010 * src/hildon-app-menu.c
2011 * src/hildon-bread-crumb.c
2012 * src/hildon-button.c
2014 * src/hildon-program.c
2015 * src/hildon-stackable-window.c
2016 * src/hildon-window.c: Lots of documentation updates.
2018 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2020 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2022 * configure.ac: Require Gtk+ 2.12.9 at least
2024 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2026 * src/hildon-pannable-area.c
2027 (hildon_pannable_area_scroll_indicator_fade),
2028 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2029 to protect the return of this timeout callbacks, avoiding deadlocks.
2031 2008-08-12 Christian Dywan <christian@imendio.com>
2034 * src/hildon-*.h: Ensure a consistent include order,
2035 include <gtk/gtk.h> instead of particular files and
2036 only include the topmost header in the gtk stack. See NB #39857
2038 2008-08-12 Christian Dywan <christian@imendio.com>
2040 * src/hildon-picker-dialog.c
2041 * src/hildon-touch-selector.c: Fix warnings about unused and
2042 uninitialized variables.
2044 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2046 * examples/Makefile.am
2047 * examples/hildon-check-button-example.c: Example of the hildon
2050 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-window.h
2053 * src/hildon-window.c (hildon_window_class_init)
2054 (hildon_window_unset_program): Don't make
2055 hildon_window_unset_program a virtual function anymore.
2057 * src/hildon-stackable-window.c: Update documentation
2059 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2062 * doc/hildon-docs.sgml
2063 * doc/visual_index.xml
2064 * src/hildon-defines.c
2066 * src/hildon-helper.c
2067 * src/hildon-range-editor.c: Lots of documentation fixes.
2069 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2071 * examples/hildon-picker-button-multicolumn-example.c
2072 (create_touch_selector): Fix compilation warning.
2074 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2077 (hildon_pannable_area_button_release_cb)
2078 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2080 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2085 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-bread-crumb-trail.h
2088 * src/hildon-date-editor.c
2089 * src/hildon-date-selector.c
2090 * src/hildon-pannable-area.c
2091 * src/hildon-picker-dialog.c
2092 * src/hildon-time-selector.c
2093 * src/hildon-touch-selector-entry.c
2094 * src/hildon-touch-selector.c
2095 * src/hildon-touch-selector.h: Misc documentation fixes
2097 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2099 * examples/hildon-date-editor-example.c (main): Updated date
2102 * examples/hildon-note-example.c (on_confirmation_clicked):
2103 Updated confirmation note example.
2105 * src/hildon-date-editor.c
2106 * src/hildon-note.c: Updated sample programs in documentation.
2109 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-date-button.h:
2112 * src/hildon-picker-button.h:
2113 * src/hildon-time-button.c:
2114 * src/hildon-time-button.h:
2116 Some declarations changes to allow gtk-doc to document the widgets
2119 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/hildon-date-button.c: Document the widget.
2122 * src/hildon-time-button.c: Document the widget.
2124 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2126 * src/hildon-picker-button.c: Document the widget.
2127 * src/hildon-touch-selector-entry.c: Document the widget.
2129 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2131 * doc/hildon-docs.sgml
2134 * src/hildon-check-button.h
2135 * src/hildon-check-button.c: New functions to create the Hildon
2139 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2141 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-button.h
2144 * src/hildon-button.c
2145 (hildon_button_add_title_size_group)
2146 (hildon_button_add_value_size_group)
2147 (hildon_button_add_image_size_group)
2148 (hildon_button_add_size_groups): New functions to set size groups
2149 for the button labels and image.
2150 (hildon_button_new_full): Removed
2152 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2154 * src/hildon-time-selector.c
2155 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2156 in order to avoid a crash if gconf is not available
2158 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-button.c (hildon_button_set_arrangement)
2161 (hildon_button_construct_child): Don't construct the button child
2162 before setting the arrangement.
2164 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-program-private.h
2167 * src/hildon-program.c
2168 * src/hildon-program.h
2169 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2170 (hildon_program_peek_window_stack)
2171 (hildon_program_pop_window_stack)
2172 (hildon_program_go_to_root_window): HildonProgram now has a
2173 separate list for stackable windows. Functions are provided to
2174 manage that list with a stack-like API.
2176 * src/hildon-stackable-window.c: Stackable window management is
2177 now much simpler with the new HildonProgram API. Windows no
2178 longer need to be manually added to the program, they're
2179 automatically pushed to the top of the stack when shown.
2181 * examples/hildon-stackable-window-example.c: Updated example to
2182 reflect the API changes.
2184 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-touch-selector.c: Comment out unimplemented
2187 hildon_touch_selector_insert_column() to avoid a compile warning.
2189 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2192 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2193 (hildon_touch_selector_set_column_selection_mode),
2194 (_hildon_touch_selector_set_model),
2195 (hildon_touch_selector_set_model):
2197 Complete review of HildonTouchSelector documentation.
2199 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2201 * doc/hildon-docs.sgml
2205 * src/hildon-gtk.c: Convenience functions for standard Gtk
2206 widgets, used to easily perform frequent operations.
2208 * src/hildon-button-helpers.h
2209 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2211 * src/hildon-helper.h
2212 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2213 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2215 * src/hildon-button.h
2216 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2218 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-button.c (hildon_button_init)
2221 (hildon_button_set_arrangement, hildon_button_construct_child):
2222 Pack the image and the labels inside the same GtkAlignment so
2223 gtk_button_set_alignment() can be used
2225 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-button.h
2228 * src/hildon-button.c
2229 (hildon_button_init, hildon_button_set_image)
2230 (hildon_button_set_image_position)
2231 (hildon_button_construct_child): New functions to add an image to
2234 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-date-button.c
2237 * src/hildon-picker-button.c
2238 * src/hildon-time-button.c
2239 * src/hildon-button.c:
2240 (hildon_button_class_init): "size-flags" renamed to "size"
2241 (hildon_button_set_title): Hide the title label if set to NULL.
2243 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2245 HildonButtonFlags split into HildonButtonArrangement (to set the
2246 button layout) and HildonSizeType (which can be used for any
2249 * src/hildon-button.h
2250 * src/hildon-button.c
2251 (hildon_button_class_init)
2252 (hildon_button_set_arrangement)
2253 (hildon_button_set_property): New "size-flags"
2254 property. "arrangement-flags" renamed to "arrangement".
2255 (hildon_button_new, hildon_button_new_with_text)
2256 (hildon_button_new_full): Constructors updated to reflect type changes.
2258 * src/hildon-helper.h
2259 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2260 to set the size of a widget.
2264 * src/hildon-button-helpers.c
2265 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2267 * src/hildon-date-button.c
2268 * src/hildon-date-button.h
2269 * src/hildon-picker-button.c
2270 * src/hildon-picker-button.h
2271 * src/hildon-time-button.c
2272 * src/hildon-time-button.h: Updated widgets to reflect
2273 HildonButton API changes.
2275 * examples/hildon-button-example.c
2276 * examples/hildon-date-button-example.c
2277 * examples/hildon-picker-button-example.c
2278 * examples/hildon-picker-button-multicolumn-example.c
2279 * examples/hildon-time-button-example.c
2280 * examples/hildon-touch-selector-entry-example.c
2281 * examples/hildon-touch-selector-example.c: Updated examples to
2282 reflect HildonButton API changes.
2284 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2286 * doc/hildon-docs.sgml:
2288 * examples/Makefile.am:
2289 * examples/hildon-touch-selector-entry-example.c:
2291 * src/hildon-touch-selector-entry.c:
2292 * src/hildon-touch-selector-entry.h:
2295 Moved HildonTouchSelectorEntry from sandbox. Added its
2296 documentation and examples.
2298 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-touch-selector.h:
2301 * examples/hildon-picker-button-multicolumn-example.c:
2302 (hildon_touch_selector_append_text_column): Add a gboolean
2303 parameter to determine if text must be centered in the column.
2305 * src/hildon-date-selector.c: (hildon_date_selector_init):
2306 * src/hildon-time-selector.c: (hildon_time_selector_init):
2307 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2308 (create_touch_selector): Update widgets and example to reflect
2311 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-touch-selector.c:
2314 (hildon_touch_selector_set_active_iter): Set also the cursor in
2317 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2319 * doc/hildon-docs.sgml
2322 * src/hildon-toggle-button.c
2323 * src/hildon-toggle-button.h
2324 * src/hildon.h: Removed HildonToggleButton widget, a derived
2325 class is not necessary for this.
2327 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2329 * src/hildon-pannable-area.c,
2330 (hildon_pannable_area_realize),
2331 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2334 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2337 "done" button the default widget for the dialog.
2339 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-touch-selector.c:
2342 (hildon_touch_selector_class_init),
2343 (hildon_touch_selector_get_property),
2344 (_hildon_touch_selector_set_model),
2345 (_hildon_touch_selector_has_multiple_selection),
2346 (hildon_touch_selector_has_multiple_selection):
2347 Add a "has-multiple-selection" property with a virtual
2348 has_multiple_selection() method to allow derived classes to
2349 override the default value for it. See the method and property
2350 documentation for details.
2352 * src/hildon-touch-selector.h: Add the new API.
2354 * src/hildon-picker-dialog.c: (requires_done_button): Call
2355 hildon_touch_selector_has_multiple_selection() instead of
2356 determining the need for a button itself.
2358 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2361 (_hildon_touch_selector_set_model),
2362 (hildon_touch_selector_set_model): Move working code to
2363 _hildon_touch_selector_set_mode(). Call the class method instead.
2365 * src/hildon-touch-selector.h: Add (*set_model) to
2366 HildonTouchSelectorClass.
2368 Make hildon_touch_selector_set_model() a virtual method, so that
2369 derived classes can extend it and do fancy stuff with the model.
2371 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2373 * configure.ac: Set back the tarname in AC_INIT to hildon.
2375 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2379 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2380 instead of libesd (NB#86876). Volume handling is still an open issue.
2382 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2385 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2388 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2389 derived class to ease placement of an entry widget in
2390 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2391 end, where the selector columns are packed now.
2393 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-picker-button.c: Removed the simple _text() API.
2396 * src/hildon-picker-button.h: Likewise.
2398 * src/hildon-touch-selector.h:
2399 * src/hildon-touch-selector.c:
2400 (hildon_touch_selector_new_text),
2401 (hildon_touch_selector_append_text),
2402 (hildon_touch_selector_prepend_text),
2403 (hildon_touch_selector_insert_text):
2405 Moved the simple _text() API from HildonPickerButton to
2406 HildonTouchPicker, to provide better escalability and not to tie
2407 that API to HildonPickerButton.
2409 * examples/hildon-picker-button-example.c: (main): Example updated.
2411 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-button.c: Updated documentation.
2415 * examples/hildon-button-example.c: Add the posibility to create
2416 the buttons using horizontal layout for title and value.
2418 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2420 * src/hildon-app-menu-private.h
2421 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2422 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2423 GtkSizeGroup for the filters, use the 'homogeneous' property of
2426 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2428 * examples/hildon-button-example.c: Updated example.
2430 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2432 * doc/hildon-docs.sgml:
2435 Update documentation.
2437 * examples/Makefile.am: Update renamed examples.
2439 * examples/hildon-picker-button-multicolumn-example.c:
2440 (create_touch_selector), (main): Update after the rename.
2442 * examples/hildon-touch-picker-example.c: Removed.
2443 * examples/hildon-touch-selector-example.c: (value_changed),
2444 (create_selector), (get_visible_content), (main): Renamed from
2445 hildon-touch-picker-example.c
2447 * src/Makefile.am: Updated renamed files.
2449 * src/hildon-date-button.c: (hildon_date_button_init),
2450 (hildon_date_button_get_date), (hildon_date_button_set_date):
2451 * src/hildon-date-selector.c: (hildon_date_selector_init),
2452 (_custom_print_func), (_update_day_model),
2453 (_manage_selector_change_cb),
2454 (hildon_date_selector_select_current_date),
2455 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2456 * src/hildon-date-selector.h:
2457 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2458 (hildon_picker_button_set_property),
2459 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2460 (hildon_picker_button_init), (hildon_picker_button_new_text),
2461 (hildon_picker_button_append_text),
2462 (hildon_picker_button_prepend_text),
2463 (hildon_picker_button_insert_text),
2464 (hildon_picker_button_set_selector),
2465 (hildon_picker_button_get_selector):
2466 * src/hildon-picker-button.h:
2467 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2468 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2469 (_update_title_on_selector_changed_cb), (requires_done_button),
2470 (_hildon_picker_dialog_set_selector),
2471 (hildon_picker_dialog_set_selector),
2472 (hildon_picker_dialog_get_selector):
2473 * src/hildon-picker-dialog.h:
2474 * src/hildon-time-button.c: (hildon_time_button_init),
2475 (hildon_time_button_get_time), (hildon_time_button_set_time):
2476 * src/hildon-time-selector.c: (hildon_time_selector_init),
2477 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2478 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2479 * src/hildon-time-selector.h:
2482 Massive code updates after the rename.
2484 * src/hildon-touch-picker.c: Removed.
2485 * src/hildon-touch-picker.h: Removed.
2487 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2488 (hildon_touch_selector_init), (hildon_touch_selector_map),
2489 (hildon_touch_selector_remove), (_default_print_func),
2490 (_selection_changed_cb), (_create_new_column),
2491 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2492 (hildon_touch_selector_append_text_column),
2493 (hildon_touch_selector_remove_column),
2494 (hildon_touch_selector_set_column_attributes),
2495 (hildon_touch_selector_insert_column),
2496 (hildon_touch_selector_get_num_columns),
2497 (hildon_touch_selector_get_column_selection_mode),
2498 (hildon_touch_selector_set_column_selection_mode),
2499 (hildon_touch_selector_set_print_func),
2500 (hildon_touch_selector_get_print_func),
2501 (hildon_touch_selector_get_active_iter),
2502 (hildon_touch_selector_set_active_iter),
2503 (hildon_touch_selector_get_selected_rows),
2504 (hildon_touch_selector_get_model),
2505 (hildon_touch_selector_set_model),
2506 (hildon_touch_selector_get_current_text),
2507 (_hildon_touch_selector_center_on_selected_items):
2508 * src/hildon-touch-selector.h: Renamed from
2509 hildon-touch-picker.[ch]
2511 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2512 references, code examples, and related documentation.
2514 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2516 * doc/hildon-docs.sgml
2519 * src/hildon-toggle-button.c
2520 * src/hildon-toggle-button.h
2521 * src/hildon.h: New HildonToggleButton widget.
2523 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2525 * src/hildon-button.c: Add API documentation.
2526 (hildon_button_set_size_groups): Check input parameters
2528 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2530 * src/hildon-pannable-area.c
2531 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2532 effect after reaching the movement thredshold. This way we start
2533 using the distance after passing the thredshold.
2535 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2537 * src/hildon-button.c: (hildon_button_set_property): Use the
2538 appropriate g_value_get_flags() method.
2540 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2542 * doc/hildon-docs.sgml:
2545 Add the touch pickers, picker dialogs, and picker button widgets
2546 to the documentation.
2548 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-button.c: (hildon_button_set_property),
2551 (hildon_button_class_init): Make "arrangement-flags" a proper
2552 G_TYPE_FLAGS derived property.
2554 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2556 * examples/Makefile.am: Add below examples.
2557 * examples/hildon-date-button-example.c:
2558 * examples/hildon-picker-button-example.c:
2559 * examples/hildon-picker-button-multicolumn-example.c:
2560 * examples/hildon-time-button-example.c:
2561 * examples/hildon-touch-picker-example.c:
2563 Add examples for the recently added touch pickers,
2564 picker dialogs, and picker button widgets.
2566 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-button.c: Add some API documentation
2570 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-button.h
2573 * src/hildon-button.c
2575 (hildon_button_new_with_text): New constructor to create a button
2576 with no text at all.
2577 (hildon_button_init, hildon_button_set_arrangement)
2578 (hildon_button_set_title, hildon_button_set_value)
2579 (hildon_button_set_text)
2580 (hildon_button_construct_child): Hide the value when it's not used
2581 so the rest of the text is properly aligned.
2582 Allow creating buttons with arbitrary widgets inside (not just
2583 title/value labels).
2585 * examples/hildon-button-example.c (vertical_buttons_window)
2586 (horizontal_buttons_window): Update example to use new API.
2588 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/Makefile.am: Added HildonTimeButton.
2591 * src/hildon-time-button.c: Added missing LGPL header.
2592 * src/hildon-time-button.h: Added missing LGPL header.
2593 * src/hildon.h: Add hildon-time-button.h
2595 Copied HildonTimeButton from sandbox to trunk. Future work on this
2596 widget must take place in trunk.
2598 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/Makefile.am: Added HildonDateButton.
2601 * src/hildon-date-button.c: Update includes.
2602 * src/hildon.h: Add hildon-date-button.h
2604 Copied HildonDateButton from sandbox to trunk. Future work on this
2605 widget must take place in trunk.
2607 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/Makefile.am: Added HildonPickerButton.
2610 * src/hildon-picker-button.h: Update includes.
2611 * src/hildon.h: Add hildon-picker-button.h
2613 Copied HildonPickerButton from sandbox to trunk. Future work on
2614 this widget must take place in trunk.
2616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/Makefile.am: Added HildonPickerDialog.
2619 * src/hildon-picker-dialog.c: Update includes.
2620 * src/hildon.h: Add hildon-picker-dialog.h
2622 Copied HildonPickerDialog from sandbox to trunk. Future work
2623 on this widget must take place in trunk.
2625 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2627 * src/Makefile.am: Added HildonTimeSelector.
2628 * src/hildon.h: Add hildon-time-selector.h
2630 Copied HildonTimeSelector widget from sandbox to trunk. Future
2631 work on this widget must happen in trunk.
2633 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/Makefile.am: Added HildonDateSelector.
2636 * src/hildon.h: Add hildon-date-selector.h
2638 Copied HildonDateSelector widget from sandbox to trunk. Future
2639 work on this widget must happen in trunk.
2641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/Makefile.am: Added HildonTouchPicker.
2644 * src/hildon-touch-picker.c: Update includes.
2645 * src/hildon.h: Add hildon-touch-picker.h
2647 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2648 on this widget must happen in trunk.
2650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-pannable-area.c:
2653 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2655 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2657 * examples/hildon-app-menu-example.c (main): Let the window
2660 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2662 * src/hildon-pannable-area.c
2663 (hildon_pannable_area_class_init): Set the min value of the
2664 overshoot properties to zero, which points out that not
2665 overshooting allowed.
2667 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2669 Modified the procedure to get the widget at a point inside the
2670 pannable area when using the movement type signals. Now the user
2671 has to call a function to get the child, that way we just
2672 calculate the child in case the user really want to use it and not
2675 * src/hildon-marshalers.list: Modified the marshallers, now we do
2676 not have the widget as a parameter.
2678 * src/hildon-pannable-area.c
2679 (hildon_pannable_area_motion_notify_cb),
2680 (hildon_pannable_area_class_init),
2681 (hildon_pannable_get_child_widget_at): Removed the widget
2682 parameter from the signal callback. We have also refactored the
2683 emission of the signals.
2685 * src/hildon-pannable-area.h: Added a new method to the API to
2686 calculate a widget at a point inside the pannable area,
2687 hildon_pannable_get_child_widget_at.
2689 * examples/hildon-pannable-area-example-4.c
2690 (horizontal_movement): Modified the example to use the new API,
2691 added condition to control which widget is under the event. This
2692 way we can avoid scrolling laterally over other widgets.
2694 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2696 * src/hildon-pannable-area.c
2697 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2698 modes, we stop getting the pointer events due to returning the
2699 callback without properly calling the get pointer again. Fixed
2700 also an error using the hscroll and vscroll.
2702 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-app-menu-private.h
2705 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2706 (hildon_app_menu_button_release, hildon_app_menu_init)
2707 (hildon_app_menu_class_init): Don't hide the menu on button
2708 release if the user didn't press outside first.
2710 * src/hildon-window.h
2711 * src/hildon-window.c (hildon_window_toggle_menu)
2712 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2713 hildon_window_toggle_menu a virtual function for the stackable
2714 window to override it.
2716 * src/hildon-stackable-window.h
2717 * src/hildon-stackable-window-private.h
2718 * src/hildon-stackable-window.c
2719 (hildon_stackable_window_realize)
2720 (hildon_stackable_window_finalize)
2721 (hildon_stackable_window_class_init)
2722 (hildon_stackable_window_init)
2723 (hildon_stackable_window_set_main_menu): New function to set the
2724 app menu of a HildonStackableWindow.
2726 * examples/hildon-app-menu-example.c: Remove the button to show
2727 the app menu, now it'll be shown when clicking on the title bar
2730 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2733 set the widget name if the arrangement flags do not specify
2736 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-button.c: (hildon_button_set_property),
2739 (hildon_button_class_init), (hildon_button_new_full),
2740 (hildon_button_set_arrangement): Added "arrangement-flags"
2743 Make the HildonButtonFlags a construction-only property, to allow
2744 subclasses to set them properly.
2746 2008-07-21 Tim Janik <timj@imendio.com>
2748 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2749 insertion position after backspace, so additional digits are appended,
2752 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2754 * src/hildon-pannable-area.c,
2755 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2756 TODO list, it was complete and removed the g_debug and g_print
2759 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2761 Added the movement modes to the hildon-pannable-area, with this
2762 modes the developers can control in which directions the widget
2763 can scroll. They can also connect to signals in order to do
2764 something when that happens, allowing applications scroll. There
2765 is an example uploaded showing how to use it.
2767 * examples/Makefile.am:
2768 * examples/hildon-pannable-area-example-4.c: Added this example of
2769 an application using the modes.
2771 * src/hildon-marshalers.list: Added a new marshaller for the new
2774 * src/hildon-pannable-area.h: Added new enumerations and flags in
2775 order to control the movement modes and the new signals to warn
2776 about the movements in the area.
2778 * src/hildon-pannable-area.c:
2779 (hildon_pannable_axis_scroll),
2780 (hildon_pannable_area_scroll),
2781 (hildon_pannable_area_motion_notify_cb),
2782 (hildon_pannable_area_get_property),
2783 (hildon_pannable_area_set_property),
2784 (hildon_pannable_area_map),
2785 (hildon_pannable_area_class_init),
2786 (hildon_pannable_area_init),
2787 (hildon_pannable_area_jump_to): Added the modes to control the
2788 movement in the widget. We have added properties to control it,
2789 signals to warn about the movements and refactored some code.
2791 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2793 Changes required in order to allow vfast_factor set to zero to
2796 * src/hildon-pannable-area.c:
2797 (hildon_pannable_area_button_press_cb): Changed the condition, it
2798 is required for not allowing click when vfast_factor is zero.
2799 (hildon_pannable_area_timeout): Initialized velocity variables
2800 when we stop moving, it was less than 1 but not zero and we need
2801 to check zero in some situations.
2802 (hildon_pannable_area_class_init): Changed the default value of
2803 the speed factor, now the button_press is just sent in case the
2804 speed is 2 per cent of the max speed.
2805 (hildon_pannable_area_init): Initialization with 0.
2807 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2809 * src/hildon-pannable-area.c,
2810 (hildon_pannable_area_get_topmost): replaced
2811 gdk_window_get_children with gdk_window_peek_children, this way we
2812 do not have to free the list because it is not a copy.
2814 (hildon_pannable_axis_scroll),
2815 (hildon_pannable_area_scroll),
2816 (hildon_pannable_area_timeout),
2817 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2818 two parameters that were only used inside the
2819 hildon_pannable_area_scroll function.
2821 * examples/hildon-pannable-area-example.c,
2822 (get_sawtooth_label): Fixed small memory leak.
2824 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2826 More checks for the case where the overshoot is bigger than the
2829 * src/hildon-pannable-area.c:
2830 (hildon_pannable_draw_vscroll),
2831 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2832 to draw the slider of the scrollbar under the other scrollbar.
2833 (hildon_pannable_area_expose_event): added new checks to control
2834 the drawing of the overshooting area rectangle, in case it is too
2835 big for the area of the widget.
2836 (hildon_pannable_area_size_allocate): add more checks to avoid
2837 setting a position to the child widget outside the area.
2839 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2841 * src/hildon-pannable-area.c
2842 (hildon_pannable_area_size_allocate): Added conditions to control
2843 when overshooting is bigger than the allocated space for the
2844 children, this avoids negative allocations.
2846 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2848 * doc/hildon-docs.sgml
2850 * examples/Makefile.am
2851 * examples/hildon-button-example.c
2853 * src/hildon-button.c
2854 * src/hildon-button.h
2855 * src/hildon.h: Initial version of the new HildonButton widget,
2858 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/hildon-pannable-area.c:
2861 (hildon_pannable_area_button_press_cb),
2862 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2863 (hildon_pannable_area_motion_notify_cb),
2864 (hildon_pannable_area_button_release_cb),
2865 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2866 (hildon_pannable_area_jump_to_child):
2868 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2870 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2872 * examples/Makefile.am
2873 * examples/hildon-pannable-area-touch-grid-example.c
2874 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2875 the Hildon Touch List and Hildon Touch Grid using the
2876 HildonPannableArea widget.
2878 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2880 * src/hildon-pannable-area.c,
2881 (hildon_pannable_area_button_press_cb),
2882 (hildon_pannable_area_refresh),
2883 (hildon_pannable_area_scroll),
2884 (hildon_pannable_area_motion_notify_cb),
2885 (hildon_pannable_area_button_release_cb),
2886 (hildon_pannable_area_expose_event),
2887 (hildon_pannable_area_add),
2888 (hildon_pannable_area_remove),
2889 (hildon_pannable_area_realize),
2890 (hildon_pannable_area_size_allocate),
2891 (hildon_pannable_area_class_init),
2892 (hildon_pannable_area_init),
2893 (hildon_pannable_area_scroll_to_child),
2894 (hildon_pannable_area_jump_to_child): Fixed the problem of
2895 removing the child from the GtkBin, we have rearranged the widget
2896 hierarchy, now there is no GtkAlignment which was not doing
2897 anything interesting but breaking some of the assumptions of
2898 GtkContainer. Now developers if they want to add a GtkAlignment
2899 they could, but it is not inside the area.
2901 We had to review the whole allocation/expose process, now it is
2902 improved and we save at least three signals which would be saving
2903 some time when rendering the widget. The allocation of the
2904 scrollbars is now made in the allocate method as usual.
2906 We have also added some conditions in order to control when there
2907 is no child of the pannable area. Maybe we will need more work
2910 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2912 * src/hildon-pannable-area.c,
2913 (hildon_pannable_area_dispose): Released the fade-out timeout when
2914 disposing the widget.
2916 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2919 zero, we are going to use that property in order to deactivate the
2921 (hildon_pannable_axis_scroll),
2922 (hildon_pannable_area_size_allocate): Added conditions to control
2923 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2924 call, now it is called in all situations and we can remove calls
2925 in the allocate method.
2926 (hildon_pannable_area_map): Control the situation when
2927 overshoot_max is zero, we do not need the timeout.
2928 (hildon_pannable_area_class_init): Added documentation in order to
2929 point out that setting zero to overshoot_max means deactivate
2932 NOTE: removed trailing whitespaces from my previous comments of
2935 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-pannable-area.c
2938 (hildon_pannable_area_get_property),
2939 (hildon_pannable_area_set_property),
2940 (hildon_pannable_area_map),
2941 (hildon_pannable_area_class_init),
2942 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2943 to cause the widget give a hint about its panning abilities upon
2946 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2948 * src/hildon-pannable-area.c: Several documentation improvements.
2950 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-program.c
2953 * src/hildon-stackable-window.c: Update documentation.
2955 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2957 * src/hildon-stackable-window.c (get_previous_window_if_last):
2958 Renamed get_last_window()
2959 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2960 (hildon_stackable_window_unset_program):
2962 (get_previous_window_if_last):
2963 Detect if the window hasn't been added to a HildonProgram.
2965 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2967 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-pannable-area.c
2970 (hildon_pannable_area_button_press_cb),
2971 (hildon_pannable_axis_scroll),
2972 (hildon_pannable_area_scroll),
2973 (hildon_pannable_area_timeout),
2974 (hildon_pannable_calculate_vel_factor),
2975 (hildon_pannable_area_get_property),
2976 (hildon_pannable_area_set_property),
2977 (hildon_pannable_area_class_init),
2978 (hildon_pannable_area_init),
2979 (hildon_pannable_area_scroll_to),
2980 (hildon_pannable_area_jump_to),
2981 (hildon_pannable_area_scroll_to_child),
2982 (hildon_pannable_area_jump_to_child):
2983 * src/hildon-pannable-area.h: Added the new API functions:
2984 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2985 hildon_pannable_area_scroll_to_child,
2986 hildon_pannable_area_jump_to_child
2989 * examples/Makefile.am
2990 * examples/hildon-pannable-area-example-2.c
2991 * examples/hildon-pannable-area-example-3.c: Added these two new
2992 examples in order to test and show how the new APIs work.
2994 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2996 * examples/hildon-stackable-window-example.c (new_window):
2997 * src/Makefile.am (noinst_HEADERS):
2998 * src/hildon-program.c (hildon_program_go_to_root_window):
2999 * src/hildon-program.h:
3000 * src/hildon-stackable-window-private.h:
3001 * src/hildon-stackable-window.c:
3002 * src/hildon-stackable-window.h:
3003 Create hildon-stackable-window-private.h
3004 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3006 * examples/hildon-app-menu-example.c (create_menu):
3007 * examples/hildon-hvolumebar-insensitive-example.c (main):
3008 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3009 * examples/hildon-toolbar-seekbar-example.c (main):
3010 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3011 * src/hildon-banner.c (hildon_banner_set_property):
3012 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3013 Fix compilation warnings
3015 * src/hildon-window.c:
3018 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-stackable-window.c
3021 (hildon_stackable_window_unset_program):
3022 Calculate correctly whether to show the previous window if the
3023 last one is removed from the stack.
3024 (hildon_stackable_window_go_to_root_window):
3025 Send delete events starting from the topmost window.
3026 Stop if one of the windows is not destroyed.
3028 (hildon_stackable_window_delete_event)
3029 (hildon_stackable_window_class_init):
3030 Ignore the delete event if the window is not the topmost one.
3032 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3034 * src/hildon-pannable-area.c
3035 (hildon_pannable_area_expose_event): Fixed a problem when
3036 selecting the background color of the scrollbars.
3038 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3040 * examples/hildon-stackable-window-example.c
3041 * src/hildon-stackable-window.c
3042 * src/hildon-stackable-window.h
3043 hildon_stackable_window_go_home() renamed to
3044 hildon_stackable_window_go_to_root_window()
3045 Send delete events to windows rather than closing them with
3046 gtk_widget_destroy()
3048 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-pannable-area.c
3051 (hildon_pannable_area_button_release_cb): Fix overshooting in
3054 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3056 * src/hildon-pannable-area.c
3057 (hildon_pannable_area_init): Initially show the scroll indicators.
3058 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3060 Add initial effect showing the widget is pannable.
3062 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-pannable-area.c
3065 (hildon_pannable_area_class_init)
3066 (hildon_pannable_area_set_property)
3067 (hildon_pannable_area_get_property)
3068 (hildon_pannable_area_button_press_cb):
3069 New 'velocity_fast_factor' property to decide which velocity is
3072 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3074 * src/hildon-pannable-area.c
3075 (hildon_pannable_draw_hscroll)
3076 (hildon_pannable_draw_vscroll):
3077 Use float variables to calculate the size of the scrollbars to
3078 avoid error propagation and resizing during scrolling.
3080 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-pannable-area.c
3083 (hildon_pannable_draw_vscroll)
3084 (hildon_pannable_draw_hscroll):
3085 Define a minimum size for the scroll bars
3087 * src/hildon-stackable-window.c
3088 (hildon_stackable_window_go_home): Fix compilation warning
3089 (get_last_window): Minor optimizations
3090 (hildon_stackable_window_class_init): Fix initialization of
3093 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-stackable-window.c: Fixed typos in doc
3097 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3099 * src/hildon-pannable-area.c
3100 (hildon_pannable_area_scroll):
3101 Calculate here whether we need to scroll instead of using the booleans
3102 that tell us whether to /draw/ the scrolling bars.
3104 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3106 * src/hildon-app-menu.h
3108 * src/hildon-app-menu.c
3109 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3110 multiple filter groups related code and API. Now we support only
3112 * examples/hildon-app-menu-example.c:
3114 Update to reflect API changes.
3116 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-stackable-window.c
3119 (hildon_stackable_window_class_init):
3120 Add hildon_stackable_window_realize.
3121 (hildon_stackable_window_realize):
3122 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3123 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3124 to apply theming and behavior specific to HildonStackableWindow
3127 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3129 * src/hildon-note.c (hildon_note_button_release):
3130 Close information notes also when tapping on them
3132 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3134 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3135 ELASTICITY, refactor and review, fix some issues with drawing
3138 * src/hildon-pannable-area.c:
3139 (hildon_pannable_area_button_press_cb): removed the conditions to
3140 avoid clicks when overshooting. It is not required
3142 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3143 define. Refatored and reviewed the code, now we do not need to
3144 manage velocity in motion_notify.
3146 (hildon_pannable_area_motion_notify_cb): We have moved the code
3147 that controls the area_scroll to the axis_scroll function and get
3148 rid of duplicated code.
3150 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3152 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3154 (hildon_pannable_draw_vscroll),
3155 (hildon_pannable_draw_hscroll): Fixed the problems with the
3156 scrollbar drawing, now we do not use two surfaces, it is easier
3157 and saves resources.
3159 (hildon_pannable_area_get_property): Style modification.
3161 (hildon_pannable_area_class_init): Changed some default values.
3163 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3165 * src/hildon-stackable-window.c: Fix some typos in the
3168 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3170 * src/hildon-dialog.c:
3171 Change indentation style
3174 (hildon_note_button_release):
3175 Use root coordinates to check if the release event happened
3178 * src/hildon-app-menu.c
3179 (hildon_app_menu_button_release):
3180 Remove unnecessary check
3182 * examples/hildon-app-menu-example.c
3184 Add cast to fix warning
3186 * src/hildon-app-menu.c
3187 (hildon_app_menu_class_init):
3188 New inner-border style property.
3189 Set all default spacings to 16
3190 (hildon_app_menu_init):
3191 Use vertical-spacing to set the space between filter buttons and
3192 regular menu buttons.
3193 Set the default container border using the inner-border value.
3195 * examples/hildon-app-menu-example.c
3197 Don't set the menu border explicitly, now we have the inner-border
3198 style property for that.
3200 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-app-menu.c (hildon_app_menu_init):
3203 Make the window modal
3205 * src/hildon-note.c (hildon_note_map)
3206 * src/hildon-app-menu.c (hildon_app_menu_map):
3207 Destroy the grab window if we're unable to grab the pointer
3209 * src/hildon-app-menu-private.h
3210 * src/hildon-app-menu.c
3211 (hildon_app_menu_init, hildon_app_menu_finalize)
3212 (hildon_app_menu_map, hildon_app_menu_unmap)
3213 (hildon_app_menu_button_release)
3214 (grab_transfer_window_get):
3215 Bring back the grab window
3216 (hildon_app_menu_realize):
3217 Decorate the window, set WM hint for Matchbox
3219 * src/hildon-note.c (hildon_note_realize):
3220 * src/hildon-banner.c (hildon_banner_realize):
3221 Add WM hints for Matchbox
3223 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-app-menu-private.h
3226 * src/hildon-app-menu.c
3227 (hildon_app_menu_init, hildon_app_menu_finalize)
3228 (hildon_app_menu_map, hildon_app_menu_unmap)
3229 (hildon_app_menu_button_release):
3230 Remove the grab window, it's not needed anymore
3232 * src/hildon-program.c
3233 Fixed typo in documentation
3235 * src/hildon-app-menu.h
3236 * src/hildon-app-menu.c
3237 * examples/hildon-app-menu-example.c
3238 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3240 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3243 Added new transfer_window and close_if_pressed_outside private
3245 (hildon_note_rebuild):
3246 Don't add a cancel button to the information note. It will be
3247 closed when tapping outside
3248 Remove the comment about the OK button in the documentation
3249 (hildon_note_realize):
3250 Set the notification type hint
3251 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3252 Grab/ungrab pointer and keyboard if the note has to be closed when
3254 (hildon_note_button_release):
3255 Close the note when tapping outside (if applicable)
3257 * src/hildon-app-menu.c
3258 Grab/ungrab pointer and keyboard on map/unmap
3259 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3260 Close the menu on button release, not button press
3262 * src/hildon-banner.c
3263 (hildon_banner_set_property)
3264 (hildon_banner_check_position):
3265 Make the banner use the full width of the screen
3266 (hildon_banner_show_information)
3267 (hildon_banner_show_information_with_markup):
3268 Don't display an icon by default
3270 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3272 Added fading scrollbars and adapted all the overshooting code to
3273 horizontal scrolling. We have also fixed bugs with overshooting
3274 and current fading implementation.
3276 * src/hildon-pannable-area.c
3277 (hildon_pannable_area_scroll_indicator_fade): Time out function
3278 used to change the transparency of the scrollbars.
3280 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3281 control and fixed a problem with fading, we now remove the fade
3282 timeout before adding a new one.
3284 (hildon_pannable_axis_scroll):
3285 (hildon_pannable_area_scroll):
3286 (hildon_pannable_area_timeout): Added this functions so we can use
3287 the scroll code both for vertical and horizontal.
3289 (hildon_pannable_area_motion_notify_cb):
3290 (hildon_pannable_area_button_release_cb): Added the horizontal
3291 scrolling control, fixed a problem with the overshooting timeout.
3293 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3294 painting of the scrolls.
3296 (hildon_pannable_draw_vscroll):
3297 (hildon_pannable_draw_hscroll):
3298 (hildon_pannable_area_expose_event):
3299 Draw both scrollbars and rectangles in the overshooting area.
3301 (hildon_pannable_area_get_property):
3302 (hildon_pannable_area_set_property):
3303 Modified the overshoot property to overshoot_max
3305 (hildon_pannable_area_map):
3306 Replaced the comments symbols.
3308 (hildon_pannable_area_size_allocate):
3309 (hildon_pannable_area_class_init):
3310 (hildon_pannable_area_init): Added horizontal scroll, fading
3311 effect properties, fixed a problem when overshooting in the bottom
3314 * examples/hildon-pannable-area-example.c:
3315 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3316 looks better in the example.
3318 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-window.c
3321 * src/hildon-window.h
3322 (hildon_window_class_init)
3323 (hildon_window_unset_program)
3324 (hildon_window_unset_program_real):
3325 Make unset_program a virtual function
3327 * src/hildon-stackable-window.c
3328 * src/hildon-stackable-window.h
3329 Added hildon_stackable_window_go_home()
3331 * examples/Makefile.am
3332 * examples/hildon-stackable-window-example.c
3333 HildonStackableWindow example
3335 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3337 * hildon-pannable-area.c: Added the overshoot property and removed
3338 the OVERSHOOT define. Fixed an indent style error.
3339 (hildon_pannable_area_motion_notify_cb):
3340 (hildon_pannable_area_get_property):
3341 (hildon_pannable_area_set_property): Add overshoot property.
3343 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3346 (hildon_pannable_area_class_init): Installed the new property.
3348 * hildon-pannable-area-example.c: Added a sawtooth function, this
3349 way it is easier to check the movement in the pannable.
3350 (get_sawtooth_label): Added this function.
3351 (main): Now we get the labels from the new get_sawtooth_label
3354 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-app-menu.h
3357 * src/hildon-app-menu.c
3358 Renamed API variables for consistency
3360 (hildon_app_menu_popup): Use also the default window size to
3361 decide where to place the menu
3363 (hildon_app_menu_init, hildon_app_menu_class_init): New
3364 external-border style property
3366 2008-05-26 Michael Natterer <mitch@imendio.com>
3368 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3369 widget_class->tap_and_hold_setup signal slot doesn't exist any
3370 longer, stop overriding it.
3372 (hildon_time_editor_init): g_signal_connect() to the
3373 tap-and-hold-setup signal instead.
3375 (hildon_time_editor_entry_keypress): add cast to fix warning.
3377 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3379 * doc/hildon-docs.sgml
3381 * examples/Makefile.am
3382 * examples/hildon-app-menu-example.c
3384 * src/hildon-app-menu-private.h
3385 * src/hildon-app-menu.c
3386 * src/hildon-app-menu.h
3388 New HildonAppMenu widget
3390 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3392 Rearranged the inheritance of the pannable area, now it inherits
3393 from GtkBin. This will allow us to control the event_window and
3394 the allocation process of the widget, required for some effects.
3396 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3397 GtkBin structures. * src/hildon-pannable-area.c: Added the
3398 event_window variable.
3399 (hildon_pannable_area_button_press_cb):
3400 (hildon_pannable_area_button_release_cb):
3401 (hildon_pannable_area_motion_notify_cb):
3402 Changed the signature of the method, now we override the event
3403 callback instead of connecting to the signal.
3405 (hildon_pannable_area_realize):
3406 (hildon_pannable_area_unrealize):
3407 (hildon_pannable_area_map):
3408 (hildon_pannable_area_unmap):
3409 (hildon_pannable_area_size_allocate):
3410 Added functions to control the widget construction. We add a
3411 INPUT_ONLY window and we put it over the widgets inside the
3412 container, this event_window handles the events.
3414 (hildon_pannable_area_class_init):
3415 Replaced the signal connections with overrides of the event
3418 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3420 Bouncing effect added when touching the borders, you can change
3421 the elasticity of the border changing the ELASTICITY define.
3423 * src/hildon-pannable-area.c: Added ELASTICITY define.
3424 (hildon_pannable_area_timeout): Added inverse velocity when
3425 touching the border of the child widget, that causes a bounce.
3427 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3429 Improved performance, we now do not go to the X server in order to
3430 get the list of window children. Apparently the effect is the
3431 same, we have to be careful and check if this breaks something in
3434 * src/hildon-pannable-area.c:
3435 (get_ordered_children): Removed this function.
3436 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3437 the children windows function with gdk_window_get_children.
3439 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3441 * src/hildon-pannable-area.c:
3442 (hildon_pannable_area_dispose): Fixed a crash when closing the
3443 window and kinetics is activated.
3445 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-pannable-area.h
3448 * src/hildon-pannable-area.c
3449 Changed indentation style to meet the one used in Hildon
3451 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3453 Reviewed the interaction of the AUTO mode, now we use the time
3454 attribute of the events and calculate the velocity in the motion,
3455 doing a gimp like calculation. The velocity is calculated in each
3456 motion event using the last velocity and the current one, the
3457 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3459 * src/hildon-pannable-area.c: Replaced the time based algorithm
3461 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3462 timeout for the AUTO mode when we are still moving the cursor. We
3463 added also the velocity calculation in this function.
3464 (hildon_pannable_area_button_release_cb): launch the timeout in
3465 case we are in AUTO mode. There are still some constants here that
3466 come from the old implementation that should be reviewed and
3469 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3471 * doc/hildon-docs.sgml
3474 * src/hildon-stackable-window.c
3475 * src/hildon-stackable-window.h
3477 New HildonStackableWindow widget
3479 * examples/hildon-dialog-example.c
3480 * examples/hildon-pannable-area-example.c
3483 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-dialog.c
3486 (hildon_dialog_new_with_buttons): New constructor.
3488 * examples/hildon-dialog-example.c
3489 (main): Update the example to use the new
3490 hildon_dialog_new_with_buttons().
3492 * examples/hildon-pannable-area-example.c
3493 (main): Update example.
3495 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3497 * doc/hildon-docs.sgml
3499 Added HildonPannableArea to the documentation.
3501 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3503 * doc/visual_index.xml
3504 Fix reference to HildonLoginDialog in documentation
3506 * doc/hildon-docs.sgml
3508 * examples/Makefile.am
3509 * examples/hildon-dialog-example.c
3511 * src/hildon-dialog.c
3512 * src/hildon-dialog.h
3514 New HildonDialog widget.
3516 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-pannable-area.c
3519 Merge latest changes (r4318, r4342) from libmokoui trunk
3521 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3523 * examples/Makefile.am
3524 * examples/hildon-pannable-area-example.c
3526 * src/hildon-pannable-area.c
3527 * src/hildon-pannable-area.h
3529 New HildonPannableArea widget.
3531 2008-04-15 18:05:19 <timj@imendio.com>
3533 * src/hildon-banner.c: revert the recent change, that introduced
3534 gtk_window_present() calls. this reopens:
3535 Bug 78481 - [freetest] information banners are hidden under browser menu
3536 But resolves another variant of:
3537 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3539 2008-04-15 13:21:13 <timj@imendio.com>
3541 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3542 recreated its layout, spotted by Kris. this fixes all remaining
3543 artefacts and stability issues with the banner code. in particular:
3544 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3546 2008-04-14 16:52:59 <timj@imendio.com>
3548 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3549 operating on unrealized widgets, fixes:
3550 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3552 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3554 2008-04-09 Kristian Rietveld <kris@imendio.com>
3556 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3557 makes banner disappear.
3558 Fixes: NB#79182: info banner flickering with certain message lengts.
3560 * src/hildon-banner.c (hildon_banner_constructor),
3561 (hildon_banner_init), (hildon_banner_set_text),
3562 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3563 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3564 FALSE, reset size requests of label and banner,
3565 (force_to_wrap_truncated): when the text is too wide, always enforce
3566 the maximum possible width instead of recalculating it from the
3567 layout; enforce the maximum banner height of 3 lines,
3568 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3569 nicer wrapping and no truncated chars if space gets tight.
3571 * src/hildon-banner-private.h: add has_been_wrapped and
3572 has_been_truncated fields.
3574 2008-04-07 Sven Herzberg <sven@imendio.com>
3576 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3577 local values in hildon_date_editor_size_allocate
3579 * src/hildon-date-editor.c: moved the real allocation code into the
3582 2008-04-07 Sven Herzberg <sven@imendio.com>
3584 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3585 local values in hildon_date_editor_size_allocate
3587 * src/hildon-date-editor.c: merged the two if() branches together
3589 2008-04-07 Sven Herzberg <sven@imendio.com>
3591 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3592 local values in hildon_date_editor_size_allocate
3594 * src/hildon-date-editor.c: changed the arguments of the if()
3597 2008-04-07 Sven Herzberg <sven@imendio.com>
3599 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3600 local values in hildon_date_editor_size_allocate
3602 * src/hildon-date-editor.c: split the calculation of the allocation
3603 from the real allocation
3605 2008-03-27 Michael Natterer <mitch@imendio.com>
3607 Fixes: NB#81696: The passcode is not overwritten even after
3610 * src/hildon-code-dialog.c
3611 (hildon_code_dialog_button_clicked)
3612 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3613 because that doesn't overwrite selected text. Instead, emit the
3614 "commit" signal on the entry's im_context so the entry's normal
3615 insert logic is triggered. Set the cursor to the end of the entry
3616 after each insert operation so that we *only* insert in the middle
3617 of the text if something was selected.
3619 2008-03-27 Michael Natterer <mitch@imendio.com>
3621 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3622 selector cannot be opened
3624 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3625 when the popup color selector is created. Please connect to this
3626 signal in order to set the dialog's help ID.
3628 2008-03-25 Sven Herzberg <sven@imendio.com>
3630 Fixes: MB#1212: Hide info banners (infoprints) on click
3632 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3633 extracted the close event simulation into an extra function
3634 (hildon_banner_button_press_event): simulate a close event and destroy
3635 the widget if the event wasn't handled
3636 (hildon_banner_class_init): added the button_press_event handler
3637 (hildon_banner_init): added button-press events to the widget
3639 2008-03-25 Sven Herzberg <sven@imendio.com>
3641 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3642 Patch from: Mohammad Anwari <mdamt@maemo.org>
3644 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3645 instead of the right in RTL mode
3646 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3647 breadcrumb button list in RTL mode
3648 * src/hildon-caption.c: mirror the appearance of the caption widget in
3650 * src/hildon-date-editor.c: mirror appearance of the date editor in
3652 * src/hildon-time-editor.c: mirror appearance of the time editor in
3654 * src/hildon-window.c: fix the position of the popup in RTL mode
3656 2008-03-25 Sven Herzberg <sven@imendio.com>
3658 Amendment to the fix of NB#22072. Fix compilation.
3660 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3662 2008-03-19 Sven Herzberg <sven@imendio.com>
3664 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3667 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3668 timeout id properly when the timeout will disappear this leaves no
3669 artifacts around in the destroy(); there will only be the timeout
3670 created by hildon_banner_ensure_timeout() and adding a new timeout
3671 will also work if the timeout gets removed because the timeout_handler
3674 2008-03-19 Michael Natterer <mitch@imendio.com>
3676 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3678 * src/hildon-volumebar.c
3679 * src/hildon-vvolumebar.c
3680 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3681 the widget becomes focussable at all.
3683 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3684 set the focus to wither the mute button or the volumebar.
3686 Remove own "can-focus" property and instead listen to
3687 notify::can-focus in order to update the widget's state.
3689 Implement GtkWidget::focus() and make sure we can also *leave* the
3690 widget, not only enter it, depending on volumebar orientation and
3691 requested focus direction.
3693 Clean up set_mute() to cooperate nicely with all the above.
3695 2008-03-04 Michael Natterer <mitch@imendio.com>
3697 Fixes: NB#78481: information banners are hidden under browser menu
3699 * src/hildon-banner.c: call gtk_window_present() on the banners so
3700 they are risen if they are already visible.
3702 2008-03-03 Sven Herzberg <sven@imendio.com>
3704 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3706 * examples/hildon-window-menu-example.c: (main): extended the window
3707 menu example to serve as a testcase for automatically added
3708 accelerator groups, too
3709 * src/hildon-window.c: (hildon_window_add_accel_group),
3710 (hildon_window_set_menu): added patch by Tommi Komulainen
3712 2008-03-03 Sven Herzberg <sven@imendio.com>
3714 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3716 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3717 knowledge about the border allocators used within GTK+
3719 2008-02-26 Sven Herzberg <sven@imendio.com>
3721 Fixes: MB#2981: Build with asserts broken
3723 * src/hildon-date-editor.c,
3724 * src/hildon-number-editor.c,
3725 * src/hildon-time-editor.c,
3726 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3727 the proper GType instance check
3729 2008-02-25 Sven Herzberg <sven@imendio.com>
3731 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3733 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3734 * examples/hildon-window-menu-example.c: (main): explicitly show
3736 * src/hildon-window.c:
3737 (hildon_window_set_main_menu): moved most of the code from set_menu()
3738 to this place; skipped the call to gtk_widget_show_all(); also didn't
3739 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3740 (hildon_window_set_menu): removed most of the code, just keep the
3741 questionable gtk_widget_show_all()
3742 * src/hildon-window.h: added the new function and deprecate the old
3745 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3751 * debian/changelog: Updating.
3753 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3756 * pkgconfig/Makefile.am:
3757 * pkgconfig/hildon.pc.in:
3760 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3761 use newly created API_MAJOR_VERSION.
3763 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3769 * debian/changelog: Updating.
3771 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3773 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3775 Add outer_border style property, we use it but don't define it (!).
3779 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3781 * examples/hildon-bread-crumb-trail-example.c (main):
3785 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3787 Fix logic for the bread crumb trail node removal.
3791 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3797 * debian/changelog: Updating.
3799 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3801 Patch by Alejandro to get/set passwords dialogs accesibility.
3803 * hildon-1/src/hildon-get-password-dialog.c:
3804 * hildon-1/src/hildon-set-password-dialog.c:
3805 Set atk_set_name to the passwd entries in order to allow
3806 accessibility by name on this entries.
3808 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * debian/control: Updating gtk dep.
3815 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3817 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3818 USE_MAEMO_GTK is enabled.
3820 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3822 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3823 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3825 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3831 * debian/changelog: Updating.
3833 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3835 * examples/Makefile.am:
3836 * examples/hildon-logical-color-example.c:
3837 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3838 applied + adding a test case. Fixes: NB#71660.
3840 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3842 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3843 to be visible, fixes warning on map for windows without toolbars.
3845 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3847 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3848 2.11.0, add a check for that besides the MAEMO_GTK check.
3850 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3856 * debian/changelog: Updating.
3858 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3860 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3861 visibility. Fixes: NB#70842 and MB#615.
3863 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3865 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3866 set the separator as no-show-all so it doesn't unintentionally appear when
3867 someone does a show_all.
3869 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3871 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3872 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3873 toplevel item. Fixes: NB#62031
3875 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3877 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3878 fix the name of the function in the docs.
3880 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3886 * debian/changelog: Updating.
3888 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3890 * examples/hildon-banner-long-example.c: Adding a test-case for long
3893 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3895 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3897 * src/hildon-color-chooser-dialog.c:
3898 * src/hildon-color-chooser.c:
3899 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3900 memory leaks in font selector and color selector. Fixes: NB#70499 and
3903 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3905 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3907 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3909 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3910 little bit bigger. Fixes: #NB63694.
3912 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * debian/changelog: Updating.
3920 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3923 * doc/hildon-docs.sgml:
3924 * doc/images/bread-crumb-trail.png:
3925 * doc/images/calendar-popup.png:
3926 * doc/images/caption.png:
3927 * doc/images/code-dialog.png:
3928 * doc/images/color-button.png:
3929 * doc/images/color-chooser-dialog.png:
3930 * doc/images/color-chooser.png:
3931 * doc/images/controlbar.png:
3932 * doc/images/date-editor.png:
3933 * doc/images/font-selection-dialog.png:
3934 * doc/images/get-password-dialog.png:
3935 * doc/images/hvolumebar.png:
3936 * doc/images/login-dialog.png:
3937 * doc/images/note.png:
3938 * doc/images/number-editor.png:
3939 * doc/images/range-editor.png:
3940 * doc/images/seekbar.png:
3941 * doc/images/set-password-dialog.png:
3942 * doc/images/sort-dialog.png:
3943 * doc/images/time-editor.png:
3944 * doc/images/time-picker.png:
3945 * doc/images/vvolumebar.png:
3946 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3947 Adding the bread-crumb-trial and helpers to the documentation.
3949 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3951 * examples/hildon-find-toolbar-example.c:
3952 * src/hildon-find-toolbar.c:
3953 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3954 actually continue firing the other handlers if connected. Adding a new
3956 hildon_find_toolbar_get_last_index that gets the index of the most
3957 recently added (last) item. Fixes: NB#52301.
3959 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3961 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3962 behaviour. Fixes: NB#68610.
3964 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3966 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3969 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3971 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3972 when realizing the banner. Should make the infonbanner effect a bit more
3975 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3977 * src/hildon-volumebar.c:
3978 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3979 hildon_volumebar_set_range_insensitive_message and
3980 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3982 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3984 * src/hildon-window.c: Fixing the border freeing on destroy.
3986 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3988 * src/hildon-code-dialog-private.h:
3989 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3990 kw keyboard support in HildonCodeDialog.
3992 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3998 * debian/changelog: Updating.
4000 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4002 * src/hildon-date-editor.c:
4003 * src/hildon-number-editor.c:
4004 * src/hildon-private.c:
4005 * src/hildon-private.h:
4006 * src/hildon-time-editor.c:
4007 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4008 handling in subclassed composite widgets. Fixes: NB#66628.
4010 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4012 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4013 from destroy_ callback as it introduces problems in async dbus signal
4014 handlers. Fixes NB#66673.
4016 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4018 * examples/hildon-hvolumebar-example.c:
4019 * src/hildon-volumebar.c: Improving the focus handling in the
4020 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4021 set_property accessor so that "mute" property can be actually set. I'm
4022 scared that nobody noticed it's totally broken.
4024 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4026 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4029 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4031 * src/hildon-calendar.c:
4032 * src/hildon-number-editor.c:
4033 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4034 matches the spec of 6 chars per second. Fixes: NB#60489.
4036 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4039 gtk_style_lookup_color sometime returns FALSE even though color was
4040 found and values were filled properly. Weird. Removing the warning for the
4043 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4045 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4046 expand vertically. Adding some extra space to the find toolbar buttons to
4047 make them thumbable. Fixes NB#66060.
4049 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4051 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4052 popup with "Ok" and "Cancel". Fixes NB#59299.
4054 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * src/hildon-calendar.c: Process all window updates before executing next
4057 timeout. Fixes: NB#54146.
4059 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * debian/changelog: Updating.
4067 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4069 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4070 the client event and ignore it, since we use the delete event to close
4073 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4075 * src/hildon-helper.c: Remove the bogus warning about color not being
4076 found. Fixes NB#58352.
4078 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4080 * examples/Makefile.am:
4081 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4082 HildonSeekbar widget inside a toolbar.
4084 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4086 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4087 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4088 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4089 don't want to be closed by non-temporary windows on map.
4091 Also use G_DEFINE_TYPE instead of manually typed code.
4093 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4100 * debian/rules: Updating.
4102 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4104 * examples/Makefile.am:
4105 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4106 bug NB#61128. Strangely it works.
4108 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4110 * src/hildon-date-editor.c: When the date editor entry has been changed
4111 but the numbers of characters < max, turn off the skip validation flag.
4112 Prevents a situation when we enter first a valid year and later re-write
4113 it with an invalid one. Fixes NB#60154.
4115 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4117 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4118 code dialog. Fixes NB#64355.
4120 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4122 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4123 switching the page. Fixes NB#49374.
4125 * examples/Makefile.am:
4126 * examples/hildon-wizard-dialog-example.c: Adding an example for
4127 HildonWizardDialog that shows how to handle manual sensitivity setting on
4130 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4134 * src/hildon-version.h.in:
4135 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4137 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4139 * src/hildon-volumebar.c: Updating the docs.
4141 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4147 * debian/changelog: Updating.
4149 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4151 * src/hildon-find-toolbar.c:
4152 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4153 selected item: hildon_find_toolbar_set_active,
4154 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4155 hildon_find_toolbar_get_active_iter . They correspond to respective
4156 GtkComboBox functions.
4158 * examples/Makefile.am:
4159 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4162 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4164 * examples/Makefile.am:
4165 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4168 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4169 when font size > 32 and we pack a focusable widget inside. Actually using
4170 the default response would work too, but since we don't show default
4171 response state in any way (no theming) it would not be visible to the
4172 user. Fixes NB#63430.
4174 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * src/hildon-date-editor.c: Adding the missing variable setter in the
4177 set_property handler. Fixes NB#54182.
4179 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4181 * src/hildon-window.h: Changing the long key press time from 1500ms to
4182 800ms as requested in NB#63700. I have a bad feeling about this, let's
4183 see... Fixes NB#63700.
4185 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4187 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4188 hildon_time_picker_map, hildon_time_picker_realize,
4189 hildon_time_picker_style_set): Split the contents of map to more
4190 appropriate functions; set window decorations on realize and update
4191 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4193 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4198 * debian/changelog: Updating.
4200 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4202 * src/Makefile.am: fixed installation of the header files
4204 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4210 * debian/changelog: Updating.
4212 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4214 * configure.ac: Removing some remaining of --enable-xan.
4216 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4218 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4219 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4221 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4222 2.10.12-osso6 because the move-focus signal needs to be available in
4225 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4227 * examples/Makefile.am:
4228 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4229 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4230 fine. Prolly NB#61128 is fixed now.
4232 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * src/hildon-volumebar.c:
4235 * src/hildon-volumebar.h: Adding the
4236 hildon_volumebar_set_range_insensitive_message and
4237 hildon_volumebar_set_range_insensitive_messagef functions to set
4238 insensitive message on the slider of the volumebar. Fixes NB#61129.
4240 * examples/Makefile.am:
4241 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4242 test the new insensitive messsage functionality on HildonVolumebar.
4244 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4246 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4249 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4251 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4252 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4253 button on after clearing the trail.
4255 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4257 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4259 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4261 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4262 by splitting the installed headers in generated and non-generated groups. Use
4263 only the non-generated headers to create the hildon-enum-types.h file.
4265 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4267 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4269 * src/hildon-window.c: Hide the window before performing the destroy.
4270 Should make the app closing a little tiny bit more snappy.
4272 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4274 * src/hildon-seekbar.c: add gtkrange.h header
4275 * src/hildon-caption.c: remove unused variable
4277 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4279 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4282 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4288 * debian/changelog: Updating.
4290 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4292 * src/hildon-window.c (hildon_window_window_state_event,
4293 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4294 escape timeout on focus-out-event rather than notify::is-topmost; the
4295 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4297 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4299 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4300 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4302 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4304 * src/hildon-window: actually, you need to use the macro always, there's
4305 no private pointer in the instance structure. We should have cleaned this up
4306 when we had the chance...
4308 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4310 * src/hildon-window.c: do not get the private date from HildonWindow before
4311 it passes the g_return_if_fail check. Once it's passed the test, there's no
4312 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4313 if you are only going to access the data once. Whitespace cleanups.
4315 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4317 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4318 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4320 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * debian/changelog: Updating.
4328 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4330 * src/hildon-window.c: When destroying the window, remove (if exists) the
4331 escape timeout handler. Fixes #NB59276.
4333 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4335 * src/hildon-banner.c: When realizing the widget, set the window
4336 transiency. Setting the transiency in the gobject constructor is not
4337 good, as the widget is not realized at that point. Fixes: #NB56624.
4339 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4341 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4342 Add padding for future expansions.
4344 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4346 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4347 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4348 will fake an activation on the previous to the last item of the trail, so
4349 the effect can be overrided by the developer as usual.
4350 Also change the callback for the back button to do the same thing, so its
4351 effect can be overrided too. Fixes: NB#58982
4353 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4355 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4356 HildonCaption. Fixes NB#52379.
4358 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4360 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4361 the internal state of the trail after the user has had the chance of executing
4362 his handler for the signal. Specifically, it may happen that the activated button
4363 is removed and the user still lets the default handler run. This would segfault
4366 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4368 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4369 scrollbar to the preview dialog. Fixes NB#54147.
4371 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4373 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4374 max/min year properties can be altered, so the client can modify it
4375 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4377 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4379 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4380 hildonlike by default. Fixing a problem with disappearing arrows when
4381 scrolling through months and years. Fixes NB#54127.
4383 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4385 * examples/hildon-date-editor-example.c: Adding error callback to the date
4388 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4394 * configure.ac: Updating.
4396 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4398 * configure.ac: Adding a special '--enable-xan' configure option that
4399 turns off the -Werror compilation setting. Usefull for development.
4401 * src/hildon-calendar.c:
4402 * src/hildon-number-editor.c:
4403 * src/hildon-time-picker.c: Adding the 5* multiplier to
4406 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4408 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4409 instead of g_object_ref + gtk_object_sink.
4411 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * debian/changelog: Updating.
4419 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4421 * src/hildon-color-chooser-dialog.c:
4422 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4423 straight from Tommi labs.
4425 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4427 * examples/hildon-finger-example.c: Correcting the header file path.
4429 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4430 the changed signal. Fixes a small memory leak.
4432 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4436 * src/hildon-banner.c: Importing several usefull fixes from the
4437 ubuntu-mobile branch.
4439 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4441 * examples/Makefile.am:
4442 * examples/hildon-finger-example.c: Adding a finger-checking code
4445 * src/hildon-font-selection-dialog.c: Do not allocate the color
4446 structure using the g_new. Fixes NB#54061.
4448 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4450 * src/hildon-helper.c: Correcting tabs in file.
4452 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4454 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4455 control the visibility of the children.
4457 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4459 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4465 * debian/changelog: Updating.
4467 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4469 * src/hildon-bread-crumb-trail.c:
4470 (hildon_bread_crumb_trail_size_allocate):
4472 Make the back button always a square.
4474 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4476 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4477 from the .c file as it's a private file.
4479 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4481 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4482 uses slightly bigger height.
4484 * src/hildon-font-selection-dialog.c: Adding some checks before
4485 freeing memory in the font selection dialog.
4487 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4489 * src/hildon-font-selection-dialog.c: Adding a small check when
4492 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4493 buttons sensitivity on page switching.
4495 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4497 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4498 internal details of adding a bread crumb to the trail.
4500 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4506 * debian/changelog: Updating.
4508 * src/hildon-bread-crumb-trail.h:
4509 * src/hildon-bread-crumb.h: Changing the API guard to
4510 HILDON_ENABLE_UNSTABLE_API.
4512 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4520 * src/hildon-helper.h: Updating.
4522 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4530 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4534 * src/hildon-helper.h: Small fix to make the package actually compile.
4536 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4538 * src/hildon-bread-crumb-trail.h:
4539 * src/hildon-bread-crumb.h:
4541 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4542 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4544 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4546 * examples/hildon-bread-crumb-trail-example.c:
4548 * src/hildon-bread-crumb-trail.c:
4549 * src/hildon-bread-crumb-trail.h:
4550 * src/hildon-bread-crumb.c:
4551 * src/hildon-bread-crumb.h:
4552 * src/hildon-marshalers.list:
4553 * src/hildon-bread-crumb-widget.c:
4554 * src/hildon-bread-crumb-widget.h:
4556 Slight change in the widget design. The bread crumb trail API is
4557 unchanged, but HildonBreadCrumb is now an interface. A *private*
4558 implementation, hildon-bread-crumb-widget, is provided and used
4559 internally by the trail for the push_text/push_icon functions.
4561 The generic push API is still available, so anyone can implement
4562 and use its own bread crumb widget.
4564 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4566 * debian/rules: Fixing the shlibs.
4568 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4570 * src/hildon-banner.c: Fixing a problem with timed banners having
4571 their parrent destroyed before they are.
4573 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4575 * src/hildon-bread-crumb.c:
4576 * src/hildon-bread-crumb.h:
4578 Make the get_natural_size function a vfunc.
4580 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4582 * src/hildon-bread-crumb.c:
4583 * src/hildon-bread-crumb-trail.c:
4587 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4594 * debian/changelog: Updating for release.
4596 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4598 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4599 don't leak the pango layout.
4601 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4604 * examples/hildon-bread-crumb-trail-example.c:
4608 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4610 * debian/changelog: Removing the bug-fixed entries that were actually
4611 resolved as WONTFIX.
4613 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4616 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4618 * src/hildon-bread-crumb-trail.c:
4619 * src/hildon-bread-crumb-trail.h:
4620 * src/hildon-bread-crumb.c:
4621 * src/hildon-bread-crumb.h:
4625 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4627 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4628 until it's passed the type check.
4630 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4632 * examples/hildon-bread-crumb-trail-example.c
4636 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4638 * examples/Makefile.am
4639 * examples/hildon-bread-crumb-trail-example.c
4641 * src/hildon-bread-crumb-trail.c
4642 * src/hildon-bread-crumb-trail.h
4643 * src/hildon-bread-crumb.c
4644 * src/hildon-bread-crumb.h
4646 New HildonBreadCrumbTrail widget.
4648 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4650 * src/hildon-range-editor.c (hildon_range_editor_init),
4651 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4652 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4653 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4654 hildon_time_editor_class_init, hildon_time_editor_init),
4655 src/hildon-get-password-dialog.c (invalid_input,
4656 hildon_get_password_set_property, hildon_get_password_get_property,
4657 create_contents, hildon_get_password_dialog_set_max_characters),
4658 src/hildon-set-password-dialog.c (create_contents),
4659 src/hildon-date-editor.c (hildon_date_editor_init),
4660 src/hildon-login-dialog.c (hildon_login_dialog_init),
4661 src/hildon-number-editor.c (hildon_number_editor_init),
4662 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4663 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4664 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4665 configure option and adding the respective checks in the code.
4666 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4667 hildon_calendar_drag_data_received): fixed some build warnings.
4669 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4671 * debian/changelog: A 1.0.0 release notes.