1 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3 Based on initial code by Christian Dywan (christian@imendio.com)
5 * doc/hildon-docs.sgml: Add section for hildon-main.
6 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
7 * src/Makefile.am: Add new hildon-main.[ch]
8 * src/hildon-defines.h: Update the icon sizes.
9 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
10 new library initialization files and register icon sizes.
11 * src/hildon-main.h: New declarations.
12 * src/hildon.h: Include hildon-main.h
14 Add new initialization functions to the library. These methods
15 will register the hildon specific icon sizes and can be used in the
16 future for other hildon specific bits.
18 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
19 Fixes: NB#93075 (Update icon size constants to Fremantle)
21 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
23 * src/hildon-window.c: (hildon_window_realize),
24 (hildon_window_notify), (-hildon_window_update_title): Do not set
25 the application name in the window title.
27 Fixes: NB#89754 (Applications shouldn't display their names in the
30 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
32 * src/hildon-note-private.h:
33 * src/hildon-note.c: (hildon_note_set_property),
34 (hildon_note_get_property), (hildon_note_class_init),
35 (hildon_note_init), (hildon_note_finalize),
36 (hildon_note_new_confirmation_with_icon_name),
37 (hildon_note_new_information_with_icon_name):
39 No need to mark as deprecated the actual code. Revert
40 to avoid missing symbols in widgets using deprecated API.
42 2008-11-20 Alberto Garcia <agarcia@igalia.com>
44 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
46 * src/hildon-volumebar.h
47 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
48 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
51 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
52 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
54 * examples/Makefile.am:
55 Deprecate hildon-insensitive-example
57 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
59 2008-11-20 Alberto Garcia <agarcia@igalia.com>
61 * examples/hildon-pannable-area-buttons-scroll-example.c:
62 Make all buttons finger height
64 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
66 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
68 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
69 update the day model only if it is really required, and to avoid the
70 full-reconstruction aproach. Now it only add or remove the required days.
72 The purpose of this is avoid superfluous HildonTouchSelector::changed
75 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
76 with strange parameters)
78 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
80 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
82 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
83 the WINDOW_TYPE property.
85 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
87 2008-11-19 Alberto Garcia <agarcia@igalia.com>
90 Fix dependency to allow parallel compilation with make -jX
92 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
94 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
95 color frame and some minor tweaks to make it more consistent with
98 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
99 highlighted but not visible)
101 2008-11-14 Alejandro G. Castro <alex@igalia.com>
103 * examples/Makefile.am: Fixed typo in the Makefile.am.
105 2008-11-14 Alejandro G. Castro <alex@igalia.com>
107 Reviewed the use of MAEMO_GTK define, now we add the define in the
108 compilation line, and we also add it to the pc file.
110 * configure.ac: Added MAEMO_GTK define to the compilation command
111 and removed it from the config.h.
113 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
114 do not have to take care about this define if the library was
118 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
120 2008-11-14 Alejandro G. Castro <alex@igalia.com>
122 * examples/Makefile.am,
123 * examples/hildon-pannable-area-buttons-scroll-example.c,
124 * examples/hildon-pannable-area-gesture-signals-example.c,
125 * examples/hildon-pannable-area-scroll-jump-example.c,
126 * examples/hildon-pannable-area-tree-view-example.c:
127 Renamed the pannable area examples, now they have more meaningful
130 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
132 * src/hildon-touch-selector.c:
133 (hildon_touch_selector_set_column_selection_mode): Used of
134 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
135 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
136 to avoid re-seting the same selection mode.
138 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
139 breaks HildonPickerDialog)
141 2008-11-13 Alejandro G. Castro <alex@igalia.com>
143 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
144 conditional in the Makefile.am
146 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
148 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
149 Remove unused methods.
151 2008-11-12 Alberto Garcia <agarcia@igalia.com>
153 * src/hildon-button.c (hildon_button_init):
154 Make button images center-aligned by default
156 2008-11-12 Alejandro G. Castro <alex@igalia.com>
159 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
160 activated, we have to think about how to deal with both defines
161 MAEMO_GTK and MAEMO_CHANGES.
163 2008-11-12 Alberto Garcia <agarcia@igalia.com>
165 * examples/hildon-app-menu-example.c (create_menu): Make all
168 2008-11-11 Alejandro G. Castro <alex@igalia.com>
170 Fixed the compilation without maemo gtk adding ifdefs with
171 MAEMO_GTK define to the code, we have to check this version more
174 * examples/Makefile.am: Added control to avoid some examples that
175 just make sense with maemo gtk.
178 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
179 hildon modes with the define.
181 * examples/hildon-edit-toolbar-example.c,
182 (create_icon_view): Create the icon view without hildon-gtk
183 helpers if we are not using maemo gtk.
185 * src/hildon-touch-selector.c,
186 (_create_new_column): Create the treeview without hildon-gtk
187 helpers if we are not using maemo gtk.
189 2008-11-11 Alejandro G. Castro <alex@igalia.com>
191 * src/hildon-pnnable-area.c,
192 (hildon_pannable_area_dispose),
193 (hildon_pannable_area_button_press_cb),
194 (hildon_pannable_area_child_mapped),
195 (hildon_pannable_area_add),
196 (hildon_pannable_area_remove): Added code to control the position
197 of the event_window when adding and removing children from the
198 pannable. We have to raise the event window when the child is
201 Fixes: NB#89811 (Not able to select first image thumbnail in multi
202 selection mode using custom widget inside pannable)
204 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: post release version bump
207 * debian/changelog: version bump
209 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
214 * configure.ac: bump version
215 * debian/changelog: updates
217 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
219 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
220 search mode, in order to avoid lose the focus on the treeview when
221 a hw key (like enter) is pressed.
223 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
224 in HildonDateSelector dialog)
226 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
228 * debian/rules: Added --enable-maintainer-mode
229 * Makefile.am: Added ACLOCAL_AMFLAGS
231 This allows to properly regenerate the Makefiles if you modify the
232 configure.ac or any Makefile.am.
234 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
236 * examples/hildon-app-menu-example.c: (main): Do not set RC style
237 properties, not needed at all.
239 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
241 * src/hildon-note-private.h: Add strings for the icon and stock_icon
243 * src/hildon-note.c: (hildon_note_set_property),
244 (hildon_note_get_property), (hildon_note_class_init),
245 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
246 (hildon_note_new_confirmation_add_buttons): Remove icons.
247 (hildon_note_new_confirmation_with_icon_name): Deprecate.
248 (hildon_note_new_information_with_icon_name): Deprecate.
249 (hildon_note_new_confirmation): Act directly, without calling
250 the deprecated constructor.
251 (hildon_note_new_information): Act directly, without calling
252 the deprecated constructor.
253 * src/hildon-note.h: Mark deprecate methods as such.
254 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
255 not run tests on the deprecated methods if built with deprecation
258 Fixes: NB#91688 (Never show icons in information notes/confirmation
261 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
263 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
264 (hildon_app_menu_key_press): Remove leftover usage of the
265 private structure in HildonAppMenu struct.
266 * src/hildon-app-menu.h: Remove leftover private structure
267 from the HildonAppMenu struct.
269 Fixes a crasher when using the HildonAppMenu.
271 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-picker-dialog.c: Use appropriate logical id
274 for the default "Done" text.
276 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
278 * configure.ac: post release version bump
279 * debian/changelog: version bump
281 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
283 Modified the way to scroll to the current selection just when the touch
284 selector is shown on the screen, avoiding a g_idle. Added too a property
285 to configure this behaviour. See hildon_pannable_area_jump_to_child
286 documentation for more information.
288 * src/hildon-touch-selector.c
289 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
290 Added 'initial-scroll' property
291 (hildon_touch_selector_set_property): Added
292 (hildon_touch_selector_map): Removed as not required anymore
293 (_hildon_touch_selector_on_selected_items): Modified in order to manage
294 only a concrete column, instead of iterate along all the columns
296 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
301 * configure.ac: bump version
302 * debian/changelog: updates
304 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
306 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
307 compilation time warnings.
309 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
311 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
312 the default value for HildonPannableArea::mov-mode to
313 HILDON_PANNABLE_AREA_MODE_VERT.
315 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
317 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
319 Reverting following commit:
321 2008-10-13 Alberto Garcia <agarcia@igalia.com>
323 * src/hildon-app-menu-private.h
324 * src/hildon-app-menu.[ch]
325 * src/hildon-button.[ch]
326 * src/hildon-check-button.[ch]
327 * src/hildon-entry.[ch]
328 * src/hildon-pannable-area.[ch]
329 * src/hildon-text-view.[ch]:
330 Added private field to the object's structure.
332 because it causes an ABI breakage. We will need to introduce these
333 changes later at some point. See NB#91636 for an extensive
334 explanation and status.
336 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
338 Patch contributed by Daniel Borgmann (danielb@openismus.com)
340 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
341 remove special cases that are no longer necessary.
343 Fixes: NB#91016 (Change toolbar sizes, simplification)
345 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
348 is shown in the cancel note.
350 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
353 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
354 (hildon_seekbar_init): Remove steppers, remove expose event.
355 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
357 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
359 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
361 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
362 label font to "SmallSystemFont" for vertically arranged buttons.
364 Fixes: NB#90662 (HildonButton "value" and "detail" text is
367 2008-10-31 Alberto Garcia <agarcia@igalia.com>
369 * src/hildon-check-button.c
370 (hildon_check_button_set_active, hildon_check_button_clicked):
371 Don't access private parts directly, use getters instead.
373 2008-10-31 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-check-button.c (hildon_check_button_new):
376 Align the contents of the check button to the left.
378 2008-10-30 Alejandro G. Castro <alex@igalia.com>
380 * src/hildon-pannable-area.c,
381 (hildon_pannable_area_scroll_to),
382 (hildon_pannable_area_jump_to),
383 (hildon_pannable_area_scroll_to_child),
384 (hildon_pannable_area_jump_to_child): Replace the mapped
385 precondition of these functions with the realized, it is the
386 correct state of the widget in this case. Changed the
387 documentation according to this modification.
389 2008-10-30 Alejandro G. Castro <alex@igalia.com>
391 Added a new EXTRA_CFLAGS option to add the deprecated define to
392 the compilation command. This way we can avoid using the define in
393 the documentation compilation.
395 * configure.ac: Defined EXTRA_CFLAGS.
397 * examples/Makefile.am:
399 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
401 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
403 * src/hildon-picker-dialog.c:
404 Defined a utility macro with the desired touch selector height
405 Removed currently unused separator, and title_label variables from
407 (hildon_picker_dialog_init): Removed code related to the creation
408 of unused private variables title_label and separator.
409 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
410 to ensure correct visualization of the touch selector inside the dialog.
411 * src/hildon-touch-selector.c
412 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
413 ensure a concrete height of the widget.
415 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
420 Remove spurious whitespaces.
422 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
424 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
425 compilation warning after the cancel button removal.
427 2008-10-30 Alejandro G. Castro <alex@igalia.com>
429 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
431 * configure.ac: Added an AM_CONDITIONAL in order to use in the
432 Makefile.am, that way we can choose not to compile some examples
433 and tests of the deprecated widgets.
435 * examples/Makefile.am: Divided the sources in deprecated and
438 * src/Makefile.am: Added undef statement of the deprecated
439 symbol to the enums file generation process.
441 * src/hildon-color-chooser-dialog.c
442 * src/hildon-color-chooser-dialog.h
443 * src/hildon-color-button.c
444 * src/hildon-color-button.h
445 * src/hildon-color-chooser.c
446 * src/hildon-color-chooser.h
447 * src/hildon-controlbar.c
448 * src/hildon-controlbar.h
449 * src/hildon-date-editor.c
450 * src/hildon-date-editor.h
451 * src/hildon-hvolumebar.c
452 * src/hildon-hvolumebar.h
453 * src/hildon-private.c
454 * src/hildon-private.h
455 * src/hildon-range-editor.c
456 * src/hildon-range-editor.h
457 * src/hildon-seekbar.c
458 * src/hildon-seekbar.h
459 * src/hildon-time-editor.c
460 * src/hildon-time-editor.h
461 * src/hildon-time-picker.c
462 * src/hildon-time-picker.h
463 * src/hildon-volumebar.c
464 * src/hildon-volumebar.h
465 * src/hildon-vvolumebar.c
466 * src/hildon-vvolumebar.h
467 * src/hildon-bread-crumb-trail.h
468 * src/hildon-bread-crumb-trail.c
469 * src/hildon-calendar-popup.c
470 * src/hildon-calendar-popup.h
471 * src/hildon-weekday-picker.c:
472 * src/hildon-weekday-picker.h:
473 * src/hildon-bread-crumb-widget.c:
474 * src/hildon-bread-crumb-widget.h:
475 * src/hildon-bread-crumb.c:
476 * src/hildon-bread-crumb.h:
477 * src/hildon-calendar.c:
478 * src/hildon-calendar.h:
479 * src/hildon-caption.c:
480 * src/hildon-code-dialog.c:
481 * src/hildon-code-dialog.h:
482 * src/hildon-font-selection-dialog.c:
483 * src/hildon-font-selection-dialog.h:
484 * src/hildon-get-password-dialog.c:
485 * src/hildon-get-password-dialog.h:
486 * src/hildon-login-dialog.c:
487 * src/hildon-login-dialog.h:
488 * src/hildon-number-editor.c:
489 * src/hildon-number-editor.h:
490 * src/hildon-set-password-dialog.c:
491 * src/hildon-set-password-dialog.h:
492 * src/hildon-sort-dialog.c:
493 * src/hildon-sort-dialog.h: This is the list of deprecated
496 * src/hildon-touch-selector.c:
497 * src/hildon-window.c: Added undef statement to avoid compilation
500 * tests/Makefile.am: Divided the sources in deprecated and
503 * tests/check_test.c,
504 (configure_tests): Marked the deprecated code that was adding
505 suites with deprecated tests.
507 Fixes: NB#91135 (Deprecate legacy hildon widgets)
509 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-touch-selector.c: (_default_print_func): Do not
512 duplicate a string returned by gtk_tree_model_get(), it is already
515 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
518 2008-10-28 Alejandro G. Castro <alex@igalia.com>
520 * src/hildon-pannable-area.c
521 (hildon_pannable_area_add_with_viewport): Reviewed the complete
522 method, it had problems when adding a widget with viewport the
523 second time. Now checks if it already has a viewport and uses it.
525 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
528 2008-10-28 Alejandro G. Castro <alex@igalia.com>
530 * src/hildon-pannable-area.c,
531 (hildon_pannable_area_scroll_to),
532 (hildon_pannable_area_jump_to),
533 (hildon_pannable_area_scroll_to_child),
534 (hildon_pannable_area_jump_to_child): Added a precondition to the
535 scroll and jump to functions: the widget must be mapped before we
536 can safely call these functions. We have also added documentation
537 to the functions to explain how to use them in this situation.
540 2008-10-28 Alejandro G. Castro <alex@igalia.com>
542 Reviewed the threading handling of the pannable widget, we have
543 used the gdk_threads_add_timeout function instead of the usual
544 glib handlers. This avoids some problems with the threads.
546 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
547 (hildon_pannable_area_initial_effect),
548 (hildon_pannable_area_scroll_indicator_fade),
549 (hildon_pannable_area_button_press_cb),
550 (hildon_pannable_area_timeout),
551 (hildon_pannable_area_motion_notify_cb),
552 (hildon_pannable_area_button_release_cb),
553 (hildon_pannable_area_scroll_cb),
554 (hildon_pannable_area_scroll_to): Removed the
555 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
556 gdk_threads_add_timeout.
558 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
560 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
565 * configure.ac: bump version
566 * debian/changelog: updates
568 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
570 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
571 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
572 * src/hildon-color-chooser-dialog.c:
573 (hildon_color_chooser_dialog_init):
574 * src/hildon-font-selection-dialog.c:
575 (hildon_font_selection_dialog_init):
576 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
578 Remove all cancel/close-like dialogs, as these are not going to be
581 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
583 * src/hildon-note.c: (hildon_note_rebuild),
584 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
587 Fixes: NB#90661 (Delete dialog is displayed without NO button)
589 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
592 sure all buttons are shown, even the Cancel/Close-like ones.
594 Fixes: NB#90861 (Custom Confirmation dialogs should be
595 protected from cancel button removal)
597 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
599 * debian/control: Change libhildon1-examples dependency from libhildon1
601 * debian/libhildon1-examples.install
603 * Makefile.am: Modified the final install directory for the examples on
604 package libhildon1-examples
605 * Makefile.static: Update clean target in order to remove all the binary
608 Changes suggested by Claudio after review new libhildon1-examples package
610 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
613 * src/hildon-touch-selector.c: Ditto.
615 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
617 * debian/control: Added new package libhildon1-examples, in order to pack
618 the current hildon examples as documentation
619 * debian/rules: Not to compress .c files, modify some includes on the
620 examples (as normally are compiled locally, but when installed it will
621 require to include the installed libhildon1 library), and rename
623 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
624 install all the example files on the new example package
625 * examples/Makefile.static: Added static makefile that can be used to
626 compile the examples, once installed the new example package
627 * examples: Most of the examples were modified in order to grant that
628 all use only '#include "hildon.h"', in order to be easy to prepare
629 it on the example package
631 2008-10-23 Alberto Garcia <agarcia@igalia.com>
634 * debian/libhildon1-dev.install
635 * debian/libhildon1-doc.install:
636 Move all gtk-doc files to a separate libhildon1-doc package.
638 2008-10-23 Daniel Borgmann <danielb@openismus.com>
640 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
644 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
646 * debian/rules: Fixed a error in order to avoid unnecessary calls
647 to autogen.sh on package building
649 2008-10-22 Alberto Garcia <agarcia@igalia.com>
651 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
653 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
655 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
658 2008-10-21 Alberto Garcia <agarcia@igalia.com>
660 * src/hildon-picker-button.c
661 (hildon_picker_button_finalize):
662 Free priv->done_button_text
664 * src/hildon-time-button.c
665 (hildon_time_button_set_time)
666 * src/hildon-picker-button.c
667 (hildon_picker_button_clicked)
668 (hildon_picker_button_selector_selection_changed)
669 (hildon_picker_button_set_selector)
670 * src/hildon-date-button.c
671 (hildon_date_button_set_date):
672 Free strings returned by hildon_touch_selector_get_current_text()
674 * src/hildon-button.c (hildon_button_construct_child):
675 Fix leaks in priv->image and priv->label_box
677 Fixes: NB#90535 (Memory leak in picker button)
679 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
681 * src/hildon-button.c: (hildon_button_get_property): Do not access
682 private elements directly, use getters instead.
684 2008-10-20 Alberto Garcia <agarcia@igalia.com>
686 * src/hildon-app-menu-private.h
687 * src/hildon-app-menu.c
688 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
689 Store the menu's parent window.
691 * src/hildon-stackable-window.c
692 (hildon_stackable_window_toggle_menu)
693 (hildon_stackable_window_finalize):
694 Set the menu's parent window when the menu is shown, unset it when
697 * src/hildon-app-menu.c
698 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
699 (hildon_app_menu_class_init):
700 Send unhandled keyboard accelerators to the parent window.
702 2008-10-20 Alberto Garcia <agarcia@igalia.com>
704 * src/hildon-stackable-window.c
705 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
707 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
709 * configure.ac: post release version bump
711 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
714 * configure.ac: Bump version
715 * debian/changelog: Updates
716 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
719 2008-10-20 Alberto Garcia <agarcia@igalia.com>
721 Patch contributed by Daniel Borgmann (danielb@openismus.com)
724 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
725 GtkMenu with Hildon style.
727 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-picker-button.c:
730 (hildon_picker_button_set_done_button_text): Set the dialog's
731 done button text here as well.
733 Fixes: NB#90232 (Picker button does not set the label on done button
736 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
741 2008-10-16 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-app-menu.c (hildon_app_menu_insert)
744 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
745 the HildonAppMenu to be activatable using keyboard accelerators
746 when the menu is not being shown.
748 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
750 2008-10-16 Alberto Garcia <agarcia@igalia.com>
752 * src/hildon-stackable-window.c
753 (hildon_stackable_window_show):
754 Don't hide old windows automatically when new windows are shown:
755 this is now a task for the window manager.
756 (hildon_stackable_window_class_init)
757 (hildon_stackable_window_hide):
758 Remove windows from the stack everytime they're hidden.
759 (hildon_stackable_window_realize):
760 Don't change the _NET_WM_WINDOW_TYPE property. Use
761 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
762 it as a stackable window.
764 * src/hildon-program.c
765 (hildon_program_pop_window_stack):
766 Just hide the window to remove it from the stack.
767 (hildon_program_go_to_root_window):
768 Don't call gtk_widget_show(), this is now a task for the window
771 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
773 2008-10-15 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-button.c
776 (hildon_button_construct_child):
777 Don't pack anything in the button until text or image are
778 set. This allows adding a custom child after creating the button
779 with hildon_button_new().
780 (hildon_button_finalize, hildon_button_class_init)
781 (hildon_button_init, hildon_button_set_arrangement): Destroy the
782 alignment and the label box even when they're not packed in the
785 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
787 * src/hildon-touch-selector.h:
788 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
789 currently the type definition was using GTK_TYPE_VBOX
790 * src/hildon-touch-selector.c:
791 Added some implementation notes in order to clarify that any other widget
792 added without the column related API will not be included on the
793 selection logic, and how the widget is freed, as some people ask about
795 (hildon_touch_selector_remove): Reimplemented in order to free properly
796 the column related data when you remove the private hbox.
797 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
798 to get a proper HildonTouchSelectorColumn documentation
800 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
802 * src/hildon-touch-selector-entry.c:
803 (hildon_touch_selector_entry_print_func): Return NULL if there is no
804 text in the GtkEntry and there is no item selected. Fixes a
807 2008-10-13 Alberto Garcia <agarcia@igalia.com>
809 * src/hildon-app-menu-private.h
810 * src/hildon-app-menu.[ch]
811 * src/hildon-button.[ch]
812 * src/hildon-check-button.[ch]
813 * src/hildon-entry.[ch]
814 * src/hildon-pannable-area.[ch]
815 * src/hildon-text-view.[ch]:
816 Added private field to the object's structure.
818 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
820 * configure.ac: post-release version bump
822 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
826 * configure.ac: pre-release version bump
828 * debian/changelog: updates.
830 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
832 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
833 Disconnect the handler for HildonTouchSelector::changed.
835 (hildon_picker_button_selector_selection_changed): Update the button
836 value if the selection change was not triggered by the
839 (hildon_picker_button_set_selector): connect to
840 HildonTouchSelector::changed.
842 Fixes: NB#89650 (Picker button is not updated, when selection in
843 selector has changed)
845 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
847 * src/hildon-picker-dialog.c
848 (hildon_picker_dialog_realize): Removed as not required
849 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
850 * src/hildon-picker-button.c
851 (_current_selector_empty): New function, checks if the selector is empty
852 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
853 if the current selector is empty, in order to avoid to show the dialog
854 close the dialog in this case (and shows a g_warning).
856 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
858 2008-10-09 Alejandro G. Castro <alex@igalia.com>
860 * src/hildon-pannable-area.c,
861 (hildon_pannable_area_scroll): Added clause to stop movement when
862 the child of pannable is smaller than one page.
863 (hildon_pannable_area_scroll_to): Added conditions to avoid
864 starting the scrolling movement if the child is smaller than one
865 page, the complete child is in the screen, we do not have to move.
867 Fixes: NB#89632 (Picker button selection doesn't change on first click)
869 2008-10-09 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-app-menu.c: Removed the 'columns' property, as now
872 this is managed automatically by the widget when the size of the
875 2008-10-09 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-picker-button.c
878 (hildon_picker_button_set_done_button_text): Make a copy of the
879 text, and free the previous value.
881 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
883 * src/hildon-touch-selector-entry.c:
884 (hildon_touch_selector_entry_print_func): Return the selected row's
885 text if the entry is empty.
887 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
890 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
892 * src/hildon-touch-selector-entry.c: Minor docs fixes.
894 2008-10-09 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-check-button.h
898 * src/hildon-check-button.c
899 * examples/hildon-check-button-example.c:
900 HildonCheckButton is now a new widget. 'toggled' signal added.
902 2008-10-08 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-program-private.h
905 * src/hildon-program.c (hildon_program_init)
906 (hildon_program_finalize): Removed unused variables group_leader
907 and name from HildonProgramPrivate.
909 2008-10-08 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-check-button.c (hildon_check_button_set_active)
912 (hildon_check_button_get_active, hildon_check_button_new): Use
913 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
915 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
917 * src/hildon-touch-selector.h
918 (hildon_touch_selector_set_column_attributes): added deprecation
919 guard HILDON_DISABLE_DEPRECATED
920 * src/hildon-time-selector.c
921 (hildon_time_selector_set_time)
922 (hildon_time_selector_get_time): Fixed a typo on documentation
923 * src/hildon-touch-selector.c: update HildonTouchSelector and
924 HildonTouchSelectorColumn documentation
925 * src/hildon-touch-selector-entry.c: update "text-column" property
927 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
928 to be added to the general documentation.
930 2008-10-08 Alejandro G. Castro <alex@igalia.com>
932 * examples/hildon-pannable-area-example-4.c,
934 * examples/hildon-pannable-area-example.c,
935 (main): Modified the code in order to use the container add, with
936 viewport treeviews could have problems if they are really big.
938 2008-10-06 Alejandro G. Castro <alex@igalia.com>
940 * src/hildon-weekday-picker.c,
941 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
942 the agreement regarding deprecation in the library.
944 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
946 * examples/hildon-picker-button-multicolumn-example.c:
947 (main): Use custom "done" button text.
949 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
950 (hildon_picker_button_set_property),
951 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
952 (hildon_picker_button_init),
953 (+hildon_picker_button_get_done_button_text),
954 (+hildon_picker_button_set_done_button_text): New methods to customize
955 the "done" button label in the launched HildonPickerDialog. Also,
958 * src/hildon-picker-button.h: add the public API.
960 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
962 * src/hildon-date-selector.h:
963 * src/hildon-picker-dialog.h:
964 * src/hildon-time-selector.h:
965 * src/hildon-touch-selector-column.h:
966 * src/hildon-touch-selector.h:
968 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
969 declarations. Fixes gtk-doc warnings.
971 2008-10-06 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-picker-dialog.h
974 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
975 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
977 Fixes: NB#89329 (selectors in picker dialog are not visible when a
978 long text is set as label for done button)
980 2008-10-06 Alberto Garcia <agarcia@igalia.com>
982 * src/hildon-dialog.c (hildon_dialog_add_button):
983 Set fixed width to all buttons in the HildonDialog.
985 2008-10-06 Alberto Garcia <agarcia@igalia.com>
987 Patch contributed by Daniel Borgmann (danielb@openismus.com)
989 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
990 Set widget name using class name plus "-finger" or "-thumb".
992 2008-10-03 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
995 'clicked' when the state of the button is manually changed.
997 2008-10-02 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-app-menu.c (hildon_app_menu_realize)
1000 (hildon_app_menu_unrealize, hildon_app_menu_init)
1001 (hildon_app_menu_class_init, item_visibility_changed):
1002 Change the menu layout when the size of the screen changes.
1003 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1004 Show warning only when changing the number of colums using the
1007 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1009 * debian/compat: Set to 5
1010 * debian/control: Update dependencies.
1011 * debian/libhildon1-dbg.install: Remove.
1012 * debian/libhildon1-dev.install: Update according to cdbs paths.
1013 * debian/libhildon1.install: Update according to cdbs paths.
1014 * debian/rules: Switch to cdbs.
1016 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1019 'item' variable renamed to 'filter'
1021 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-app-menu.c (hildon_app_menu_insert)
1024 (hildon_app_menu_add_filter, remove_item_from_list)
1025 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1026 Don't leak hidden items when the menu is destroyed.
1028 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-app-menu.c (hildon_app_menu_insert)
1031 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1032 (hildon_app_menu_set_columns, item_visibility_changed)
1033 (filter_visibility_changed, hildon_app_menu_repack_filters)
1034 (hildon_app_menu_repack_items):
1035 Repack items and filters separately.
1037 Don't repack all items, change only the ones that are needed to
1040 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1042 * src/Makefile.am: added hildon-touch-selector-column.h
1044 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1046 * src/hildon-touch-selector.c: added the property "text-column" to the
1047 class HildonTouchSelectorColumn, and related get/set functions
1048 (_default_printf_func): updated to use "text-column" property
1049 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1050 "text-column" in his documentation, as this is now included on
1051 HildonTouchSelectorColumn. The get/set_property can still be used,
1052 working as a wrapper to the concrete column "text-column" property
1053 (_text_column_modified): callback added in order to handle the signal
1054 "notify::text-column" of the concrete HildonTouchSelectorColumn
1055 (hildon_touch_selector_entry_get_text_column)
1056 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1057 modified in order to use the HildonTouchSelectorColumn "text-column"
1059 * src/hildon-time-selector.c:
1060 * src/hildon-date-selector.c:
1061 * examples/hildon-touch-selector-example.c
1062 * examples/hildon-touch-selector-multi-cells-example.c
1063 * examples/hildon-picker-button-multicolumn-example.c
1064 Set the right value to "text-column" property on the creation of a new
1065 column using hildon_touch_selector_append_column()
1067 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1069 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1071 * src/hildon-app-menu.c
1072 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1073 updating the layout of the menu, don't create all widgets again,
1074 just repack the items in their new places.
1076 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1078 * src/hildon-time-selector.c
1079 (hildon_time_selector_get_time)
1080 (hildon_time_selector_set_time)
1081 Added documentation of these public methods
1083 * src/hildon-date-button.h
1084 * src/hildon-touch-selector-column.h
1085 * src/hildon-time-button.h
1086 * src/hildon-picker-dialog.h
1087 * src/hildon-time-selector.h
1088 * src/hildon-picker-button.h
1089 * src/hildon-touch-selector.h
1090 * src/hildon-time-picker.h
1091 * src/hildon-date-selector.h
1092 * src/hildon-touch-selector-entry.h
1093 Modified in order to use hildon-widgets code style
1095 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1097 Added deprecated support to the compilation process using
1098 HILDON_DISABLE_DEPRECATED
1100 * configure.ac: Added the --disable-deprecated to the configure
1103 * src/hildon-weekday-picker.c:
1104 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1105 to use the deprecated support. We will update the other deprecated
1106 widgets status in a new patch.
1108 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1110 * configure.ac: Fixed typo with fatal warnings support, the
1111 variable name was not correct
1113 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1115 * src/hildon-app-menu.c
1116 * src/hildon-program.c: Update documentation.
1118 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1120 * configure.ac: Post-release version bump.
1122 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1127 * configure.ac: Pre-release version bump.
1128 * debian/changelog: Updates.
1130 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1132 * NEWS: Update news for previous releases.
1134 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1136 * examples/hildon-touch-selector-multi-cells-example.c:
1137 (create_selector): Update the example to use
1138 hildon_touch_selector_append_column() with a NULL renderer and set
1139 the renderers later.
1140 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1141 passed a NULL renderer. This is documented behavior now.
1143 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1144 This must be used if the developer wants full control on the layout of
1145 the renderers to be added to the column.
1147 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1149 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1151 * src/hildon-touch-selector.c: Documentation fixes.
1153 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-wizard-dialog-private.h: Remove image and box.
1156 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1157 (hildon_wizard_dialog_set_property), (response): Completely remove
1158 image/icon support, and the containers required for the layout.
1160 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1162 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1164 * src/hildon-app-menu.c: Updated documentation.
1166 * src/hildon-stackable-window.c
1167 (hildon_stackable_window_set_main_menu): Unref the old menu after
1168 ref'ing the new one.
1170 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-stackable-window.c
1173 (hildon_stackable_window_set_main_menu): Unref the previous menu
1174 instead of destroying it.
1176 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1177 floating reference and set has_user_ref_count to FALSE to make
1178 HildonAppMenu act like a normal ref-counted widget and not a
1181 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1184 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1186 * src/hildon-touch-selector-column.h: new file
1187 * src/hildon-touch-selector.h
1188 * src/hildon-touch-selector.c
1189 Implemented GtkCellLayout interface, in order to allow to configure
1190 the cell layout on each individual selector column
1191 (hildon_touch_selector_set_column_attributes): marked as deprecated
1192 * examples/hildon-touch-selector-multi-cells-example.c
1193 Example of how to use the GtkCellLayout interface on the selector
1195 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1197 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-app-menu.h
1200 * src/hildon-app-menu.c
1201 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1202 (hildon_app_menu_append, hildon_app_menu_prepend):
1203 New methods to prepend, insert and move items in the menu.
1205 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1207 * src/hildon-wizard-dialog.c:
1209 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1211 (create_title): Update logical IDs and related code.
1212 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1214 * src/hildon-wizard-dialog.h: Note that
1215 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1216 point, as it is not used anymore.
1218 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1220 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1222 * src/hildon-note.c:
1223 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1224 shown. Do not display an icon in confirmation notes nor information
1226 (hildon_note_set_button_text): Update logical ID for cancel button.
1228 Fixes: NB#88850 (Update HildonNote button strings + signals)
1230 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-stackable-window.c
1233 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1235 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-app-menu-private.h
1238 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1239 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1240 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1241 temporary property 'columns' to change the number of columns.
1243 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1245 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1247 * examples/hildon-note-example.c: (on_information_clicked),
1248 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1249 debugging information.
1250 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1252 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1253 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1254 in order to close: this will be handled by the WM from now on.
1256 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1258 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-app-menu-private.h
1261 * src/hildon-app-menu.c
1262 (hildon_app_menu_append, hildon_app_menu_add_filter)
1263 (button_visibility_changed, hildon_app_menu_apply_style)
1264 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1265 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1266 layout everytime a button (item or filter) is shown or hidden.
1268 * src/hildon-stackable-window.c
1269 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1272 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1274 * src/hildon-touch-selector.c:
1275 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1276 that the treeview inside the touch selector is in fremantle hildon mode
1277 * examples/hildon-date-button-example.c
1278 * examples/hildon-picker-button-multicolumn-example.c
1279 * examples/hildon-touch-selector-entry-example.c
1280 * examples/hildon-touch-selector-example.c
1281 * examples/hildon-time-button-example.c
1282 * examples/hildon-picker-button-example.c:
1283 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1285 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1287 * examples/hildon-text-view-example.c: (main): Remove the
1288 gtkrc bits, now handled by the theme.
1290 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1295 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1297 * po/Makefile.am: Install properly the mo files.
1298 * po/en_GB.po: Update translation, to ease testing purposes.
1300 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1302 * examples/hildon-picker-button-example.c: (main): Select an item
1303 in the selector before setting it to the button.
1305 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1308 Update button's value if the selector has an item active.
1310 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1311 'value' with the selector)
1313 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1315 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1316 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1317 (hildon_picker_button_class_init): Plug the finalize method.
1318 (hildon_picker_button_set_selector): If there's a previously set
1319 selector, unref'it before setting a new one.
1321 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1322 HildonTouchSelector)
1324 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1326 * src/hildon-touch-selector-entry.c:
1327 (hildon_touch_selector_entry_changed): Check if there is no text
1328 selected before setting the entry text.
1331 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1333 * src/hildon-touch-selector.h
1334 * src/hildon-touch-selector.c
1335 (hildon_touch_selector_get_active)
1336 (hildon_touch_selector_set_active): New methods to set/get the
1337 index of the selected item.
1339 * src/hildon-picker-button.h
1340 * src/hildon-picker-button.c
1341 (hildon_picker_button_get_active)
1342 (hildon_picker_button_set_active): New methods to set/get the
1343 index of the selected item.
1345 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1347 * configure.ac: post-release version bump.
1349 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: Pre-release version bump.
1354 * debian/changelog: Updates.
1355 * debian/control: Add myself as maintainer and depend on l10n
1358 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-window.c
1361 (hildon_window_set_main_menu)
1362 * src/hildon-stackable-window.c
1363 (hildon_stackable_window_set_main_menu):
1364 Updated documentation.
1366 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1369 Don't free selector->priv manually.
1372 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1375 (hildon_gtk_window_set_progress_indicator):
1376 * src/hildon-gtk.h: Added the new API
1377 hildon_gtk_window_set_progress_indicator, it changes the state of
1378 the window progress hint.
1380 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1382 * src/hildon-button.c
1383 * src/hildon-stackable-window.c: Minor documentation updates.
1385 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-stackable-window.c: Updated documentation.
1389 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1391 * src/hildon-defines.h: Update margins definitions
1392 to the Fremantle sizes.
1395 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1397 * src/hildon-touch-selector.c,
1398 (_hildon_touch_selector_set_model): Cleaning the code after
1399 review, removed g_print and #if 0 from the code.
1401 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1403 * src/hildon-edit-toolbar.c: Update documentation.
1405 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1407 * src/hildon-check-button.h
1408 * src/hildon-check-button.c
1409 (hildon_check_button_set_label, hildon_check_button_get_label)
1410 * examples/hildon-check-button-example.c
1411 (button_clicked_cb):
1412 Removed deprecated methods.
1414 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1416 * src/hildon-text-view.c:
1417 Add sample code to the documentation.
1419 * src/hildon-entry.h
1420 * src/hildon-text-view.h:
1421 Minor cosmetic changes.
1423 * src/hildon-entry.c:
1424 Add sample code to the documentation.
1425 (hildon_entry_init, hildon_entry_refresh_contents):
1426 Don't allow NULL values in the placeholder.
1428 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1430 * doc/hildon-docs.sgml
1432 * examples/Makefile.am
1433 * examples/hildon-text-view-example.c
1435 * src/hildon-text-view.c
1436 * src/hildon-text-view.h
1438 New HildonTextView widget, with example.
1440 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1442 * po/POTFILES.in: Add missing files with translatable strings.
1443 Partially fixes NB#88287.
1445 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1447 * examples/hildon-pannable-area-example-2.c: (main): No need to
1448 set the cellrenderer height inside hildon touch lists, the theme does
1451 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1453 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1454 they are integrated in the theme.
1456 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1458 * examples/hildon-entry-example.c: Update the example adding
1459 widgets to modify the text and the placeholder of the HildonEntry.
1461 * src/hildon-entry.c: Show the placeholder everytime the widget
1462 is empty and loses the focus.
1464 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1466 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1468 * src/hildon-pannable-area.c,
1469 (hildon_pannable_area_size_request): Fixed bug in height
1470 requisition, avoid increasing size and add border twice.
1472 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: postrelease version bump.
1476 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1480 * configure.ac: Prerelease version bump.
1481 * debian/changelog: update.
1482 * debian/rules: make -dbg package contain useful debugging symbols.
1484 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1486 * src/hildon-dialog.h
1487 * src/hildon-dialog.c
1488 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1489 New methods to add buttons with finger size.
1490 (hildon_dialog_new_with_buttons):
1491 Create buttons with finger size.
1493 * examples/hildon-dialog-example.c (main): Use HildonDialog
1494 methods to add buttons.
1496 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-entry.c: Updated HildonButton documentation.
1500 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1503 button value label with (FALSE, FALSE) to prevent NB#88126 from
1506 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1508 * examples/hildon-pannable-area-example.c,
1509 (main): Removed examples panning a vbox inside a pannable
1510 area. Check bug NB#87965
1512 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1514 Patch contributed by Kris Rietveld (kris@imendio.com)
1516 * src/hildon-pannable-area.c,
1517 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1518 get_size and get_position, this saves an X server roundtrip.
1520 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1522 * doc/hildon-docs.sgml
1524 * examples/Makefile.am
1525 * examples/hildon-entry-example.c
1527 * src/hildon-entry.c
1528 * src/hildon-entry.h
1530 New HildonEntry widget, with example.
1532 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-button.c (hildon_button_construct_child): Pack the
1535 image with expand == fill == FALSE. This is a workaround for a bug
1538 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1540 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1541 labels for the text column, to make it more look more dynamic.
1543 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1545 * src/hildon-time-selector.c
1546 Define gettext auxiliar macro N_
1547 (_create_minutes_model)
1548 (_create_hours_model)
1549 (_create_ampm_model): use of strftime in order to fill the model
1550 * src/hildon-date-selector.c
1551 (hildon_date_selector_finalize):
1552 (_locales_init): remove the logic related to get the name of the months
1553 using nl_langinfo, as it is not required anymore
1555 (_create_year_model)
1556 (_create_month_model)
1557 (_update_day_model): use of strftime in order to fill the model properly
1560 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-button.h
1563 * src/hildon-button.c (hildon_button_get_image): New method to
1566 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-touch-selector.c:
1569 (hildon_touch_selector_remove_column): Remove from the correct parent
1570 and also remove the list element and free it.
1573 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1575 * src/hildon-time-selector.c
1576 (_create_hours_model): change the range on 12h ampm format in order to use
1577 a 12-11 range instead of previous 01-12 range
1578 (hildon_time_selector_set_time): change the way to select the current time
1579 on 12h ampm format, due the change on the range
1580 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1583 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1585 * src/hildon-touch-selector.c
1586 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1587 in order to allow use this function on multiple row selection mode if
1588 the column is different that the first one
1591 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1593 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1594 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1596 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1598 * src/hildon-date-selector.h: clean some comments, now on the .c
1599 * src/hildon-date-selector.c
1600 (hildon_date_selector_select_month): first implementation
1601 (hildon_date_selector_select_day): added documentation, reimplemented
1602 using hildon_date_selector_select_current_date to avoid repeat code
1605 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1607 Reviewed interaction logic based on device experiences, refactored
1610 * src/hildon-pannable-area.c,
1611 (hildon_pannable_area_class_init): Updated default vmax speed.
1612 (hildon_pannable_area_calculate_velocity): Added this function, it
1613 avoids duplicate valocity calculation. Adjusted calculation to
1614 avoid problems with zero dist events.
1616 (hildon_pannable_area_motion_notify_cb): Now we use the
1617 calculate_velocity function.
1619 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1621 * src/hildon-date-selector.c
1622 (hildon_date_selector_select_current_date): fix the day range check
1623 as it failed using the last day of the current month
1626 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1628 * src/hildon-touch-selector.c
1629 (hildon_touch_selector_get_num_columns): added a parameter validation
1632 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1634 * examples/Makefile.am
1635 * examples/hildon-edit-toolbar-example.c: Example of the
1636 HildonEditToolbar widget.
1638 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1640 * configure.ac: postrelease version bump.
1642 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1646 * configure.ac: prerelease version bump.
1647 * debian/changelog: update.
1649 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1651 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1652 renderer to display stock icons in the touch list. Also, set the sizes
1653 to the recommended in the style guide.
1655 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1656 * src/hildon-touch-selector.h
1657 (hildon_touch_selector_set_active_iter): renamed, now is
1658 hildon_touch_selector_select_iter
1659 (hildon_touch_selector_get_active_iter): renamed, now is
1660 hildon_touch_selector_get_selected
1661 (hildon_touch_selector_unselect_iter): added
1662 * src/hildon-touch-selector.c
1663 Update after API modification (methods renamed)
1664 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1665 order to avoid problems selecting multiple elements on the column
1666 (hildon_touch_selector_unselect_iter): added the implementation
1667 * src/hildon-time-selector.c
1668 * src/hildon-date-selector.c
1669 * src/hildon-touch-selector-entry.c
1670 Update methods calls after hildon-touch-selector.h API modification (methods
1673 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-stackable-window.c
1676 (hildon_stackable_window_finalize): Call the parent class's finalize.
1678 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1680 * examples/hildon-touch-selector-example.c: (create_selector): Use
1681 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1684 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1686 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1687 set a cell background color, to respect theming.
1689 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1691 * doc/hildon-docs.sgml
1694 * src/hildon-edit-toolbar.c
1695 * src/hildon-edit-toolbar.h
1696 * src/hildon.h: New HildonEditToolbar widget.
1698 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1700 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1703 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1704 * src/hildon-touch-selector.c
1705 (_create_new_column): use g_object_set instead of two g_object_set_property
1707 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1708 * src/hildon-touch-selector.c
1709 (_create_new_column): use of hildon_gtk_tree_view_new to create
1710 the treeview, instead of use directly g_object_new
1711 (_create_new_column): update the property name "vindicator-mode" for the
1712 new one "vscrollbar-policy"
1713 * examples/hildon-date-button-example.c
1714 * examples/hildon-picker-button-multicolumn-example.c
1715 * examples/hildon-touch-selector-entry-example.c
1716 * examples/hildon-touch-selector-example.c
1717 * examples/hildon-time-button-example.c
1718 * examples/hildon-picker-button-example.c
1719 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1720 to all the treeviews inside a pannable area.
1722 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-button.h
1725 * src/hildon-button.c (hildon_button_init)
1726 (hildon_button_set_arrangement, hildon_button_set_alignment)
1727 (hildon_button_set_title_alignment)
1728 (hildon_button_set_value_alignment)
1729 (hildon_button_set_image_alignment)
1730 (hildon_button_construct_child): New methods to set the alignment
1731 of the individual components of the button (title, value,
1732 image). Also, new method to alter the xscale and yscale properties
1733 of the GtkAlignment inside the button, so more complex layouts can
1736 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-button.c (hildon_button_style_set)
1739 (hildon_button_class_init, hildon_button_set_arrangement)
1740 (hildon_button_construct_child): Apply style properties
1741 correctly. Use the 'image-spacing' style property too.
1743 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1746 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1749 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1751 * src/hildon-pannable-area.c,
1752 (hildon_pannable_area_size_request): Fixed problem with
1753 pannable-area size_request.
1755 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1757 Added management for the grab-focus to a child widget, like a
1758 range, we need to fade out the scrollbar when releasing.
1760 * src/hildon-pannable-area.c,
1761 (hildon_pannable_area_init): Connected the grab-focus signal to
1763 (hildon_pannable_area_grab_notify): Added this function in order
1764 to manage the situation when the grab-focus ends. We have to
1765 fade-out the scrollbar.
1767 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1769 * src/hildon-app-menu.c: Minor documentation update.
1771 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-app-menu.c
1774 * examples/hildon-app-menu-example.c (create_menu): Update
1775 examples and documentation to explain how to connect callbacks.
1777 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1779 * examples/hildon-button-example.c
1780 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1781 hildon_stackable_window_new instead of gtk_window_new
1783 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1785 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1786 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1787 (hildon_pannable_area_set_property),
1788 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1789 (hildon_pannable_area_unrealize),
1790 (hildon_pannable_area_size_request),
1791 (hildon_pannable_area_size_allocate),
1792 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1793 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1794 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1795 (hildon_pannable_area_initial_effect),
1796 (hildon_pannable_area_redraw),
1797 (hildon_pannable_area_scroll_indicator_fade),
1798 (hildon_pannable_area_expose_event),
1799 (hildon_pannable_area_get_topmost), (synth_crossing),
1800 (hildon_pannable_area_button_press_cb),
1801 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1802 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1803 (hildon_pannable_area_motion_notify_cb),
1804 (hildon_pannable_area_button_release_cb),
1805 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1806 (hildon_pannable_area_remove),
1807 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1808 chage the code layout to a more GtkWidget like. Review the use of
1811 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1813 * examples/hildon-pannable-area-example-4.c,
1814 (main): Modified the name of the hindicator_mode to
1817 * src/hildon-pannable-area.c,
1818 (hildon_pannable_area_class_init),
1819 (hildon_pannable_area_motion_notify_cb),
1820 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1821 we have reduced the amount of signals and managed reviewed its
1822 rationale. Changed the default decelerate value.
1824 (hildon_pannable_area_add),
1825 (hildon_pannable_area_redraw): Refactored functions.
1827 (hildon_pannable_area_init),
1828 (hildon_pannable_area_get_property),
1829 (hildon_pannable_area_set_property):
1830 (hildon_pannable_draw_vscroll),
1831 (hildon_pannable_draw_hscroll),
1832 (hildon_pannable_area_initial_effect),
1833 (hildon_pannable_area_expose_event),
1834 (hildon_pannable_area_scroll),
1835 (hildon_pannable_area_button_press_cb),
1836 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1837 and vindicator_mode with hscrollbar_policy and
1838 vscrollbar_policy. Replaced hscroll and vscroll with
1839 hscroll_visible and vscroll_visible.
1841 (hildon_pannable_area_refresh): Refactor the function, remove
1842 variables and check the calls to this function, added resize
1843 conditions in case the children change their layout.
1845 (hildon_pannable_area_size_request): Added more detailed
1846 size_request calculation.
1849 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1851 * src/hildon-color-chooser.c
1852 (init_borders): use the correct gtk_border_free instead of g_free, to
1853 avoid a crash when this widget is used (ie: the three color selection
1856 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-check-button.c,
1859 (hildon_check_button_set_active): Fixed problem when setting the
1860 active value, the widget was not redrawn.
1862 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1864 * src/hildon-pannable-area.c,
1865 (hildon_pannable_area_refresh),
1866 (hildon_pannable_area_scroll),
1867 (hildon_pannable_area_motion_notify_cb): Small code style change.
1869 (hildon_pannable_area_class_init): Default initial_hint set to
1870 FALSE, it is not in the specs.
1872 (hildon_pannable_area_initial_effect),
1873 (hildon_pannable_area_expose_event),
1874 (hildon_pannable_area_map),
1875 (hildon_pannable_area_init): Moved the launching point of the
1876 initial effect, it was in map but the sizes where not correct in
1877 that method so we do not know if we have the reproduce it. Now it
1878 is placed in the expose_event method and uses a variable to
1879 reproduce it just once.
1881 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-pannable-area.c,
1884 (hildon_pannable_draw_vscroll),
1885 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1886 position allowed for the scrollbars.
1888 (hildon_pannable_area_size_allocate): Small style change.
1890 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1892 * src/hildon-pannable-area.c,
1893 (hildon_pannable_area_scroll_indicator_fade),
1894 (hildon_pannable_area_button_press_cb),
1895 (hildon_pannable_area_button_release_cb),
1896 (hildon_pannable_area_scroll_cb),
1897 (hildon_pannable_area_expose_event),
1898 (hildon_pannable_area_init): Added the define parameter
1899 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1900 and refactor the fade variable.
1902 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_redraw),
1906 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1907 lines, we were reimplemeting the redraw code.
1909 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_scroll_cb),
1913 (hildon_pannable_area_realize),
1914 (hildon_pannable_area_class_init): Added scroll_event management
1915 for pannable area, now we can scroll the usual desktop method.
1917 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1918 initialization of the parameters should depend on idle_id.
1920 (hildon_pannable_area_init),
1921 (hildon_pannable_area_map): Small code style modifications
1923 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c
1926 (hildon_pannable_area_button_press_cb),
1927 (hildon_pannable_area_motion_notify_cb),
1928 (hildon_pannable_area_button_release_cb),
1929 (hildon_pannable_area_size_allocate),
1930 (hildon_pannable_area_scroll_to): Improved the timeouts
1931 management, we avoid creating them each time.
1933 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1935 * src/hildon-pannable-area.c:
1936 (hildon_pannable_area_refresh),
1937 (hildon_pannable_area_motion_notify_cb),
1938 (hildon_pannable_area_class_init):
1939 * src/hildon-pannable-area.h:
1940 * src/hildon-touch-selector.c
1941 (_create_new_column):
1942 * examples/hildon-pannable-area-example-4.c:
1943 (horizontal_movement),
1944 (vertical_movement),
1946 Replaced the names of enums in the HildonPannableArea:
1947 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1948 HILDON_MOVEMENT_MODE_*
1949 - HILDON_PANNABLE_AREA_MOV_* ->
1951 - Removed HildonPannableAreaIndicatorMode, now we
1954 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1956 * examples/hildon-pannable-area-touch-grid-example.c
1957 * examples/hildon-pannable-area-touch-list-example.c: Fix
1958 compilation warnings.
1960 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-gtk.c (hildon_gtk_button_new)
1963 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1964 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1965 images overriding the value of the "gtk-button-images" setting.
1967 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-check-button.c (hildon_check_button_new):
1970 Instead of using a custom container, display the label and the
1971 checkbox using the standard GtkButton API.
1973 * examples/hildon-check-button-example.c (main): Don't use
1974 hildon_check_button_set_label() anymore
1976 * src/hildon-check-button.h
1977 * src/hildon-check-button.c
1978 (hildon_check_button_set_label, hildon_check_button_get_label):
1979 Set as deprecated, now we're using gtk_button_{get,set}_label()
1981 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1985 GtkTreeview first line we detected it after the inclusion of the
1986 GtkWindowImpl in gtk+. We now check if the window is visible, not
1987 just if the pointer is over the window.
1988 (hildon_pannable_axis_scroll),
1989 (hildon_pannable_area_expose_event): Small style changes.
1991 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-button.c: Update documentation.
1995 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1997 * examples/hildon-button-example.c: Add a switch to show images in
2000 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2002 * doc/hildon-docs.sgml: Some docs reorganization.
2004 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2006 * examples/hildon-pannable-area-touch-list-example.c
2008 * examples/hildon-pannable-area-touch-grid-example.c
2009 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2010 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2011 Fix memory leak when setting the tree model.
2013 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2017 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2019 * doc/hildon.types: Remove duplicated hildon_window_get_type
2020 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2021 documentation comment.
2023 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2025 * doc/Makefile.am: Complete list of private headers.
2027 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2029 * doc/hildon-docs.sgml
2030 * src/hildon-app-menu.c
2031 * src/hildon-bread-crumb.c
2032 * src/hildon-button.c
2034 * src/hildon-program.c
2035 * src/hildon-stackable-window.c
2036 * src/hildon-window.c: Lots of documentation updates.
2038 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2040 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2042 * configure.ac: Require Gtk+ 2.12.9 at least
2044 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2046 * src/hildon-pannable-area.c
2047 (hildon_pannable_area_scroll_indicator_fade),
2048 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2049 to protect the return of this timeout callbacks, avoiding deadlocks.
2051 2008-08-12 Christian Dywan <christian@imendio.com>
2054 * src/hildon-*.h: Ensure a consistent include order,
2055 include <gtk/gtk.h> instead of particular files and
2056 only include the topmost header in the gtk stack. See NB #39857
2058 2008-08-12 Christian Dywan <christian@imendio.com>
2060 * src/hildon-picker-dialog.c
2061 * src/hildon-touch-selector.c: Fix warnings about unused and
2062 uninitialized variables.
2064 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2066 * examples/Makefile.am
2067 * examples/hildon-check-button-example.c: Example of the hildon
2070 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-window.h
2073 * src/hildon-window.c (hildon_window_class_init)
2074 (hildon_window_unset_program): Don't make
2075 hildon_window_unset_program a virtual function anymore.
2077 * src/hildon-stackable-window.c: Update documentation
2079 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2082 * doc/hildon-docs.sgml
2083 * doc/visual_index.xml
2084 * src/hildon-defines.c
2086 * src/hildon-helper.c
2087 * src/hildon-range-editor.c: Lots of documentation fixes.
2089 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2091 * examples/hildon-picker-button-multicolumn-example.c
2092 (create_touch_selector): Fix compilation warning.
2094 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2097 (hildon_pannable_area_button_release_cb)
2098 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2100 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2102 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2105 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-bread-crumb-trail.h
2108 * src/hildon-date-editor.c
2109 * src/hildon-date-selector.c
2110 * src/hildon-pannable-area.c
2111 * src/hildon-picker-dialog.c
2112 * src/hildon-time-selector.c
2113 * src/hildon-touch-selector-entry.c
2114 * src/hildon-touch-selector.c
2115 * src/hildon-touch-selector.h: Misc documentation fixes
2117 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2119 * examples/hildon-date-editor-example.c (main): Updated date
2122 * examples/hildon-note-example.c (on_confirmation_clicked):
2123 Updated confirmation note example.
2125 * src/hildon-date-editor.c
2126 * src/hildon-note.c: Updated sample programs in documentation.
2129 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-date-button.h:
2132 * src/hildon-picker-button.h:
2133 * src/hildon-time-button.c:
2134 * src/hildon-time-button.h:
2136 Some declarations changes to allow gtk-doc to document the widgets
2139 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2141 * src/hildon-date-button.c: Document the widget.
2142 * src/hildon-time-button.c: Document the widget.
2144 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-picker-button.c: Document the widget.
2147 * src/hildon-touch-selector-entry.c: Document the widget.
2149 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2151 * doc/hildon-docs.sgml
2154 * src/hildon-check-button.h
2155 * src/hildon-check-button.c: New functions to create the Hildon
2159 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2161 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-button.h
2164 * src/hildon-button.c
2165 (hildon_button_add_title_size_group)
2166 (hildon_button_add_value_size_group)
2167 (hildon_button_add_image_size_group)
2168 (hildon_button_add_size_groups): New functions to set size groups
2169 for the button labels and image.
2170 (hildon_button_new_full): Removed
2172 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2174 * src/hildon-time-selector.c
2175 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2176 in order to avoid a crash if gconf is not available
2178 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-button.c (hildon_button_set_arrangement)
2181 (hildon_button_construct_child): Don't construct the button child
2182 before setting the arrangement.
2184 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2186 * src/hildon-program-private.h
2187 * src/hildon-program.c
2188 * src/hildon-program.h
2189 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2190 (hildon_program_peek_window_stack)
2191 (hildon_program_pop_window_stack)
2192 (hildon_program_go_to_root_window): HildonProgram now has a
2193 separate list for stackable windows. Functions are provided to
2194 manage that list with a stack-like API.
2196 * src/hildon-stackable-window.c: Stackable window management is
2197 now much simpler with the new HildonProgram API. Windows no
2198 longer need to be manually added to the program, they're
2199 automatically pushed to the top of the stack when shown.
2201 * examples/hildon-stackable-window-example.c: Updated example to
2202 reflect the API changes.
2204 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-touch-selector.c: Comment out unimplemented
2207 hildon_touch_selector_insert_column() to avoid a compile warning.
2209 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2212 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2213 (hildon_touch_selector_set_column_selection_mode),
2214 (_hildon_touch_selector_set_model),
2215 (hildon_touch_selector_set_model):
2217 Complete review of HildonTouchSelector documentation.
2219 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2221 * doc/hildon-docs.sgml
2225 * src/hildon-gtk.c: Convenience functions for standard Gtk
2226 widgets, used to easily perform frequent operations.
2228 * src/hildon-button-helpers.h
2229 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2231 * src/hildon-helper.h
2232 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2233 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2235 * src/hildon-button.h
2236 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2238 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-button.c (hildon_button_init)
2241 (hildon_button_set_arrangement, hildon_button_construct_child):
2242 Pack the image and the labels inside the same GtkAlignment so
2243 gtk_button_set_alignment() can be used
2245 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-button.h
2248 * src/hildon-button.c
2249 (hildon_button_init, hildon_button_set_image)
2250 (hildon_button_set_image_position)
2251 (hildon_button_construct_child): New functions to add an image to
2254 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-date-button.c
2257 * src/hildon-picker-button.c
2258 * src/hildon-time-button.c
2259 * src/hildon-button.c:
2260 (hildon_button_class_init): "size-flags" renamed to "size"
2261 (hildon_button_set_title): Hide the title label if set to NULL.
2263 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2265 HildonButtonFlags split into HildonButtonArrangement (to set the
2266 button layout) and HildonSizeType (which can be used for any
2269 * src/hildon-button.h
2270 * src/hildon-button.c
2271 (hildon_button_class_init)
2272 (hildon_button_set_arrangement)
2273 (hildon_button_set_property): New "size-flags"
2274 property. "arrangement-flags" renamed to "arrangement".
2275 (hildon_button_new, hildon_button_new_with_text)
2276 (hildon_button_new_full): Constructors updated to reflect type changes.
2278 * src/hildon-helper.h
2279 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2280 to set the size of a widget.
2284 * src/hildon-button-helpers.c
2285 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2287 * src/hildon-date-button.c
2288 * src/hildon-date-button.h
2289 * src/hildon-picker-button.c
2290 * src/hildon-picker-button.h
2291 * src/hildon-time-button.c
2292 * src/hildon-time-button.h: Updated widgets to reflect
2293 HildonButton API changes.
2295 * examples/hildon-button-example.c
2296 * examples/hildon-date-button-example.c
2297 * examples/hildon-picker-button-example.c
2298 * examples/hildon-picker-button-multicolumn-example.c
2299 * examples/hildon-time-button-example.c
2300 * examples/hildon-touch-selector-entry-example.c
2301 * examples/hildon-touch-selector-example.c: Updated examples to
2302 reflect HildonButton API changes.
2304 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2306 * doc/hildon-docs.sgml:
2308 * examples/Makefile.am:
2309 * examples/hildon-touch-selector-entry-example.c:
2311 * src/hildon-touch-selector-entry.c:
2312 * src/hildon-touch-selector-entry.h:
2315 Moved HildonTouchSelectorEntry from sandbox. Added its
2316 documentation and examples.
2318 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2320 * src/hildon-touch-selector.h:
2321 * examples/hildon-picker-button-multicolumn-example.c:
2322 (hildon_touch_selector_append_text_column): Add a gboolean
2323 parameter to determine if text must be centered in the column.
2325 * src/hildon-date-selector.c: (hildon_date_selector_init):
2326 * src/hildon-time-selector.c: (hildon_time_selector_init):
2327 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2328 (create_touch_selector): Update widgets and example to reflect
2331 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2333 * src/hildon-touch-selector.c:
2334 (hildon_touch_selector_set_active_iter): Set also the cursor in
2337 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2339 * doc/hildon-docs.sgml
2342 * src/hildon-toggle-button.c
2343 * src/hildon-toggle-button.h
2344 * src/hildon.h: Removed HildonToggleButton widget, a derived
2345 class is not necessary for this.
2347 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2349 * src/hildon-pannable-area.c,
2350 (hildon_pannable_area_realize),
2351 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2354 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2357 "done" button the default widget for the dialog.
2359 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-touch-selector.c:
2362 (hildon_touch_selector_class_init),
2363 (hildon_touch_selector_get_property),
2364 (_hildon_touch_selector_set_model),
2365 (_hildon_touch_selector_has_multiple_selection),
2366 (hildon_touch_selector_has_multiple_selection):
2367 Add a "has-multiple-selection" property with a virtual
2368 has_multiple_selection() method to allow derived classes to
2369 override the default value for it. See the method and property
2370 documentation for details.
2372 * src/hildon-touch-selector.h: Add the new API.
2374 * src/hildon-picker-dialog.c: (requires_done_button): Call
2375 hildon_touch_selector_has_multiple_selection() instead of
2376 determining the need for a button itself.
2378 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2381 (_hildon_touch_selector_set_model),
2382 (hildon_touch_selector_set_model): Move working code to
2383 _hildon_touch_selector_set_mode(). Call the class method instead.
2385 * src/hildon-touch-selector.h: Add (*set_model) to
2386 HildonTouchSelectorClass.
2388 Make hildon_touch_selector_set_model() a virtual method, so that
2389 derived classes can extend it and do fancy stuff with the model.
2391 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2393 * configure.ac: Set back the tarname in AC_INIT to hildon.
2395 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2399 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2400 instead of libesd (NB#86876). Volume handling is still an open issue.
2402 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2405 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2408 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2409 derived class to ease placement of an entry widget in
2410 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2411 end, where the selector columns are packed now.
2413 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-picker-button.c: Removed the simple _text() API.
2416 * src/hildon-picker-button.h: Likewise.
2418 * src/hildon-touch-selector.h:
2419 * src/hildon-touch-selector.c:
2420 (hildon_touch_selector_new_text),
2421 (hildon_touch_selector_append_text),
2422 (hildon_touch_selector_prepend_text),
2423 (hildon_touch_selector_insert_text):
2425 Moved the simple _text() API from HildonPickerButton to
2426 HildonTouchPicker, to provide better escalability and not to tie
2427 that API to HildonPickerButton.
2429 * examples/hildon-picker-button-example.c: (main): Example updated.
2431 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-button.c: Updated documentation.
2435 * examples/hildon-button-example.c: Add the posibility to create
2436 the buttons using horizontal layout for title and value.
2438 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-app-menu-private.h
2441 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2442 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2443 GtkSizeGroup for the filters, use the 'homogeneous' property of
2446 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2448 * examples/hildon-button-example.c: Updated example.
2450 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2452 * doc/hildon-docs.sgml:
2455 Update documentation.
2457 * examples/Makefile.am: Update renamed examples.
2459 * examples/hildon-picker-button-multicolumn-example.c:
2460 (create_touch_selector), (main): Update after the rename.
2462 * examples/hildon-touch-picker-example.c: Removed.
2463 * examples/hildon-touch-selector-example.c: (value_changed),
2464 (create_selector), (get_visible_content), (main): Renamed from
2465 hildon-touch-picker-example.c
2467 * src/Makefile.am: Updated renamed files.
2469 * src/hildon-date-button.c: (hildon_date_button_init),
2470 (hildon_date_button_get_date), (hildon_date_button_set_date):
2471 * src/hildon-date-selector.c: (hildon_date_selector_init),
2472 (_custom_print_func), (_update_day_model),
2473 (_manage_selector_change_cb),
2474 (hildon_date_selector_select_current_date),
2475 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2476 * src/hildon-date-selector.h:
2477 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2478 (hildon_picker_button_set_property),
2479 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2480 (hildon_picker_button_init), (hildon_picker_button_new_text),
2481 (hildon_picker_button_append_text),
2482 (hildon_picker_button_prepend_text),
2483 (hildon_picker_button_insert_text),
2484 (hildon_picker_button_set_selector),
2485 (hildon_picker_button_get_selector):
2486 * src/hildon-picker-button.h:
2487 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2488 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2489 (_update_title_on_selector_changed_cb), (requires_done_button),
2490 (_hildon_picker_dialog_set_selector),
2491 (hildon_picker_dialog_set_selector),
2492 (hildon_picker_dialog_get_selector):
2493 * src/hildon-picker-dialog.h:
2494 * src/hildon-time-button.c: (hildon_time_button_init),
2495 (hildon_time_button_get_time), (hildon_time_button_set_time):
2496 * src/hildon-time-selector.c: (hildon_time_selector_init),
2497 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2498 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2499 * src/hildon-time-selector.h:
2502 Massive code updates after the rename.
2504 * src/hildon-touch-picker.c: Removed.
2505 * src/hildon-touch-picker.h: Removed.
2507 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2508 (hildon_touch_selector_init), (hildon_touch_selector_map),
2509 (hildon_touch_selector_remove), (_default_print_func),
2510 (_selection_changed_cb), (_create_new_column),
2511 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2512 (hildon_touch_selector_append_text_column),
2513 (hildon_touch_selector_remove_column),
2514 (hildon_touch_selector_set_column_attributes),
2515 (hildon_touch_selector_insert_column),
2516 (hildon_touch_selector_get_num_columns),
2517 (hildon_touch_selector_get_column_selection_mode),
2518 (hildon_touch_selector_set_column_selection_mode),
2519 (hildon_touch_selector_set_print_func),
2520 (hildon_touch_selector_get_print_func),
2521 (hildon_touch_selector_get_active_iter),
2522 (hildon_touch_selector_set_active_iter),
2523 (hildon_touch_selector_get_selected_rows),
2524 (hildon_touch_selector_get_model),
2525 (hildon_touch_selector_set_model),
2526 (hildon_touch_selector_get_current_text),
2527 (_hildon_touch_selector_center_on_selected_items):
2528 * src/hildon-touch-selector.h: Renamed from
2529 hildon-touch-picker.[ch]
2531 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2532 references, code examples, and related documentation.
2534 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2536 * doc/hildon-docs.sgml
2539 * src/hildon-toggle-button.c
2540 * src/hildon-toggle-button.h
2541 * src/hildon.h: New HildonToggleButton widget.
2543 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2545 * src/hildon-button.c: Add API documentation.
2546 (hildon_button_set_size_groups): Check input parameters
2548 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c
2551 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2552 effect after reaching the movement thredshold. This way we start
2553 using the distance after passing the thredshold.
2555 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-button.c: (hildon_button_set_property): Use the
2558 appropriate g_value_get_flags() method.
2560 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2562 * doc/hildon-docs.sgml:
2565 Add the touch pickers, picker dialogs, and picker button widgets
2566 to the documentation.
2568 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-button.c: (hildon_button_set_property),
2571 (hildon_button_class_init): Make "arrangement-flags" a proper
2572 G_TYPE_FLAGS derived property.
2574 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2576 * examples/Makefile.am: Add below examples.
2577 * examples/hildon-date-button-example.c:
2578 * examples/hildon-picker-button-example.c:
2579 * examples/hildon-picker-button-multicolumn-example.c:
2580 * examples/hildon-time-button-example.c:
2581 * examples/hildon-touch-picker-example.c:
2583 Add examples for the recently added touch pickers,
2584 picker dialogs, and picker button widgets.
2586 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2588 * src/hildon-button.c: Add some API documentation
2590 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-button.h
2593 * src/hildon-button.c
2595 (hildon_button_new_with_text): New constructor to create a button
2596 with no text at all.
2597 (hildon_button_init, hildon_button_set_arrangement)
2598 (hildon_button_set_title, hildon_button_set_value)
2599 (hildon_button_set_text)
2600 (hildon_button_construct_child): Hide the value when it's not used
2601 so the rest of the text is properly aligned.
2602 Allow creating buttons with arbitrary widgets inside (not just
2603 title/value labels).
2605 * examples/hildon-button-example.c (vertical_buttons_window)
2606 (horizontal_buttons_window): Update example to use new API.
2608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/Makefile.am: Added HildonTimeButton.
2611 * src/hildon-time-button.c: Added missing LGPL header.
2612 * src/hildon-time-button.h: Added missing LGPL header.
2613 * src/hildon.h: Add hildon-time-button.h
2615 Copied HildonTimeButton from sandbox to trunk. Future work on this
2616 widget must take place in trunk.
2618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/Makefile.am: Added HildonDateButton.
2621 * src/hildon-date-button.c: Update includes.
2622 * src/hildon.h: Add hildon-date-button.h
2624 Copied HildonDateButton from sandbox to trunk. Future work on this
2625 widget must take place in trunk.
2627 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2629 * src/Makefile.am: Added HildonPickerButton.
2630 * src/hildon-picker-button.h: Update includes.
2631 * src/hildon.h: Add hildon-picker-button.h
2633 Copied HildonPickerButton from sandbox to trunk. Future work on
2634 this widget must take place in trunk.
2636 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2638 * src/Makefile.am: Added HildonPickerDialog.
2639 * src/hildon-picker-dialog.c: Update includes.
2640 * src/hildon.h: Add hildon-picker-dialog.h
2642 Copied HildonPickerDialog from sandbox to trunk. Future work
2643 on this widget must take place in trunk.
2645 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/Makefile.am: Added HildonTimeSelector.
2648 * src/hildon.h: Add hildon-time-selector.h
2650 Copied HildonTimeSelector widget from sandbox to trunk. Future
2651 work on this widget must happen in trunk.
2653 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/Makefile.am: Added HildonDateSelector.
2656 * src/hildon.h: Add hildon-date-selector.h
2658 Copied HildonDateSelector widget from sandbox to trunk. Future
2659 work on this widget must happen in trunk.
2661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2663 * src/Makefile.am: Added HildonTouchPicker.
2664 * src/hildon-touch-picker.c: Update includes.
2665 * src/hildon.h: Add hildon-touch-picker.h
2667 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2668 on this widget must happen in trunk.
2670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-pannable-area.c:
2673 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2675 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2677 * examples/hildon-app-menu-example.c (main): Let the window
2680 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2682 * src/hildon-pannable-area.c
2683 (hildon_pannable_area_class_init): Set the min value of the
2684 overshoot properties to zero, which points out that not
2685 overshooting allowed.
2687 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2689 Modified the procedure to get the widget at a point inside the
2690 pannable area when using the movement type signals. Now the user
2691 has to call a function to get the child, that way we just
2692 calculate the child in case the user really want to use it and not
2695 * src/hildon-marshalers.list: Modified the marshallers, now we do
2696 not have the widget as a parameter.
2698 * src/hildon-pannable-area.c
2699 (hildon_pannable_area_motion_notify_cb),
2700 (hildon_pannable_area_class_init),
2701 (hildon_pannable_get_child_widget_at): Removed the widget
2702 parameter from the signal callback. We have also refactored the
2703 emission of the signals.
2705 * src/hildon-pannable-area.h: Added a new method to the API to
2706 calculate a widget at a point inside the pannable area,
2707 hildon_pannable_get_child_widget_at.
2709 * examples/hildon-pannable-area-example-4.c
2710 (horizontal_movement): Modified the example to use the new API,
2711 added condition to control which widget is under the event. This
2712 way we can avoid scrolling laterally over other widgets.
2714 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2716 * src/hildon-pannable-area.c
2717 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2718 modes, we stop getting the pointer events due to returning the
2719 callback without properly calling the get pointer again. Fixed
2720 also an error using the hscroll and vscroll.
2722 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-app-menu-private.h
2725 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2726 (hildon_app_menu_button_release, hildon_app_menu_init)
2727 (hildon_app_menu_class_init): Don't hide the menu on button
2728 release if the user didn't press outside first.
2730 * src/hildon-window.h
2731 * src/hildon-window.c (hildon_window_toggle_menu)
2732 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2733 hildon_window_toggle_menu a virtual function for the stackable
2734 window to override it.
2736 * src/hildon-stackable-window.h
2737 * src/hildon-stackable-window-private.h
2738 * src/hildon-stackable-window.c
2739 (hildon_stackable_window_realize)
2740 (hildon_stackable_window_finalize)
2741 (hildon_stackable_window_class_init)
2742 (hildon_stackable_window_init)
2743 (hildon_stackable_window_set_main_menu): New function to set the
2744 app menu of a HildonStackableWindow.
2746 * examples/hildon-app-menu-example.c: Remove the button to show
2747 the app menu, now it'll be shown when clicking on the title bar
2750 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2752 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2753 set the widget name if the arrangement flags do not specify
2756 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2758 * src/hildon-button.c: (hildon_button_set_property),
2759 (hildon_button_class_init), (hildon_button_new_full),
2760 (hildon_button_set_arrangement): Added "arrangement-flags"
2763 Make the HildonButtonFlags a construction-only property, to allow
2764 subclasses to set them properly.
2766 2008-07-21 Tim Janik <timj@imendio.com>
2768 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2769 insertion position after backspace, so additional digits are appended,
2772 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2774 * src/hildon-pannable-area.c,
2775 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2776 TODO list, it was complete and removed the g_debug and g_print
2779 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2781 Added the movement modes to the hildon-pannable-area, with this
2782 modes the developers can control in which directions the widget
2783 can scroll. They can also connect to signals in order to do
2784 something when that happens, allowing applications scroll. There
2785 is an example uploaded showing how to use it.
2787 * examples/Makefile.am:
2788 * examples/hildon-pannable-area-example-4.c: Added this example of
2789 an application using the modes.
2791 * src/hildon-marshalers.list: Added a new marshaller for the new
2794 * src/hildon-pannable-area.h: Added new enumerations and flags in
2795 order to control the movement modes and the new signals to warn
2796 about the movements in the area.
2798 * src/hildon-pannable-area.c:
2799 (hildon_pannable_axis_scroll),
2800 (hildon_pannable_area_scroll),
2801 (hildon_pannable_area_motion_notify_cb),
2802 (hildon_pannable_area_get_property),
2803 (hildon_pannable_area_set_property),
2804 (hildon_pannable_area_map),
2805 (hildon_pannable_area_class_init),
2806 (hildon_pannable_area_init),
2807 (hildon_pannable_area_jump_to): Added the modes to control the
2808 movement in the widget. We have added properties to control it,
2809 signals to warn about the movements and refactored some code.
2811 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2813 Changes required in order to allow vfast_factor set to zero to
2816 * src/hildon-pannable-area.c:
2817 (hildon_pannable_area_button_press_cb): Changed the condition, it
2818 is required for not allowing click when vfast_factor is zero.
2819 (hildon_pannable_area_timeout): Initialized velocity variables
2820 when we stop moving, it was less than 1 but not zero and we need
2821 to check zero in some situations.
2822 (hildon_pannable_area_class_init): Changed the default value of
2823 the speed factor, now the button_press is just sent in case the
2824 speed is 2 per cent of the max speed.
2825 (hildon_pannable_area_init): Initialization with 0.
2827 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2829 * src/hildon-pannable-area.c,
2830 (hildon_pannable_area_get_topmost): replaced
2831 gdk_window_get_children with gdk_window_peek_children, this way we
2832 do not have to free the list because it is not a copy.
2834 (hildon_pannable_axis_scroll),
2835 (hildon_pannable_area_scroll),
2836 (hildon_pannable_area_timeout),
2837 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2838 two parameters that were only used inside the
2839 hildon_pannable_area_scroll function.
2841 * examples/hildon-pannable-area-example.c,
2842 (get_sawtooth_label): Fixed small memory leak.
2844 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2846 More checks for the case where the overshoot is bigger than the
2849 * src/hildon-pannable-area.c:
2850 (hildon_pannable_draw_vscroll),
2851 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2852 to draw the slider of the scrollbar under the other scrollbar.
2853 (hildon_pannable_area_expose_event): added new checks to control
2854 the drawing of the overshooting area rectangle, in case it is too
2855 big for the area of the widget.
2856 (hildon_pannable_area_size_allocate): add more checks to avoid
2857 setting a position to the child widget outside the area.
2859 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2861 * src/hildon-pannable-area.c
2862 (hildon_pannable_area_size_allocate): Added conditions to control
2863 when overshooting is bigger than the allocated space for the
2864 children, this avoids negative allocations.
2866 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2868 * doc/hildon-docs.sgml
2870 * examples/Makefile.am
2871 * examples/hildon-button-example.c
2873 * src/hildon-button.c
2874 * src/hildon-button.h
2875 * src/hildon.h: Initial version of the new HildonButton widget,
2878 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-pannable-area.c:
2881 (hildon_pannable_area_button_press_cb),
2882 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2883 (hildon_pannable_area_motion_notify_cb),
2884 (hildon_pannable_area_button_release_cb),
2885 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2886 (hildon_pannable_area_jump_to_child):
2888 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2890 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2892 * examples/Makefile.am
2893 * examples/hildon-pannable-area-touch-grid-example.c
2894 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2895 the Hildon Touch List and Hildon Touch Grid using the
2896 HildonPannableArea widget.
2898 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2900 * src/hildon-pannable-area.c,
2901 (hildon_pannable_area_button_press_cb),
2902 (hildon_pannable_area_refresh),
2903 (hildon_pannable_area_scroll),
2904 (hildon_pannable_area_motion_notify_cb),
2905 (hildon_pannable_area_button_release_cb),
2906 (hildon_pannable_area_expose_event),
2907 (hildon_pannable_area_add),
2908 (hildon_pannable_area_remove),
2909 (hildon_pannable_area_realize),
2910 (hildon_pannable_area_size_allocate),
2911 (hildon_pannable_area_class_init),
2912 (hildon_pannable_area_init),
2913 (hildon_pannable_area_scroll_to_child),
2914 (hildon_pannable_area_jump_to_child): Fixed the problem of
2915 removing the child from the GtkBin, we have rearranged the widget
2916 hierarchy, now there is no GtkAlignment which was not doing
2917 anything interesting but breaking some of the assumptions of
2918 GtkContainer. Now developers if they want to add a GtkAlignment
2919 they could, but it is not inside the area.
2921 We had to review the whole allocation/expose process, now it is
2922 improved and we save at least three signals which would be saving
2923 some time when rendering the widget. The allocation of the
2924 scrollbars is now made in the allocate method as usual.
2926 We have also added some conditions in order to control when there
2927 is no child of the pannable area. Maybe we will need more work
2930 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2932 * src/hildon-pannable-area.c,
2933 (hildon_pannable_area_dispose): Released the fade-out timeout when
2934 disposing the widget.
2936 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2938 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2939 zero, we are going to use that property in order to deactivate the
2941 (hildon_pannable_axis_scroll),
2942 (hildon_pannable_area_size_allocate): Added conditions to control
2943 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2944 call, now it is called in all situations and we can remove calls
2945 in the allocate method.
2946 (hildon_pannable_area_map): Control the situation when
2947 overshoot_max is zero, we do not need the timeout.
2948 (hildon_pannable_area_class_init): Added documentation in order to
2949 point out that setting zero to overshoot_max means deactivate
2952 NOTE: removed trailing whitespaces from my previous comments of
2955 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-pannable-area.c
2958 (hildon_pannable_area_get_property),
2959 (hildon_pannable_area_set_property),
2960 (hildon_pannable_area_map),
2961 (hildon_pannable_area_class_init),
2962 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2963 to cause the widget give a hint about its panning abilities upon
2966 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-pannable-area.c: Several documentation improvements.
2970 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-program.c
2973 * src/hildon-stackable-window.c: Update documentation.
2975 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-stackable-window.c (get_previous_window_if_last):
2978 Renamed get_last_window()
2979 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2980 (hildon_stackable_window_unset_program):
2982 (get_previous_window_if_last):
2983 Detect if the window hasn't been added to a HildonProgram.
2985 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2987 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-pannable-area.c
2990 (hildon_pannable_area_button_press_cb),
2991 (hildon_pannable_axis_scroll),
2992 (hildon_pannable_area_scroll),
2993 (hildon_pannable_area_timeout),
2994 (hildon_pannable_calculate_vel_factor),
2995 (hildon_pannable_area_get_property),
2996 (hildon_pannable_area_set_property),
2997 (hildon_pannable_area_class_init),
2998 (hildon_pannable_area_init),
2999 (hildon_pannable_area_scroll_to),
3000 (hildon_pannable_area_jump_to),
3001 (hildon_pannable_area_scroll_to_child),
3002 (hildon_pannable_area_jump_to_child):
3003 * src/hildon-pannable-area.h: Added the new API functions:
3004 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3005 hildon_pannable_area_scroll_to_child,
3006 hildon_pannable_area_jump_to_child
3009 * examples/Makefile.am
3010 * examples/hildon-pannable-area-example-2.c
3011 * examples/hildon-pannable-area-example-3.c: Added these two new
3012 examples in order to test and show how the new APIs work.
3014 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3016 * examples/hildon-stackable-window-example.c (new_window):
3017 * src/Makefile.am (noinst_HEADERS):
3018 * src/hildon-program.c (hildon_program_go_to_root_window):
3019 * src/hildon-program.h:
3020 * src/hildon-stackable-window-private.h:
3021 * src/hildon-stackable-window.c:
3022 * src/hildon-stackable-window.h:
3023 Create hildon-stackable-window-private.h
3024 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3026 * examples/hildon-app-menu-example.c (create_menu):
3027 * examples/hildon-hvolumebar-insensitive-example.c (main):
3028 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3029 * examples/hildon-toolbar-seekbar-example.c (main):
3030 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3031 * src/hildon-banner.c (hildon_banner_set_property):
3032 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3033 Fix compilation warnings
3035 * src/hildon-window.c:
3038 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-stackable-window.c
3041 (hildon_stackable_window_unset_program):
3042 Calculate correctly whether to show the previous window if the
3043 last one is removed from the stack.
3044 (hildon_stackable_window_go_to_root_window):
3045 Send delete events starting from the topmost window.
3046 Stop if one of the windows is not destroyed.
3048 (hildon_stackable_window_delete_event)
3049 (hildon_stackable_window_class_init):
3050 Ignore the delete event if the window is not the topmost one.
3052 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3054 * src/hildon-pannable-area.c
3055 (hildon_pannable_area_expose_event): Fixed a problem when
3056 selecting the background color of the scrollbars.
3058 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3060 * examples/hildon-stackable-window-example.c
3061 * src/hildon-stackable-window.c
3062 * src/hildon-stackable-window.h
3063 hildon_stackable_window_go_home() renamed to
3064 hildon_stackable_window_go_to_root_window()
3065 Send delete events to windows rather than closing them with
3066 gtk_widget_destroy()
3068 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-pannable-area.c
3071 (hildon_pannable_area_button_release_cb): Fix overshooting in
3074 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3076 * src/hildon-pannable-area.c
3077 (hildon_pannable_area_init): Initially show the scroll indicators.
3078 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3080 Add initial effect showing the widget is pannable.
3082 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-pannable-area.c
3085 (hildon_pannable_area_class_init)
3086 (hildon_pannable_area_set_property)
3087 (hildon_pannable_area_get_property)
3088 (hildon_pannable_area_button_press_cb):
3089 New 'velocity_fast_factor' property to decide which velocity is
3092 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-pannable-area.c
3095 (hildon_pannable_draw_hscroll)
3096 (hildon_pannable_draw_vscroll):
3097 Use float variables to calculate the size of the scrollbars to
3098 avoid error propagation and resizing during scrolling.
3100 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-pannable-area.c
3103 (hildon_pannable_draw_vscroll)
3104 (hildon_pannable_draw_hscroll):
3105 Define a minimum size for the scroll bars
3107 * src/hildon-stackable-window.c
3108 (hildon_stackable_window_go_home): Fix compilation warning
3109 (get_last_window): Minor optimizations
3110 (hildon_stackable_window_class_init): Fix initialization of
3113 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-stackable-window.c: Fixed typos in doc
3117 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3119 * src/hildon-pannable-area.c
3120 (hildon_pannable_area_scroll):
3121 Calculate here whether we need to scroll instead of using the booleans
3122 that tell us whether to /draw/ the scrolling bars.
3124 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-app-menu.h
3128 * src/hildon-app-menu.c
3129 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3130 multiple filter groups related code and API. Now we support only
3132 * examples/hildon-app-menu-example.c:
3134 Update to reflect API changes.
3136 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-stackable-window.c
3139 (hildon_stackable_window_class_init):
3140 Add hildon_stackable_window_realize.
3141 (hildon_stackable_window_realize):
3142 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3143 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3144 to apply theming and behavior specific to HildonStackableWindow
3147 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-note.c (hildon_note_button_release):
3150 Close information notes also when tapping on them
3152 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3154 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3155 ELASTICITY, refactor and review, fix some issues with drawing
3158 * src/hildon-pannable-area.c:
3159 (hildon_pannable_area_button_press_cb): removed the conditions to
3160 avoid clicks when overshooting. It is not required
3162 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3163 define. Refatored and reviewed the code, now we do not need to
3164 manage velocity in motion_notify.
3166 (hildon_pannable_area_motion_notify_cb): We have moved the code
3167 that controls the area_scroll to the axis_scroll function and get
3168 rid of duplicated code.
3170 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3172 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3174 (hildon_pannable_draw_vscroll),
3175 (hildon_pannable_draw_hscroll): Fixed the problems with the
3176 scrollbar drawing, now we do not use two surfaces, it is easier
3177 and saves resources.
3179 (hildon_pannable_area_get_property): Style modification.
3181 (hildon_pannable_area_class_init): Changed some default values.
3183 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-stackable-window.c: Fix some typos in the
3188 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-dialog.c:
3191 Change indentation style
3194 (hildon_note_button_release):
3195 Use root coordinates to check if the release event happened
3198 * src/hildon-app-menu.c
3199 (hildon_app_menu_button_release):
3200 Remove unnecessary check
3202 * examples/hildon-app-menu-example.c
3204 Add cast to fix warning
3206 * src/hildon-app-menu.c
3207 (hildon_app_menu_class_init):
3208 New inner-border style property.
3209 Set all default spacings to 16
3210 (hildon_app_menu_init):
3211 Use vertical-spacing to set the space between filter buttons and
3212 regular menu buttons.
3213 Set the default container border using the inner-border value.
3215 * examples/hildon-app-menu-example.c
3217 Don't set the menu border explicitly, now we have the inner-border
3218 style property for that.
3220 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-app-menu.c (hildon_app_menu_init):
3223 Make the window modal
3225 * src/hildon-note.c (hildon_note_map)
3226 * src/hildon-app-menu.c (hildon_app_menu_map):
3227 Destroy the grab window if we're unable to grab the pointer
3229 * src/hildon-app-menu-private.h
3230 * src/hildon-app-menu.c
3231 (hildon_app_menu_init, hildon_app_menu_finalize)
3232 (hildon_app_menu_map, hildon_app_menu_unmap)
3233 (hildon_app_menu_button_release)
3234 (grab_transfer_window_get):
3235 Bring back the grab window
3236 (hildon_app_menu_realize):
3237 Decorate the window, set WM hint for Matchbox
3239 * src/hildon-note.c (hildon_note_realize):
3240 * src/hildon-banner.c (hildon_banner_realize):
3241 Add WM hints for Matchbox
3243 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-app-menu-private.h
3246 * src/hildon-app-menu.c
3247 (hildon_app_menu_init, hildon_app_menu_finalize)
3248 (hildon_app_menu_map, hildon_app_menu_unmap)
3249 (hildon_app_menu_button_release):
3250 Remove the grab window, it's not needed anymore
3252 * src/hildon-program.c
3253 Fixed typo in documentation
3255 * src/hildon-app-menu.h
3256 * src/hildon-app-menu.c
3257 * examples/hildon-app-menu-example.c
3258 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3260 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3263 Added new transfer_window and close_if_pressed_outside private
3265 (hildon_note_rebuild):
3266 Don't add a cancel button to the information note. It will be
3267 closed when tapping outside
3268 Remove the comment about the OK button in the documentation
3269 (hildon_note_realize):
3270 Set the notification type hint
3271 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3272 Grab/ungrab pointer and keyboard if the note has to be closed when
3274 (hildon_note_button_release):
3275 Close the note when tapping outside (if applicable)
3277 * src/hildon-app-menu.c
3278 Grab/ungrab pointer and keyboard on map/unmap
3279 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3280 Close the menu on button release, not button press
3282 * src/hildon-banner.c
3283 (hildon_banner_set_property)
3284 (hildon_banner_check_position):
3285 Make the banner use the full width of the screen
3286 (hildon_banner_show_information)
3287 (hildon_banner_show_information_with_markup):
3288 Don't display an icon by default
3290 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3292 Added fading scrollbars and adapted all the overshooting code to
3293 horizontal scrolling. We have also fixed bugs with overshooting
3294 and current fading implementation.
3296 * src/hildon-pannable-area.c
3297 (hildon_pannable_area_scroll_indicator_fade): Time out function
3298 used to change the transparency of the scrollbars.
3300 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3301 control and fixed a problem with fading, we now remove the fade
3302 timeout before adding a new one.
3304 (hildon_pannable_axis_scroll):
3305 (hildon_pannable_area_scroll):
3306 (hildon_pannable_area_timeout): Added this functions so we can use
3307 the scroll code both for vertical and horizontal.
3309 (hildon_pannable_area_motion_notify_cb):
3310 (hildon_pannable_area_button_release_cb): Added the horizontal
3311 scrolling control, fixed a problem with the overshooting timeout.
3313 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3314 painting of the scrolls.
3316 (hildon_pannable_draw_vscroll):
3317 (hildon_pannable_draw_hscroll):
3318 (hildon_pannable_area_expose_event):
3319 Draw both scrollbars and rectangles in the overshooting area.
3321 (hildon_pannable_area_get_property):
3322 (hildon_pannable_area_set_property):
3323 Modified the overshoot property to overshoot_max
3325 (hildon_pannable_area_map):
3326 Replaced the comments symbols.
3328 (hildon_pannable_area_size_allocate):
3329 (hildon_pannable_area_class_init):
3330 (hildon_pannable_area_init): Added horizontal scroll, fading
3331 effect properties, fixed a problem when overshooting in the bottom
3334 * examples/hildon-pannable-area-example.c:
3335 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3336 looks better in the example.
3338 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3340 * src/hildon-window.c
3341 * src/hildon-window.h
3342 (hildon_window_class_init)
3343 (hildon_window_unset_program)
3344 (hildon_window_unset_program_real):
3345 Make unset_program a virtual function
3347 * src/hildon-stackable-window.c
3348 * src/hildon-stackable-window.h
3349 Added hildon_stackable_window_go_home()
3351 * examples/Makefile.am
3352 * examples/hildon-stackable-window-example.c
3353 HildonStackableWindow example
3355 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3357 * hildon-pannable-area.c: Added the overshoot property and removed
3358 the OVERSHOOT define. Fixed an indent style error.
3359 (hildon_pannable_area_motion_notify_cb):
3360 (hildon_pannable_area_get_property):
3361 (hildon_pannable_area_set_property): Add overshoot property.
3363 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3366 (hildon_pannable_area_class_init): Installed the new property.
3368 * hildon-pannable-area-example.c: Added a sawtooth function, this
3369 way it is easier to check the movement in the pannable.
3370 (get_sawtooth_label): Added this function.
3371 (main): Now we get the labels from the new get_sawtooth_label
3374 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3376 * src/hildon-app-menu.h
3377 * src/hildon-app-menu.c
3378 Renamed API variables for consistency
3380 (hildon_app_menu_popup): Use also the default window size to
3381 decide where to place the menu
3383 (hildon_app_menu_init, hildon_app_menu_class_init): New
3384 external-border style property
3386 2008-05-26 Michael Natterer <mitch@imendio.com>
3388 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3389 widget_class->tap_and_hold_setup signal slot doesn't exist any
3390 longer, stop overriding it.
3392 (hildon_time_editor_init): g_signal_connect() to the
3393 tap-and-hold-setup signal instead.
3395 (hildon_time_editor_entry_keypress): add cast to fix warning.
3397 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3399 * doc/hildon-docs.sgml
3401 * examples/Makefile.am
3402 * examples/hildon-app-menu-example.c
3404 * src/hildon-app-menu-private.h
3405 * src/hildon-app-menu.c
3406 * src/hildon-app-menu.h
3408 New HildonAppMenu widget
3410 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3412 Rearranged the inheritance of the pannable area, now it inherits
3413 from GtkBin. This will allow us to control the event_window and
3414 the allocation process of the widget, required for some effects.
3416 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3417 GtkBin structures. * src/hildon-pannable-area.c: Added the
3418 event_window variable.
3419 (hildon_pannable_area_button_press_cb):
3420 (hildon_pannable_area_button_release_cb):
3421 (hildon_pannable_area_motion_notify_cb):
3422 Changed the signature of the method, now we override the event
3423 callback instead of connecting to the signal.
3425 (hildon_pannable_area_realize):
3426 (hildon_pannable_area_unrealize):
3427 (hildon_pannable_area_map):
3428 (hildon_pannable_area_unmap):
3429 (hildon_pannable_area_size_allocate):
3430 Added functions to control the widget construction. We add a
3431 INPUT_ONLY window and we put it over the widgets inside the
3432 container, this event_window handles the events.
3434 (hildon_pannable_area_class_init):
3435 Replaced the signal connections with overrides of the event
3438 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3440 Bouncing effect added when touching the borders, you can change
3441 the elasticity of the border changing the ELASTICITY define.
3443 * src/hildon-pannable-area.c: Added ELASTICITY define.
3444 (hildon_pannable_area_timeout): Added inverse velocity when
3445 touching the border of the child widget, that causes a bounce.
3447 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3449 Improved performance, we now do not go to the X server in order to
3450 get the list of window children. Apparently the effect is the
3451 same, we have to be careful and check if this breaks something in
3454 * src/hildon-pannable-area.c:
3455 (get_ordered_children): Removed this function.
3456 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3457 the children windows function with gdk_window_get_children.
3459 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3461 * src/hildon-pannable-area.c:
3462 (hildon_pannable_area_dispose): Fixed a crash when closing the
3463 window and kinetics is activated.
3465 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-pannable-area.h
3468 * src/hildon-pannable-area.c
3469 Changed indentation style to meet the one used in Hildon
3471 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3473 Reviewed the interaction of the AUTO mode, now we use the time
3474 attribute of the events and calculate the velocity in the motion,
3475 doing a gimp like calculation. The velocity is calculated in each
3476 motion event using the last velocity and the current one, the
3477 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3479 * src/hildon-pannable-area.c: Replaced the time based algorithm
3481 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3482 timeout for the AUTO mode when we are still moving the cursor. We
3483 added also the velocity calculation in this function.
3484 (hildon_pannable_area_button_release_cb): launch the timeout in
3485 case we are in AUTO mode. There are still some constants here that
3486 come from the old implementation that should be reviewed and
3489 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3491 * doc/hildon-docs.sgml
3494 * src/hildon-stackable-window.c
3495 * src/hildon-stackable-window.h
3497 New HildonStackableWindow widget
3499 * examples/hildon-dialog-example.c
3500 * examples/hildon-pannable-area-example.c
3503 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-dialog.c
3506 (hildon_dialog_new_with_buttons): New constructor.
3508 * examples/hildon-dialog-example.c
3509 (main): Update the example to use the new
3510 hildon_dialog_new_with_buttons().
3512 * examples/hildon-pannable-area-example.c
3513 (main): Update example.
3515 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3517 * doc/hildon-docs.sgml
3519 Added HildonPannableArea to the documentation.
3521 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3523 * doc/visual_index.xml
3524 Fix reference to HildonLoginDialog in documentation
3526 * doc/hildon-docs.sgml
3528 * examples/Makefile.am
3529 * examples/hildon-dialog-example.c
3531 * src/hildon-dialog.c
3532 * src/hildon-dialog.h
3534 New HildonDialog widget.
3536 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3538 * src/hildon-pannable-area.c
3539 Merge latest changes (r4318, r4342) from libmokoui trunk
3541 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3543 * examples/Makefile.am
3544 * examples/hildon-pannable-area-example.c
3546 * src/hildon-pannable-area.c
3547 * src/hildon-pannable-area.h
3549 New HildonPannableArea widget.
3551 2008-04-15 18:05:19 <timj@imendio.com>
3553 * src/hildon-banner.c: revert the recent change, that introduced
3554 gtk_window_present() calls. this reopens:
3555 Bug 78481 - [freetest] information banners are hidden under browser menu
3556 But resolves another variant of:
3557 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3559 2008-04-15 13:21:13 <timj@imendio.com>
3561 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3562 recreated its layout, spotted by Kris. this fixes all remaining
3563 artefacts and stability issues with the banner code. in particular:
3564 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3566 2008-04-14 16:52:59 <timj@imendio.com>
3568 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3569 operating on unrealized widgets, fixes:
3570 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3572 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3574 2008-04-09 Kristian Rietveld <kris@imendio.com>
3576 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3577 makes banner disappear.
3578 Fixes: NB#79182: info banner flickering with certain message lengts.
3580 * src/hildon-banner.c (hildon_banner_constructor),
3581 (hildon_banner_init), (hildon_banner_set_text),
3582 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3583 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3584 FALSE, reset size requests of label and banner,
3585 (force_to_wrap_truncated): when the text is too wide, always enforce
3586 the maximum possible width instead of recalculating it from the
3587 layout; enforce the maximum banner height of 3 lines,
3588 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3589 nicer wrapping and no truncated chars if space gets tight.
3591 * src/hildon-banner-private.h: add has_been_wrapped and
3592 has_been_truncated fields.
3594 2008-04-07 Sven Herzberg <sven@imendio.com>
3596 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3597 local values in hildon_date_editor_size_allocate
3599 * src/hildon-date-editor.c: moved the real allocation code into the
3602 2008-04-07 Sven Herzberg <sven@imendio.com>
3604 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3605 local values in hildon_date_editor_size_allocate
3607 * src/hildon-date-editor.c: merged the two if() branches together
3609 2008-04-07 Sven Herzberg <sven@imendio.com>
3611 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3612 local values in hildon_date_editor_size_allocate
3614 * src/hildon-date-editor.c: changed the arguments of the if()
3617 2008-04-07 Sven Herzberg <sven@imendio.com>
3619 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3620 local values in hildon_date_editor_size_allocate
3622 * src/hildon-date-editor.c: split the calculation of the allocation
3623 from the real allocation
3625 2008-03-27 Michael Natterer <mitch@imendio.com>
3627 Fixes: NB#81696: The passcode is not overwritten even after
3630 * src/hildon-code-dialog.c
3631 (hildon_code_dialog_button_clicked)
3632 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3633 because that doesn't overwrite selected text. Instead, emit the
3634 "commit" signal on the entry's im_context so the entry's normal
3635 insert logic is triggered. Set the cursor to the end of the entry
3636 after each insert operation so that we *only* insert in the middle
3637 of the text if something was selected.
3639 2008-03-27 Michael Natterer <mitch@imendio.com>
3641 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3642 selector cannot be opened
3644 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3645 when the popup color selector is created. Please connect to this
3646 signal in order to set the dialog's help ID.
3648 2008-03-25 Sven Herzberg <sven@imendio.com>
3650 Fixes: MB#1212: Hide info banners (infoprints) on click
3652 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3653 extracted the close event simulation into an extra function
3654 (hildon_banner_button_press_event): simulate a close event and destroy
3655 the widget if the event wasn't handled
3656 (hildon_banner_class_init): added the button_press_event handler
3657 (hildon_banner_init): added button-press events to the widget
3659 2008-03-25 Sven Herzberg <sven@imendio.com>
3661 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3662 Patch from: Mohammad Anwari <mdamt@maemo.org>
3664 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3665 instead of the right in RTL mode
3666 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3667 breadcrumb button list in RTL mode
3668 * src/hildon-caption.c: mirror the appearance of the caption widget in
3670 * src/hildon-date-editor.c: mirror appearance of the date editor in
3672 * src/hildon-time-editor.c: mirror appearance of the time editor in
3674 * src/hildon-window.c: fix the position of the popup in RTL mode
3676 2008-03-25 Sven Herzberg <sven@imendio.com>
3678 Amendment to the fix of NB#22072. Fix compilation.
3680 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3682 2008-03-19 Sven Herzberg <sven@imendio.com>
3684 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3687 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3688 timeout id properly when the timeout will disappear this leaves no
3689 artifacts around in the destroy(); there will only be the timeout
3690 created by hildon_banner_ensure_timeout() and adding a new timeout
3691 will also work if the timeout gets removed because the timeout_handler
3694 2008-03-19 Michael Natterer <mitch@imendio.com>
3696 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3698 * src/hildon-volumebar.c
3699 * src/hildon-vvolumebar.c
3700 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3701 the widget becomes focussable at all.
3703 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3704 set the focus to wither the mute button or the volumebar.
3706 Remove own "can-focus" property and instead listen to
3707 notify::can-focus in order to update the widget's state.
3709 Implement GtkWidget::focus() and make sure we can also *leave* the
3710 widget, not only enter it, depending on volumebar orientation and
3711 requested focus direction.
3713 Clean up set_mute() to cooperate nicely with all the above.
3715 2008-03-04 Michael Natterer <mitch@imendio.com>
3717 Fixes: NB#78481: information banners are hidden under browser menu
3719 * src/hildon-banner.c: call gtk_window_present() on the banners so
3720 they are risen if they are already visible.
3722 2008-03-03 Sven Herzberg <sven@imendio.com>
3724 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3726 * examples/hildon-window-menu-example.c: (main): extended the window
3727 menu example to serve as a testcase for automatically added
3728 accelerator groups, too
3729 * src/hildon-window.c: (hildon_window_add_accel_group),
3730 (hildon_window_set_menu): added patch by Tommi Komulainen
3732 2008-03-03 Sven Herzberg <sven@imendio.com>
3734 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3736 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3737 knowledge about the border allocators used within GTK+
3739 2008-02-26 Sven Herzberg <sven@imendio.com>
3741 Fixes: MB#2981: Build with asserts broken
3743 * src/hildon-date-editor.c,
3744 * src/hildon-number-editor.c,
3745 * src/hildon-time-editor.c,
3746 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3747 the proper GType instance check
3749 2008-02-25 Sven Herzberg <sven@imendio.com>
3751 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3753 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3754 * examples/hildon-window-menu-example.c: (main): explicitly show
3756 * src/hildon-window.c:
3757 (hildon_window_set_main_menu): moved most of the code from set_menu()
3758 to this place; skipped the call to gtk_widget_show_all(); also didn't
3759 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3760 (hildon_window_set_menu): removed most of the code, just keep the
3761 questionable gtk_widget_show_all()
3762 * src/hildon-window.h: added the new function and deprecate the old
3765 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3771 * debian/changelog: Updating.
3773 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3776 * pkgconfig/Makefile.am:
3777 * pkgconfig/hildon.pc.in:
3780 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3781 use newly created API_MAJOR_VERSION.
3783 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3789 * debian/changelog: Updating.
3791 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3793 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3795 Add outer_border style property, we use it but don't define it (!).
3799 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3801 * examples/hildon-bread-crumb-trail-example.c (main):
3805 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3807 Fix logic for the bread crumb trail node removal.
3811 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3817 * debian/changelog: Updating.
3819 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3821 Patch by Alejandro to get/set passwords dialogs accesibility.
3823 * hildon-1/src/hildon-get-password-dialog.c:
3824 * hildon-1/src/hildon-set-password-dialog.c:
3825 Set atk_set_name to the passwd entries in order to allow
3826 accessibility by name on this entries.
3828 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 * debian/control: Updating gtk dep.
3835 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3837 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3838 USE_MAEMO_GTK is enabled.
3840 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3842 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3843 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3845 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3851 * debian/changelog: Updating.
3853 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3855 * examples/Makefile.am:
3856 * examples/hildon-logical-color-example.c:
3857 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3858 applied + adding a test case. Fixes: NB#71660.
3860 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3862 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3863 to be visible, fixes warning on map for windows without toolbars.
3865 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3867 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3868 2.11.0, add a check for that besides the MAEMO_GTK check.
3870 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3876 * debian/changelog: Updating.
3878 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3880 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3881 visibility. Fixes: NB#70842 and MB#615.
3883 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3885 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3886 set the separator as no-show-all so it doesn't unintentionally appear when
3887 someone does a show_all.
3889 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3891 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3892 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3893 toplevel item. Fixes: NB#62031
3895 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3897 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3898 fix the name of the function in the docs.
3900 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3906 * debian/changelog: Updating.
3908 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3910 * examples/hildon-banner-long-example.c: Adding a test-case for long
3913 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3915 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3917 * src/hildon-color-chooser-dialog.c:
3918 * src/hildon-color-chooser.c:
3919 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3920 memory leaks in font selector and color selector. Fixes: NB#70499 and
3923 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3925 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3927 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3929 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3930 little bit bigger. Fixes: #NB63694.
3932 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3938 * debian/changelog: Updating.
3940 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3943 * doc/hildon-docs.sgml:
3944 * doc/images/bread-crumb-trail.png:
3945 * doc/images/calendar-popup.png:
3946 * doc/images/caption.png:
3947 * doc/images/code-dialog.png:
3948 * doc/images/color-button.png:
3949 * doc/images/color-chooser-dialog.png:
3950 * doc/images/color-chooser.png:
3951 * doc/images/controlbar.png:
3952 * doc/images/date-editor.png:
3953 * doc/images/font-selection-dialog.png:
3954 * doc/images/get-password-dialog.png:
3955 * doc/images/hvolumebar.png:
3956 * doc/images/login-dialog.png:
3957 * doc/images/note.png:
3958 * doc/images/number-editor.png:
3959 * doc/images/range-editor.png:
3960 * doc/images/seekbar.png:
3961 * doc/images/set-password-dialog.png:
3962 * doc/images/sort-dialog.png:
3963 * doc/images/time-editor.png:
3964 * doc/images/time-picker.png:
3965 * doc/images/vvolumebar.png:
3966 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3967 Adding the bread-crumb-trial and helpers to the documentation.
3969 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3971 * examples/hildon-find-toolbar-example.c:
3972 * src/hildon-find-toolbar.c:
3973 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3974 actually continue firing the other handlers if connected. Adding a new
3976 hildon_find_toolbar_get_last_index that gets the index of the most
3977 recently added (last) item. Fixes: NB#52301.
3979 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3981 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3982 behaviour. Fixes: NB#68610.
3984 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3986 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3989 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3991 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3992 when realizing the banner. Should make the infonbanner effect a bit more
3995 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3997 * src/hildon-volumebar.c:
3998 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3999 hildon_volumebar_set_range_insensitive_message and
4000 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4002 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * src/hildon-window.c: Fixing the border freeing on destroy.
4006 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4008 * src/hildon-code-dialog-private.h:
4009 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4010 kw keyboard support in HildonCodeDialog.
4012 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4018 * debian/changelog: Updating.
4020 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4022 * src/hildon-date-editor.c:
4023 * src/hildon-number-editor.c:
4024 * src/hildon-private.c:
4025 * src/hildon-private.h:
4026 * src/hildon-time-editor.c:
4027 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4028 handling in subclassed composite widgets. Fixes: NB#66628.
4030 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4032 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4033 from destroy_ callback as it introduces problems in async dbus signal
4034 handlers. Fixes NB#66673.
4036 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * examples/hildon-hvolumebar-example.c:
4039 * src/hildon-volumebar.c: Improving the focus handling in the
4040 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4041 set_property accessor so that "mute" property can be actually set. I'm
4042 scared that nobody noticed it's totally broken.
4044 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4046 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4049 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4051 * src/hildon-calendar.c:
4052 * src/hildon-number-editor.c:
4053 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4054 matches the spec of 6 chars per second. Fixes: NB#60489.
4056 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4058 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4059 gtk_style_lookup_color sometime returns FALSE even though color was
4060 found and values were filled properly. Weird. Removing the warning for the
4063 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4066 expand vertically. Adding some extra space to the find toolbar buttons to
4067 make them thumbable. Fixes NB#66060.
4069 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4072 popup with "Ok" and "Cancel". Fixes NB#59299.
4074 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4076 * src/hildon-calendar.c: Process all window updates before executing next
4077 timeout. Fixes: NB#54146.
4079 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * debian/changelog: Updating.
4087 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4089 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4090 the client event and ignore it, since we use the delete event to close
4093 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * src/hildon-helper.c: Remove the bogus warning about color not being
4096 found. Fixes NB#58352.
4098 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4100 * examples/Makefile.am:
4101 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4102 HildonSeekbar widget inside a toolbar.
4104 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4106 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4107 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4108 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4109 don't want to be closed by non-temporary windows on map.
4111 Also use G_DEFINE_TYPE instead of manually typed code.
4113 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4120 * debian/rules: Updating.
4122 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4124 * examples/Makefile.am:
4125 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4126 bug NB#61128. Strangely it works.
4128 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4130 * src/hildon-date-editor.c: When the date editor entry has been changed
4131 but the numbers of characters < max, turn off the skip validation flag.
4132 Prevents a situation when we enter first a valid year and later re-write
4133 it with an invalid one. Fixes NB#60154.
4135 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4137 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4138 code dialog. Fixes NB#64355.
4140 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4142 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4143 switching the page. Fixes NB#49374.
4145 * examples/Makefile.am:
4146 * examples/hildon-wizard-dialog-example.c: Adding an example for
4147 HildonWizardDialog that shows how to handle manual sensitivity setting on
4150 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4154 * src/hildon-version.h.in:
4155 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4157 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4159 * src/hildon-volumebar.c: Updating the docs.
4161 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * debian/changelog: Updating.
4169 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4171 * src/hildon-find-toolbar.c:
4172 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4173 selected item: hildon_find_toolbar_set_active,
4174 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4175 hildon_find_toolbar_get_active_iter . They correspond to respective
4176 GtkComboBox functions.
4178 * examples/Makefile.am:
4179 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4182 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4184 * examples/Makefile.am:
4185 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4188 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4189 when font size > 32 and we pack a focusable widget inside. Actually using
4190 the default response would work too, but since we don't show default
4191 response state in any way (no theming) it would not be visible to the
4192 user. Fixes NB#63430.
4194 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-date-editor.c: Adding the missing variable setter in the
4197 set_property handler. Fixes NB#54182.
4199 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4201 * src/hildon-window.h: Changing the long key press time from 1500ms to
4202 800ms as requested in NB#63700. I have a bad feeling about this, let's
4203 see... Fixes NB#63700.
4205 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4207 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4208 hildon_time_picker_map, hildon_time_picker_realize,
4209 hildon_time_picker_style_set): Split the contents of map to more
4210 appropriate functions; set window decorations on realize and update
4211 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4213 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4218 * debian/changelog: Updating.
4220 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4222 * src/Makefile.am: fixed installation of the header files
4224 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4230 * debian/changelog: Updating.
4232 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * configure.ac: Removing some remaining of --enable-xan.
4236 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4238 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4239 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4241 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4242 2.10.12-osso6 because the move-focus signal needs to be available in
4245 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4247 * examples/Makefile.am:
4248 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4249 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4250 fine. Prolly NB#61128 is fixed now.
4252 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4254 * src/hildon-volumebar.c:
4255 * src/hildon-volumebar.h: Adding the
4256 hildon_volumebar_set_range_insensitive_message and
4257 hildon_volumebar_set_range_insensitive_messagef functions to set
4258 insensitive message on the slider of the volumebar. Fixes NB#61129.
4260 * examples/Makefile.am:
4261 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4262 test the new insensitive messsage functionality on HildonVolumebar.
4264 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4266 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4269 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4271 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4272 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4273 button on after clearing the trail.
4275 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4277 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4279 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4281 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4282 by splitting the installed headers in generated and non-generated groups. Use
4283 only the non-generated headers to create the hildon-enum-types.h file.
4285 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4287 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4289 * src/hildon-window.c: Hide the window before performing the destroy.
4290 Should make the app closing a little tiny bit more snappy.
4292 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4294 * src/hildon-seekbar.c: add gtkrange.h header
4295 * src/hildon-caption.c: remove unused variable
4297 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4299 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4302 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4308 * debian/changelog: Updating.
4310 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4312 * src/hildon-window.c (hildon_window_window_state_event,
4313 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4314 escape timeout on focus-out-event rather than notify::is-topmost; the
4315 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4317 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4319 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4320 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4322 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4324 * src/hildon-window: actually, you need to use the macro always, there's
4325 no private pointer in the instance structure. We should have cleaned this up
4326 when we had the chance...
4328 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4330 * src/hildon-window.c: do not get the private date from HildonWindow before
4331 it passes the g_return_if_fail check. Once it's passed the test, there's no
4332 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4333 if you are only going to access the data once. Whitespace cleanups.
4335 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4337 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4338 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4340 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4346 * debian/changelog: Updating.
4348 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4350 * src/hildon-window.c: When destroying the window, remove (if exists) the
4351 escape timeout handler. Fixes #NB59276.
4353 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4355 * src/hildon-banner.c: When realizing the widget, set the window
4356 transiency. Setting the transiency in the gobject constructor is not
4357 good, as the widget is not realized at that point. Fixes: #NB56624.
4359 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4361 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4362 Add padding for future expansions.
4364 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4366 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4367 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4368 will fake an activation on the previous to the last item of the trail, so
4369 the effect can be overrided by the developer as usual.
4370 Also change the callback for the back button to do the same thing, so its
4371 effect can be overrided too. Fixes: NB#58982
4373 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4375 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4376 HildonCaption. Fixes NB#52379.
4378 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4380 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4381 the internal state of the trail after the user has had the chance of executing
4382 his handler for the signal. Specifically, it may happen that the activated button
4383 is removed and the user still lets the default handler run. This would segfault
4386 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4388 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4389 scrollbar to the preview dialog. Fixes NB#54147.
4391 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4393 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4394 max/min year properties can be altered, so the client can modify it
4395 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4397 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4399 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4400 hildonlike by default. Fixing a problem with disappearing arrows when
4401 scrolling through months and years. Fixes NB#54127.
4403 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4405 * examples/hildon-date-editor-example.c: Adding error callback to the date
4408 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4414 * configure.ac: Updating.
4416 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4418 * configure.ac: Adding a special '--enable-xan' configure option that
4419 turns off the -Werror compilation setting. Usefull for development.
4421 * src/hildon-calendar.c:
4422 * src/hildon-number-editor.c:
4423 * src/hildon-time-picker.c: Adding the 5* multiplier to
4426 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4428 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4429 instead of g_object_ref + gtk_object_sink.
4431 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4437 * debian/changelog: Updating.
4439 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4441 * src/hildon-color-chooser-dialog.c:
4442 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4443 straight from Tommi labs.
4445 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4447 * examples/hildon-finger-example.c: Correcting the header file path.
4449 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4450 the changed signal. Fixes a small memory leak.
4452 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4456 * src/hildon-banner.c: Importing several usefull fixes from the
4457 ubuntu-mobile branch.
4459 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4461 * examples/Makefile.am:
4462 * examples/hildon-finger-example.c: Adding a finger-checking code
4465 * src/hildon-font-selection-dialog.c: Do not allocate the color
4466 structure using the g_new. Fixes NB#54061.
4468 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4470 * src/hildon-helper.c: Correcting tabs in file.
4472 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4474 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4475 control the visibility of the children.
4477 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4479 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4485 * debian/changelog: Updating.
4487 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4489 * src/hildon-bread-crumb-trail.c:
4490 (hildon_bread_crumb_trail_size_allocate):
4492 Make the back button always a square.
4494 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4496 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4497 from the .c file as it's a private file.
4499 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4501 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4502 uses slightly bigger height.
4504 * src/hildon-font-selection-dialog.c: Adding some checks before
4505 freeing memory in the font selection dialog.
4507 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4509 * src/hildon-font-selection-dialog.c: Adding a small check when
4512 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4513 buttons sensitivity on page switching.
4515 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4517 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4518 internal details of adding a bread crumb to the trail.
4520 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4526 * debian/changelog: Updating.
4528 * src/hildon-bread-crumb-trail.h:
4529 * src/hildon-bread-crumb.h: Changing the API guard to
4530 HILDON_ENABLE_UNSTABLE_API.
4532 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4540 * src/hildon-helper.h: Updating.
4542 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4550 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4554 * src/hildon-helper.h: Small fix to make the package actually compile.
4556 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4558 * src/hildon-bread-crumb-trail.h:
4559 * src/hildon-bread-crumb.h:
4561 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4562 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4564 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4566 * examples/hildon-bread-crumb-trail-example.c:
4568 * src/hildon-bread-crumb-trail.c:
4569 * src/hildon-bread-crumb-trail.h:
4570 * src/hildon-bread-crumb.c:
4571 * src/hildon-bread-crumb.h:
4572 * src/hildon-marshalers.list:
4573 * src/hildon-bread-crumb-widget.c:
4574 * src/hildon-bread-crumb-widget.h:
4576 Slight change in the widget design. The bread crumb trail API is
4577 unchanged, but HildonBreadCrumb is now an interface. A *private*
4578 implementation, hildon-bread-crumb-widget, is provided and used
4579 internally by the trail for the push_text/push_icon functions.
4581 The generic push API is still available, so anyone can implement
4582 and use its own bread crumb widget.
4584 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4586 * debian/rules: Fixing the shlibs.
4588 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4590 * src/hildon-banner.c: Fixing a problem with timed banners having
4591 their parrent destroyed before they are.
4593 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4595 * src/hildon-bread-crumb.c:
4596 * src/hildon-bread-crumb.h:
4598 Make the get_natural_size function a vfunc.
4600 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4602 * src/hildon-bread-crumb.c:
4603 * src/hildon-bread-crumb-trail.c:
4607 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4614 * debian/changelog: Updating for release.
4616 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4618 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4619 don't leak the pango layout.
4621 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4624 * examples/hildon-bread-crumb-trail-example.c:
4628 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4630 * debian/changelog: Removing the bug-fixed entries that were actually
4631 resolved as WONTFIX.
4633 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4636 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4638 * src/hildon-bread-crumb-trail.c:
4639 * src/hildon-bread-crumb-trail.h:
4640 * src/hildon-bread-crumb.c:
4641 * src/hildon-bread-crumb.h:
4645 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4647 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4648 until it's passed the type check.
4650 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4652 * examples/hildon-bread-crumb-trail-example.c
4656 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4658 * examples/Makefile.am
4659 * examples/hildon-bread-crumb-trail-example.c
4661 * src/hildon-bread-crumb-trail.c
4662 * src/hildon-bread-crumb-trail.h
4663 * src/hildon-bread-crumb.c
4664 * src/hildon-bread-crumb.h
4666 New HildonBreadCrumbTrail widget.
4668 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4670 * src/hildon-range-editor.c (hildon_range_editor_init),
4671 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4672 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4673 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4674 hildon_time_editor_class_init, hildon_time_editor_init),
4675 src/hildon-get-password-dialog.c (invalid_input,
4676 hildon_get_password_set_property, hildon_get_password_get_property,
4677 create_contents, hildon_get_password_dialog_set_max_characters),
4678 src/hildon-set-password-dialog.c (create_contents),
4679 src/hildon-date-editor.c (hildon_date_editor_init),
4680 src/hildon-login-dialog.c (hildon_login_dialog_init),
4681 src/hildon-number-editor.c (hildon_number_editor_init),
4682 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4683 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4684 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4685 configure option and adding the respective checks in the code.
4686 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4687 hildon_calendar_drag_data_received): fixed some build warnings.
4689 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4691 * debian/changelog: A 1.0.0 release notes.