1 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: version bump
6 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: bump version
12 * debian/changelog: updates
14 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
16 Based on initial code by Christian Dywan (christian@imendio.com)
18 * doc/hildon-docs.sgml: Add section for hildon-main.
19 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
20 * src/Makefile.am: Add new hildon-main.[ch]
21 * src/hildon-defines.h: Update the icon sizes.
22 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
23 new library initialization files and register icon sizes.
24 * src/hildon-main.h: New declarations.
25 * src/hildon.h: Include hildon-main.h
27 Add new initialization functions to the library. These methods
28 will register the hildon specific icon sizes and can be used in the
29 future for other hildon specific bits.
31 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
33 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
35 * src/hildon-window.c: (hildon_window_realize),
36 (hildon_window_notify), (-hildon_window_update_title): Do not set
37 the application name in the window title.
39 Fixes: NB#89754 (Applications shouldn't display their names in the
42 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
44 * src/hildon-note-private.h:
45 * src/hildon-note.c: (hildon_note_set_property),
46 (hildon_note_get_property), (hildon_note_class_init),
47 (hildon_note_init), (hildon_note_finalize),
48 (hildon_note_new_confirmation_with_icon_name),
49 (hildon_note_new_information_with_icon_name):
51 No need to mark as deprecated the actual code. Revert
52 to avoid missing symbols in widgets using deprecated API.
54 2008-11-20 Alberto Garcia <agarcia@igalia.com>
56 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
58 * src/hildon-volumebar.h
59 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
60 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
63 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
64 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
66 * examples/Makefile.am:
67 Deprecate hildon-insensitive-example
69 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
71 2008-11-20 Alberto Garcia <agarcia@igalia.com>
73 * examples/hildon-pannable-area-buttons-scroll-example.c:
74 Make all buttons finger height
76 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
78 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
80 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
81 update the day model only if it is really required, and to avoid the
82 full-reconstruction aproach. Now it only add or remove the required days.
84 The purpose of this is avoid superfluous HildonTouchSelector::changed
87 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
88 with strange parameters)
90 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
92 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
94 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
95 the WINDOW_TYPE property.
97 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
99 2008-11-19 Alberto Garcia <agarcia@igalia.com>
102 Fix dependency to allow parallel compilation with make -jX
104 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
107 color frame and some minor tweaks to make it more consistent with
110 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
111 highlighted but not visible)
113 2008-11-14 Alejandro G. Castro <alex@igalia.com>
115 * examples/Makefile.am: Fixed typo in the Makefile.am.
117 2008-11-14 Alejandro G. Castro <alex@igalia.com>
119 Reviewed the use of MAEMO_GTK define, now we add the define in the
120 compilation line, and we also add it to the pc file.
122 * configure.ac: Added MAEMO_GTK define to the compilation command
123 and removed it from the config.h.
125 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
126 do not have to take care about this define if the library was
130 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
132 2008-11-14 Alejandro G. Castro <alex@igalia.com>
134 * examples/Makefile.am,
135 * examples/hildon-pannable-area-buttons-scroll-example.c,
136 * examples/hildon-pannable-area-gesture-signals-example.c,
137 * examples/hildon-pannable-area-scroll-jump-example.c,
138 * examples/hildon-pannable-area-tree-view-example.c:
139 Renamed the pannable area examples, now they have more meaningful
142 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
144 * src/hildon-touch-selector.c:
145 (hildon_touch_selector_set_column_selection_mode): Used of
146 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
147 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
148 to avoid re-seting the same selection mode.
150 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
151 breaks HildonPickerDialog)
153 2008-11-13 Alejandro G. Castro <alex@igalia.com>
155 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
156 conditional in the Makefile.am
158 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
161 Remove unused methods.
163 2008-11-12 Alberto Garcia <agarcia@igalia.com>
165 * src/hildon-button.c (hildon_button_init):
166 Make button images center-aligned by default
168 2008-11-12 Alejandro G. Castro <alex@igalia.com>
171 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
172 activated, we have to think about how to deal with both defines
173 MAEMO_GTK and MAEMO_CHANGES.
175 2008-11-12 Alberto Garcia <agarcia@igalia.com>
177 * examples/hildon-app-menu-example.c (create_menu): Make all
180 2008-11-11 Alejandro G. Castro <alex@igalia.com>
182 Fixed the compilation without maemo gtk adding ifdefs with
183 MAEMO_GTK define to the code, we have to check this version more
186 * examples/Makefile.am: Added control to avoid some examples that
187 just make sense with maemo gtk.
190 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
191 hildon modes with the define.
193 * examples/hildon-edit-toolbar-example.c,
194 (create_icon_view): Create the icon view without hildon-gtk
195 helpers if we are not using maemo gtk.
197 * src/hildon-touch-selector.c,
198 (_create_new_column): Create the treeview without hildon-gtk
199 helpers if we are not using maemo gtk.
201 2008-11-11 Alejandro G. Castro <alex@igalia.com>
203 * src/hildon-pnnable-area.c,
204 (hildon_pannable_area_dispose),
205 (hildon_pannable_area_button_press_cb),
206 (hildon_pannable_area_child_mapped),
207 (hildon_pannable_area_add),
208 (hildon_pannable_area_remove): Added code to control the position
209 of the event_window when adding and removing children from the
210 pannable. We have to raise the event window when the child is
213 Fixes: NB#89811 (Not able to select first image thumbnail in multi
214 selection mode using custom widget inside pannable)
216 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
218 * configure.ac: post release version bump
219 * debian/changelog: version bump
221 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
226 * configure.ac: bump version
227 * debian/changelog: updates
229 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
231 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
232 search mode, in order to avoid lose the focus on the treeview when
233 a hw key (like enter) is pressed.
235 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
236 in HildonDateSelector dialog)
238 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
240 * debian/rules: Added --enable-maintainer-mode
241 * Makefile.am: Added ACLOCAL_AMFLAGS
243 This allows to properly regenerate the Makefiles if you modify the
244 configure.ac or any Makefile.am.
246 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
248 * examples/hildon-app-menu-example.c: (main): Do not set RC style
249 properties, not needed at all.
251 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
253 * src/hildon-note-private.h: Add strings for the icon and stock_icon
255 * src/hildon-note.c: (hildon_note_set_property),
256 (hildon_note_get_property), (hildon_note_class_init),
257 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
258 (hildon_note_new_confirmation_add_buttons): Remove icons.
259 (hildon_note_new_confirmation_with_icon_name): Deprecate.
260 (hildon_note_new_information_with_icon_name): Deprecate.
261 (hildon_note_new_confirmation): Act directly, without calling
262 the deprecated constructor.
263 (hildon_note_new_information): Act directly, without calling
264 the deprecated constructor.
265 * src/hildon-note.h: Mark deprecate methods as such.
266 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
267 not run tests on the deprecated methods if built with deprecation
270 Fixes: NB#91688 (Never show icons in information notes/confirmation
273 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
275 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
276 (hildon_app_menu_key_press): Remove leftover usage of the
277 private structure in HildonAppMenu struct.
278 * src/hildon-app-menu.h: Remove leftover private structure
279 from the HildonAppMenu struct.
281 Fixes a crasher when using the HildonAppMenu.
283 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
285 * src/hildon-picker-dialog.c: Use appropriate logical id
286 for the default "Done" text.
288 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: post release version bump
291 * debian/changelog: version bump
293 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
295 Modified the way to scroll to the current selection just when the touch
296 selector is shown on the screen, avoiding a g_idle. Added too a property
297 to configure this behaviour. See hildon_pannable_area_jump_to_child
298 documentation for more information.
300 * src/hildon-touch-selector.c
301 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
302 Added 'initial-scroll' property
303 (hildon_touch_selector_set_property): Added
304 (hildon_touch_selector_map): Removed as not required anymore
305 (_hildon_touch_selector_on_selected_items): Modified in order to manage
306 only a concrete column, instead of iterate along all the columns
308 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
313 * configure.ac: bump version
314 * debian/changelog: updates
316 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
319 compilation time warnings.
321 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
323 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
324 the default value for HildonPannableArea::mov-mode to
325 HILDON_PANNABLE_AREA_MODE_VERT.
327 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
329 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
331 Reverting following commit:
333 2008-10-13 Alberto Garcia <agarcia@igalia.com>
335 * src/hildon-app-menu-private.h
336 * src/hildon-app-menu.[ch]
337 * src/hildon-button.[ch]
338 * src/hildon-check-button.[ch]
339 * src/hildon-entry.[ch]
340 * src/hildon-pannable-area.[ch]
341 * src/hildon-text-view.[ch]:
342 Added private field to the object's structure.
344 because it causes an ABI breakage. We will need to introduce these
345 changes later at some point. See NB#91636 for an extensive
346 explanation and status.
348 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
350 Patch contributed by Daniel Borgmann (danielb@openismus.com)
352 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
353 remove special cases that are no longer necessary.
355 Fixes: NB#91016 (Change toolbar sizes, simplification)
357 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
359 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
360 is shown in the cancel note.
362 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
364 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
365 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
366 (hildon_seekbar_init): Remove steppers, remove expose event.
367 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
369 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
371 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
373 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
374 label font to "SmallSystemFont" for vertically arranged buttons.
376 Fixes: NB#90662 (HildonButton "value" and "detail" text is
379 2008-10-31 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-check-button.c
382 (hildon_check_button_set_active, hildon_check_button_clicked):
383 Don't access private parts directly, use getters instead.
385 2008-10-31 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-check-button.c (hildon_check_button_new):
388 Align the contents of the check button to the left.
390 2008-10-30 Alejandro G. Castro <alex@igalia.com>
392 * src/hildon-pannable-area.c,
393 (hildon_pannable_area_scroll_to),
394 (hildon_pannable_area_jump_to),
395 (hildon_pannable_area_scroll_to_child),
396 (hildon_pannable_area_jump_to_child): Replace the mapped
397 precondition of these functions with the realized, it is the
398 correct state of the widget in this case. Changed the
399 documentation according to this modification.
401 2008-10-30 Alejandro G. Castro <alex@igalia.com>
403 Added a new EXTRA_CFLAGS option to add the deprecated define to
404 the compilation command. This way we can avoid using the define in
405 the documentation compilation.
407 * configure.ac: Defined EXTRA_CFLAGS.
409 * examples/Makefile.am:
411 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
413 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
415 * src/hildon-picker-dialog.c:
416 Defined a utility macro with the desired touch selector height
417 Removed currently unused separator, and title_label variables from
419 (hildon_picker_dialog_init): Removed code related to the creation
420 of unused private variables title_label and separator.
421 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
422 to ensure correct visualization of the touch selector inside the dialog.
423 * src/hildon-touch-selector.c
424 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
425 ensure a concrete height of the widget.
427 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
432 Remove spurious whitespaces.
434 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
436 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
437 compilation warning after the cancel button removal.
439 2008-10-30 Alejandro G. Castro <alex@igalia.com>
441 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
443 * configure.ac: Added an AM_CONDITIONAL in order to use in the
444 Makefile.am, that way we can choose not to compile some examples
445 and tests of the deprecated widgets.
447 * examples/Makefile.am: Divided the sources in deprecated and
450 * src/Makefile.am: Added undef statement of the deprecated
451 symbol to the enums file generation process.
453 * src/hildon-color-chooser-dialog.c
454 * src/hildon-color-chooser-dialog.h
455 * src/hildon-color-button.c
456 * src/hildon-color-button.h
457 * src/hildon-color-chooser.c
458 * src/hildon-color-chooser.h
459 * src/hildon-controlbar.c
460 * src/hildon-controlbar.h
461 * src/hildon-date-editor.c
462 * src/hildon-date-editor.h
463 * src/hildon-hvolumebar.c
464 * src/hildon-hvolumebar.h
465 * src/hildon-private.c
466 * src/hildon-private.h
467 * src/hildon-range-editor.c
468 * src/hildon-range-editor.h
469 * src/hildon-seekbar.c
470 * src/hildon-seekbar.h
471 * src/hildon-time-editor.c
472 * src/hildon-time-editor.h
473 * src/hildon-time-picker.c
474 * src/hildon-time-picker.h
475 * src/hildon-volumebar.c
476 * src/hildon-volumebar.h
477 * src/hildon-vvolumebar.c
478 * src/hildon-vvolumebar.h
479 * src/hildon-bread-crumb-trail.h
480 * src/hildon-bread-crumb-trail.c
481 * src/hildon-calendar-popup.c
482 * src/hildon-calendar-popup.h
483 * src/hildon-weekday-picker.c:
484 * src/hildon-weekday-picker.h:
485 * src/hildon-bread-crumb-widget.c:
486 * src/hildon-bread-crumb-widget.h:
487 * src/hildon-bread-crumb.c:
488 * src/hildon-bread-crumb.h:
489 * src/hildon-calendar.c:
490 * src/hildon-calendar.h:
491 * src/hildon-caption.c:
492 * src/hildon-code-dialog.c:
493 * src/hildon-code-dialog.h:
494 * src/hildon-font-selection-dialog.c:
495 * src/hildon-font-selection-dialog.h:
496 * src/hildon-get-password-dialog.c:
497 * src/hildon-get-password-dialog.h:
498 * src/hildon-login-dialog.c:
499 * src/hildon-login-dialog.h:
500 * src/hildon-number-editor.c:
501 * src/hildon-number-editor.h:
502 * src/hildon-set-password-dialog.c:
503 * src/hildon-set-password-dialog.h:
504 * src/hildon-sort-dialog.c:
505 * src/hildon-sort-dialog.h: This is the list of deprecated
508 * src/hildon-touch-selector.c:
509 * src/hildon-window.c: Added undef statement to avoid compilation
512 * tests/Makefile.am: Divided the sources in deprecated and
515 * tests/check_test.c,
516 (configure_tests): Marked the deprecated code that was adding
517 suites with deprecated tests.
519 Fixes: NB#91135 (Deprecate legacy hildon widgets)
521 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-touch-selector.c: (_default_print_func): Do not
524 duplicate a string returned by gtk_tree_model_get(), it is already
527 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
530 2008-10-28 Alejandro G. Castro <alex@igalia.com>
532 * src/hildon-pannable-area.c
533 (hildon_pannable_area_add_with_viewport): Reviewed the complete
534 method, it had problems when adding a widget with viewport the
535 second time. Now checks if it already has a viewport and uses it.
537 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
540 2008-10-28 Alejandro G. Castro <alex@igalia.com>
542 * src/hildon-pannable-area.c,
543 (hildon_pannable_area_scroll_to),
544 (hildon_pannable_area_jump_to),
545 (hildon_pannable_area_scroll_to_child),
546 (hildon_pannable_area_jump_to_child): Added a precondition to the
547 scroll and jump to functions: the widget must be mapped before we
548 can safely call these functions. We have also added documentation
549 to the functions to explain how to use them in this situation.
552 2008-10-28 Alejandro G. Castro <alex@igalia.com>
554 Reviewed the threading handling of the pannable widget, we have
555 used the gdk_threads_add_timeout function instead of the usual
556 glib handlers. This avoids some problems with the threads.
558 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
559 (hildon_pannable_area_initial_effect),
560 (hildon_pannable_area_scroll_indicator_fade),
561 (hildon_pannable_area_button_press_cb),
562 (hildon_pannable_area_timeout),
563 (hildon_pannable_area_motion_notify_cb),
564 (hildon_pannable_area_button_release_cb),
565 (hildon_pannable_area_scroll_cb),
566 (hildon_pannable_area_scroll_to): Removed the
567 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
568 gdk_threads_add_timeout.
570 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
572 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
577 * configure.ac: bump version
578 * debian/changelog: updates
580 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
582 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
583 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
584 * src/hildon-color-chooser-dialog.c:
585 (hildon_color_chooser_dialog_init):
586 * src/hildon-font-selection-dialog.c:
587 (hildon_font_selection_dialog_init):
588 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
590 Remove all cancel/close-like dialogs, as these are not going to be
593 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
595 * src/hildon-note.c: (hildon_note_rebuild),
596 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
599 Fixes: NB#90661 (Delete dialog is displayed without NO button)
601 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
604 sure all buttons are shown, even the Cancel/Close-like ones.
606 Fixes: NB#90861 (Custom Confirmation dialogs should be
607 protected from cancel button removal)
609 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
611 * debian/control: Change libhildon1-examples dependency from libhildon1
613 * debian/libhildon1-examples.install
615 * Makefile.am: Modified the final install directory for the examples on
616 package libhildon1-examples
617 * Makefile.static: Update clean target in order to remove all the binary
620 Changes suggested by Claudio after review new libhildon1-examples package
622 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
624 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
625 * src/hildon-touch-selector.c: Ditto.
627 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
629 * debian/control: Added new package libhildon1-examples, in order to pack
630 the current hildon examples as documentation
631 * debian/rules: Not to compress .c files, modify some includes on the
632 examples (as normally are compiled locally, but when installed it will
633 require to include the installed libhildon1 library), and rename
635 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
636 install all the example files on the new example package
637 * examples/Makefile.static: Added static makefile that can be used to
638 compile the examples, once installed the new example package
639 * examples: Most of the examples were modified in order to grant that
640 all use only '#include "hildon.h"', in order to be easy to prepare
641 it on the example package
643 2008-10-23 Alberto Garcia <agarcia@igalia.com>
646 * debian/libhildon1-dev.install
647 * debian/libhildon1-doc.install:
648 Move all gtk-doc files to a separate libhildon1-doc package.
650 2008-10-23 Daniel Borgmann <danielb@openismus.com>
652 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
656 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
658 * debian/rules: Fixed a error in order to avoid unnecessary calls
659 to autogen.sh on package building
661 2008-10-22 Alberto Garcia <agarcia@igalia.com>
663 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
665 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
667 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
670 2008-10-21 Alberto Garcia <agarcia@igalia.com>
672 * src/hildon-picker-button.c
673 (hildon_picker_button_finalize):
674 Free priv->done_button_text
676 * src/hildon-time-button.c
677 (hildon_time_button_set_time)
678 * src/hildon-picker-button.c
679 (hildon_picker_button_clicked)
680 (hildon_picker_button_selector_selection_changed)
681 (hildon_picker_button_set_selector)
682 * src/hildon-date-button.c
683 (hildon_date_button_set_date):
684 Free strings returned by hildon_touch_selector_get_current_text()
686 * src/hildon-button.c (hildon_button_construct_child):
687 Fix leaks in priv->image and priv->label_box
689 Fixes: NB#90535 (Memory leak in picker button)
691 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
693 * src/hildon-button.c: (hildon_button_get_property): Do not access
694 private elements directly, use getters instead.
696 2008-10-20 Alberto Garcia <agarcia@igalia.com>
698 * src/hildon-app-menu-private.h
699 * src/hildon-app-menu.c
700 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
701 Store the menu's parent window.
703 * src/hildon-stackable-window.c
704 (hildon_stackable_window_toggle_menu)
705 (hildon_stackable_window_finalize):
706 Set the menu's parent window when the menu is shown, unset it when
709 * src/hildon-app-menu.c
710 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
711 (hildon_app_menu_class_init):
712 Send unhandled keyboard accelerators to the parent window.
714 2008-10-20 Alberto Garcia <agarcia@igalia.com>
716 * src/hildon-stackable-window.c
717 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
719 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
721 * configure.ac: post release version bump
723 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: Bump version
727 * debian/changelog: Updates
728 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
731 2008-10-20 Alberto Garcia <agarcia@igalia.com>
733 Patch contributed by Daniel Borgmann (danielb@openismus.com)
736 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
737 GtkMenu with Hildon style.
739 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
741 * src/hildon-picker-button.c:
742 (hildon_picker_button_set_done_button_text): Set the dialog's
743 done button text here as well.
745 Fixes: NB#90232 (Picker button does not set the label on done button
748 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
750 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
753 2008-10-16 Alberto Garcia <agarcia@igalia.com>
755 * src/hildon-app-menu.c (hildon_app_menu_insert)
756 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
757 the HildonAppMenu to be activatable using keyboard accelerators
758 when the menu is not being shown.
760 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
762 2008-10-16 Alberto Garcia <agarcia@igalia.com>
764 * src/hildon-stackable-window.c
765 (hildon_stackable_window_show):
766 Don't hide old windows automatically when new windows are shown:
767 this is now a task for the window manager.
768 (hildon_stackable_window_class_init)
769 (hildon_stackable_window_hide):
770 Remove windows from the stack everytime they're hidden.
771 (hildon_stackable_window_realize):
772 Don't change the _NET_WM_WINDOW_TYPE property. Use
773 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
774 it as a stackable window.
776 * src/hildon-program.c
777 (hildon_program_pop_window_stack):
778 Just hide the window to remove it from the stack.
779 (hildon_program_go_to_root_window):
780 Don't call gtk_widget_show(), this is now a task for the window
783 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
785 2008-10-15 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-button.c
788 (hildon_button_construct_child):
789 Don't pack anything in the button until text or image are
790 set. This allows adding a custom child after creating the button
791 with hildon_button_new().
792 (hildon_button_finalize, hildon_button_class_init)
793 (hildon_button_init, hildon_button_set_arrangement): Destroy the
794 alignment and the label box even when they're not packed in the
797 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
799 * src/hildon-touch-selector.h:
800 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
801 currently the type definition was using GTK_TYPE_VBOX
802 * src/hildon-touch-selector.c:
803 Added some implementation notes in order to clarify that any other widget
804 added without the column related API will not be included on the
805 selection logic, and how the widget is freed, as some people ask about
807 (hildon_touch_selector_remove): Reimplemented in order to free properly
808 the column related data when you remove the private hbox.
809 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
810 to get a proper HildonTouchSelectorColumn documentation
812 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
814 * src/hildon-touch-selector-entry.c:
815 (hildon_touch_selector_entry_print_func): Return NULL if there is no
816 text in the GtkEntry and there is no item selected. Fixes a
819 2008-10-13 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-app-menu-private.h
822 * src/hildon-app-menu.[ch]
823 * src/hildon-button.[ch]
824 * src/hildon-check-button.[ch]
825 * src/hildon-entry.[ch]
826 * src/hildon-pannable-area.[ch]
827 * src/hildon-text-view.[ch]:
828 Added private field to the object's structure.
830 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
832 * configure.ac: post-release version bump
834 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
838 * configure.ac: pre-release version bump
840 * debian/changelog: updates.
842 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
844 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
845 Disconnect the handler for HildonTouchSelector::changed.
847 (hildon_picker_button_selector_selection_changed): Update the button
848 value if the selection change was not triggered by the
851 (hildon_picker_button_set_selector): connect to
852 HildonTouchSelector::changed.
854 Fixes: NB#89650 (Picker button is not updated, when selection in
855 selector has changed)
857 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
859 * src/hildon-picker-dialog.c
860 (hildon_picker_dialog_realize): Removed as not required
861 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
862 * src/hildon-picker-button.c
863 (_current_selector_empty): New function, checks if the selector is empty
864 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
865 if the current selector is empty, in order to avoid to show the dialog
866 close the dialog in this case (and shows a g_warning).
868 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
870 2008-10-09 Alejandro G. Castro <alex@igalia.com>
872 * src/hildon-pannable-area.c,
873 (hildon_pannable_area_scroll): Added clause to stop movement when
874 the child of pannable is smaller than one page.
875 (hildon_pannable_area_scroll_to): Added conditions to avoid
876 starting the scrolling movement if the child is smaller than one
877 page, the complete child is in the screen, we do not have to move.
879 Fixes: NB#89632 (Picker button selection doesn't change on first click)
881 2008-10-09 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-app-menu.c: Removed the 'columns' property, as now
884 this is managed automatically by the widget when the size of the
887 2008-10-09 Alberto Garcia <agarcia@igalia.com>
889 * src/hildon-picker-button.c
890 (hildon_picker_button_set_done_button_text): Make a copy of the
891 text, and free the previous value.
893 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
895 * src/hildon-touch-selector-entry.c:
896 (hildon_touch_selector_entry_print_func): Return the selected row's
897 text if the entry is empty.
899 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
902 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
904 * src/hildon-touch-selector-entry.c: Minor docs fixes.
906 2008-10-09 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-check-button.h
910 * src/hildon-check-button.c
911 * examples/hildon-check-button-example.c:
912 HildonCheckButton is now a new widget. 'toggled' signal added.
914 2008-10-08 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-program-private.h
917 * src/hildon-program.c (hildon_program_init)
918 (hildon_program_finalize): Removed unused variables group_leader
919 and name from HildonProgramPrivate.
921 2008-10-08 Alberto Garcia <agarcia@igalia.com>
923 * src/hildon-check-button.c (hildon_check_button_set_active)
924 (hildon_check_button_get_active, hildon_check_button_new): Use
925 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
927 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
929 * src/hildon-touch-selector.h
930 (hildon_touch_selector_set_column_attributes): added deprecation
931 guard HILDON_DISABLE_DEPRECATED
932 * src/hildon-time-selector.c
933 (hildon_time_selector_set_time)
934 (hildon_time_selector_get_time): Fixed a typo on documentation
935 * src/hildon-touch-selector.c: update HildonTouchSelector and
936 HildonTouchSelectorColumn documentation
937 * src/hildon-touch-selector-entry.c: update "text-column" property
939 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
940 to be added to the general documentation.
942 2008-10-08 Alejandro G. Castro <alex@igalia.com>
944 * examples/hildon-pannable-area-example-4.c,
946 * examples/hildon-pannable-area-example.c,
947 (main): Modified the code in order to use the container add, with
948 viewport treeviews could have problems if they are really big.
950 2008-10-06 Alejandro G. Castro <alex@igalia.com>
952 * src/hildon-weekday-picker.c,
953 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
954 the agreement regarding deprecation in the library.
956 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
958 * examples/hildon-picker-button-multicolumn-example.c:
959 (main): Use custom "done" button text.
961 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
962 (hildon_picker_button_set_property),
963 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
964 (hildon_picker_button_init),
965 (+hildon_picker_button_get_done_button_text),
966 (+hildon_picker_button_set_done_button_text): New methods to customize
967 the "done" button label in the launched HildonPickerDialog. Also,
970 * src/hildon-picker-button.h: add the public API.
972 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
974 * src/hildon-date-selector.h:
975 * src/hildon-picker-dialog.h:
976 * src/hildon-time-selector.h:
977 * src/hildon-touch-selector-column.h:
978 * src/hildon-touch-selector.h:
980 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
981 declarations. Fixes gtk-doc warnings.
983 2008-10-06 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-picker-dialog.h
986 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
987 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
989 Fixes: NB#89329 (selectors in picker dialog are not visible when a
990 long text is set as label for done button)
992 2008-10-06 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-dialog.c (hildon_dialog_add_button):
995 Set fixed width to all buttons in the HildonDialog.
997 2008-10-06 Alberto Garcia <agarcia@igalia.com>
999 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1001 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1002 Set widget name using class name plus "-finger" or "-thumb".
1004 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1007 'clicked' when the state of the button is manually changed.
1009 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1011 * src/hildon-app-menu.c (hildon_app_menu_realize)
1012 (hildon_app_menu_unrealize, hildon_app_menu_init)
1013 (hildon_app_menu_class_init, item_visibility_changed):
1014 Change the menu layout when the size of the screen changes.
1015 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1016 Show warning only when changing the number of colums using the
1019 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1021 * debian/compat: Set to 5
1022 * debian/control: Update dependencies.
1023 * debian/libhildon1-dbg.install: Remove.
1024 * debian/libhildon1-dev.install: Update according to cdbs paths.
1025 * debian/libhildon1.install: Update according to cdbs paths.
1026 * debian/rules: Switch to cdbs.
1028 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1031 'item' variable renamed to 'filter'
1033 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1035 * src/hildon-app-menu.c (hildon_app_menu_insert)
1036 (hildon_app_menu_add_filter, remove_item_from_list)
1037 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1038 Don't leak hidden items when the menu is destroyed.
1040 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-app-menu.c (hildon_app_menu_insert)
1043 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1044 (hildon_app_menu_set_columns, item_visibility_changed)
1045 (filter_visibility_changed, hildon_app_menu_repack_filters)
1046 (hildon_app_menu_repack_items):
1047 Repack items and filters separately.
1049 Don't repack all items, change only the ones that are needed to
1052 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1054 * src/Makefile.am: added hildon-touch-selector-column.h
1056 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1058 * src/hildon-touch-selector.c: added the property "text-column" to the
1059 class HildonTouchSelectorColumn, and related get/set functions
1060 (_default_printf_func): updated to use "text-column" property
1061 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1062 "text-column" in his documentation, as this is now included on
1063 HildonTouchSelectorColumn. The get/set_property can still be used,
1064 working as a wrapper to the concrete column "text-column" property
1065 (_text_column_modified): callback added in order to handle the signal
1066 "notify::text-column" of the concrete HildonTouchSelectorColumn
1067 (hildon_touch_selector_entry_get_text_column)
1068 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1069 modified in order to use the HildonTouchSelectorColumn "text-column"
1071 * src/hildon-time-selector.c:
1072 * src/hildon-date-selector.c:
1073 * examples/hildon-touch-selector-example.c
1074 * examples/hildon-touch-selector-multi-cells-example.c
1075 * examples/hildon-picker-button-multicolumn-example.c
1076 Set the right value to "text-column" property on the creation of a new
1077 column using hildon_touch_selector_append_column()
1079 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1081 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1083 * src/hildon-app-menu.c
1084 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1085 updating the layout of the menu, don't create all widgets again,
1086 just repack the items in their new places.
1088 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1090 * src/hildon-time-selector.c
1091 (hildon_time_selector_get_time)
1092 (hildon_time_selector_set_time)
1093 Added documentation of these public methods
1095 * src/hildon-date-button.h
1096 * src/hildon-touch-selector-column.h
1097 * src/hildon-time-button.h
1098 * src/hildon-picker-dialog.h
1099 * src/hildon-time-selector.h
1100 * src/hildon-picker-button.h
1101 * src/hildon-touch-selector.h
1102 * src/hildon-time-picker.h
1103 * src/hildon-date-selector.h
1104 * src/hildon-touch-selector-entry.h
1105 Modified in order to use hildon-widgets code style
1107 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1109 Added deprecated support to the compilation process using
1110 HILDON_DISABLE_DEPRECATED
1112 * configure.ac: Added the --disable-deprecated to the configure
1115 * src/hildon-weekday-picker.c:
1116 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1117 to use the deprecated support. We will update the other deprecated
1118 widgets status in a new patch.
1120 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1122 * configure.ac: Fixed typo with fatal warnings support, the
1123 variable name was not correct
1125 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu.c
1128 * src/hildon-program.c: Update documentation.
1130 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1132 * configure.ac: Post-release version bump.
1134 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: Pre-release version bump.
1140 * debian/changelog: Updates.
1142 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1144 * NEWS: Update news for previous releases.
1146 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1148 * examples/hildon-touch-selector-multi-cells-example.c:
1149 (create_selector): Update the example to use
1150 hildon_touch_selector_append_column() with a NULL renderer and set
1151 the renderers later.
1152 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1153 passed a NULL renderer. This is documented behavior now.
1155 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1156 This must be used if the developer wants full control on the layout of
1157 the renderers to be added to the column.
1159 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1161 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-touch-selector.c: Documentation fixes.
1165 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-wizard-dialog-private.h: Remove image and box.
1168 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1169 (hildon_wizard_dialog_set_property), (response): Completely remove
1170 image/icon support, and the containers required for the layout.
1172 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1174 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-app-menu.c: Updated documentation.
1178 * src/hildon-stackable-window.c
1179 (hildon_stackable_window_set_main_menu): Unref the old menu after
1180 ref'ing the new one.
1182 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1184 * src/hildon-stackable-window.c
1185 (hildon_stackable_window_set_main_menu): Unref the previous menu
1186 instead of destroying it.
1188 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1189 floating reference and set has_user_ref_count to FALSE to make
1190 HildonAppMenu act like a normal ref-counted widget and not a
1193 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1196 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1198 * src/hildon-touch-selector-column.h: new file
1199 * src/hildon-touch-selector.h
1200 * src/hildon-touch-selector.c
1201 Implemented GtkCellLayout interface, in order to allow to configure
1202 the cell layout on each individual selector column
1203 (hildon_touch_selector_set_column_attributes): marked as deprecated
1204 * examples/hildon-touch-selector-multi-cells-example.c
1205 Example of how to use the GtkCellLayout interface on the selector
1207 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1209 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-app-menu.h
1212 * src/hildon-app-menu.c
1213 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1214 (hildon_app_menu_append, hildon_app_menu_prepend):
1215 New methods to prepend, insert and move items in the menu.
1217 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1219 * src/hildon-wizard-dialog.c:
1221 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1223 (create_title): Update logical IDs and related code.
1224 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1226 * src/hildon-wizard-dialog.h: Note that
1227 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1228 point, as it is not used anymore.
1230 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1232 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-note.c:
1235 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1236 shown. Do not display an icon in confirmation notes nor information
1238 (hildon_note_set_button_text): Update logical ID for cancel button.
1240 Fixes: NB#88850 (Update HildonNote button strings + signals)
1242 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-stackable-window.c
1245 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1247 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-app-menu-private.h
1250 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1251 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1252 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1253 temporary property 'columns' to change the number of columns.
1255 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1257 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1259 * examples/hildon-note-example.c: (on_information_clicked),
1260 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1261 debugging information.
1262 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1264 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1265 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1266 in order to close: this will be handled by the WM from now on.
1268 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1270 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-app-menu-private.h
1273 * src/hildon-app-menu.c
1274 (hildon_app_menu_append, hildon_app_menu_add_filter)
1275 (button_visibility_changed, hildon_app_menu_apply_style)
1276 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1277 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1278 layout everytime a button (item or filter) is shown or hidden.
1280 * src/hildon-stackable-window.c
1281 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1284 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1286 * src/hildon-touch-selector.c:
1287 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1288 that the treeview inside the touch selector is in fremantle hildon mode
1289 * examples/hildon-date-button-example.c
1290 * examples/hildon-picker-button-multicolumn-example.c
1291 * examples/hildon-touch-selector-entry-example.c
1292 * examples/hildon-touch-selector-example.c
1293 * examples/hildon-time-button-example.c
1294 * examples/hildon-picker-button-example.c:
1295 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1297 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1299 * examples/hildon-text-view-example.c: (main): Remove the
1300 gtkrc bits, now handled by the theme.
1302 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1307 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1309 * po/Makefile.am: Install properly the mo files.
1310 * po/en_GB.po: Update translation, to ease testing purposes.
1312 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1314 * examples/hildon-picker-button-example.c: (main): Select an item
1315 in the selector before setting it to the button.
1317 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1319 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1320 Update button's value if the selector has an item active.
1322 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1323 'value' with the selector)
1325 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1328 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1329 (hildon_picker_button_class_init): Plug the finalize method.
1330 (hildon_picker_button_set_selector): If there's a previously set
1331 selector, unref'it before setting a new one.
1333 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1334 HildonTouchSelector)
1336 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1338 * src/hildon-touch-selector-entry.c:
1339 (hildon_touch_selector_entry_changed): Check if there is no text
1340 selected before setting the entry text.
1343 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-touch-selector.h
1346 * src/hildon-touch-selector.c
1347 (hildon_touch_selector_get_active)
1348 (hildon_touch_selector_set_active): New methods to set/get the
1349 index of the selected item.
1351 * src/hildon-picker-button.h
1352 * src/hildon-picker-button.c
1353 (hildon_picker_button_get_active)
1354 (hildon_picker_button_set_active): New methods to set/get the
1355 index of the selected item.
1357 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1359 * configure.ac: post-release version bump.
1361 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1365 * configure.ac: Pre-release version bump.
1366 * debian/changelog: Updates.
1367 * debian/control: Add myself as maintainer and depend on l10n
1370 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-window.c
1373 (hildon_window_set_main_menu)
1374 * src/hildon-stackable-window.c
1375 (hildon_stackable_window_set_main_menu):
1376 Updated documentation.
1378 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1381 Don't free selector->priv manually.
1384 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1387 (hildon_gtk_window_set_progress_indicator):
1388 * src/hildon-gtk.h: Added the new API
1389 hildon_gtk_window_set_progress_indicator, it changes the state of
1390 the window progress hint.
1392 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1394 * src/hildon-button.c
1395 * src/hildon-stackable-window.c: Minor documentation updates.
1397 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1399 * src/hildon-stackable-window.c: Updated documentation.
1401 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1403 * src/hildon-defines.h: Update margins definitions
1404 to the Fremantle sizes.
1407 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1409 * src/hildon-touch-selector.c,
1410 (_hildon_touch_selector_set_model): Cleaning the code after
1411 review, removed g_print and #if 0 from the code.
1413 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-edit-toolbar.c: Update documentation.
1417 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1419 * src/hildon-check-button.h
1420 * src/hildon-check-button.c
1421 (hildon_check_button_set_label, hildon_check_button_get_label)
1422 * examples/hildon-check-button-example.c
1423 (button_clicked_cb):
1424 Removed deprecated methods.
1426 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1428 * src/hildon-text-view.c:
1429 Add sample code to the documentation.
1431 * src/hildon-entry.h
1432 * src/hildon-text-view.h:
1433 Minor cosmetic changes.
1435 * src/hildon-entry.c:
1436 Add sample code to the documentation.
1437 (hildon_entry_init, hildon_entry_refresh_contents):
1438 Don't allow NULL values in the placeholder.
1440 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1442 * doc/hildon-docs.sgml
1444 * examples/Makefile.am
1445 * examples/hildon-text-view-example.c
1447 * src/hildon-text-view.c
1448 * src/hildon-text-view.h
1450 New HildonTextView widget, with example.
1452 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1454 * po/POTFILES.in: Add missing files with translatable strings.
1455 Partially fixes NB#88287.
1457 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1459 * examples/hildon-pannable-area-example-2.c: (main): No need to
1460 set the cellrenderer height inside hildon touch lists, the theme does
1463 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1465 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1466 they are integrated in the theme.
1468 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1470 * examples/hildon-entry-example.c: Update the example adding
1471 widgets to modify the text and the placeholder of the HildonEntry.
1473 * src/hildon-entry.c: Show the placeholder everytime the widget
1474 is empty and loses the focus.
1476 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1478 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1480 * src/hildon-pannable-area.c,
1481 (hildon_pannable_area_size_request): Fixed bug in height
1482 requisition, avoid increasing size and add border twice.
1484 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1486 * configure.ac: postrelease version bump.
1488 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: Prerelease version bump.
1493 * debian/changelog: update.
1494 * debian/rules: make -dbg package contain useful debugging symbols.
1496 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-dialog.h
1499 * src/hildon-dialog.c
1500 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1501 New methods to add buttons with finger size.
1502 (hildon_dialog_new_with_buttons):
1503 Create buttons with finger size.
1505 * examples/hildon-dialog-example.c (main): Use HildonDialog
1506 methods to add buttons.
1508 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-entry.c: Updated HildonButton documentation.
1512 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1514 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1515 button value label with (FALSE, FALSE) to prevent NB#88126 from
1518 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1520 * examples/hildon-pannable-area-example.c,
1521 (main): Removed examples panning a vbox inside a pannable
1522 area. Check bug NB#87965
1524 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1526 Patch contributed by Kris Rietveld (kris@imendio.com)
1528 * src/hildon-pannable-area.c,
1529 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1530 get_size and get_position, this saves an X server roundtrip.
1532 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1534 * doc/hildon-docs.sgml
1536 * examples/Makefile.am
1537 * examples/hildon-entry-example.c
1539 * src/hildon-entry.c
1540 * src/hildon-entry.h
1542 New HildonEntry widget, with example.
1544 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1546 * src/hildon-button.c (hildon_button_construct_child): Pack the
1547 image with expand == fill == FALSE. This is a workaround for a bug
1550 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1552 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1553 labels for the text column, to make it more look more dynamic.
1555 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1557 * src/hildon-time-selector.c
1558 Define gettext auxiliar macro N_
1559 (_create_minutes_model)
1560 (_create_hours_model)
1561 (_create_ampm_model): use of strftime in order to fill the model
1562 * src/hildon-date-selector.c
1563 (hildon_date_selector_finalize):
1564 (_locales_init): remove the logic related to get the name of the months
1565 using nl_langinfo, as it is not required anymore
1567 (_create_year_model)
1568 (_create_month_model)
1569 (_update_day_model): use of strftime in order to fill the model properly
1572 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-button.h
1575 * src/hildon-button.c (hildon_button_get_image): New method to
1578 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-touch-selector.c:
1581 (hildon_touch_selector_remove_column): Remove from the correct parent
1582 and also remove the list element and free it.
1585 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1587 * src/hildon-time-selector.c
1588 (_create_hours_model): change the range on 12h ampm format in order to use
1589 a 12-11 range instead of previous 01-12 range
1590 (hildon_time_selector_set_time): change the way to select the current time
1591 on 12h ampm format, due the change on the range
1592 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1595 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1597 * src/hildon-touch-selector.c
1598 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1599 in order to allow use this function on multiple row selection mode if
1600 the column is different that the first one
1603 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1606 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1608 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1610 * src/hildon-date-selector.h: clean some comments, now on the .c
1611 * src/hildon-date-selector.c
1612 (hildon_date_selector_select_month): first implementation
1613 (hildon_date_selector_select_day): added documentation, reimplemented
1614 using hildon_date_selector_select_current_date to avoid repeat code
1617 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1619 Reviewed interaction logic based on device experiences, refactored
1622 * src/hildon-pannable-area.c,
1623 (hildon_pannable_area_class_init): Updated default vmax speed.
1624 (hildon_pannable_area_calculate_velocity): Added this function, it
1625 avoids duplicate valocity calculation. Adjusted calculation to
1626 avoid problems with zero dist events.
1628 (hildon_pannable_area_motion_notify_cb): Now we use the
1629 calculate_velocity function.
1631 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1633 * src/hildon-date-selector.c
1634 (hildon_date_selector_select_current_date): fix the day range check
1635 as it failed using the last day of the current month
1638 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1640 * src/hildon-touch-selector.c
1641 (hildon_touch_selector_get_num_columns): added a parameter validation
1644 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1646 * examples/Makefile.am
1647 * examples/hildon-edit-toolbar-example.c: Example of the
1648 HildonEditToolbar widget.
1650 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1652 * configure.ac: postrelease version bump.
1654 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1658 * configure.ac: prerelease version bump.
1659 * debian/changelog: update.
1661 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1663 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1664 renderer to display stock icons in the touch list. Also, set the sizes
1665 to the recommended in the style guide.
1667 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1668 * src/hildon-touch-selector.h
1669 (hildon_touch_selector_set_active_iter): renamed, now is
1670 hildon_touch_selector_select_iter
1671 (hildon_touch_selector_get_active_iter): renamed, now is
1672 hildon_touch_selector_get_selected
1673 (hildon_touch_selector_unselect_iter): added
1674 * src/hildon-touch-selector.c
1675 Update after API modification (methods renamed)
1676 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1677 order to avoid problems selecting multiple elements on the column
1678 (hildon_touch_selector_unselect_iter): added the implementation
1679 * src/hildon-time-selector.c
1680 * src/hildon-date-selector.c
1681 * src/hildon-touch-selector-entry.c
1682 Update methods calls after hildon-touch-selector.h API modification (methods
1685 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-stackable-window.c
1688 (hildon_stackable_window_finalize): Call the parent class's finalize.
1690 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1692 * examples/hildon-touch-selector-example.c: (create_selector): Use
1693 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1696 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1698 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1699 set a cell background color, to respect theming.
1701 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1703 * doc/hildon-docs.sgml
1706 * src/hildon-edit-toolbar.c
1707 * src/hildon-edit-toolbar.h
1708 * src/hildon.h: New HildonEditToolbar widget.
1710 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1712 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1715 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1716 * src/hildon-touch-selector.c
1717 (_create_new_column): use g_object_set instead of two g_object_set_property
1719 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1720 * src/hildon-touch-selector.c
1721 (_create_new_column): use of hildon_gtk_tree_view_new to create
1722 the treeview, instead of use directly g_object_new
1723 (_create_new_column): update the property name "vindicator-mode" for the
1724 new one "vscrollbar-policy"
1725 * examples/hildon-date-button-example.c
1726 * examples/hildon-picker-button-multicolumn-example.c
1727 * examples/hildon-touch-selector-entry-example.c
1728 * examples/hildon-touch-selector-example.c
1729 * examples/hildon-time-button-example.c
1730 * examples/hildon-picker-button-example.c
1731 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1732 to all the treeviews inside a pannable area.
1734 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-button.h
1737 * src/hildon-button.c (hildon_button_init)
1738 (hildon_button_set_arrangement, hildon_button_set_alignment)
1739 (hildon_button_set_title_alignment)
1740 (hildon_button_set_value_alignment)
1741 (hildon_button_set_image_alignment)
1742 (hildon_button_construct_child): New methods to set the alignment
1743 of the individual components of the button (title, value,
1744 image). Also, new method to alter the xscale and yscale properties
1745 of the GtkAlignment inside the button, so more complex layouts can
1748 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1750 * src/hildon-button.c (hildon_button_style_set)
1751 (hildon_button_class_init, hildon_button_set_arrangement)
1752 (hildon_button_construct_child): Apply style properties
1753 correctly. Use the 'image-spacing' style property too.
1755 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1758 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1761 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1763 * src/hildon-pannable-area.c,
1764 (hildon_pannable_area_size_request): Fixed problem with
1765 pannable-area size_request.
1767 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1769 Added management for the grab-focus to a child widget, like a
1770 range, we need to fade out the scrollbar when releasing.
1772 * src/hildon-pannable-area.c,
1773 (hildon_pannable_area_init): Connected the grab-focus signal to
1775 (hildon_pannable_area_grab_notify): Added this function in order
1776 to manage the situation when the grab-focus ends. We have to
1777 fade-out the scrollbar.
1779 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1781 * src/hildon-app-menu.c: Minor documentation update.
1783 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-app-menu.c
1786 * examples/hildon-app-menu-example.c (create_menu): Update
1787 examples and documentation to explain how to connect callbacks.
1789 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1791 * examples/hildon-button-example.c
1792 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1793 hildon_stackable_window_new instead of gtk_window_new
1795 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1797 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1798 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1799 (hildon_pannable_area_set_property),
1800 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1801 (hildon_pannable_area_unrealize),
1802 (hildon_pannable_area_size_request),
1803 (hildon_pannable_area_size_allocate),
1804 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1805 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1806 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1807 (hildon_pannable_area_initial_effect),
1808 (hildon_pannable_area_redraw),
1809 (hildon_pannable_area_scroll_indicator_fade),
1810 (hildon_pannable_area_expose_event),
1811 (hildon_pannable_area_get_topmost), (synth_crossing),
1812 (hildon_pannable_area_button_press_cb),
1813 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1814 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1815 (hildon_pannable_area_motion_notify_cb),
1816 (hildon_pannable_area_button_release_cb),
1817 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1818 (hildon_pannable_area_remove),
1819 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1820 chage the code layout to a more GtkWidget like. Review the use of
1823 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1825 * examples/hildon-pannable-area-example-4.c,
1826 (main): Modified the name of the hindicator_mode to
1829 * src/hildon-pannable-area.c,
1830 (hildon_pannable_area_class_init),
1831 (hildon_pannable_area_motion_notify_cb),
1832 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1833 we have reduced the amount of signals and managed reviewed its
1834 rationale. Changed the default decelerate value.
1836 (hildon_pannable_area_add),
1837 (hildon_pannable_area_redraw): Refactored functions.
1839 (hildon_pannable_area_init),
1840 (hildon_pannable_area_get_property),
1841 (hildon_pannable_area_set_property):
1842 (hildon_pannable_draw_vscroll),
1843 (hildon_pannable_draw_hscroll),
1844 (hildon_pannable_area_initial_effect),
1845 (hildon_pannable_area_expose_event),
1846 (hildon_pannable_area_scroll),
1847 (hildon_pannable_area_button_press_cb),
1848 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1849 and vindicator_mode with hscrollbar_policy and
1850 vscrollbar_policy. Replaced hscroll and vscroll with
1851 hscroll_visible and vscroll_visible.
1853 (hildon_pannable_area_refresh): Refactor the function, remove
1854 variables and check the calls to this function, added resize
1855 conditions in case the children change their layout.
1857 (hildon_pannable_area_size_request): Added more detailed
1858 size_request calculation.
1861 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1863 * src/hildon-color-chooser.c
1864 (init_borders): use the correct gtk_border_free instead of g_free, to
1865 avoid a crash when this widget is used (ie: the three color selection
1868 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1870 * src/hildon-check-button.c,
1871 (hildon_check_button_set_active): Fixed problem when setting the
1872 active value, the widget was not redrawn.
1874 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1876 * src/hildon-pannable-area.c,
1877 (hildon_pannable_area_refresh),
1878 (hildon_pannable_area_scroll),
1879 (hildon_pannable_area_motion_notify_cb): Small code style change.
1881 (hildon_pannable_area_class_init): Default initial_hint set to
1882 FALSE, it is not in the specs.
1884 (hildon_pannable_area_initial_effect),
1885 (hildon_pannable_area_expose_event),
1886 (hildon_pannable_area_map),
1887 (hildon_pannable_area_init): Moved the launching point of the
1888 initial effect, it was in map but the sizes where not correct in
1889 that method so we do not know if we have the reproduce it. Now it
1890 is placed in the expose_event method and uses a variable to
1891 reproduce it just once.
1893 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1895 * src/hildon-pannable-area.c,
1896 (hildon_pannable_draw_vscroll),
1897 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1898 position allowed for the scrollbars.
1900 (hildon_pannable_area_size_allocate): Small style change.
1902 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_scroll_indicator_fade),
1906 (hildon_pannable_area_button_press_cb),
1907 (hildon_pannable_area_button_release_cb),
1908 (hildon_pannable_area_scroll_cb),
1909 (hildon_pannable_area_expose_event),
1910 (hildon_pannable_area_init): Added the define parameter
1911 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1912 and refactor the fade variable.
1914 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_area_redraw),
1918 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1919 lines, we were reimplemeting the redraw code.
1921 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1923 * src/hildon-pannable-area.c,
1924 (hildon_pannable_area_scroll_cb),
1925 (hildon_pannable_area_realize),
1926 (hildon_pannable_area_class_init): Added scroll_event management
1927 for pannable area, now we can scroll the usual desktop method.
1929 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1930 initialization of the parameters should depend on idle_id.
1932 (hildon_pannable_area_init),
1933 (hildon_pannable_area_map): Small code style modifications
1935 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c
1938 (hildon_pannable_area_button_press_cb),
1939 (hildon_pannable_area_motion_notify_cb),
1940 (hildon_pannable_area_button_release_cb),
1941 (hildon_pannable_area_size_allocate),
1942 (hildon_pannable_area_scroll_to): Improved the timeouts
1943 management, we avoid creating them each time.
1945 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1947 * src/hildon-pannable-area.c:
1948 (hildon_pannable_area_refresh),
1949 (hildon_pannable_area_motion_notify_cb),
1950 (hildon_pannable_area_class_init):
1951 * src/hildon-pannable-area.h:
1952 * src/hildon-touch-selector.c
1953 (_create_new_column):
1954 * examples/hildon-pannable-area-example-4.c:
1955 (horizontal_movement),
1956 (vertical_movement),
1958 Replaced the names of enums in the HildonPannableArea:
1959 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1960 HILDON_MOVEMENT_MODE_*
1961 - HILDON_PANNABLE_AREA_MOV_* ->
1963 - Removed HildonPannableAreaIndicatorMode, now we
1966 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1968 * examples/hildon-pannable-area-touch-grid-example.c
1969 * examples/hildon-pannable-area-touch-list-example.c: Fix
1970 compilation warnings.
1972 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-gtk.c (hildon_gtk_button_new)
1975 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1976 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1977 images overriding the value of the "gtk-button-images" setting.
1979 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1981 * src/hildon-check-button.c (hildon_check_button_new):
1982 Instead of using a custom container, display the label and the
1983 checkbox using the standard GtkButton API.
1985 * examples/hildon-check-button-example.c (main): Don't use
1986 hildon_check_button_set_label() anymore
1988 * src/hildon-check-button.h
1989 * src/hildon-check-button.c
1990 (hildon_check_button_set_label, hildon_check_button_get_label):
1991 Set as deprecated, now we're using gtk_button_{get,set}_label()
1993 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1995 * src/hildon-pannable-area.c,
1996 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1997 GtkTreeview first line we detected it after the inclusion of the
1998 GtkWindowImpl in gtk+. We now check if the window is visible, not
1999 just if the pointer is over the window.
2000 (hildon_pannable_axis_scroll),
2001 (hildon_pannable_area_expose_event): Small style changes.
2003 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-button.c: Update documentation.
2007 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2009 * examples/hildon-button-example.c: Add a switch to show images in
2012 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2014 * doc/hildon-docs.sgml: Some docs reorganization.
2016 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2018 * examples/hildon-pannable-area-touch-list-example.c
2020 * examples/hildon-pannable-area-touch-grid-example.c
2021 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2022 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2023 Fix memory leak when setting the tree model.
2025 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2029 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2031 * doc/hildon.types: Remove duplicated hildon_window_get_type
2032 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2033 documentation comment.
2035 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2037 * doc/Makefile.am: Complete list of private headers.
2039 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2041 * doc/hildon-docs.sgml
2042 * src/hildon-app-menu.c
2043 * src/hildon-bread-crumb.c
2044 * src/hildon-button.c
2046 * src/hildon-program.c
2047 * src/hildon-stackable-window.c
2048 * src/hildon-window.c: Lots of documentation updates.
2050 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2052 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2054 * configure.ac: Require Gtk+ 2.12.9 at least
2056 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2058 * src/hildon-pannable-area.c
2059 (hildon_pannable_area_scroll_indicator_fade),
2060 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2061 to protect the return of this timeout callbacks, avoiding deadlocks.
2063 2008-08-12 Christian Dywan <christian@imendio.com>
2066 * src/hildon-*.h: Ensure a consistent include order,
2067 include <gtk/gtk.h> instead of particular files and
2068 only include the topmost header in the gtk stack. See NB #39857
2070 2008-08-12 Christian Dywan <christian@imendio.com>
2072 * src/hildon-picker-dialog.c
2073 * src/hildon-touch-selector.c: Fix warnings about unused and
2074 uninitialized variables.
2076 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2078 * examples/Makefile.am
2079 * examples/hildon-check-button-example.c: Example of the hildon
2082 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-window.h
2085 * src/hildon-window.c (hildon_window_class_init)
2086 (hildon_window_unset_program): Don't make
2087 hildon_window_unset_program a virtual function anymore.
2089 * src/hildon-stackable-window.c: Update documentation
2091 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2094 * doc/hildon-docs.sgml
2095 * doc/visual_index.xml
2096 * src/hildon-defines.c
2098 * src/hildon-helper.c
2099 * src/hildon-range-editor.c: Lots of documentation fixes.
2101 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2103 * examples/hildon-picker-button-multicolumn-example.c
2104 (create_touch_selector): Fix compilation warning.
2106 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2109 (hildon_pannable_area_button_release_cb)
2110 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2112 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2117 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2119 * src/hildon-bread-crumb-trail.h
2120 * src/hildon-date-editor.c
2121 * src/hildon-date-selector.c
2122 * src/hildon-pannable-area.c
2123 * src/hildon-picker-dialog.c
2124 * src/hildon-time-selector.c
2125 * src/hildon-touch-selector-entry.c
2126 * src/hildon-touch-selector.c
2127 * src/hildon-touch-selector.h: Misc documentation fixes
2129 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2131 * examples/hildon-date-editor-example.c (main): Updated date
2134 * examples/hildon-note-example.c (on_confirmation_clicked):
2135 Updated confirmation note example.
2137 * src/hildon-date-editor.c
2138 * src/hildon-note.c: Updated sample programs in documentation.
2141 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-date-button.h:
2144 * src/hildon-picker-button.h:
2145 * src/hildon-time-button.c:
2146 * src/hildon-time-button.h:
2148 Some declarations changes to allow gtk-doc to document the widgets
2151 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-date-button.c: Document the widget.
2154 * src/hildon-time-button.c: Document the widget.
2156 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-picker-button.c: Document the widget.
2159 * src/hildon-touch-selector-entry.c: Document the widget.
2161 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2163 * doc/hildon-docs.sgml
2166 * src/hildon-check-button.h
2167 * src/hildon-check-button.c: New functions to create the Hildon
2171 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2173 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-button.h
2176 * src/hildon-button.c
2177 (hildon_button_add_title_size_group)
2178 (hildon_button_add_value_size_group)
2179 (hildon_button_add_image_size_group)
2180 (hildon_button_add_size_groups): New functions to set size groups
2181 for the button labels and image.
2182 (hildon_button_new_full): Removed
2184 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2186 * src/hildon-time-selector.c
2187 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2188 in order to avoid a crash if gconf is not available
2190 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-button.c (hildon_button_set_arrangement)
2193 (hildon_button_construct_child): Don't construct the button child
2194 before setting the arrangement.
2196 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-program-private.h
2199 * src/hildon-program.c
2200 * src/hildon-program.h
2201 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2202 (hildon_program_peek_window_stack)
2203 (hildon_program_pop_window_stack)
2204 (hildon_program_go_to_root_window): HildonProgram now has a
2205 separate list for stackable windows. Functions are provided to
2206 manage that list with a stack-like API.
2208 * src/hildon-stackable-window.c: Stackable window management is
2209 now much simpler with the new HildonProgram API. Windows no
2210 longer need to be manually added to the program, they're
2211 automatically pushed to the top of the stack when shown.
2213 * examples/hildon-stackable-window-example.c: Updated example to
2214 reflect the API changes.
2216 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-touch-selector.c: Comment out unimplemented
2219 hildon_touch_selector_insert_column() to avoid a compile warning.
2221 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2224 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2225 (hildon_touch_selector_set_column_selection_mode),
2226 (_hildon_touch_selector_set_model),
2227 (hildon_touch_selector_set_model):
2229 Complete review of HildonTouchSelector documentation.
2231 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2233 * doc/hildon-docs.sgml
2237 * src/hildon-gtk.c: Convenience functions for standard Gtk
2238 widgets, used to easily perform frequent operations.
2240 * src/hildon-button-helpers.h
2241 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2243 * src/hildon-helper.h
2244 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2245 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2247 * src/hildon-button.h
2248 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2250 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2252 * src/hildon-button.c (hildon_button_init)
2253 (hildon_button_set_arrangement, hildon_button_construct_child):
2254 Pack the image and the labels inside the same GtkAlignment so
2255 gtk_button_set_alignment() can be used
2257 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-button.h
2260 * src/hildon-button.c
2261 (hildon_button_init, hildon_button_set_image)
2262 (hildon_button_set_image_position)
2263 (hildon_button_construct_child): New functions to add an image to
2266 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-date-button.c
2269 * src/hildon-picker-button.c
2270 * src/hildon-time-button.c
2271 * src/hildon-button.c:
2272 (hildon_button_class_init): "size-flags" renamed to "size"
2273 (hildon_button_set_title): Hide the title label if set to NULL.
2275 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2277 HildonButtonFlags split into HildonButtonArrangement (to set the
2278 button layout) and HildonSizeType (which can be used for any
2281 * src/hildon-button.h
2282 * src/hildon-button.c
2283 (hildon_button_class_init)
2284 (hildon_button_set_arrangement)
2285 (hildon_button_set_property): New "size-flags"
2286 property. "arrangement-flags" renamed to "arrangement".
2287 (hildon_button_new, hildon_button_new_with_text)
2288 (hildon_button_new_full): Constructors updated to reflect type changes.
2290 * src/hildon-helper.h
2291 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2292 to set the size of a widget.
2296 * src/hildon-button-helpers.c
2297 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2299 * src/hildon-date-button.c
2300 * src/hildon-date-button.h
2301 * src/hildon-picker-button.c
2302 * src/hildon-picker-button.h
2303 * src/hildon-time-button.c
2304 * src/hildon-time-button.h: Updated widgets to reflect
2305 HildonButton API changes.
2307 * examples/hildon-button-example.c
2308 * examples/hildon-date-button-example.c
2309 * examples/hildon-picker-button-example.c
2310 * examples/hildon-picker-button-multicolumn-example.c
2311 * examples/hildon-time-button-example.c
2312 * examples/hildon-touch-selector-entry-example.c
2313 * examples/hildon-touch-selector-example.c: Updated examples to
2314 reflect HildonButton API changes.
2316 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2318 * doc/hildon-docs.sgml:
2320 * examples/Makefile.am:
2321 * examples/hildon-touch-selector-entry-example.c:
2323 * src/hildon-touch-selector-entry.c:
2324 * src/hildon-touch-selector-entry.h:
2327 Moved HildonTouchSelectorEntry from sandbox. Added its
2328 documentation and examples.
2330 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-touch-selector.h:
2333 * examples/hildon-picker-button-multicolumn-example.c:
2334 (hildon_touch_selector_append_text_column): Add a gboolean
2335 parameter to determine if text must be centered in the column.
2337 * src/hildon-date-selector.c: (hildon_date_selector_init):
2338 * src/hildon-time-selector.c: (hildon_time_selector_init):
2339 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2340 (create_touch_selector): Update widgets and example to reflect
2343 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-touch-selector.c:
2346 (hildon_touch_selector_set_active_iter): Set also the cursor in
2349 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2351 * doc/hildon-docs.sgml
2354 * src/hildon-toggle-button.c
2355 * src/hildon-toggle-button.h
2356 * src/hildon.h: Removed HildonToggleButton widget, a derived
2357 class is not necessary for this.
2359 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2361 * src/hildon-pannable-area.c,
2362 (hildon_pannable_area_realize),
2363 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2366 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2369 "done" button the default widget for the dialog.
2371 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2373 * src/hildon-touch-selector.c:
2374 (hildon_touch_selector_class_init),
2375 (hildon_touch_selector_get_property),
2376 (_hildon_touch_selector_set_model),
2377 (_hildon_touch_selector_has_multiple_selection),
2378 (hildon_touch_selector_has_multiple_selection):
2379 Add a "has-multiple-selection" property with a virtual
2380 has_multiple_selection() method to allow derived classes to
2381 override the default value for it. See the method and property
2382 documentation for details.
2384 * src/hildon-touch-selector.h: Add the new API.
2386 * src/hildon-picker-dialog.c: (requires_done_button): Call
2387 hildon_touch_selector_has_multiple_selection() instead of
2388 determining the need for a button itself.
2390 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2393 (_hildon_touch_selector_set_model),
2394 (hildon_touch_selector_set_model): Move working code to
2395 _hildon_touch_selector_set_mode(). Call the class method instead.
2397 * src/hildon-touch-selector.h: Add (*set_model) to
2398 HildonTouchSelectorClass.
2400 Make hildon_touch_selector_set_model() a virtual method, so that
2401 derived classes can extend it and do fancy stuff with the model.
2403 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2405 * configure.ac: Set back the tarname in AC_INIT to hildon.
2407 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2411 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2412 instead of libesd (NB#86876). Volume handling is still an open issue.
2414 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2417 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2419 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2420 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2421 derived class to ease placement of an entry widget in
2422 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2423 end, where the selector columns are packed now.
2425 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2427 * src/hildon-picker-button.c: Removed the simple _text() API.
2428 * src/hildon-picker-button.h: Likewise.
2430 * src/hildon-touch-selector.h:
2431 * src/hildon-touch-selector.c:
2432 (hildon_touch_selector_new_text),
2433 (hildon_touch_selector_append_text),
2434 (hildon_touch_selector_prepend_text),
2435 (hildon_touch_selector_insert_text):
2437 Moved the simple _text() API from HildonPickerButton to
2438 HildonTouchPicker, to provide better escalability and not to tie
2439 that API to HildonPickerButton.
2441 * examples/hildon-picker-button-example.c: (main): Example updated.
2443 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2445 * src/hildon-button.c: Updated documentation.
2447 * examples/hildon-button-example.c: Add the posibility to create
2448 the buttons using horizontal layout for title and value.
2450 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2452 * src/hildon-app-menu-private.h
2453 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2454 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2455 GtkSizeGroup for the filters, use the 'homogeneous' property of
2458 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2460 * examples/hildon-button-example.c: Updated example.
2462 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2464 * doc/hildon-docs.sgml:
2467 Update documentation.
2469 * examples/Makefile.am: Update renamed examples.
2471 * examples/hildon-picker-button-multicolumn-example.c:
2472 (create_touch_selector), (main): Update after the rename.
2474 * examples/hildon-touch-picker-example.c: Removed.
2475 * examples/hildon-touch-selector-example.c: (value_changed),
2476 (create_selector), (get_visible_content), (main): Renamed from
2477 hildon-touch-picker-example.c
2479 * src/Makefile.am: Updated renamed files.
2481 * src/hildon-date-button.c: (hildon_date_button_init),
2482 (hildon_date_button_get_date), (hildon_date_button_set_date):
2483 * src/hildon-date-selector.c: (hildon_date_selector_init),
2484 (_custom_print_func), (_update_day_model),
2485 (_manage_selector_change_cb),
2486 (hildon_date_selector_select_current_date),
2487 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2488 * src/hildon-date-selector.h:
2489 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2490 (hildon_picker_button_set_property),
2491 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2492 (hildon_picker_button_init), (hildon_picker_button_new_text),
2493 (hildon_picker_button_append_text),
2494 (hildon_picker_button_prepend_text),
2495 (hildon_picker_button_insert_text),
2496 (hildon_picker_button_set_selector),
2497 (hildon_picker_button_get_selector):
2498 * src/hildon-picker-button.h:
2499 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2500 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2501 (_update_title_on_selector_changed_cb), (requires_done_button),
2502 (_hildon_picker_dialog_set_selector),
2503 (hildon_picker_dialog_set_selector),
2504 (hildon_picker_dialog_get_selector):
2505 * src/hildon-picker-dialog.h:
2506 * src/hildon-time-button.c: (hildon_time_button_init),
2507 (hildon_time_button_get_time), (hildon_time_button_set_time):
2508 * src/hildon-time-selector.c: (hildon_time_selector_init),
2509 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2510 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2511 * src/hildon-time-selector.h:
2514 Massive code updates after the rename.
2516 * src/hildon-touch-picker.c: Removed.
2517 * src/hildon-touch-picker.h: Removed.
2519 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2520 (hildon_touch_selector_init), (hildon_touch_selector_map),
2521 (hildon_touch_selector_remove), (_default_print_func),
2522 (_selection_changed_cb), (_create_new_column),
2523 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2524 (hildon_touch_selector_append_text_column),
2525 (hildon_touch_selector_remove_column),
2526 (hildon_touch_selector_set_column_attributes),
2527 (hildon_touch_selector_insert_column),
2528 (hildon_touch_selector_get_num_columns),
2529 (hildon_touch_selector_get_column_selection_mode),
2530 (hildon_touch_selector_set_column_selection_mode),
2531 (hildon_touch_selector_set_print_func),
2532 (hildon_touch_selector_get_print_func),
2533 (hildon_touch_selector_get_active_iter),
2534 (hildon_touch_selector_set_active_iter),
2535 (hildon_touch_selector_get_selected_rows),
2536 (hildon_touch_selector_get_model),
2537 (hildon_touch_selector_set_model),
2538 (hildon_touch_selector_get_current_text),
2539 (_hildon_touch_selector_center_on_selected_items):
2540 * src/hildon-touch-selector.h: Renamed from
2541 hildon-touch-picker.[ch]
2543 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2544 references, code examples, and related documentation.
2546 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2548 * doc/hildon-docs.sgml
2551 * src/hildon-toggle-button.c
2552 * src/hildon-toggle-button.h
2553 * src/hildon.h: New HildonToggleButton widget.
2555 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2557 * src/hildon-button.c: Add API documentation.
2558 (hildon_button_set_size_groups): Check input parameters
2560 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2562 * src/hildon-pannable-area.c
2563 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2564 effect after reaching the movement thredshold. This way we start
2565 using the distance after passing the thredshold.
2567 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2569 * src/hildon-button.c: (hildon_button_set_property): Use the
2570 appropriate g_value_get_flags() method.
2572 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2574 * doc/hildon-docs.sgml:
2577 Add the touch pickers, picker dialogs, and picker button widgets
2578 to the documentation.
2580 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2582 * src/hildon-button.c: (hildon_button_set_property),
2583 (hildon_button_class_init): Make "arrangement-flags" a proper
2584 G_TYPE_FLAGS derived property.
2586 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2588 * examples/Makefile.am: Add below examples.
2589 * examples/hildon-date-button-example.c:
2590 * examples/hildon-picker-button-example.c:
2591 * examples/hildon-picker-button-multicolumn-example.c:
2592 * examples/hildon-time-button-example.c:
2593 * examples/hildon-touch-picker-example.c:
2595 Add examples for the recently added touch pickers,
2596 picker dialogs, and picker button widgets.
2598 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-button.c: Add some API documentation
2602 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-button.h
2605 * src/hildon-button.c
2607 (hildon_button_new_with_text): New constructor to create a button
2608 with no text at all.
2609 (hildon_button_init, hildon_button_set_arrangement)
2610 (hildon_button_set_title, hildon_button_set_value)
2611 (hildon_button_set_text)
2612 (hildon_button_construct_child): Hide the value when it's not used
2613 so the rest of the text is properly aligned.
2614 Allow creating buttons with arbitrary widgets inside (not just
2615 title/value labels).
2617 * examples/hildon-button-example.c (vertical_buttons_window)
2618 (horizontal_buttons_window): Update example to use new API.
2620 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2622 * src/Makefile.am: Added HildonTimeButton.
2623 * src/hildon-time-button.c: Added missing LGPL header.
2624 * src/hildon-time-button.h: Added missing LGPL header.
2625 * src/hildon.h: Add hildon-time-button.h
2627 Copied HildonTimeButton from sandbox to trunk. Future work on this
2628 widget must take place in trunk.
2630 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/Makefile.am: Added HildonDateButton.
2633 * src/hildon-date-button.c: Update includes.
2634 * src/hildon.h: Add hildon-date-button.h
2636 Copied HildonDateButton from sandbox to trunk. Future work on this
2637 widget must take place in trunk.
2639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/Makefile.am: Added HildonPickerButton.
2642 * src/hildon-picker-button.h: Update includes.
2643 * src/hildon.h: Add hildon-picker-button.h
2645 Copied HildonPickerButton from sandbox to trunk. Future work on
2646 this widget must take place in trunk.
2648 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/Makefile.am: Added HildonPickerDialog.
2651 * src/hildon-picker-dialog.c: Update includes.
2652 * src/hildon.h: Add hildon-picker-dialog.h
2654 Copied HildonPickerDialog from sandbox to trunk. Future work
2655 on this widget must take place in trunk.
2657 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/Makefile.am: Added HildonTimeSelector.
2660 * src/hildon.h: Add hildon-time-selector.h
2662 Copied HildonTimeSelector widget from sandbox to trunk. Future
2663 work on this widget must happen in trunk.
2665 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/Makefile.am: Added HildonDateSelector.
2668 * src/hildon.h: Add hildon-date-selector.h
2670 Copied HildonDateSelector widget from sandbox to trunk. Future
2671 work on this widget must happen in trunk.
2673 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2675 * src/Makefile.am: Added HildonTouchPicker.
2676 * src/hildon-touch-picker.c: Update includes.
2677 * src/hildon.h: Add hildon-touch-picker.h
2679 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2680 on this widget must happen in trunk.
2682 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-pannable-area.c:
2685 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2687 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2689 * examples/hildon-app-menu-example.c (main): Let the window
2692 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2694 * src/hildon-pannable-area.c
2695 (hildon_pannable_area_class_init): Set the min value of the
2696 overshoot properties to zero, which points out that not
2697 overshooting allowed.
2699 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2701 Modified the procedure to get the widget at a point inside the
2702 pannable area when using the movement type signals. Now the user
2703 has to call a function to get the child, that way we just
2704 calculate the child in case the user really want to use it and not
2707 * src/hildon-marshalers.list: Modified the marshallers, now we do
2708 not have the widget as a parameter.
2710 * src/hildon-pannable-area.c
2711 (hildon_pannable_area_motion_notify_cb),
2712 (hildon_pannable_area_class_init),
2713 (hildon_pannable_get_child_widget_at): Removed the widget
2714 parameter from the signal callback. We have also refactored the
2715 emission of the signals.
2717 * src/hildon-pannable-area.h: Added a new method to the API to
2718 calculate a widget at a point inside the pannable area,
2719 hildon_pannable_get_child_widget_at.
2721 * examples/hildon-pannable-area-example-4.c
2722 (horizontal_movement): Modified the example to use the new API,
2723 added condition to control which widget is under the event. This
2724 way we can avoid scrolling laterally over other widgets.
2726 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2728 * src/hildon-pannable-area.c
2729 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2730 modes, we stop getting the pointer events due to returning the
2731 callback without properly calling the get pointer again. Fixed
2732 also an error using the hscroll and vscroll.
2734 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu-private.h
2737 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2738 (hildon_app_menu_button_release, hildon_app_menu_init)
2739 (hildon_app_menu_class_init): Don't hide the menu on button
2740 release if the user didn't press outside first.
2742 * src/hildon-window.h
2743 * src/hildon-window.c (hildon_window_toggle_menu)
2744 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2745 hildon_window_toggle_menu a virtual function for the stackable
2746 window to override it.
2748 * src/hildon-stackable-window.h
2749 * src/hildon-stackable-window-private.h
2750 * src/hildon-stackable-window.c
2751 (hildon_stackable_window_realize)
2752 (hildon_stackable_window_finalize)
2753 (hildon_stackable_window_class_init)
2754 (hildon_stackable_window_init)
2755 (hildon_stackable_window_set_main_menu): New function to set the
2756 app menu of a HildonStackableWindow.
2758 * examples/hildon-app-menu-example.c: Remove the button to show
2759 the app menu, now it'll be shown when clicking on the title bar
2762 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2765 set the widget name if the arrangement flags do not specify
2768 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-button.c: (hildon_button_set_property),
2771 (hildon_button_class_init), (hildon_button_new_full),
2772 (hildon_button_set_arrangement): Added "arrangement-flags"
2775 Make the HildonButtonFlags a construction-only property, to allow
2776 subclasses to set them properly.
2778 2008-07-21 Tim Janik <timj@imendio.com>
2780 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2781 insertion position after backspace, so additional digits are appended,
2784 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2786 * src/hildon-pannable-area.c,
2787 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2788 TODO list, it was complete and removed the g_debug and g_print
2791 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2793 Added the movement modes to the hildon-pannable-area, with this
2794 modes the developers can control in which directions the widget
2795 can scroll. They can also connect to signals in order to do
2796 something when that happens, allowing applications scroll. There
2797 is an example uploaded showing how to use it.
2799 * examples/Makefile.am:
2800 * examples/hildon-pannable-area-example-4.c: Added this example of
2801 an application using the modes.
2803 * src/hildon-marshalers.list: Added a new marshaller for the new
2806 * src/hildon-pannable-area.h: Added new enumerations and flags in
2807 order to control the movement modes and the new signals to warn
2808 about the movements in the area.
2810 * src/hildon-pannable-area.c:
2811 (hildon_pannable_axis_scroll),
2812 (hildon_pannable_area_scroll),
2813 (hildon_pannable_area_motion_notify_cb),
2814 (hildon_pannable_area_get_property),
2815 (hildon_pannable_area_set_property),
2816 (hildon_pannable_area_map),
2817 (hildon_pannable_area_class_init),
2818 (hildon_pannable_area_init),
2819 (hildon_pannable_area_jump_to): Added the modes to control the
2820 movement in the widget. We have added properties to control it,
2821 signals to warn about the movements and refactored some code.
2823 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2825 Changes required in order to allow vfast_factor set to zero to
2828 * src/hildon-pannable-area.c:
2829 (hildon_pannable_area_button_press_cb): Changed the condition, it
2830 is required for not allowing click when vfast_factor is zero.
2831 (hildon_pannable_area_timeout): Initialized velocity variables
2832 when we stop moving, it was less than 1 but not zero and we need
2833 to check zero in some situations.
2834 (hildon_pannable_area_class_init): Changed the default value of
2835 the speed factor, now the button_press is just sent in case the
2836 speed is 2 per cent of the max speed.
2837 (hildon_pannable_area_init): Initialization with 0.
2839 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2841 * src/hildon-pannable-area.c,
2842 (hildon_pannable_area_get_topmost): replaced
2843 gdk_window_get_children with gdk_window_peek_children, this way we
2844 do not have to free the list because it is not a copy.
2846 (hildon_pannable_axis_scroll),
2847 (hildon_pannable_area_scroll),
2848 (hildon_pannable_area_timeout),
2849 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2850 two parameters that were only used inside the
2851 hildon_pannable_area_scroll function.
2853 * examples/hildon-pannable-area-example.c,
2854 (get_sawtooth_label): Fixed small memory leak.
2856 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2858 More checks for the case where the overshoot is bigger than the
2861 * src/hildon-pannable-area.c:
2862 (hildon_pannable_draw_vscroll),
2863 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2864 to draw the slider of the scrollbar under the other scrollbar.
2865 (hildon_pannable_area_expose_event): added new checks to control
2866 the drawing of the overshooting area rectangle, in case it is too
2867 big for the area of the widget.
2868 (hildon_pannable_area_size_allocate): add more checks to avoid
2869 setting a position to the child widget outside the area.
2871 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2873 * src/hildon-pannable-area.c
2874 (hildon_pannable_area_size_allocate): Added conditions to control
2875 when overshooting is bigger than the allocated space for the
2876 children, this avoids negative allocations.
2878 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2880 * doc/hildon-docs.sgml
2882 * examples/Makefile.am
2883 * examples/hildon-button-example.c
2885 * src/hildon-button.c
2886 * src/hildon-button.h
2887 * src/hildon.h: Initial version of the new HildonButton widget,
2890 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2892 * src/hildon-pannable-area.c:
2893 (hildon_pannable_area_button_press_cb),
2894 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2895 (hildon_pannable_area_motion_notify_cb),
2896 (hildon_pannable_area_button_release_cb),
2897 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2898 (hildon_pannable_area_jump_to_child):
2900 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2902 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2904 * examples/Makefile.am
2905 * examples/hildon-pannable-area-touch-grid-example.c
2906 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2907 the Hildon Touch List and Hildon Touch Grid using the
2908 HildonPannableArea widget.
2910 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2912 * src/hildon-pannable-area.c,
2913 (hildon_pannable_area_button_press_cb),
2914 (hildon_pannable_area_refresh),
2915 (hildon_pannable_area_scroll),
2916 (hildon_pannable_area_motion_notify_cb),
2917 (hildon_pannable_area_button_release_cb),
2918 (hildon_pannable_area_expose_event),
2919 (hildon_pannable_area_add),
2920 (hildon_pannable_area_remove),
2921 (hildon_pannable_area_realize),
2922 (hildon_pannable_area_size_allocate),
2923 (hildon_pannable_area_class_init),
2924 (hildon_pannable_area_init),
2925 (hildon_pannable_area_scroll_to_child),
2926 (hildon_pannable_area_jump_to_child): Fixed the problem of
2927 removing the child from the GtkBin, we have rearranged the widget
2928 hierarchy, now there is no GtkAlignment which was not doing
2929 anything interesting but breaking some of the assumptions of
2930 GtkContainer. Now developers if they want to add a GtkAlignment
2931 they could, but it is not inside the area.
2933 We had to review the whole allocation/expose process, now it is
2934 improved and we save at least three signals which would be saving
2935 some time when rendering the widget. The allocation of the
2936 scrollbars is now made in the allocate method as usual.
2938 We have also added some conditions in order to control when there
2939 is no child of the pannable area. Maybe we will need more work
2942 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c,
2945 (hildon_pannable_area_dispose): Released the fade-out timeout when
2946 disposing the widget.
2948 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2950 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2951 zero, we are going to use that property in order to deactivate the
2953 (hildon_pannable_axis_scroll),
2954 (hildon_pannable_area_size_allocate): Added conditions to control
2955 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2956 call, now it is called in all situations and we can remove calls
2957 in the allocate method.
2958 (hildon_pannable_area_map): Control the situation when
2959 overshoot_max is zero, we do not need the timeout.
2960 (hildon_pannable_area_class_init): Added documentation in order to
2961 point out that setting zero to overshoot_max means deactivate
2964 NOTE: removed trailing whitespaces from my previous comments of
2967 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-pannable-area.c
2970 (hildon_pannable_area_get_property),
2971 (hildon_pannable_area_set_property),
2972 (hildon_pannable_area_map),
2973 (hildon_pannable_area_class_init),
2974 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2975 to cause the widget give a hint about its panning abilities upon
2978 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-pannable-area.c: Several documentation improvements.
2982 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-program.c
2985 * src/hildon-stackable-window.c: Update documentation.
2987 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-stackable-window.c (get_previous_window_if_last):
2990 Renamed get_last_window()
2991 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2992 (hildon_stackable_window_unset_program):
2994 (get_previous_window_if_last):
2995 Detect if the window hasn't been added to a HildonProgram.
2997 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2999 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-pannable-area.c
3002 (hildon_pannable_area_button_press_cb),
3003 (hildon_pannable_axis_scroll),
3004 (hildon_pannable_area_scroll),
3005 (hildon_pannable_area_timeout),
3006 (hildon_pannable_calculate_vel_factor),
3007 (hildon_pannable_area_get_property),
3008 (hildon_pannable_area_set_property),
3009 (hildon_pannable_area_class_init),
3010 (hildon_pannable_area_init),
3011 (hildon_pannable_area_scroll_to),
3012 (hildon_pannable_area_jump_to),
3013 (hildon_pannable_area_scroll_to_child),
3014 (hildon_pannable_area_jump_to_child):
3015 * src/hildon-pannable-area.h: Added the new API functions:
3016 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3017 hildon_pannable_area_scroll_to_child,
3018 hildon_pannable_area_jump_to_child
3021 * examples/Makefile.am
3022 * examples/hildon-pannable-area-example-2.c
3023 * examples/hildon-pannable-area-example-3.c: Added these two new
3024 examples in order to test and show how the new APIs work.
3026 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3028 * examples/hildon-stackable-window-example.c (new_window):
3029 * src/Makefile.am (noinst_HEADERS):
3030 * src/hildon-program.c (hildon_program_go_to_root_window):
3031 * src/hildon-program.h:
3032 * src/hildon-stackable-window-private.h:
3033 * src/hildon-stackable-window.c:
3034 * src/hildon-stackable-window.h:
3035 Create hildon-stackable-window-private.h
3036 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3038 * examples/hildon-app-menu-example.c (create_menu):
3039 * examples/hildon-hvolumebar-insensitive-example.c (main):
3040 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3041 * examples/hildon-toolbar-seekbar-example.c (main):
3042 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3043 * src/hildon-banner.c (hildon_banner_set_property):
3044 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3045 Fix compilation warnings
3047 * src/hildon-window.c:
3050 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-stackable-window.c
3053 (hildon_stackable_window_unset_program):
3054 Calculate correctly whether to show the previous window if the
3055 last one is removed from the stack.
3056 (hildon_stackable_window_go_to_root_window):
3057 Send delete events starting from the topmost window.
3058 Stop if one of the windows is not destroyed.
3060 (hildon_stackable_window_delete_event)
3061 (hildon_stackable_window_class_init):
3062 Ignore the delete event if the window is not the topmost one.
3064 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3066 * src/hildon-pannable-area.c
3067 (hildon_pannable_area_expose_event): Fixed a problem when
3068 selecting the background color of the scrollbars.
3070 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3072 * examples/hildon-stackable-window-example.c
3073 * src/hildon-stackable-window.c
3074 * src/hildon-stackable-window.h
3075 hildon_stackable_window_go_home() renamed to
3076 hildon_stackable_window_go_to_root_window()
3077 Send delete events to windows rather than closing them with
3078 gtk_widget_destroy()
3080 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-pannable-area.c
3083 (hildon_pannable_area_button_release_cb): Fix overshooting in
3086 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-pannable-area.c
3089 (hildon_pannable_area_init): Initially show the scroll indicators.
3090 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3092 Add initial effect showing the widget is pannable.
3094 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3096 * src/hildon-pannable-area.c
3097 (hildon_pannable_area_class_init)
3098 (hildon_pannable_area_set_property)
3099 (hildon_pannable_area_get_property)
3100 (hildon_pannable_area_button_press_cb):
3101 New 'velocity_fast_factor' property to decide which velocity is
3104 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3106 * src/hildon-pannable-area.c
3107 (hildon_pannable_draw_hscroll)
3108 (hildon_pannable_draw_vscroll):
3109 Use float variables to calculate the size of the scrollbars to
3110 avoid error propagation and resizing during scrolling.
3112 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-pannable-area.c
3115 (hildon_pannable_draw_vscroll)
3116 (hildon_pannable_draw_hscroll):
3117 Define a minimum size for the scroll bars
3119 * src/hildon-stackable-window.c
3120 (hildon_stackable_window_go_home): Fix compilation warning
3121 (get_last_window): Minor optimizations
3122 (hildon_stackable_window_class_init): Fix initialization of
3125 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-stackable-window.c: Fixed typos in doc
3129 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-pannable-area.c
3132 (hildon_pannable_area_scroll):
3133 Calculate here whether we need to scroll instead of using the booleans
3134 that tell us whether to /draw/ the scrolling bars.
3136 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-app-menu.h
3140 * src/hildon-app-menu.c
3141 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3142 multiple filter groups related code and API. Now we support only
3144 * examples/hildon-app-menu-example.c:
3146 Update to reflect API changes.
3148 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-stackable-window.c
3151 (hildon_stackable_window_class_init):
3152 Add hildon_stackable_window_realize.
3153 (hildon_stackable_window_realize):
3154 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3155 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3156 to apply theming and behavior specific to HildonStackableWindow
3159 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-note.c (hildon_note_button_release):
3162 Close information notes also when tapping on them
3164 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3166 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3167 ELASTICITY, refactor and review, fix some issues with drawing
3170 * src/hildon-pannable-area.c:
3171 (hildon_pannable_area_button_press_cb): removed the conditions to
3172 avoid clicks when overshooting. It is not required
3174 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3175 define. Refatored and reviewed the code, now we do not need to
3176 manage velocity in motion_notify.
3178 (hildon_pannable_area_motion_notify_cb): We have moved the code
3179 that controls the area_scroll to the axis_scroll function and get
3180 rid of duplicated code.
3182 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3184 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3186 (hildon_pannable_draw_vscroll),
3187 (hildon_pannable_draw_hscroll): Fixed the problems with the
3188 scrollbar drawing, now we do not use two surfaces, it is easier
3189 and saves resources.
3191 (hildon_pannable_area_get_property): Style modification.
3193 (hildon_pannable_area_class_init): Changed some default values.
3195 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-stackable-window.c: Fix some typos in the
3200 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-dialog.c:
3203 Change indentation style
3206 (hildon_note_button_release):
3207 Use root coordinates to check if the release event happened
3210 * src/hildon-app-menu.c
3211 (hildon_app_menu_button_release):
3212 Remove unnecessary check
3214 * examples/hildon-app-menu-example.c
3216 Add cast to fix warning
3218 * src/hildon-app-menu.c
3219 (hildon_app_menu_class_init):
3220 New inner-border style property.
3221 Set all default spacings to 16
3222 (hildon_app_menu_init):
3223 Use vertical-spacing to set the space between filter buttons and
3224 regular menu buttons.
3225 Set the default container border using the inner-border value.
3227 * examples/hildon-app-menu-example.c
3229 Don't set the menu border explicitly, now we have the inner-border
3230 style property for that.
3232 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-app-menu.c (hildon_app_menu_init):
3235 Make the window modal
3237 * src/hildon-note.c (hildon_note_map)
3238 * src/hildon-app-menu.c (hildon_app_menu_map):
3239 Destroy the grab window if we're unable to grab the pointer
3241 * src/hildon-app-menu-private.h
3242 * src/hildon-app-menu.c
3243 (hildon_app_menu_init, hildon_app_menu_finalize)
3244 (hildon_app_menu_map, hildon_app_menu_unmap)
3245 (hildon_app_menu_button_release)
3246 (grab_transfer_window_get):
3247 Bring back the grab window
3248 (hildon_app_menu_realize):
3249 Decorate the window, set WM hint for Matchbox
3251 * src/hildon-note.c (hildon_note_realize):
3252 * src/hildon-banner.c (hildon_banner_realize):
3253 Add WM hints for Matchbox
3255 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-app-menu-private.h
3258 * src/hildon-app-menu.c
3259 (hildon_app_menu_init, hildon_app_menu_finalize)
3260 (hildon_app_menu_map, hildon_app_menu_unmap)
3261 (hildon_app_menu_button_release):
3262 Remove the grab window, it's not needed anymore
3264 * src/hildon-program.c
3265 Fixed typo in documentation
3267 * src/hildon-app-menu.h
3268 * src/hildon-app-menu.c
3269 * examples/hildon-app-menu-example.c
3270 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3272 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3275 Added new transfer_window and close_if_pressed_outside private
3277 (hildon_note_rebuild):
3278 Don't add a cancel button to the information note. It will be
3279 closed when tapping outside
3280 Remove the comment about the OK button in the documentation
3281 (hildon_note_realize):
3282 Set the notification type hint
3283 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3284 Grab/ungrab pointer and keyboard if the note has to be closed when
3286 (hildon_note_button_release):
3287 Close the note when tapping outside (if applicable)
3289 * src/hildon-app-menu.c
3290 Grab/ungrab pointer and keyboard on map/unmap
3291 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3292 Close the menu on button release, not button press
3294 * src/hildon-banner.c
3295 (hildon_banner_set_property)
3296 (hildon_banner_check_position):
3297 Make the banner use the full width of the screen
3298 (hildon_banner_show_information)
3299 (hildon_banner_show_information_with_markup):
3300 Don't display an icon by default
3302 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3304 Added fading scrollbars and adapted all the overshooting code to
3305 horizontal scrolling. We have also fixed bugs with overshooting
3306 and current fading implementation.
3308 * src/hildon-pannable-area.c
3309 (hildon_pannable_area_scroll_indicator_fade): Time out function
3310 used to change the transparency of the scrollbars.
3312 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3313 control and fixed a problem with fading, we now remove the fade
3314 timeout before adding a new one.
3316 (hildon_pannable_axis_scroll):
3317 (hildon_pannable_area_scroll):
3318 (hildon_pannable_area_timeout): Added this functions so we can use
3319 the scroll code both for vertical and horizontal.
3321 (hildon_pannable_area_motion_notify_cb):
3322 (hildon_pannable_area_button_release_cb): Added the horizontal
3323 scrolling control, fixed a problem with the overshooting timeout.
3325 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3326 painting of the scrolls.
3328 (hildon_pannable_draw_vscroll):
3329 (hildon_pannable_draw_hscroll):
3330 (hildon_pannable_area_expose_event):
3331 Draw both scrollbars and rectangles in the overshooting area.
3333 (hildon_pannable_area_get_property):
3334 (hildon_pannable_area_set_property):
3335 Modified the overshoot property to overshoot_max
3337 (hildon_pannable_area_map):
3338 Replaced the comments symbols.
3340 (hildon_pannable_area_size_allocate):
3341 (hildon_pannable_area_class_init):
3342 (hildon_pannable_area_init): Added horizontal scroll, fading
3343 effect properties, fixed a problem when overshooting in the bottom
3346 * examples/hildon-pannable-area-example.c:
3347 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3348 looks better in the example.
3350 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3352 * src/hildon-window.c
3353 * src/hildon-window.h
3354 (hildon_window_class_init)
3355 (hildon_window_unset_program)
3356 (hildon_window_unset_program_real):
3357 Make unset_program a virtual function
3359 * src/hildon-stackable-window.c
3360 * src/hildon-stackable-window.h
3361 Added hildon_stackable_window_go_home()
3363 * examples/Makefile.am
3364 * examples/hildon-stackable-window-example.c
3365 HildonStackableWindow example
3367 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3369 * hildon-pannable-area.c: Added the overshoot property and removed
3370 the OVERSHOOT define. Fixed an indent style error.
3371 (hildon_pannable_area_motion_notify_cb):
3372 (hildon_pannable_area_get_property):
3373 (hildon_pannable_area_set_property): Add overshoot property.
3375 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3378 (hildon_pannable_area_class_init): Installed the new property.
3380 * hildon-pannable-area-example.c: Added a sawtooth function, this
3381 way it is easier to check the movement in the pannable.
3382 (get_sawtooth_label): Added this function.
3383 (main): Now we get the labels from the new get_sawtooth_label
3386 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-app-menu.h
3389 * src/hildon-app-menu.c
3390 Renamed API variables for consistency
3392 (hildon_app_menu_popup): Use also the default window size to
3393 decide where to place the menu
3395 (hildon_app_menu_init, hildon_app_menu_class_init): New
3396 external-border style property
3398 2008-05-26 Michael Natterer <mitch@imendio.com>
3400 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3401 widget_class->tap_and_hold_setup signal slot doesn't exist any
3402 longer, stop overriding it.
3404 (hildon_time_editor_init): g_signal_connect() to the
3405 tap-and-hold-setup signal instead.
3407 (hildon_time_editor_entry_keypress): add cast to fix warning.
3409 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3411 * doc/hildon-docs.sgml
3413 * examples/Makefile.am
3414 * examples/hildon-app-menu-example.c
3416 * src/hildon-app-menu-private.h
3417 * src/hildon-app-menu.c
3418 * src/hildon-app-menu.h
3420 New HildonAppMenu widget
3422 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3424 Rearranged the inheritance of the pannable area, now it inherits
3425 from GtkBin. This will allow us to control the event_window and
3426 the allocation process of the widget, required for some effects.
3428 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3429 GtkBin structures. * src/hildon-pannable-area.c: Added the
3430 event_window variable.
3431 (hildon_pannable_area_button_press_cb):
3432 (hildon_pannable_area_button_release_cb):
3433 (hildon_pannable_area_motion_notify_cb):
3434 Changed the signature of the method, now we override the event
3435 callback instead of connecting to the signal.
3437 (hildon_pannable_area_realize):
3438 (hildon_pannable_area_unrealize):
3439 (hildon_pannable_area_map):
3440 (hildon_pannable_area_unmap):
3441 (hildon_pannable_area_size_allocate):
3442 Added functions to control the widget construction. We add a
3443 INPUT_ONLY window and we put it over the widgets inside the
3444 container, this event_window handles the events.
3446 (hildon_pannable_area_class_init):
3447 Replaced the signal connections with overrides of the event
3450 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3452 Bouncing effect added when touching the borders, you can change
3453 the elasticity of the border changing the ELASTICITY define.
3455 * src/hildon-pannable-area.c: Added ELASTICITY define.
3456 (hildon_pannable_area_timeout): Added inverse velocity when
3457 touching the border of the child widget, that causes a bounce.
3459 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3461 Improved performance, we now do not go to the X server in order to
3462 get the list of window children. Apparently the effect is the
3463 same, we have to be careful and check if this breaks something in
3466 * src/hildon-pannable-area.c:
3467 (get_ordered_children): Removed this function.
3468 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3469 the children windows function with gdk_window_get_children.
3471 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3473 * src/hildon-pannable-area.c:
3474 (hildon_pannable_area_dispose): Fixed a crash when closing the
3475 window and kinetics is activated.
3477 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3479 * src/hildon-pannable-area.h
3480 * src/hildon-pannable-area.c
3481 Changed indentation style to meet the one used in Hildon
3483 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3485 Reviewed the interaction of the AUTO mode, now we use the time
3486 attribute of the events and calculate the velocity in the motion,
3487 doing a gimp like calculation. The velocity is calculated in each
3488 motion event using the last velocity and the current one, the
3489 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3491 * src/hildon-pannable-area.c: Replaced the time based algorithm
3493 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3494 timeout for the AUTO mode when we are still moving the cursor. We
3495 added also the velocity calculation in this function.
3496 (hildon_pannable_area_button_release_cb): launch the timeout in
3497 case we are in AUTO mode. There are still some constants here that
3498 come from the old implementation that should be reviewed and
3501 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3503 * doc/hildon-docs.sgml
3506 * src/hildon-stackable-window.c
3507 * src/hildon-stackable-window.h
3509 New HildonStackableWindow widget
3511 * examples/hildon-dialog-example.c
3512 * examples/hildon-pannable-area-example.c
3515 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-dialog.c
3518 (hildon_dialog_new_with_buttons): New constructor.
3520 * examples/hildon-dialog-example.c
3521 (main): Update the example to use the new
3522 hildon_dialog_new_with_buttons().
3524 * examples/hildon-pannable-area-example.c
3525 (main): Update example.
3527 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3529 * doc/hildon-docs.sgml
3531 Added HildonPannableArea to the documentation.
3533 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3535 * doc/visual_index.xml
3536 Fix reference to HildonLoginDialog in documentation
3538 * doc/hildon-docs.sgml
3540 * examples/Makefile.am
3541 * examples/hildon-dialog-example.c
3543 * src/hildon-dialog.c
3544 * src/hildon-dialog.h
3546 New HildonDialog widget.
3548 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3550 * src/hildon-pannable-area.c
3551 Merge latest changes (r4318, r4342) from libmokoui trunk
3553 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3555 * examples/Makefile.am
3556 * examples/hildon-pannable-area-example.c
3558 * src/hildon-pannable-area.c
3559 * src/hildon-pannable-area.h
3561 New HildonPannableArea widget.
3563 2008-04-15 18:05:19 <timj@imendio.com>
3565 * src/hildon-banner.c: revert the recent change, that introduced
3566 gtk_window_present() calls. this reopens:
3567 Bug 78481 - [freetest] information banners are hidden under browser menu
3568 But resolves another variant of:
3569 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3571 2008-04-15 13:21:13 <timj@imendio.com>
3573 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3574 recreated its layout, spotted by Kris. this fixes all remaining
3575 artefacts and stability issues with the banner code. in particular:
3576 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3578 2008-04-14 16:52:59 <timj@imendio.com>
3580 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3581 operating on unrealized widgets, fixes:
3582 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3584 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3586 2008-04-09 Kristian Rietveld <kris@imendio.com>
3588 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3589 makes banner disappear.
3590 Fixes: NB#79182: info banner flickering with certain message lengts.
3592 * src/hildon-banner.c (hildon_banner_constructor),
3593 (hildon_banner_init), (hildon_banner_set_text),
3594 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3595 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3596 FALSE, reset size requests of label and banner,
3597 (force_to_wrap_truncated): when the text is too wide, always enforce
3598 the maximum possible width instead of recalculating it from the
3599 layout; enforce the maximum banner height of 3 lines,
3600 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3601 nicer wrapping and no truncated chars if space gets tight.
3603 * src/hildon-banner-private.h: add has_been_wrapped and
3604 has_been_truncated fields.
3606 2008-04-07 Sven Herzberg <sven@imendio.com>
3608 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3609 local values in hildon_date_editor_size_allocate
3611 * src/hildon-date-editor.c: moved the real allocation code into the
3614 2008-04-07 Sven Herzberg <sven@imendio.com>
3616 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3617 local values in hildon_date_editor_size_allocate
3619 * src/hildon-date-editor.c: merged the two if() branches together
3621 2008-04-07 Sven Herzberg <sven@imendio.com>
3623 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3624 local values in hildon_date_editor_size_allocate
3626 * src/hildon-date-editor.c: changed the arguments of the if()
3629 2008-04-07 Sven Herzberg <sven@imendio.com>
3631 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3632 local values in hildon_date_editor_size_allocate
3634 * src/hildon-date-editor.c: split the calculation of the allocation
3635 from the real allocation
3637 2008-03-27 Michael Natterer <mitch@imendio.com>
3639 Fixes: NB#81696: The passcode is not overwritten even after
3642 * src/hildon-code-dialog.c
3643 (hildon_code_dialog_button_clicked)
3644 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3645 because that doesn't overwrite selected text. Instead, emit the
3646 "commit" signal on the entry's im_context so the entry's normal
3647 insert logic is triggered. Set the cursor to the end of the entry
3648 after each insert operation so that we *only* insert in the middle
3649 of the text if something was selected.
3651 2008-03-27 Michael Natterer <mitch@imendio.com>
3653 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3654 selector cannot be opened
3656 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3657 when the popup color selector is created. Please connect to this
3658 signal in order to set the dialog's help ID.
3660 2008-03-25 Sven Herzberg <sven@imendio.com>
3662 Fixes: MB#1212: Hide info banners (infoprints) on click
3664 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3665 extracted the close event simulation into an extra function
3666 (hildon_banner_button_press_event): simulate a close event and destroy
3667 the widget if the event wasn't handled
3668 (hildon_banner_class_init): added the button_press_event handler
3669 (hildon_banner_init): added button-press events to the widget
3671 2008-03-25 Sven Herzberg <sven@imendio.com>
3673 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3674 Patch from: Mohammad Anwari <mdamt@maemo.org>
3676 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3677 instead of the right in RTL mode
3678 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3679 breadcrumb button list in RTL mode
3680 * src/hildon-caption.c: mirror the appearance of the caption widget in
3682 * src/hildon-date-editor.c: mirror appearance of the date editor in
3684 * src/hildon-time-editor.c: mirror appearance of the time editor in
3686 * src/hildon-window.c: fix the position of the popup in RTL mode
3688 2008-03-25 Sven Herzberg <sven@imendio.com>
3690 Amendment to the fix of NB#22072. Fix compilation.
3692 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3694 2008-03-19 Sven Herzberg <sven@imendio.com>
3696 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3699 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3700 timeout id properly when the timeout will disappear this leaves no
3701 artifacts around in the destroy(); there will only be the timeout
3702 created by hildon_banner_ensure_timeout() and adding a new timeout
3703 will also work if the timeout gets removed because the timeout_handler
3706 2008-03-19 Michael Natterer <mitch@imendio.com>
3708 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3710 * src/hildon-volumebar.c
3711 * src/hildon-vvolumebar.c
3712 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3713 the widget becomes focussable at all.
3715 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3716 set the focus to wither the mute button or the volumebar.
3718 Remove own "can-focus" property and instead listen to
3719 notify::can-focus in order to update the widget's state.
3721 Implement GtkWidget::focus() and make sure we can also *leave* the
3722 widget, not only enter it, depending on volumebar orientation and
3723 requested focus direction.
3725 Clean up set_mute() to cooperate nicely with all the above.
3727 2008-03-04 Michael Natterer <mitch@imendio.com>
3729 Fixes: NB#78481: information banners are hidden under browser menu
3731 * src/hildon-banner.c: call gtk_window_present() on the banners so
3732 they are risen if they are already visible.
3734 2008-03-03 Sven Herzberg <sven@imendio.com>
3736 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3738 * examples/hildon-window-menu-example.c: (main): extended the window
3739 menu example to serve as a testcase for automatically added
3740 accelerator groups, too
3741 * src/hildon-window.c: (hildon_window_add_accel_group),
3742 (hildon_window_set_menu): added patch by Tommi Komulainen
3744 2008-03-03 Sven Herzberg <sven@imendio.com>
3746 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3748 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3749 knowledge about the border allocators used within GTK+
3751 2008-02-26 Sven Herzberg <sven@imendio.com>
3753 Fixes: MB#2981: Build with asserts broken
3755 * src/hildon-date-editor.c,
3756 * src/hildon-number-editor.c,
3757 * src/hildon-time-editor.c,
3758 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3759 the proper GType instance check
3761 2008-02-25 Sven Herzberg <sven@imendio.com>
3763 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3765 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3766 * examples/hildon-window-menu-example.c: (main): explicitly show
3768 * src/hildon-window.c:
3769 (hildon_window_set_main_menu): moved most of the code from set_menu()
3770 to this place; skipped the call to gtk_widget_show_all(); also didn't
3771 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3772 (hildon_window_set_menu): removed most of the code, just keep the
3773 questionable gtk_widget_show_all()
3774 * src/hildon-window.h: added the new function and deprecate the old
3777 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3783 * debian/changelog: Updating.
3785 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3788 * pkgconfig/Makefile.am:
3789 * pkgconfig/hildon.pc.in:
3792 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3793 use newly created API_MAJOR_VERSION.
3795 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3801 * debian/changelog: Updating.
3803 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3805 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3807 Add outer_border style property, we use it but don't define it (!).
3811 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3813 * examples/hildon-bread-crumb-trail-example.c (main):
3817 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3819 Fix logic for the bread crumb trail node removal.
3823 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3829 * debian/changelog: Updating.
3831 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 Patch by Alejandro to get/set passwords dialogs accesibility.
3835 * hildon-1/src/hildon-get-password-dialog.c:
3836 * hildon-1/src/hildon-set-password-dialog.c:
3837 Set atk_set_name to the passwd entries in order to allow
3838 accessibility by name on this entries.
3840 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3845 * debian/control: Updating gtk dep.
3847 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3849 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3850 USE_MAEMO_GTK is enabled.
3852 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3854 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3855 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3857 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3863 * debian/changelog: Updating.
3865 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3867 * examples/Makefile.am:
3868 * examples/hildon-logical-color-example.c:
3869 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3870 applied + adding a test case. Fixes: NB#71660.
3872 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3874 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3875 to be visible, fixes warning on map for windows without toolbars.
3877 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3879 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3880 2.11.0, add a check for that besides the MAEMO_GTK check.
3882 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 * debian/changelog: Updating.
3890 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3892 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3893 visibility. Fixes: NB#70842 and MB#615.
3895 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3897 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3898 set the separator as no-show-all so it doesn't unintentionally appear when
3899 someone does a show_all.
3901 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3903 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3904 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3905 toplevel item. Fixes: NB#62031
3907 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3909 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3910 fix the name of the function in the docs.
3912 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * debian/changelog: Updating.
3920 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3922 * examples/hildon-banner-long-example.c: Adding a test-case for long
3925 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3927 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3929 * src/hildon-color-chooser-dialog.c:
3930 * src/hildon-color-chooser.c:
3931 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3932 memory leaks in font selector and color selector. Fixes: NB#70499 and
3935 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3937 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3939 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3941 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3942 little bit bigger. Fixes: #NB63694.
3944 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * debian/changelog: Updating.
3952 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3955 * doc/hildon-docs.sgml:
3956 * doc/images/bread-crumb-trail.png:
3957 * doc/images/calendar-popup.png:
3958 * doc/images/caption.png:
3959 * doc/images/code-dialog.png:
3960 * doc/images/color-button.png:
3961 * doc/images/color-chooser-dialog.png:
3962 * doc/images/color-chooser.png:
3963 * doc/images/controlbar.png:
3964 * doc/images/date-editor.png:
3965 * doc/images/font-selection-dialog.png:
3966 * doc/images/get-password-dialog.png:
3967 * doc/images/hvolumebar.png:
3968 * doc/images/login-dialog.png:
3969 * doc/images/note.png:
3970 * doc/images/number-editor.png:
3971 * doc/images/range-editor.png:
3972 * doc/images/seekbar.png:
3973 * doc/images/set-password-dialog.png:
3974 * doc/images/sort-dialog.png:
3975 * doc/images/time-editor.png:
3976 * doc/images/time-picker.png:
3977 * doc/images/vvolumebar.png:
3978 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3979 Adding the bread-crumb-trial and helpers to the documentation.
3981 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3983 * examples/hildon-find-toolbar-example.c:
3984 * src/hildon-find-toolbar.c:
3985 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3986 actually continue firing the other handlers if connected. Adding a new
3988 hildon_find_toolbar_get_last_index that gets the index of the most
3989 recently added (last) item. Fixes: NB#52301.
3991 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3993 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3994 behaviour. Fixes: NB#68610.
3996 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3998 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4001 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4003 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4004 when realizing the banner. Should make the infonbanner effect a bit more
4007 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4009 * src/hildon-volumebar.c:
4010 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4011 hildon_volumebar_set_range_insensitive_message and
4012 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4014 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4016 * src/hildon-window.c: Fixing the border freeing on destroy.
4018 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4020 * src/hildon-code-dialog-private.h:
4021 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4022 kw keyboard support in HildonCodeDialog.
4024 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4030 * debian/changelog: Updating.
4032 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4034 * src/hildon-date-editor.c:
4035 * src/hildon-number-editor.c:
4036 * src/hildon-private.c:
4037 * src/hildon-private.h:
4038 * src/hildon-time-editor.c:
4039 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4040 handling in subclassed composite widgets. Fixes: NB#66628.
4042 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4044 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4045 from destroy_ callback as it introduces problems in async dbus signal
4046 handlers. Fixes NB#66673.
4048 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4050 * examples/hildon-hvolumebar-example.c:
4051 * src/hildon-volumebar.c: Improving the focus handling in the
4052 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4053 set_property accessor so that "mute" property can be actually set. I'm
4054 scared that nobody noticed it's totally broken.
4056 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4058 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4061 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4063 * src/hildon-calendar.c:
4064 * src/hildon-number-editor.c:
4065 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4066 matches the spec of 6 chars per second. Fixes: NB#60489.
4068 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4070 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4071 gtk_style_lookup_color sometime returns FALSE even though color was
4072 found and values were filled properly. Weird. Removing the warning for the
4075 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4077 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4078 expand vertically. Adding some extra space to the find toolbar buttons to
4079 make them thumbable. Fixes NB#66060.
4081 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4083 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4084 popup with "Ok" and "Cancel". Fixes NB#59299.
4086 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4088 * src/hildon-calendar.c: Process all window updates before executing next
4089 timeout. Fixes: NB#54146.
4091 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4097 * debian/changelog: Updating.
4099 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4101 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4102 the client event and ignore it, since we use the delete event to close
4105 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4107 * src/hildon-helper.c: Remove the bogus warning about color not being
4108 found. Fixes NB#58352.
4110 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * examples/Makefile.am:
4113 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4114 HildonSeekbar widget inside a toolbar.
4116 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4118 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4119 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4120 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4121 don't want to be closed by non-temporary windows on map.
4123 Also use G_DEFINE_TYPE instead of manually typed code.
4125 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * debian/rules: Updating.
4134 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 * examples/Makefile.am:
4137 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4138 bug NB#61128. Strangely it works.
4140 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4142 * src/hildon-date-editor.c: When the date editor entry has been changed
4143 but the numbers of characters < max, turn off the skip validation flag.
4144 Prevents a situation when we enter first a valid year and later re-write
4145 it with an invalid one. Fixes NB#60154.
4147 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4149 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4150 code dialog. Fixes NB#64355.
4152 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4154 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4155 switching the page. Fixes NB#49374.
4157 * examples/Makefile.am:
4158 * examples/hildon-wizard-dialog-example.c: Adding an example for
4159 HildonWizardDialog that shows how to handle manual sensitivity setting on
4162 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4166 * src/hildon-version.h.in:
4167 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4169 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4171 * src/hildon-volumebar.c: Updating the docs.
4173 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * debian/changelog: Updating.
4181 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4183 * src/hildon-find-toolbar.c:
4184 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4185 selected item: hildon_find_toolbar_set_active,
4186 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4187 hildon_find_toolbar_get_active_iter . They correspond to respective
4188 GtkComboBox functions.
4190 * examples/Makefile.am:
4191 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4194 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * examples/Makefile.am:
4197 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4200 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4201 when font size > 32 and we pack a focusable widget inside. Actually using
4202 the default response would work too, but since we don't show default
4203 response state in any way (no theming) it would not be visible to the
4204 user. Fixes NB#63430.
4206 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4208 * src/hildon-date-editor.c: Adding the missing variable setter in the
4209 set_property handler. Fixes NB#54182.
4211 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4213 * src/hildon-window.h: Changing the long key press time from 1500ms to
4214 800ms as requested in NB#63700. I have a bad feeling about this, let's
4215 see... Fixes NB#63700.
4217 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4219 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4220 hildon_time_picker_map, hildon_time_picker_realize,
4221 hildon_time_picker_style_set): Split the contents of map to more
4222 appropriate functions; set window decorations on realize and update
4223 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4225 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4230 * debian/changelog: Updating.
4232 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4234 * src/Makefile.am: fixed installation of the header files
4236 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4242 * debian/changelog: Updating.
4244 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4246 * configure.ac: Removing some remaining of --enable-xan.
4248 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4250 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4251 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4253 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4254 2.10.12-osso6 because the move-focus signal needs to be available in
4257 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4259 * examples/Makefile.am:
4260 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4261 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4262 fine. Prolly NB#61128 is fixed now.
4264 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4266 * src/hildon-volumebar.c:
4267 * src/hildon-volumebar.h: Adding the
4268 hildon_volumebar_set_range_insensitive_message and
4269 hildon_volumebar_set_range_insensitive_messagef functions to set
4270 insensitive message on the slider of the volumebar. Fixes NB#61129.
4272 * examples/Makefile.am:
4273 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4274 test the new insensitive messsage functionality on HildonVolumebar.
4276 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4278 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4281 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4283 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4284 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4285 button on after clearing the trail.
4287 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4289 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4291 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4293 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4294 by splitting the installed headers in generated and non-generated groups. Use
4295 only the non-generated headers to create the hildon-enum-types.h file.
4297 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4299 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4301 * src/hildon-window.c: Hide the window before performing the destroy.
4302 Should make the app closing a little tiny bit more snappy.
4304 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4306 * src/hildon-seekbar.c: add gtkrange.h header
4307 * src/hildon-caption.c: remove unused variable
4309 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4311 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4314 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4320 * debian/changelog: Updating.
4322 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4324 * src/hildon-window.c (hildon_window_window_state_event,
4325 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4326 escape timeout on focus-out-event rather than notify::is-topmost; the
4327 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4329 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4331 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4332 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4334 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4336 * src/hildon-window: actually, you need to use the macro always, there's
4337 no private pointer in the instance structure. We should have cleaned this up
4338 when we had the chance...
4340 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4342 * src/hildon-window.c: do not get the private date from HildonWindow before
4343 it passes the g_return_if_fail check. Once it's passed the test, there's no
4344 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4345 if you are only going to access the data once. Whitespace cleanups.
4347 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4349 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4350 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4352 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4358 * debian/changelog: Updating.
4360 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4362 * src/hildon-window.c: When destroying the window, remove (if exists) the
4363 escape timeout handler. Fixes #NB59276.
4365 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4367 * src/hildon-banner.c: When realizing the widget, set the window
4368 transiency. Setting the transiency in the gobject constructor is not
4369 good, as the widget is not realized at that point. Fixes: #NB56624.
4371 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4373 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4374 Add padding for future expansions.
4376 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4378 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4379 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4380 will fake an activation on the previous to the last item of the trail, so
4381 the effect can be overrided by the developer as usual.
4382 Also change the callback for the back button to do the same thing, so its
4383 effect can be overrided too. Fixes: NB#58982
4385 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4387 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4388 HildonCaption. Fixes NB#52379.
4390 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4392 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4393 the internal state of the trail after the user has had the chance of executing
4394 his handler for the signal. Specifically, it may happen that the activated button
4395 is removed and the user still lets the default handler run. This would segfault
4398 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4400 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4401 scrollbar to the preview dialog. Fixes NB#54147.
4403 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4405 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4406 max/min year properties can be altered, so the client can modify it
4407 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4409 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4411 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4412 hildonlike by default. Fixing a problem with disappearing arrows when
4413 scrolling through months and years. Fixes NB#54127.
4415 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * examples/hildon-date-editor-example.c: Adding error callback to the date
4420 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4426 * configure.ac: Updating.
4428 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4430 * configure.ac: Adding a special '--enable-xan' configure option that
4431 turns off the -Werror compilation setting. Usefull for development.
4433 * src/hildon-calendar.c:
4434 * src/hildon-number-editor.c:
4435 * src/hildon-time-picker.c: Adding the 5* multiplier to
4438 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4440 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4441 instead of g_object_ref + gtk_object_sink.
4443 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4449 * debian/changelog: Updating.
4451 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4453 * src/hildon-color-chooser-dialog.c:
4454 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4455 straight from Tommi labs.
4457 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4459 * examples/hildon-finger-example.c: Correcting the header file path.
4461 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4462 the changed signal. Fixes a small memory leak.
4464 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * src/hildon-banner.c: Importing several usefull fixes from the
4469 ubuntu-mobile branch.
4471 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4473 * examples/Makefile.am:
4474 * examples/hildon-finger-example.c: Adding a finger-checking code
4477 * src/hildon-font-selection-dialog.c: Do not allocate the color
4478 structure using the g_new. Fixes NB#54061.
4480 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4482 * src/hildon-helper.c: Correcting tabs in file.
4484 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4486 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4487 control the visibility of the children.
4489 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4491 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4497 * debian/changelog: Updating.
4499 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4501 * src/hildon-bread-crumb-trail.c:
4502 (hildon_bread_crumb_trail_size_allocate):
4504 Make the back button always a square.
4506 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4508 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4509 from the .c file as it's a private file.
4511 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4513 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4514 uses slightly bigger height.
4516 * src/hildon-font-selection-dialog.c: Adding some checks before
4517 freeing memory in the font selection dialog.
4519 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4521 * src/hildon-font-selection-dialog.c: Adding a small check when
4524 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4525 buttons sensitivity on page switching.
4527 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4529 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4530 internal details of adding a bread crumb to the trail.
4532 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4538 * debian/changelog: Updating.
4540 * src/hildon-bread-crumb-trail.h:
4541 * src/hildon-bread-crumb.h: Changing the API guard to
4542 HILDON_ENABLE_UNSTABLE_API.
4544 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4552 * src/hildon-helper.h: Updating.
4554 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4562 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4566 * src/hildon-helper.h: Small fix to make the package actually compile.
4568 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4570 * src/hildon-bread-crumb-trail.h:
4571 * src/hildon-bread-crumb.h:
4573 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4574 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4576 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4578 * examples/hildon-bread-crumb-trail-example.c:
4580 * src/hildon-bread-crumb-trail.c:
4581 * src/hildon-bread-crumb-trail.h:
4582 * src/hildon-bread-crumb.c:
4583 * src/hildon-bread-crumb.h:
4584 * src/hildon-marshalers.list:
4585 * src/hildon-bread-crumb-widget.c:
4586 * src/hildon-bread-crumb-widget.h:
4588 Slight change in the widget design. The bread crumb trail API is
4589 unchanged, but HildonBreadCrumb is now an interface. A *private*
4590 implementation, hildon-bread-crumb-widget, is provided and used
4591 internally by the trail for the push_text/push_icon functions.
4593 The generic push API is still available, so anyone can implement
4594 and use its own bread crumb widget.
4596 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4598 * debian/rules: Fixing the shlibs.
4600 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4602 * src/hildon-banner.c: Fixing a problem with timed banners having
4603 their parrent destroyed before they are.
4605 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4607 * src/hildon-bread-crumb.c:
4608 * src/hildon-bread-crumb.h:
4610 Make the get_natural_size function a vfunc.
4612 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4614 * src/hildon-bread-crumb.c:
4615 * src/hildon-bread-crumb-trail.c:
4619 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4626 * debian/changelog: Updating for release.
4628 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4630 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4631 don't leak the pango layout.
4633 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4636 * examples/hildon-bread-crumb-trail-example.c:
4640 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4642 * debian/changelog: Removing the bug-fixed entries that were actually
4643 resolved as WONTFIX.
4645 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4648 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4650 * src/hildon-bread-crumb-trail.c:
4651 * src/hildon-bread-crumb-trail.h:
4652 * src/hildon-bread-crumb.c:
4653 * src/hildon-bread-crumb.h:
4657 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4659 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4660 until it's passed the type check.
4662 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4664 * examples/hildon-bread-crumb-trail-example.c
4668 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4670 * examples/Makefile.am
4671 * examples/hildon-bread-crumb-trail-example.c
4673 * src/hildon-bread-crumb-trail.c
4674 * src/hildon-bread-crumb-trail.h
4675 * src/hildon-bread-crumb.c
4676 * src/hildon-bread-crumb.h
4678 New HildonBreadCrumbTrail widget.
4680 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4682 * src/hildon-range-editor.c (hildon_range_editor_init),
4683 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4684 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4685 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4686 hildon_time_editor_class_init, hildon_time_editor_init),
4687 src/hildon-get-password-dialog.c (invalid_input,
4688 hildon_get_password_set_property, hildon_get_password_get_property,
4689 create_contents, hildon_get_password_dialog_set_max_characters),
4690 src/hildon-set-password-dialog.c (create_contents),
4691 src/hildon-date-editor.c (hildon_date_editor_init),
4692 src/hildon-login-dialog.c (hildon_login_dialog_init),
4693 src/hildon-number-editor.c (hildon_number_editor_init),
4694 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4695 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4696 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4697 configure option and adding the respective checks in the code.
4698 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4699 hildon_calendar_drag_data_received): fixed some build warnings.
4701 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4703 * debian/changelog: A 1.0.0 release notes.