1 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: bump version
7 * debian/changelog: updates
9 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
11 Based on initial code by Christian Dywan (christian@imendio.com)
13 * doc/hildon-docs.sgml: Add section for hildon-main.
14 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
15 * src/Makefile.am: Add new hildon-main.[ch]
16 * src/hildon-defines.h: Update the icon sizes.
17 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
18 new library initialization files and register icon sizes.
19 * src/hildon-main.h: New declarations.
20 * src/hildon.h: Include hildon-main.h
22 Add new initialization functions to the library. These methods
23 will register the hildon specific icon sizes and can be used in the
24 future for other hildon specific bits.
26 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
28 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-window.c: (hildon_window_realize),
31 (hildon_window_notify), (-hildon_window_update_title): Do not set
32 the application name in the window title.
34 Fixes: NB#89754 (Applications shouldn't display their names in the
37 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
39 * src/hildon-note-private.h:
40 * src/hildon-note.c: (hildon_note_set_property),
41 (hildon_note_get_property), (hildon_note_class_init),
42 (hildon_note_init), (hildon_note_finalize),
43 (hildon_note_new_confirmation_with_icon_name),
44 (hildon_note_new_information_with_icon_name):
46 No need to mark as deprecated the actual code. Revert
47 to avoid missing symbols in widgets using deprecated API.
49 2008-11-20 Alberto Garcia <agarcia@igalia.com>
51 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
53 * src/hildon-volumebar.h
54 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
55 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
58 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
59 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
61 * examples/Makefile.am:
62 Deprecate hildon-insensitive-example
64 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
66 2008-11-20 Alberto Garcia <agarcia@igalia.com>
68 * examples/hildon-pannable-area-buttons-scroll-example.c:
69 Make all buttons finger height
71 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
73 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
75 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
76 update the day model only if it is really required, and to avoid the
77 full-reconstruction aproach. Now it only add or remove the required days.
79 The purpose of this is avoid superfluous HildonTouchSelector::changed
82 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
83 with strange parameters)
85 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
87 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
89 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
90 the WINDOW_TYPE property.
92 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
94 2008-11-19 Alberto Garcia <agarcia@igalia.com>
97 Fix dependency to allow parallel compilation with make -jX
99 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
101 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
102 color frame and some minor tweaks to make it more consistent with
105 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
106 highlighted but not visible)
108 2008-11-14 Alejandro G. Castro <alex@igalia.com>
110 * examples/Makefile.am: Fixed typo in the Makefile.am.
112 2008-11-14 Alejandro G. Castro <alex@igalia.com>
114 Reviewed the use of MAEMO_GTK define, now we add the define in the
115 compilation line, and we also add it to the pc file.
117 * configure.ac: Added MAEMO_GTK define to the compilation command
118 and removed it from the config.h.
120 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
121 do not have to take care about this define if the library was
125 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
127 2008-11-14 Alejandro G. Castro <alex@igalia.com>
129 * examples/Makefile.am,
130 * examples/hildon-pannable-area-buttons-scroll-example.c,
131 * examples/hildon-pannable-area-gesture-signals-example.c,
132 * examples/hildon-pannable-area-scroll-jump-example.c,
133 * examples/hildon-pannable-area-tree-view-example.c:
134 Renamed the pannable area examples, now they have more meaningful
137 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
139 * src/hildon-touch-selector.c:
140 (hildon_touch_selector_set_column_selection_mode): Used of
141 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
142 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
143 to avoid re-seting the same selection mode.
145 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
146 breaks HildonPickerDialog)
148 2008-11-13 Alejandro G. Castro <alex@igalia.com>
150 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
151 conditional in the Makefile.am
153 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
155 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
156 Remove unused methods.
158 2008-11-12 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-button.c (hildon_button_init):
161 Make button images center-aligned by default
163 2008-11-12 Alejandro G. Castro <alex@igalia.com>
166 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
167 activated, we have to think about how to deal with both defines
168 MAEMO_GTK and MAEMO_CHANGES.
170 2008-11-12 Alberto Garcia <agarcia@igalia.com>
172 * examples/hildon-app-menu-example.c (create_menu): Make all
175 2008-11-11 Alejandro G. Castro <alex@igalia.com>
177 Fixed the compilation without maemo gtk adding ifdefs with
178 MAEMO_GTK define to the code, we have to check this version more
181 * examples/Makefile.am: Added control to avoid some examples that
182 just make sense with maemo gtk.
185 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
186 hildon modes with the define.
188 * examples/hildon-edit-toolbar-example.c,
189 (create_icon_view): Create the icon view without hildon-gtk
190 helpers if we are not using maemo gtk.
192 * src/hildon-touch-selector.c,
193 (_create_new_column): Create the treeview without hildon-gtk
194 helpers if we are not using maemo gtk.
196 2008-11-11 Alejandro G. Castro <alex@igalia.com>
198 * src/hildon-pnnable-area.c,
199 (hildon_pannable_area_dispose),
200 (hildon_pannable_area_button_press_cb),
201 (hildon_pannable_area_child_mapped),
202 (hildon_pannable_area_add),
203 (hildon_pannable_area_remove): Added code to control the position
204 of the event_window when adding and removing children from the
205 pannable. We have to raise the event window when the child is
208 Fixes: NB#89811 (Not able to select first image thumbnail in multi
209 selection mode using custom widget inside pannable)
211 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
213 * configure.ac: post release version bump
214 * debian/changelog: version bump
216 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: bump version
222 * debian/changelog: updates
224 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
226 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
227 search mode, in order to avoid lose the focus on the treeview when
228 a hw key (like enter) is pressed.
230 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
231 in HildonDateSelector dialog)
233 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
235 * debian/rules: Added --enable-maintainer-mode
236 * Makefile.am: Added ACLOCAL_AMFLAGS
238 This allows to properly regenerate the Makefiles if you modify the
239 configure.ac or any Makefile.am.
241 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
243 * examples/hildon-app-menu-example.c: (main): Do not set RC style
244 properties, not needed at all.
246 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
248 * src/hildon-note-private.h: Add strings for the icon and stock_icon
250 * src/hildon-note.c: (hildon_note_set_property),
251 (hildon_note_get_property), (hildon_note_class_init),
252 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
253 (hildon_note_new_confirmation_add_buttons): Remove icons.
254 (hildon_note_new_confirmation_with_icon_name): Deprecate.
255 (hildon_note_new_information_with_icon_name): Deprecate.
256 (hildon_note_new_confirmation): Act directly, without calling
257 the deprecated constructor.
258 (hildon_note_new_information): Act directly, without calling
259 the deprecated constructor.
260 * src/hildon-note.h: Mark deprecate methods as such.
261 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
262 not run tests on the deprecated methods if built with deprecation
265 Fixes: NB#91688 (Never show icons in information notes/confirmation
268 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
270 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
271 (hildon_app_menu_key_press): Remove leftover usage of the
272 private structure in HildonAppMenu struct.
273 * src/hildon-app-menu.h: Remove leftover private structure
274 from the HildonAppMenu struct.
276 Fixes a crasher when using the HildonAppMenu.
278 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
280 * src/hildon-picker-dialog.c: Use appropriate logical id
281 for the default "Done" text.
283 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: post release version bump
286 * debian/changelog: version bump
288 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
290 Modified the way to scroll to the current selection just when the touch
291 selector is shown on the screen, avoiding a g_idle. Added too a property
292 to configure this behaviour. See hildon_pannable_area_jump_to_child
293 documentation for more information.
295 * src/hildon-touch-selector.c
296 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
297 Added 'initial-scroll' property
298 (hildon_touch_selector_set_property): Added
299 (hildon_touch_selector_map): Removed as not required anymore
300 (_hildon_touch_selector_on_selected_items): Modified in order to manage
301 only a concrete column, instead of iterate along all the columns
303 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
308 * configure.ac: bump version
309 * debian/changelog: updates
311 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
313 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
314 compilation time warnings.
316 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
319 the default value for HildonPannableArea::mov-mode to
320 HILDON_PANNABLE_AREA_MODE_VERT.
322 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
324 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
326 Reverting following commit:
328 2008-10-13 Alberto Garcia <agarcia@igalia.com>
330 * src/hildon-app-menu-private.h
331 * src/hildon-app-menu.[ch]
332 * src/hildon-button.[ch]
333 * src/hildon-check-button.[ch]
334 * src/hildon-entry.[ch]
335 * src/hildon-pannable-area.[ch]
336 * src/hildon-text-view.[ch]:
337 Added private field to the object's structure.
339 because it causes an ABI breakage. We will need to introduce these
340 changes later at some point. See NB#91636 for an extensive
341 explanation and status.
343 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
345 Patch contributed by Daniel Borgmann (danielb@openismus.com)
347 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
348 remove special cases that are no longer necessary.
350 Fixes: NB#91016 (Change toolbar sizes, simplification)
352 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
354 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
355 is shown in the cancel note.
357 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
359 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
360 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
361 (hildon_seekbar_init): Remove steppers, remove expose event.
362 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
364 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
366 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
368 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
369 label font to "SmallSystemFont" for vertically arranged buttons.
371 Fixes: NB#90662 (HildonButton "value" and "detail" text is
374 2008-10-31 Alberto Garcia <agarcia@igalia.com>
376 * src/hildon-check-button.c
377 (hildon_check_button_set_active, hildon_check_button_clicked):
378 Don't access private parts directly, use getters instead.
380 2008-10-31 Alberto Garcia <agarcia@igalia.com>
382 * src/hildon-check-button.c (hildon_check_button_new):
383 Align the contents of the check button to the left.
385 2008-10-30 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-pannable-area.c,
388 (hildon_pannable_area_scroll_to),
389 (hildon_pannable_area_jump_to),
390 (hildon_pannable_area_scroll_to_child),
391 (hildon_pannable_area_jump_to_child): Replace the mapped
392 precondition of these functions with the realized, it is the
393 correct state of the widget in this case. Changed the
394 documentation according to this modification.
396 2008-10-30 Alejandro G. Castro <alex@igalia.com>
398 Added a new EXTRA_CFLAGS option to add the deprecated define to
399 the compilation command. This way we can avoid using the define in
400 the documentation compilation.
402 * configure.ac: Defined EXTRA_CFLAGS.
404 * examples/Makefile.am:
406 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
408 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
410 * src/hildon-picker-dialog.c:
411 Defined a utility macro with the desired touch selector height
412 Removed currently unused separator, and title_label variables from
414 (hildon_picker_dialog_init): Removed code related to the creation
415 of unused private variables title_label and separator.
416 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
417 to ensure correct visualization of the touch selector inside the dialog.
418 * src/hildon-touch-selector.c
419 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
420 ensure a concrete height of the widget.
422 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
427 Remove spurious whitespaces.
429 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
431 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
432 compilation warning after the cancel button removal.
434 2008-10-30 Alejandro G. Castro <alex@igalia.com>
436 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
438 * configure.ac: Added an AM_CONDITIONAL in order to use in the
439 Makefile.am, that way we can choose not to compile some examples
440 and tests of the deprecated widgets.
442 * examples/Makefile.am: Divided the sources in deprecated and
445 * src/Makefile.am: Added undef statement of the deprecated
446 symbol to the enums file generation process.
448 * src/hildon-color-chooser-dialog.c
449 * src/hildon-color-chooser-dialog.h
450 * src/hildon-color-button.c
451 * src/hildon-color-button.h
452 * src/hildon-color-chooser.c
453 * src/hildon-color-chooser.h
454 * src/hildon-controlbar.c
455 * src/hildon-controlbar.h
456 * src/hildon-date-editor.c
457 * src/hildon-date-editor.h
458 * src/hildon-hvolumebar.c
459 * src/hildon-hvolumebar.h
460 * src/hildon-private.c
461 * src/hildon-private.h
462 * src/hildon-range-editor.c
463 * src/hildon-range-editor.h
464 * src/hildon-seekbar.c
465 * src/hildon-seekbar.h
466 * src/hildon-time-editor.c
467 * src/hildon-time-editor.h
468 * src/hildon-time-picker.c
469 * src/hildon-time-picker.h
470 * src/hildon-volumebar.c
471 * src/hildon-volumebar.h
472 * src/hildon-vvolumebar.c
473 * src/hildon-vvolumebar.h
474 * src/hildon-bread-crumb-trail.h
475 * src/hildon-bread-crumb-trail.c
476 * src/hildon-calendar-popup.c
477 * src/hildon-calendar-popup.h
478 * src/hildon-weekday-picker.c:
479 * src/hildon-weekday-picker.h:
480 * src/hildon-bread-crumb-widget.c:
481 * src/hildon-bread-crumb-widget.h:
482 * src/hildon-bread-crumb.c:
483 * src/hildon-bread-crumb.h:
484 * src/hildon-calendar.c:
485 * src/hildon-calendar.h:
486 * src/hildon-caption.c:
487 * src/hildon-code-dialog.c:
488 * src/hildon-code-dialog.h:
489 * src/hildon-font-selection-dialog.c:
490 * src/hildon-font-selection-dialog.h:
491 * src/hildon-get-password-dialog.c:
492 * src/hildon-get-password-dialog.h:
493 * src/hildon-login-dialog.c:
494 * src/hildon-login-dialog.h:
495 * src/hildon-number-editor.c:
496 * src/hildon-number-editor.h:
497 * src/hildon-set-password-dialog.c:
498 * src/hildon-set-password-dialog.h:
499 * src/hildon-sort-dialog.c:
500 * src/hildon-sort-dialog.h: This is the list of deprecated
503 * src/hildon-touch-selector.c:
504 * src/hildon-window.c: Added undef statement to avoid compilation
507 * tests/Makefile.am: Divided the sources in deprecated and
510 * tests/check_test.c,
511 (configure_tests): Marked the deprecated code that was adding
512 suites with deprecated tests.
514 Fixes: NB#91135 (Deprecate legacy hildon widgets)
516 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
518 * src/hildon-touch-selector.c: (_default_print_func): Do not
519 duplicate a string returned by gtk_tree_model_get(), it is already
522 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
525 2008-10-28 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c
528 (hildon_pannable_area_add_with_viewport): Reviewed the complete
529 method, it had problems when adding a widget with viewport the
530 second time. Now checks if it already has a viewport and uses it.
532 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
535 2008-10-28 Alejandro G. Castro <alex@igalia.com>
537 * src/hildon-pannable-area.c,
538 (hildon_pannable_area_scroll_to),
539 (hildon_pannable_area_jump_to),
540 (hildon_pannable_area_scroll_to_child),
541 (hildon_pannable_area_jump_to_child): Added a precondition to the
542 scroll and jump to functions: the widget must be mapped before we
543 can safely call these functions. We have also added documentation
544 to the functions to explain how to use them in this situation.
547 2008-10-28 Alejandro G. Castro <alex@igalia.com>
549 Reviewed the threading handling of the pannable widget, we have
550 used the gdk_threads_add_timeout function instead of the usual
551 glib handlers. This avoids some problems with the threads.
553 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
554 (hildon_pannable_area_initial_effect),
555 (hildon_pannable_area_scroll_indicator_fade),
556 (hildon_pannable_area_button_press_cb),
557 (hildon_pannable_area_timeout),
558 (hildon_pannable_area_motion_notify_cb),
559 (hildon_pannable_area_button_release_cb),
560 (hildon_pannable_area_scroll_cb),
561 (hildon_pannable_area_scroll_to): Removed the
562 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
563 gdk_threads_add_timeout.
565 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
567 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: bump version
573 * debian/changelog: updates
575 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
577 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
578 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
579 * src/hildon-color-chooser-dialog.c:
580 (hildon_color_chooser_dialog_init):
581 * src/hildon-font-selection-dialog.c:
582 (hildon_font_selection_dialog_init):
583 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
585 Remove all cancel/close-like dialogs, as these are not going to be
588 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
590 * src/hildon-note.c: (hildon_note_rebuild),
591 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
594 Fixes: NB#90661 (Delete dialog is displayed without NO button)
596 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
598 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
599 sure all buttons are shown, even the Cancel/Close-like ones.
601 Fixes: NB#90861 (Custom Confirmation dialogs should be
602 protected from cancel button removal)
604 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
606 * debian/control: Change libhildon1-examples dependency from libhildon1
608 * debian/libhildon1-examples.install
610 * Makefile.am: Modified the final install directory for the examples on
611 package libhildon1-examples
612 * Makefile.static: Update clean target in order to remove all the binary
615 Changes suggested by Claudio after review new libhildon1-examples package
617 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
619 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
620 * src/hildon-touch-selector.c: Ditto.
622 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
624 * debian/control: Added new package libhildon1-examples, in order to pack
625 the current hildon examples as documentation
626 * debian/rules: Not to compress .c files, modify some includes on the
627 examples (as normally are compiled locally, but when installed it will
628 require to include the installed libhildon1 library), and rename
630 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
631 install all the example files on the new example package
632 * examples/Makefile.static: Added static makefile that can be used to
633 compile the examples, once installed the new example package
634 * examples: Most of the examples were modified in order to grant that
635 all use only '#include "hildon.h"', in order to be easy to prepare
636 it on the example package
638 2008-10-23 Alberto Garcia <agarcia@igalia.com>
641 * debian/libhildon1-dev.install
642 * debian/libhildon1-doc.install:
643 Move all gtk-doc files to a separate libhildon1-doc package.
645 2008-10-23 Daniel Borgmann <danielb@openismus.com>
647 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
651 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
653 * debian/rules: Fixed a error in order to avoid unnecessary calls
654 to autogen.sh on package building
656 2008-10-22 Alberto Garcia <agarcia@igalia.com>
658 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
660 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
662 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
665 2008-10-21 Alberto Garcia <agarcia@igalia.com>
667 * src/hildon-picker-button.c
668 (hildon_picker_button_finalize):
669 Free priv->done_button_text
671 * src/hildon-time-button.c
672 (hildon_time_button_set_time)
673 * src/hildon-picker-button.c
674 (hildon_picker_button_clicked)
675 (hildon_picker_button_selector_selection_changed)
676 (hildon_picker_button_set_selector)
677 * src/hildon-date-button.c
678 (hildon_date_button_set_date):
679 Free strings returned by hildon_touch_selector_get_current_text()
681 * src/hildon-button.c (hildon_button_construct_child):
682 Fix leaks in priv->image and priv->label_box
684 Fixes: NB#90535 (Memory leak in picker button)
686 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
688 * src/hildon-button.c: (hildon_button_get_property): Do not access
689 private elements directly, use getters instead.
691 2008-10-20 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-app-menu-private.h
694 * src/hildon-app-menu.c
695 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
696 Store the menu's parent window.
698 * src/hildon-stackable-window.c
699 (hildon_stackable_window_toggle_menu)
700 (hildon_stackable_window_finalize):
701 Set the menu's parent window when the menu is shown, unset it when
704 * src/hildon-app-menu.c
705 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
706 (hildon_app_menu_class_init):
707 Send unhandled keyboard accelerators to the parent window.
709 2008-10-20 Alberto Garcia <agarcia@igalia.com>
711 * src/hildon-stackable-window.c
712 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
714 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
716 * configure.ac: post release version bump
718 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
721 * configure.ac: Bump version
722 * debian/changelog: Updates
723 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
726 2008-10-20 Alberto Garcia <agarcia@igalia.com>
728 Patch contributed by Daniel Borgmann (danielb@openismus.com)
731 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
732 GtkMenu with Hildon style.
734 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
736 * src/hildon-picker-button.c:
737 (hildon_picker_button_set_done_button_text): Set the dialog's
738 done button text here as well.
740 Fixes: NB#90232 (Picker button does not set the label on done button
743 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
745 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
748 2008-10-16 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-app-menu.c (hildon_app_menu_insert)
751 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
752 the HildonAppMenu to be activatable using keyboard accelerators
753 when the menu is not being shown.
755 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
757 2008-10-16 Alberto Garcia <agarcia@igalia.com>
759 * src/hildon-stackable-window.c
760 (hildon_stackable_window_show):
761 Don't hide old windows automatically when new windows are shown:
762 this is now a task for the window manager.
763 (hildon_stackable_window_class_init)
764 (hildon_stackable_window_hide):
765 Remove windows from the stack everytime they're hidden.
766 (hildon_stackable_window_realize):
767 Don't change the _NET_WM_WINDOW_TYPE property. Use
768 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
769 it as a stackable window.
771 * src/hildon-program.c
772 (hildon_program_pop_window_stack):
773 Just hide the window to remove it from the stack.
774 (hildon_program_go_to_root_window):
775 Don't call gtk_widget_show(), this is now a task for the window
778 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
780 2008-10-15 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-button.c
783 (hildon_button_construct_child):
784 Don't pack anything in the button until text or image are
785 set. This allows adding a custom child after creating the button
786 with hildon_button_new().
787 (hildon_button_finalize, hildon_button_class_init)
788 (hildon_button_init, hildon_button_set_arrangement): Destroy the
789 alignment and the label box even when they're not packed in the
792 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
794 * src/hildon-touch-selector.h:
795 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
796 currently the type definition was using GTK_TYPE_VBOX
797 * src/hildon-touch-selector.c:
798 Added some implementation notes in order to clarify that any other widget
799 added without the column related API will not be included on the
800 selection logic, and how the widget is freed, as some people ask about
802 (hildon_touch_selector_remove): Reimplemented in order to free properly
803 the column related data when you remove the private hbox.
804 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
805 to get a proper HildonTouchSelectorColumn documentation
807 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-touch-selector-entry.c:
810 (hildon_touch_selector_entry_print_func): Return NULL if there is no
811 text in the GtkEntry and there is no item selected. Fixes a
814 2008-10-13 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-app-menu-private.h
817 * src/hildon-app-menu.[ch]
818 * src/hildon-button.[ch]
819 * src/hildon-check-button.[ch]
820 * src/hildon-entry.[ch]
821 * src/hildon-pannable-area.[ch]
822 * src/hildon-text-view.[ch]:
823 Added private field to the object's structure.
825 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
827 * configure.ac: post-release version bump
829 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
833 * configure.ac: pre-release version bump
835 * debian/changelog: updates.
837 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
840 Disconnect the handler for HildonTouchSelector::changed.
842 (hildon_picker_button_selector_selection_changed): Update the button
843 value if the selection change was not triggered by the
846 (hildon_picker_button_set_selector): connect to
847 HildonTouchSelector::changed.
849 Fixes: NB#89650 (Picker button is not updated, when selection in
850 selector has changed)
852 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
854 * src/hildon-picker-dialog.c
855 (hildon_picker_dialog_realize): Removed as not required
856 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
857 * src/hildon-picker-button.c
858 (_current_selector_empty): New function, checks if the selector is empty
859 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
860 if the current selector is empty, in order to avoid to show the dialog
861 close the dialog in this case (and shows a g_warning).
863 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
865 2008-10-09 Alejandro G. Castro <alex@igalia.com>
867 * src/hildon-pannable-area.c,
868 (hildon_pannable_area_scroll): Added clause to stop movement when
869 the child of pannable is smaller than one page.
870 (hildon_pannable_area_scroll_to): Added conditions to avoid
871 starting the scrolling movement if the child is smaller than one
872 page, the complete child is in the screen, we do not have to move.
874 Fixes: NB#89632 (Picker button selection doesn't change on first click)
876 2008-10-09 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-app-menu.c: Removed the 'columns' property, as now
879 this is managed automatically by the widget when the size of the
882 2008-10-09 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-picker-button.c
885 (hildon_picker_button_set_done_button_text): Make a copy of the
886 text, and free the previous value.
888 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
890 * src/hildon-touch-selector-entry.c:
891 (hildon_touch_selector_entry_print_func): Return the selected row's
892 text if the entry is empty.
894 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
897 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-touch-selector-entry.c: Minor docs fixes.
901 2008-10-09 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-check-button.h
905 * src/hildon-check-button.c
906 * examples/hildon-check-button-example.c:
907 HildonCheckButton is now a new widget. 'toggled' signal added.
909 2008-10-08 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-program-private.h
912 * src/hildon-program.c (hildon_program_init)
913 (hildon_program_finalize): Removed unused variables group_leader
914 and name from HildonProgramPrivate.
916 2008-10-08 Alberto Garcia <agarcia@igalia.com>
918 * src/hildon-check-button.c (hildon_check_button_set_active)
919 (hildon_check_button_get_active, hildon_check_button_new): Use
920 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
922 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
924 * src/hildon-touch-selector.h
925 (hildon_touch_selector_set_column_attributes): added deprecation
926 guard HILDON_DISABLE_DEPRECATED
927 * src/hildon-time-selector.c
928 (hildon_time_selector_set_time)
929 (hildon_time_selector_get_time): Fixed a typo on documentation
930 * src/hildon-touch-selector.c: update HildonTouchSelector and
931 HildonTouchSelectorColumn documentation
932 * src/hildon-touch-selector-entry.c: update "text-column" property
934 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
935 to be added to the general documentation.
937 2008-10-08 Alejandro G. Castro <alex@igalia.com>
939 * examples/hildon-pannable-area-example-4.c,
941 * examples/hildon-pannable-area-example.c,
942 (main): Modified the code in order to use the container add, with
943 viewport treeviews could have problems if they are really big.
945 2008-10-06 Alejandro G. Castro <alex@igalia.com>
947 * src/hildon-weekday-picker.c,
948 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
949 the agreement regarding deprecation in the library.
951 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
953 * examples/hildon-picker-button-multicolumn-example.c:
954 (main): Use custom "done" button text.
956 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
957 (hildon_picker_button_set_property),
958 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
959 (hildon_picker_button_init),
960 (+hildon_picker_button_get_done_button_text),
961 (+hildon_picker_button_set_done_button_text): New methods to customize
962 the "done" button label in the launched HildonPickerDialog. Also,
965 * src/hildon-picker-button.h: add the public API.
967 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-date-selector.h:
970 * src/hildon-picker-dialog.h:
971 * src/hildon-time-selector.h:
972 * src/hildon-touch-selector-column.h:
973 * src/hildon-touch-selector.h:
975 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
976 declarations. Fixes gtk-doc warnings.
978 2008-10-06 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-picker-dialog.h
981 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
982 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
984 Fixes: NB#89329 (selectors in picker dialog are not visible when a
985 long text is set as label for done button)
987 2008-10-06 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-dialog.c (hildon_dialog_add_button):
990 Set fixed width to all buttons in the HildonDialog.
992 2008-10-06 Alberto Garcia <agarcia@igalia.com>
994 Patch contributed by Daniel Borgmann (danielb@openismus.com)
996 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
997 Set widget name using class name plus "-finger" or "-thumb".
999 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1002 'clicked' when the state of the button is manually changed.
1004 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-app-menu.c (hildon_app_menu_realize)
1007 (hildon_app_menu_unrealize, hildon_app_menu_init)
1008 (hildon_app_menu_class_init, item_visibility_changed):
1009 Change the menu layout when the size of the screen changes.
1010 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1011 Show warning only when changing the number of colums using the
1014 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1016 * debian/compat: Set to 5
1017 * debian/control: Update dependencies.
1018 * debian/libhildon1-dbg.install: Remove.
1019 * debian/libhildon1-dev.install: Update according to cdbs paths.
1020 * debian/libhildon1.install: Update according to cdbs paths.
1021 * debian/rules: Switch to cdbs.
1023 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1026 'item' variable renamed to 'filter'
1028 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-app-menu.c (hildon_app_menu_insert)
1031 (hildon_app_menu_add_filter, remove_item_from_list)
1032 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1033 Don't leak hidden items when the menu is destroyed.
1035 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1037 * src/hildon-app-menu.c (hildon_app_menu_insert)
1038 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1039 (hildon_app_menu_set_columns, item_visibility_changed)
1040 (filter_visibility_changed, hildon_app_menu_repack_filters)
1041 (hildon_app_menu_repack_items):
1042 Repack items and filters separately.
1044 Don't repack all items, change only the ones that are needed to
1047 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1049 * src/Makefile.am: added hildon-touch-selector-column.h
1051 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1053 * src/hildon-touch-selector.c: added the property "text-column" to the
1054 class HildonTouchSelectorColumn, and related get/set functions
1055 (_default_printf_func): updated to use "text-column" property
1056 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1057 "text-column" in his documentation, as this is now included on
1058 HildonTouchSelectorColumn. The get/set_property can still be used,
1059 working as a wrapper to the concrete column "text-column" property
1060 (_text_column_modified): callback added in order to handle the signal
1061 "notify::text-column" of the concrete HildonTouchSelectorColumn
1062 (hildon_touch_selector_entry_get_text_column)
1063 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1064 modified in order to use the HildonTouchSelectorColumn "text-column"
1066 * src/hildon-time-selector.c:
1067 * src/hildon-date-selector.c:
1068 * examples/hildon-touch-selector-example.c
1069 * examples/hildon-touch-selector-multi-cells-example.c
1070 * examples/hildon-picker-button-multicolumn-example.c
1071 Set the right value to "text-column" property on the creation of a new
1072 column using hildon_touch_selector_append_column()
1074 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1076 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-app-menu.c
1079 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1080 updating the layout of the menu, don't create all widgets again,
1081 just repack the items in their new places.
1083 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1085 * src/hildon-time-selector.c
1086 (hildon_time_selector_get_time)
1087 (hildon_time_selector_set_time)
1088 Added documentation of these public methods
1090 * src/hildon-date-button.h
1091 * src/hildon-touch-selector-column.h
1092 * src/hildon-time-button.h
1093 * src/hildon-picker-dialog.h
1094 * src/hildon-time-selector.h
1095 * src/hildon-picker-button.h
1096 * src/hildon-touch-selector.h
1097 * src/hildon-time-picker.h
1098 * src/hildon-date-selector.h
1099 * src/hildon-touch-selector-entry.h
1100 Modified in order to use hildon-widgets code style
1102 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1104 Added deprecated support to the compilation process using
1105 HILDON_DISABLE_DEPRECATED
1107 * configure.ac: Added the --disable-deprecated to the configure
1110 * src/hildon-weekday-picker.c:
1111 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1112 to use the deprecated support. We will update the other deprecated
1113 widgets status in a new patch.
1115 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1117 * configure.ac: Fixed typo with fatal warnings support, the
1118 variable name was not correct
1120 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-app-menu.c
1123 * src/hildon-program.c: Update documentation.
1125 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1127 * configure.ac: Post-release version bump.
1129 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1134 * configure.ac: Pre-release version bump.
1135 * debian/changelog: Updates.
1137 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1139 * NEWS: Update news for previous releases.
1141 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1143 * examples/hildon-touch-selector-multi-cells-example.c:
1144 (create_selector): Update the example to use
1145 hildon_touch_selector_append_column() with a NULL renderer and set
1146 the renderers later.
1147 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1148 passed a NULL renderer. This is documented behavior now.
1150 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1151 This must be used if the developer wants full control on the layout of
1152 the renderers to be added to the column.
1154 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1156 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-touch-selector.c: Documentation fixes.
1160 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1162 * src/hildon-wizard-dialog-private.h: Remove image and box.
1163 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1164 (hildon_wizard_dialog_set_property), (response): Completely remove
1165 image/icon support, and the containers required for the layout.
1167 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1169 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-app-menu.c: Updated documentation.
1173 * src/hildon-stackable-window.c
1174 (hildon_stackable_window_set_main_menu): Unref the old menu after
1175 ref'ing the new one.
1177 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1179 * src/hildon-stackable-window.c
1180 (hildon_stackable_window_set_main_menu): Unref the previous menu
1181 instead of destroying it.
1183 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1184 floating reference and set has_user_ref_count to FALSE to make
1185 HildonAppMenu act like a normal ref-counted widget and not a
1188 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1191 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1193 * src/hildon-touch-selector-column.h: new file
1194 * src/hildon-touch-selector.h
1195 * src/hildon-touch-selector.c
1196 Implemented GtkCellLayout interface, in order to allow to configure
1197 the cell layout on each individual selector column
1198 (hildon_touch_selector_set_column_attributes): marked as deprecated
1199 * examples/hildon-touch-selector-multi-cells-example.c
1200 Example of how to use the GtkCellLayout interface on the selector
1202 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1204 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1206 * src/hildon-app-menu.h
1207 * src/hildon-app-menu.c
1208 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1209 (hildon_app_menu_append, hildon_app_menu_prepend):
1210 New methods to prepend, insert and move items in the menu.
1212 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-wizard-dialog.c:
1216 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1218 (create_title): Update logical IDs and related code.
1219 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1221 * src/hildon-wizard-dialog.h: Note that
1222 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1223 point, as it is not used anymore.
1225 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1227 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1229 * src/hildon-note.c:
1230 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1231 shown. Do not display an icon in confirmation notes nor information
1233 (hildon_note_set_button_text): Update logical ID for cancel button.
1235 Fixes: NB#88850 (Update HildonNote button strings + signals)
1237 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1239 * src/hildon-stackable-window.c
1240 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1242 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-app-menu-private.h
1245 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1246 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1247 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1248 temporary property 'columns' to change the number of columns.
1250 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1252 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1254 * examples/hildon-note-example.c: (on_information_clicked),
1255 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1256 debugging information.
1257 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1259 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1260 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1261 in order to close: this will be handled by the WM from now on.
1263 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1265 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-app-menu-private.h
1268 * src/hildon-app-menu.c
1269 (hildon_app_menu_append, hildon_app_menu_add_filter)
1270 (button_visibility_changed, hildon_app_menu_apply_style)
1271 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1272 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1273 layout everytime a button (item or filter) is shown or hidden.
1275 * src/hildon-stackable-window.c
1276 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1279 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1281 * src/hildon-touch-selector.c:
1282 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1283 that the treeview inside the touch selector is in fremantle hildon mode
1284 * examples/hildon-date-button-example.c
1285 * examples/hildon-picker-button-multicolumn-example.c
1286 * examples/hildon-touch-selector-entry-example.c
1287 * examples/hildon-touch-selector-example.c
1288 * examples/hildon-time-button-example.c
1289 * examples/hildon-picker-button-example.c:
1290 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1292 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1294 * examples/hildon-text-view-example.c: (main): Remove the
1295 gtkrc bits, now handled by the theme.
1297 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1302 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1304 * po/Makefile.am: Install properly the mo files.
1305 * po/en_GB.po: Update translation, to ease testing purposes.
1307 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1309 * examples/hildon-picker-button-example.c: (main): Select an item
1310 in the selector before setting it to the button.
1312 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1314 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1315 Update button's value if the selector has an item active.
1317 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1318 'value' with the selector)
1320 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1322 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1323 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1324 (hildon_picker_button_class_init): Plug the finalize method.
1325 (hildon_picker_button_set_selector): If there's a previously set
1326 selector, unref'it before setting a new one.
1328 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1329 HildonTouchSelector)
1331 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-touch-selector-entry.c:
1334 (hildon_touch_selector_entry_changed): Check if there is no text
1335 selected before setting the entry text.
1338 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-touch-selector.h
1341 * src/hildon-touch-selector.c
1342 (hildon_touch_selector_get_active)
1343 (hildon_touch_selector_set_active): New methods to set/get the
1344 index of the selected item.
1346 * src/hildon-picker-button.h
1347 * src/hildon-picker-button.c
1348 (hildon_picker_button_get_active)
1349 (hildon_picker_button_set_active): New methods to set/get the
1350 index of the selected item.
1352 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1354 * configure.ac: post-release version bump.
1356 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1360 * configure.ac: Pre-release version bump.
1361 * debian/changelog: Updates.
1362 * debian/control: Add myself as maintainer and depend on l10n
1365 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-window.c
1368 (hildon_window_set_main_menu)
1369 * src/hildon-stackable-window.c
1370 (hildon_stackable_window_set_main_menu):
1371 Updated documentation.
1373 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1376 Don't free selector->priv manually.
1379 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1382 (hildon_gtk_window_set_progress_indicator):
1383 * src/hildon-gtk.h: Added the new API
1384 hildon_gtk_window_set_progress_indicator, it changes the state of
1385 the window progress hint.
1387 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1389 * src/hildon-button.c
1390 * src/hildon-stackable-window.c: Minor documentation updates.
1392 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1394 * src/hildon-stackable-window.c: Updated documentation.
1396 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-defines.h: Update margins definitions
1399 to the Fremantle sizes.
1402 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1404 * src/hildon-touch-selector.c,
1405 (_hildon_touch_selector_set_model): Cleaning the code after
1406 review, removed g_print and #if 0 from the code.
1408 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-edit-toolbar.c: Update documentation.
1412 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-check-button.h
1415 * src/hildon-check-button.c
1416 (hildon_check_button_set_label, hildon_check_button_get_label)
1417 * examples/hildon-check-button-example.c
1418 (button_clicked_cb):
1419 Removed deprecated methods.
1421 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1423 * src/hildon-text-view.c:
1424 Add sample code to the documentation.
1426 * src/hildon-entry.h
1427 * src/hildon-text-view.h:
1428 Minor cosmetic changes.
1430 * src/hildon-entry.c:
1431 Add sample code to the documentation.
1432 (hildon_entry_init, hildon_entry_refresh_contents):
1433 Don't allow NULL values in the placeholder.
1435 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1437 * doc/hildon-docs.sgml
1439 * examples/Makefile.am
1440 * examples/hildon-text-view-example.c
1442 * src/hildon-text-view.c
1443 * src/hildon-text-view.h
1445 New HildonTextView widget, with example.
1447 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1449 * po/POTFILES.in: Add missing files with translatable strings.
1450 Partially fixes NB#88287.
1452 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1454 * examples/hildon-pannable-area-example-2.c: (main): No need to
1455 set the cellrenderer height inside hildon touch lists, the theme does
1458 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1460 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1461 they are integrated in the theme.
1463 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1465 * examples/hildon-entry-example.c: Update the example adding
1466 widgets to modify the text and the placeholder of the HildonEntry.
1468 * src/hildon-entry.c: Show the placeholder everytime the widget
1469 is empty and loses the focus.
1471 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1473 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1475 * src/hildon-pannable-area.c,
1476 (hildon_pannable_area_size_request): Fixed bug in height
1477 requisition, avoid increasing size and add border twice.
1479 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1481 * configure.ac: postrelease version bump.
1483 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: Prerelease version bump.
1488 * debian/changelog: update.
1489 * debian/rules: make -dbg package contain useful debugging symbols.
1491 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-dialog.h
1494 * src/hildon-dialog.c
1495 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1496 New methods to add buttons with finger size.
1497 (hildon_dialog_new_with_buttons):
1498 Create buttons with finger size.
1500 * examples/hildon-dialog-example.c (main): Use HildonDialog
1501 methods to add buttons.
1503 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-entry.c: Updated HildonButton documentation.
1507 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1510 button value label with (FALSE, FALSE) to prevent NB#88126 from
1513 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1515 * examples/hildon-pannable-area-example.c,
1516 (main): Removed examples panning a vbox inside a pannable
1517 area. Check bug NB#87965
1519 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1521 Patch contributed by Kris Rietveld (kris@imendio.com)
1523 * src/hildon-pannable-area.c,
1524 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1525 get_size and get_position, this saves an X server roundtrip.
1527 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1529 * doc/hildon-docs.sgml
1531 * examples/Makefile.am
1532 * examples/hildon-entry-example.c
1534 * src/hildon-entry.c
1535 * src/hildon-entry.h
1537 New HildonEntry widget, with example.
1539 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-button.c (hildon_button_construct_child): Pack the
1542 image with expand == fill == FALSE. This is a workaround for a bug
1545 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1547 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1548 labels for the text column, to make it more look more dynamic.
1550 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1552 * src/hildon-time-selector.c
1553 Define gettext auxiliar macro N_
1554 (_create_minutes_model)
1555 (_create_hours_model)
1556 (_create_ampm_model): use of strftime in order to fill the model
1557 * src/hildon-date-selector.c
1558 (hildon_date_selector_finalize):
1559 (_locales_init): remove the logic related to get the name of the months
1560 using nl_langinfo, as it is not required anymore
1562 (_create_year_model)
1563 (_create_month_model)
1564 (_update_day_model): use of strftime in order to fill the model properly
1567 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-button.h
1570 * src/hildon-button.c (hildon_button_get_image): New method to
1573 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1575 * src/hildon-touch-selector.c:
1576 (hildon_touch_selector_remove_column): Remove from the correct parent
1577 and also remove the list element and free it.
1580 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1582 * src/hildon-time-selector.c
1583 (_create_hours_model): change the range on 12h ampm format in order to use
1584 a 12-11 range instead of previous 01-12 range
1585 (hildon_time_selector_set_time): change the way to select the current time
1586 on 12h ampm format, due the change on the range
1587 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1590 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1592 * src/hildon-touch-selector.c
1593 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1594 in order to allow use this function on multiple row selection mode if
1595 the column is different that the first one
1598 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1600 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1601 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1603 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1605 * src/hildon-date-selector.h: clean some comments, now on the .c
1606 * src/hildon-date-selector.c
1607 (hildon_date_selector_select_month): first implementation
1608 (hildon_date_selector_select_day): added documentation, reimplemented
1609 using hildon_date_selector_select_current_date to avoid repeat code
1612 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1614 Reviewed interaction logic based on device experiences, refactored
1617 * src/hildon-pannable-area.c,
1618 (hildon_pannable_area_class_init): Updated default vmax speed.
1619 (hildon_pannable_area_calculate_velocity): Added this function, it
1620 avoids duplicate valocity calculation. Adjusted calculation to
1621 avoid problems with zero dist events.
1623 (hildon_pannable_area_motion_notify_cb): Now we use the
1624 calculate_velocity function.
1626 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1628 * src/hildon-date-selector.c
1629 (hildon_date_selector_select_current_date): fix the day range check
1630 as it failed using the last day of the current month
1633 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1635 * src/hildon-touch-selector.c
1636 (hildon_touch_selector_get_num_columns): added a parameter validation
1639 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1641 * examples/Makefile.am
1642 * examples/hildon-edit-toolbar-example.c: Example of the
1643 HildonEditToolbar widget.
1645 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1647 * configure.ac: postrelease version bump.
1649 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1653 * configure.ac: prerelease version bump.
1654 * debian/changelog: update.
1656 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1658 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1659 renderer to display stock icons in the touch list. Also, set the sizes
1660 to the recommended in the style guide.
1662 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1663 * src/hildon-touch-selector.h
1664 (hildon_touch_selector_set_active_iter): renamed, now is
1665 hildon_touch_selector_select_iter
1666 (hildon_touch_selector_get_active_iter): renamed, now is
1667 hildon_touch_selector_get_selected
1668 (hildon_touch_selector_unselect_iter): added
1669 * src/hildon-touch-selector.c
1670 Update after API modification (methods renamed)
1671 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1672 order to avoid problems selecting multiple elements on the column
1673 (hildon_touch_selector_unselect_iter): added the implementation
1674 * src/hildon-time-selector.c
1675 * src/hildon-date-selector.c
1676 * src/hildon-touch-selector-entry.c
1677 Update methods calls after hildon-touch-selector.h API modification (methods
1680 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-stackable-window.c
1683 (hildon_stackable_window_finalize): Call the parent class's finalize.
1685 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1687 * examples/hildon-touch-selector-example.c: (create_selector): Use
1688 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1691 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1693 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1694 set a cell background color, to respect theming.
1696 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1698 * doc/hildon-docs.sgml
1701 * src/hildon-edit-toolbar.c
1702 * src/hildon-edit-toolbar.h
1703 * src/hildon.h: New HildonEditToolbar widget.
1705 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1707 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1710 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1711 * src/hildon-touch-selector.c
1712 (_create_new_column): use g_object_set instead of two g_object_set_property
1714 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-touch-selector.c
1716 (_create_new_column): use of hildon_gtk_tree_view_new to create
1717 the treeview, instead of use directly g_object_new
1718 (_create_new_column): update the property name "vindicator-mode" for the
1719 new one "vscrollbar-policy"
1720 * examples/hildon-date-button-example.c
1721 * examples/hildon-picker-button-multicolumn-example.c
1722 * examples/hildon-touch-selector-entry-example.c
1723 * examples/hildon-touch-selector-example.c
1724 * examples/hildon-time-button-example.c
1725 * examples/hildon-picker-button-example.c
1726 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1727 to all the treeviews inside a pannable area.
1729 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1731 * src/hildon-button.h
1732 * src/hildon-button.c (hildon_button_init)
1733 (hildon_button_set_arrangement, hildon_button_set_alignment)
1734 (hildon_button_set_title_alignment)
1735 (hildon_button_set_value_alignment)
1736 (hildon_button_set_image_alignment)
1737 (hildon_button_construct_child): New methods to set the alignment
1738 of the individual components of the button (title, value,
1739 image). Also, new method to alter the xscale and yscale properties
1740 of the GtkAlignment inside the button, so more complex layouts can
1743 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1745 * src/hildon-button.c (hildon_button_style_set)
1746 (hildon_button_class_init, hildon_button_set_arrangement)
1747 (hildon_button_construct_child): Apply style properties
1748 correctly. Use the 'image-spacing' style property too.
1750 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1753 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1756 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1758 * src/hildon-pannable-area.c,
1759 (hildon_pannable_area_size_request): Fixed problem with
1760 pannable-area size_request.
1762 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1764 Added management for the grab-focus to a child widget, like a
1765 range, we need to fade out the scrollbar when releasing.
1767 * src/hildon-pannable-area.c,
1768 (hildon_pannable_area_init): Connected the grab-focus signal to
1770 (hildon_pannable_area_grab_notify): Added this function in order
1771 to manage the situation when the grab-focus ends. We have to
1772 fade-out the scrollbar.
1774 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1776 * src/hildon-app-menu.c: Minor documentation update.
1778 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-app-menu.c
1781 * examples/hildon-app-menu-example.c (create_menu): Update
1782 examples and documentation to explain how to connect callbacks.
1784 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1786 * examples/hildon-button-example.c
1787 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1788 hildon_stackable_window_new instead of gtk_window_new
1790 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1792 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1793 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1794 (hildon_pannable_area_set_property),
1795 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1796 (hildon_pannable_area_unrealize),
1797 (hildon_pannable_area_size_request),
1798 (hildon_pannable_area_size_allocate),
1799 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1800 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1801 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1802 (hildon_pannable_area_initial_effect),
1803 (hildon_pannable_area_redraw),
1804 (hildon_pannable_area_scroll_indicator_fade),
1805 (hildon_pannable_area_expose_event),
1806 (hildon_pannable_area_get_topmost), (synth_crossing),
1807 (hildon_pannable_area_button_press_cb),
1808 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1809 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1810 (hildon_pannable_area_motion_notify_cb),
1811 (hildon_pannable_area_button_release_cb),
1812 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1813 (hildon_pannable_area_remove),
1814 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1815 chage the code layout to a more GtkWidget like. Review the use of
1818 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1820 * examples/hildon-pannable-area-example-4.c,
1821 (main): Modified the name of the hindicator_mode to
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_class_init),
1826 (hildon_pannable_area_motion_notify_cb),
1827 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1828 we have reduced the amount of signals and managed reviewed its
1829 rationale. Changed the default decelerate value.
1831 (hildon_pannable_area_add),
1832 (hildon_pannable_area_redraw): Refactored functions.
1834 (hildon_pannable_area_init),
1835 (hildon_pannable_area_get_property),
1836 (hildon_pannable_area_set_property):
1837 (hildon_pannable_draw_vscroll),
1838 (hildon_pannable_draw_hscroll),
1839 (hildon_pannable_area_initial_effect),
1840 (hildon_pannable_area_expose_event),
1841 (hildon_pannable_area_scroll),
1842 (hildon_pannable_area_button_press_cb),
1843 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1844 and vindicator_mode with hscrollbar_policy and
1845 vscrollbar_policy. Replaced hscroll and vscroll with
1846 hscroll_visible and vscroll_visible.
1848 (hildon_pannable_area_refresh): Refactor the function, remove
1849 variables and check the calls to this function, added resize
1850 conditions in case the children change their layout.
1852 (hildon_pannable_area_size_request): Added more detailed
1853 size_request calculation.
1856 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1858 * src/hildon-color-chooser.c
1859 (init_borders): use the correct gtk_border_free instead of g_free, to
1860 avoid a crash when this widget is used (ie: the three color selection
1863 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1865 * src/hildon-check-button.c,
1866 (hildon_check_button_set_active): Fixed problem when setting the
1867 active value, the widget was not redrawn.
1869 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_refresh),
1873 (hildon_pannable_area_scroll),
1874 (hildon_pannable_area_motion_notify_cb): Small code style change.
1876 (hildon_pannable_area_class_init): Default initial_hint set to
1877 FALSE, it is not in the specs.
1879 (hildon_pannable_area_initial_effect),
1880 (hildon_pannable_area_expose_event),
1881 (hildon_pannable_area_map),
1882 (hildon_pannable_area_init): Moved the launching point of the
1883 initial effect, it was in map but the sizes where not correct in
1884 that method so we do not know if we have the reproduce it. Now it
1885 is placed in the expose_event method and uses a variable to
1886 reproduce it just once.
1888 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1890 * src/hildon-pannable-area.c,
1891 (hildon_pannable_draw_vscroll),
1892 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1893 position allowed for the scrollbars.
1895 (hildon_pannable_area_size_allocate): Small style change.
1897 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-pannable-area.c,
1900 (hildon_pannable_area_scroll_indicator_fade),
1901 (hildon_pannable_area_button_press_cb),
1902 (hildon_pannable_area_button_release_cb),
1903 (hildon_pannable_area_scroll_cb),
1904 (hildon_pannable_area_expose_event),
1905 (hildon_pannable_area_init): Added the define parameter
1906 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1907 and refactor the fade variable.
1909 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_redraw),
1913 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1914 lines, we were reimplemeting the redraw code.
1916 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1918 * src/hildon-pannable-area.c,
1919 (hildon_pannable_area_scroll_cb),
1920 (hildon_pannable_area_realize),
1921 (hildon_pannable_area_class_init): Added scroll_event management
1922 for pannable area, now we can scroll the usual desktop method.
1924 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1925 initialization of the parameters should depend on idle_id.
1927 (hildon_pannable_area_init),
1928 (hildon_pannable_area_map): Small code style modifications
1930 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-pannable-area.c
1933 (hildon_pannable_area_button_press_cb),
1934 (hildon_pannable_area_motion_notify_cb),
1935 (hildon_pannable_area_button_release_cb),
1936 (hildon_pannable_area_size_allocate),
1937 (hildon_pannable_area_scroll_to): Improved the timeouts
1938 management, we avoid creating them each time.
1940 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1942 * src/hildon-pannable-area.c:
1943 (hildon_pannable_area_refresh),
1944 (hildon_pannable_area_motion_notify_cb),
1945 (hildon_pannable_area_class_init):
1946 * src/hildon-pannable-area.h:
1947 * src/hildon-touch-selector.c
1948 (_create_new_column):
1949 * examples/hildon-pannable-area-example-4.c:
1950 (horizontal_movement),
1951 (vertical_movement),
1953 Replaced the names of enums in the HildonPannableArea:
1954 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1955 HILDON_MOVEMENT_MODE_*
1956 - HILDON_PANNABLE_AREA_MOV_* ->
1958 - Removed HildonPannableAreaIndicatorMode, now we
1961 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1963 * examples/hildon-pannable-area-touch-grid-example.c
1964 * examples/hildon-pannable-area-touch-list-example.c: Fix
1965 compilation warnings.
1967 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-gtk.c (hildon_gtk_button_new)
1970 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1971 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1972 images overriding the value of the "gtk-button-images" setting.
1974 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-check-button.c (hildon_check_button_new):
1977 Instead of using a custom container, display the label and the
1978 checkbox using the standard GtkButton API.
1980 * examples/hildon-check-button-example.c (main): Don't use
1981 hildon_check_button_set_label() anymore
1983 * src/hildon-check-button.h
1984 * src/hildon-check-button.c
1985 (hildon_check_button_set_label, hildon_check_button_get_label):
1986 Set as deprecated, now we're using gtk_button_{get,set}_label()
1988 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-pannable-area.c,
1991 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1992 GtkTreeview first line we detected it after the inclusion of the
1993 GtkWindowImpl in gtk+. We now check if the window is visible, not
1994 just if the pointer is over the window.
1995 (hildon_pannable_axis_scroll),
1996 (hildon_pannable_area_expose_event): Small style changes.
1998 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2000 * src/hildon-button.c: Update documentation.
2002 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2004 * examples/hildon-button-example.c: Add a switch to show images in
2007 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2009 * doc/hildon-docs.sgml: Some docs reorganization.
2011 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2013 * examples/hildon-pannable-area-touch-list-example.c
2015 * examples/hildon-pannable-area-touch-grid-example.c
2016 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2017 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2018 Fix memory leak when setting the tree model.
2020 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2024 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2026 * doc/hildon.types: Remove duplicated hildon_window_get_type
2027 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2028 documentation comment.
2030 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2032 * doc/Makefile.am: Complete list of private headers.
2034 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2036 * doc/hildon-docs.sgml
2037 * src/hildon-app-menu.c
2038 * src/hildon-bread-crumb.c
2039 * src/hildon-button.c
2041 * src/hildon-program.c
2042 * src/hildon-stackable-window.c
2043 * src/hildon-window.c: Lots of documentation updates.
2045 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2047 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2049 * configure.ac: Require Gtk+ 2.12.9 at least
2051 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-pannable-area.c
2054 (hildon_pannable_area_scroll_indicator_fade),
2055 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2056 to protect the return of this timeout callbacks, avoiding deadlocks.
2058 2008-08-12 Christian Dywan <christian@imendio.com>
2061 * src/hildon-*.h: Ensure a consistent include order,
2062 include <gtk/gtk.h> instead of particular files and
2063 only include the topmost header in the gtk stack. See NB #39857
2065 2008-08-12 Christian Dywan <christian@imendio.com>
2067 * src/hildon-picker-dialog.c
2068 * src/hildon-touch-selector.c: Fix warnings about unused and
2069 uninitialized variables.
2071 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2073 * examples/Makefile.am
2074 * examples/hildon-check-button-example.c: Example of the hildon
2077 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-window.h
2080 * src/hildon-window.c (hildon_window_class_init)
2081 (hildon_window_unset_program): Don't make
2082 hildon_window_unset_program a virtual function anymore.
2084 * src/hildon-stackable-window.c: Update documentation
2086 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2089 * doc/hildon-docs.sgml
2090 * doc/visual_index.xml
2091 * src/hildon-defines.c
2093 * src/hildon-helper.c
2094 * src/hildon-range-editor.c: Lots of documentation fixes.
2096 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2098 * examples/hildon-picker-button-multicolumn-example.c
2099 (create_touch_selector): Fix compilation warning.
2101 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2104 (hildon_pannable_area_button_release_cb)
2105 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2107 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2112 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2114 * src/hildon-bread-crumb-trail.h
2115 * src/hildon-date-editor.c
2116 * src/hildon-date-selector.c
2117 * src/hildon-pannable-area.c
2118 * src/hildon-picker-dialog.c
2119 * src/hildon-time-selector.c
2120 * src/hildon-touch-selector-entry.c
2121 * src/hildon-touch-selector.c
2122 * src/hildon-touch-selector.h: Misc documentation fixes
2124 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2126 * examples/hildon-date-editor-example.c (main): Updated date
2129 * examples/hildon-note-example.c (on_confirmation_clicked):
2130 Updated confirmation note example.
2132 * src/hildon-date-editor.c
2133 * src/hildon-note.c: Updated sample programs in documentation.
2136 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-date-button.h:
2139 * src/hildon-picker-button.h:
2140 * src/hildon-time-button.c:
2141 * src/hildon-time-button.h:
2143 Some declarations changes to allow gtk-doc to document the widgets
2146 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2148 * src/hildon-date-button.c: Document the widget.
2149 * src/hildon-time-button.c: Document the widget.
2151 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-picker-button.c: Document the widget.
2154 * src/hildon-touch-selector-entry.c: Document the widget.
2156 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2158 * doc/hildon-docs.sgml
2161 * src/hildon-check-button.h
2162 * src/hildon-check-button.c: New functions to create the Hildon
2166 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2168 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-button.h
2171 * src/hildon-button.c
2172 (hildon_button_add_title_size_group)
2173 (hildon_button_add_value_size_group)
2174 (hildon_button_add_image_size_group)
2175 (hildon_button_add_size_groups): New functions to set size groups
2176 for the button labels and image.
2177 (hildon_button_new_full): Removed
2179 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2181 * src/hildon-time-selector.c
2182 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2183 in order to avoid a crash if gconf is not available
2185 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-button.c (hildon_button_set_arrangement)
2188 (hildon_button_construct_child): Don't construct the button child
2189 before setting the arrangement.
2191 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-program-private.h
2194 * src/hildon-program.c
2195 * src/hildon-program.h
2196 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2197 (hildon_program_peek_window_stack)
2198 (hildon_program_pop_window_stack)
2199 (hildon_program_go_to_root_window): HildonProgram now has a
2200 separate list for stackable windows. Functions are provided to
2201 manage that list with a stack-like API.
2203 * src/hildon-stackable-window.c: Stackable window management is
2204 now much simpler with the new HildonProgram API. Windows no
2205 longer need to be manually added to the program, they're
2206 automatically pushed to the top of the stack when shown.
2208 * examples/hildon-stackable-window-example.c: Updated example to
2209 reflect the API changes.
2211 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-touch-selector.c: Comment out unimplemented
2214 hildon_touch_selector_insert_column() to avoid a compile warning.
2216 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2219 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2220 (hildon_touch_selector_set_column_selection_mode),
2221 (_hildon_touch_selector_set_model),
2222 (hildon_touch_selector_set_model):
2224 Complete review of HildonTouchSelector documentation.
2226 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2228 * doc/hildon-docs.sgml
2232 * src/hildon-gtk.c: Convenience functions for standard Gtk
2233 widgets, used to easily perform frequent operations.
2235 * src/hildon-button-helpers.h
2236 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2238 * src/hildon-helper.h
2239 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2240 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2242 * src/hildon-button.h
2243 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2245 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-button.c (hildon_button_init)
2248 (hildon_button_set_arrangement, hildon_button_construct_child):
2249 Pack the image and the labels inside the same GtkAlignment so
2250 gtk_button_set_alignment() can be used
2252 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-button.h
2255 * src/hildon-button.c
2256 (hildon_button_init, hildon_button_set_image)
2257 (hildon_button_set_image_position)
2258 (hildon_button_construct_child): New functions to add an image to
2261 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-date-button.c
2264 * src/hildon-picker-button.c
2265 * src/hildon-time-button.c
2266 * src/hildon-button.c:
2267 (hildon_button_class_init): "size-flags" renamed to "size"
2268 (hildon_button_set_title): Hide the title label if set to NULL.
2270 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2272 HildonButtonFlags split into HildonButtonArrangement (to set the
2273 button layout) and HildonSizeType (which can be used for any
2276 * src/hildon-button.h
2277 * src/hildon-button.c
2278 (hildon_button_class_init)
2279 (hildon_button_set_arrangement)
2280 (hildon_button_set_property): New "size-flags"
2281 property. "arrangement-flags" renamed to "arrangement".
2282 (hildon_button_new, hildon_button_new_with_text)
2283 (hildon_button_new_full): Constructors updated to reflect type changes.
2285 * src/hildon-helper.h
2286 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2287 to set the size of a widget.
2291 * src/hildon-button-helpers.c
2292 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2294 * src/hildon-date-button.c
2295 * src/hildon-date-button.h
2296 * src/hildon-picker-button.c
2297 * src/hildon-picker-button.h
2298 * src/hildon-time-button.c
2299 * src/hildon-time-button.h: Updated widgets to reflect
2300 HildonButton API changes.
2302 * examples/hildon-button-example.c
2303 * examples/hildon-date-button-example.c
2304 * examples/hildon-picker-button-example.c
2305 * examples/hildon-picker-button-multicolumn-example.c
2306 * examples/hildon-time-button-example.c
2307 * examples/hildon-touch-selector-entry-example.c
2308 * examples/hildon-touch-selector-example.c: Updated examples to
2309 reflect HildonButton API changes.
2311 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2313 * doc/hildon-docs.sgml:
2315 * examples/Makefile.am:
2316 * examples/hildon-touch-selector-entry-example.c:
2318 * src/hildon-touch-selector-entry.c:
2319 * src/hildon-touch-selector-entry.h:
2322 Moved HildonTouchSelectorEntry from sandbox. Added its
2323 documentation and examples.
2325 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-touch-selector.h:
2328 * examples/hildon-picker-button-multicolumn-example.c:
2329 (hildon_touch_selector_append_text_column): Add a gboolean
2330 parameter to determine if text must be centered in the column.
2332 * src/hildon-date-selector.c: (hildon_date_selector_init):
2333 * src/hildon-time-selector.c: (hildon_time_selector_init):
2334 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2335 (create_touch_selector): Update widgets and example to reflect
2338 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-touch-selector.c:
2341 (hildon_touch_selector_set_active_iter): Set also the cursor in
2344 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2346 * doc/hildon-docs.sgml
2349 * src/hildon-toggle-button.c
2350 * src/hildon-toggle-button.h
2351 * src/hildon.h: Removed HildonToggleButton widget, a derived
2352 class is not necessary for this.
2354 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2356 * src/hildon-pannable-area.c,
2357 (hildon_pannable_area_realize),
2358 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2361 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2364 "done" button the default widget for the dialog.
2366 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-touch-selector.c:
2369 (hildon_touch_selector_class_init),
2370 (hildon_touch_selector_get_property),
2371 (_hildon_touch_selector_set_model),
2372 (_hildon_touch_selector_has_multiple_selection),
2373 (hildon_touch_selector_has_multiple_selection):
2374 Add a "has-multiple-selection" property with a virtual
2375 has_multiple_selection() method to allow derived classes to
2376 override the default value for it. See the method and property
2377 documentation for details.
2379 * src/hildon-touch-selector.h: Add the new API.
2381 * src/hildon-picker-dialog.c: (requires_done_button): Call
2382 hildon_touch_selector_has_multiple_selection() instead of
2383 determining the need for a button itself.
2385 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2388 (_hildon_touch_selector_set_model),
2389 (hildon_touch_selector_set_model): Move working code to
2390 _hildon_touch_selector_set_mode(). Call the class method instead.
2392 * src/hildon-touch-selector.h: Add (*set_model) to
2393 HildonTouchSelectorClass.
2395 Make hildon_touch_selector_set_model() a virtual method, so that
2396 derived classes can extend it and do fancy stuff with the model.
2398 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: Set back the tarname in AC_INIT to hildon.
2402 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2406 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2407 instead of libesd (NB#86876). Volume handling is still an open issue.
2409 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2412 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2415 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2416 derived class to ease placement of an entry widget in
2417 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2418 end, where the selector columns are packed now.
2420 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-picker-button.c: Removed the simple _text() API.
2423 * src/hildon-picker-button.h: Likewise.
2425 * src/hildon-touch-selector.h:
2426 * src/hildon-touch-selector.c:
2427 (hildon_touch_selector_new_text),
2428 (hildon_touch_selector_append_text),
2429 (hildon_touch_selector_prepend_text),
2430 (hildon_touch_selector_insert_text):
2432 Moved the simple _text() API from HildonPickerButton to
2433 HildonTouchPicker, to provide better escalability and not to tie
2434 that API to HildonPickerButton.
2436 * examples/hildon-picker-button-example.c: (main): Example updated.
2438 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2440 * src/hildon-button.c: Updated documentation.
2442 * examples/hildon-button-example.c: Add the posibility to create
2443 the buttons using horizontal layout for title and value.
2445 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-app-menu-private.h
2448 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2449 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2450 GtkSizeGroup for the filters, use the 'homogeneous' property of
2453 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2455 * examples/hildon-button-example.c: Updated example.
2457 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2459 * doc/hildon-docs.sgml:
2462 Update documentation.
2464 * examples/Makefile.am: Update renamed examples.
2466 * examples/hildon-picker-button-multicolumn-example.c:
2467 (create_touch_selector), (main): Update after the rename.
2469 * examples/hildon-touch-picker-example.c: Removed.
2470 * examples/hildon-touch-selector-example.c: (value_changed),
2471 (create_selector), (get_visible_content), (main): Renamed from
2472 hildon-touch-picker-example.c
2474 * src/Makefile.am: Updated renamed files.
2476 * src/hildon-date-button.c: (hildon_date_button_init),
2477 (hildon_date_button_get_date), (hildon_date_button_set_date):
2478 * src/hildon-date-selector.c: (hildon_date_selector_init),
2479 (_custom_print_func), (_update_day_model),
2480 (_manage_selector_change_cb),
2481 (hildon_date_selector_select_current_date),
2482 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2483 * src/hildon-date-selector.h:
2484 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2485 (hildon_picker_button_set_property),
2486 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2487 (hildon_picker_button_init), (hildon_picker_button_new_text),
2488 (hildon_picker_button_append_text),
2489 (hildon_picker_button_prepend_text),
2490 (hildon_picker_button_insert_text),
2491 (hildon_picker_button_set_selector),
2492 (hildon_picker_button_get_selector):
2493 * src/hildon-picker-button.h:
2494 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2495 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2496 (_update_title_on_selector_changed_cb), (requires_done_button),
2497 (_hildon_picker_dialog_set_selector),
2498 (hildon_picker_dialog_set_selector),
2499 (hildon_picker_dialog_get_selector):
2500 * src/hildon-picker-dialog.h:
2501 * src/hildon-time-button.c: (hildon_time_button_init),
2502 (hildon_time_button_get_time), (hildon_time_button_set_time):
2503 * src/hildon-time-selector.c: (hildon_time_selector_init),
2504 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2505 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2506 * src/hildon-time-selector.h:
2509 Massive code updates after the rename.
2511 * src/hildon-touch-picker.c: Removed.
2512 * src/hildon-touch-picker.h: Removed.
2514 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2515 (hildon_touch_selector_init), (hildon_touch_selector_map),
2516 (hildon_touch_selector_remove), (_default_print_func),
2517 (_selection_changed_cb), (_create_new_column),
2518 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2519 (hildon_touch_selector_append_text_column),
2520 (hildon_touch_selector_remove_column),
2521 (hildon_touch_selector_set_column_attributes),
2522 (hildon_touch_selector_insert_column),
2523 (hildon_touch_selector_get_num_columns),
2524 (hildon_touch_selector_get_column_selection_mode),
2525 (hildon_touch_selector_set_column_selection_mode),
2526 (hildon_touch_selector_set_print_func),
2527 (hildon_touch_selector_get_print_func),
2528 (hildon_touch_selector_get_active_iter),
2529 (hildon_touch_selector_set_active_iter),
2530 (hildon_touch_selector_get_selected_rows),
2531 (hildon_touch_selector_get_model),
2532 (hildon_touch_selector_set_model),
2533 (hildon_touch_selector_get_current_text),
2534 (_hildon_touch_selector_center_on_selected_items):
2535 * src/hildon-touch-selector.h: Renamed from
2536 hildon-touch-picker.[ch]
2538 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2539 references, code examples, and related documentation.
2541 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2543 * doc/hildon-docs.sgml
2546 * src/hildon-toggle-button.c
2547 * src/hildon-toggle-button.h
2548 * src/hildon.h: New HildonToggleButton widget.
2550 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-button.c: Add API documentation.
2553 (hildon_button_set_size_groups): Check input parameters
2555 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2557 * src/hildon-pannable-area.c
2558 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2559 effect after reaching the movement thredshold. This way we start
2560 using the distance after passing the thredshold.
2562 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-button.c: (hildon_button_set_property): Use the
2565 appropriate g_value_get_flags() method.
2567 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2569 * doc/hildon-docs.sgml:
2572 Add the touch pickers, picker dialogs, and picker button widgets
2573 to the documentation.
2575 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-button.c: (hildon_button_set_property),
2578 (hildon_button_class_init): Make "arrangement-flags" a proper
2579 G_TYPE_FLAGS derived property.
2581 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2583 * examples/Makefile.am: Add below examples.
2584 * examples/hildon-date-button-example.c:
2585 * examples/hildon-picker-button-example.c:
2586 * examples/hildon-picker-button-multicolumn-example.c:
2587 * examples/hildon-time-button-example.c:
2588 * examples/hildon-touch-picker-example.c:
2590 Add examples for the recently added touch pickers,
2591 picker dialogs, and picker button widgets.
2593 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-button.c: Add some API documentation
2597 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-button.h
2600 * src/hildon-button.c
2602 (hildon_button_new_with_text): New constructor to create a button
2603 with no text at all.
2604 (hildon_button_init, hildon_button_set_arrangement)
2605 (hildon_button_set_title, hildon_button_set_value)
2606 (hildon_button_set_text)
2607 (hildon_button_construct_child): Hide the value when it's not used
2608 so the rest of the text is properly aligned.
2609 Allow creating buttons with arbitrary widgets inside (not just
2610 title/value labels).
2612 * examples/hildon-button-example.c (vertical_buttons_window)
2613 (horizontal_buttons_window): Update example to use new API.
2615 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2617 * src/Makefile.am: Added HildonTimeButton.
2618 * src/hildon-time-button.c: Added missing LGPL header.
2619 * src/hildon-time-button.h: Added missing LGPL header.
2620 * src/hildon.h: Add hildon-time-button.h
2622 Copied HildonTimeButton from sandbox to trunk. Future work on this
2623 widget must take place in trunk.
2625 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2627 * src/Makefile.am: Added HildonDateButton.
2628 * src/hildon-date-button.c: Update includes.
2629 * src/hildon.h: Add hildon-date-button.h
2631 Copied HildonDateButton from sandbox to trunk. Future work on this
2632 widget must take place in trunk.
2634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/Makefile.am: Added HildonPickerButton.
2637 * src/hildon-picker-button.h: Update includes.
2638 * src/hildon.h: Add hildon-picker-button.h
2640 Copied HildonPickerButton from sandbox to trunk. Future work on
2641 this widget must take place in trunk.
2643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/Makefile.am: Added HildonPickerDialog.
2646 * src/hildon-picker-dialog.c: Update includes.
2647 * src/hildon.h: Add hildon-picker-dialog.h
2649 Copied HildonPickerDialog from sandbox to trunk. Future work
2650 on this widget must take place in trunk.
2652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/Makefile.am: Added HildonTimeSelector.
2655 * src/hildon.h: Add hildon-time-selector.h
2657 Copied HildonTimeSelector widget from sandbox to trunk. Future
2658 work on this widget must happen in trunk.
2660 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/Makefile.am: Added HildonDateSelector.
2663 * src/hildon.h: Add hildon-date-selector.h
2665 Copied HildonDateSelector widget from sandbox to trunk. Future
2666 work on this widget must happen in trunk.
2668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2670 * src/Makefile.am: Added HildonTouchPicker.
2671 * src/hildon-touch-picker.c: Update includes.
2672 * src/hildon.h: Add hildon-touch-picker.h
2674 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2675 on this widget must happen in trunk.
2677 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-pannable-area.c:
2680 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2682 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2684 * examples/hildon-app-menu-example.c (main): Let the window
2687 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2689 * src/hildon-pannable-area.c
2690 (hildon_pannable_area_class_init): Set the min value of the
2691 overshoot properties to zero, which points out that not
2692 overshooting allowed.
2694 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2696 Modified the procedure to get the widget at a point inside the
2697 pannable area when using the movement type signals. Now the user
2698 has to call a function to get the child, that way we just
2699 calculate the child in case the user really want to use it and not
2702 * src/hildon-marshalers.list: Modified the marshallers, now we do
2703 not have the widget as a parameter.
2705 * src/hildon-pannable-area.c
2706 (hildon_pannable_area_motion_notify_cb),
2707 (hildon_pannable_area_class_init),
2708 (hildon_pannable_get_child_widget_at): Removed the widget
2709 parameter from the signal callback. We have also refactored the
2710 emission of the signals.
2712 * src/hildon-pannable-area.h: Added a new method to the API to
2713 calculate a widget at a point inside the pannable area,
2714 hildon_pannable_get_child_widget_at.
2716 * examples/hildon-pannable-area-example-4.c
2717 (horizontal_movement): Modified the example to use the new API,
2718 added condition to control which widget is under the event. This
2719 way we can avoid scrolling laterally over other widgets.
2721 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2723 * src/hildon-pannable-area.c
2724 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2725 modes, we stop getting the pointer events due to returning the
2726 callback without properly calling the get pointer again. Fixed
2727 also an error using the hscroll and vscroll.
2729 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-app-menu-private.h
2732 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2733 (hildon_app_menu_button_release, hildon_app_menu_init)
2734 (hildon_app_menu_class_init): Don't hide the menu on button
2735 release if the user didn't press outside first.
2737 * src/hildon-window.h
2738 * src/hildon-window.c (hildon_window_toggle_menu)
2739 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2740 hildon_window_toggle_menu a virtual function for the stackable
2741 window to override it.
2743 * src/hildon-stackable-window.h
2744 * src/hildon-stackable-window-private.h
2745 * src/hildon-stackable-window.c
2746 (hildon_stackable_window_realize)
2747 (hildon_stackable_window_finalize)
2748 (hildon_stackable_window_class_init)
2749 (hildon_stackable_window_init)
2750 (hildon_stackable_window_set_main_menu): New function to set the
2751 app menu of a HildonStackableWindow.
2753 * examples/hildon-app-menu-example.c: Remove the button to show
2754 the app menu, now it'll be shown when clicking on the title bar
2757 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2760 set the widget name if the arrangement flags do not specify
2763 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/hildon-button.c: (hildon_button_set_property),
2766 (hildon_button_class_init), (hildon_button_new_full),
2767 (hildon_button_set_arrangement): Added "arrangement-flags"
2770 Make the HildonButtonFlags a construction-only property, to allow
2771 subclasses to set them properly.
2773 2008-07-21 Tim Janik <timj@imendio.com>
2775 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2776 insertion position after backspace, so additional digits are appended,
2779 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2781 * src/hildon-pannable-area.c,
2782 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2783 TODO list, it was complete and removed the g_debug and g_print
2786 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2788 Added the movement modes to the hildon-pannable-area, with this
2789 modes the developers can control in which directions the widget
2790 can scroll. They can also connect to signals in order to do
2791 something when that happens, allowing applications scroll. There
2792 is an example uploaded showing how to use it.
2794 * examples/Makefile.am:
2795 * examples/hildon-pannable-area-example-4.c: Added this example of
2796 an application using the modes.
2798 * src/hildon-marshalers.list: Added a new marshaller for the new
2801 * src/hildon-pannable-area.h: Added new enumerations and flags in
2802 order to control the movement modes and the new signals to warn
2803 about the movements in the area.
2805 * src/hildon-pannable-area.c:
2806 (hildon_pannable_axis_scroll),
2807 (hildon_pannable_area_scroll),
2808 (hildon_pannable_area_motion_notify_cb),
2809 (hildon_pannable_area_get_property),
2810 (hildon_pannable_area_set_property),
2811 (hildon_pannable_area_map),
2812 (hildon_pannable_area_class_init),
2813 (hildon_pannable_area_init),
2814 (hildon_pannable_area_jump_to): Added the modes to control the
2815 movement in the widget. We have added properties to control it,
2816 signals to warn about the movements and refactored some code.
2818 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2820 Changes required in order to allow vfast_factor set to zero to
2823 * src/hildon-pannable-area.c:
2824 (hildon_pannable_area_button_press_cb): Changed the condition, it
2825 is required for not allowing click when vfast_factor is zero.
2826 (hildon_pannable_area_timeout): Initialized velocity variables
2827 when we stop moving, it was less than 1 but not zero and we need
2828 to check zero in some situations.
2829 (hildon_pannable_area_class_init): Changed the default value of
2830 the speed factor, now the button_press is just sent in case the
2831 speed is 2 per cent of the max speed.
2832 (hildon_pannable_area_init): Initialization with 0.
2834 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2836 * src/hildon-pannable-area.c,
2837 (hildon_pannable_area_get_topmost): replaced
2838 gdk_window_get_children with gdk_window_peek_children, this way we
2839 do not have to free the list because it is not a copy.
2841 (hildon_pannable_axis_scroll),
2842 (hildon_pannable_area_scroll),
2843 (hildon_pannable_area_timeout),
2844 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2845 two parameters that were only used inside the
2846 hildon_pannable_area_scroll function.
2848 * examples/hildon-pannable-area-example.c,
2849 (get_sawtooth_label): Fixed small memory leak.
2851 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2853 More checks for the case where the overshoot is bigger than the
2856 * src/hildon-pannable-area.c:
2857 (hildon_pannable_draw_vscroll),
2858 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2859 to draw the slider of the scrollbar under the other scrollbar.
2860 (hildon_pannable_area_expose_event): added new checks to control
2861 the drawing of the overshooting area rectangle, in case it is too
2862 big for the area of the widget.
2863 (hildon_pannable_area_size_allocate): add more checks to avoid
2864 setting a position to the child widget outside the area.
2866 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c
2869 (hildon_pannable_area_size_allocate): Added conditions to control
2870 when overshooting is bigger than the allocated space for the
2871 children, this avoids negative allocations.
2873 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2875 * doc/hildon-docs.sgml
2877 * examples/Makefile.am
2878 * examples/hildon-button-example.c
2880 * src/hildon-button.c
2881 * src/hildon-button.h
2882 * src/hildon.h: Initial version of the new HildonButton widget,
2885 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2887 * src/hildon-pannable-area.c:
2888 (hildon_pannable_area_button_press_cb),
2889 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2890 (hildon_pannable_area_motion_notify_cb),
2891 (hildon_pannable_area_button_release_cb),
2892 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2893 (hildon_pannable_area_jump_to_child):
2895 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2897 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2899 * examples/Makefile.am
2900 * examples/hildon-pannable-area-touch-grid-example.c
2901 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2902 the Hildon Touch List and Hildon Touch Grid using the
2903 HildonPannableArea widget.
2905 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2907 * src/hildon-pannable-area.c,
2908 (hildon_pannable_area_button_press_cb),
2909 (hildon_pannable_area_refresh),
2910 (hildon_pannable_area_scroll),
2911 (hildon_pannable_area_motion_notify_cb),
2912 (hildon_pannable_area_button_release_cb),
2913 (hildon_pannable_area_expose_event),
2914 (hildon_pannable_area_add),
2915 (hildon_pannable_area_remove),
2916 (hildon_pannable_area_realize),
2917 (hildon_pannable_area_size_allocate),
2918 (hildon_pannable_area_class_init),
2919 (hildon_pannable_area_init),
2920 (hildon_pannable_area_scroll_to_child),
2921 (hildon_pannable_area_jump_to_child): Fixed the problem of
2922 removing the child from the GtkBin, we have rearranged the widget
2923 hierarchy, now there is no GtkAlignment which was not doing
2924 anything interesting but breaking some of the assumptions of
2925 GtkContainer. Now developers if they want to add a GtkAlignment
2926 they could, but it is not inside the area.
2928 We had to review the whole allocation/expose process, now it is
2929 improved and we save at least three signals which would be saving
2930 some time when rendering the widget. The allocation of the
2931 scrollbars is now made in the allocate method as usual.
2933 We have also added some conditions in order to control when there
2934 is no child of the pannable area. Maybe we will need more work
2937 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2939 * src/hildon-pannable-area.c,
2940 (hildon_pannable_area_dispose): Released the fade-out timeout when
2941 disposing the widget.
2943 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2945 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2946 zero, we are going to use that property in order to deactivate the
2948 (hildon_pannable_axis_scroll),
2949 (hildon_pannable_area_size_allocate): Added conditions to control
2950 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2951 call, now it is called in all situations and we can remove calls
2952 in the allocate method.
2953 (hildon_pannable_area_map): Control the situation when
2954 overshoot_max is zero, we do not need the timeout.
2955 (hildon_pannable_area_class_init): Added documentation in order to
2956 point out that setting zero to overshoot_max means deactivate
2959 NOTE: removed trailing whitespaces from my previous comments of
2962 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2964 * src/hildon-pannable-area.c
2965 (hildon_pannable_area_get_property),
2966 (hildon_pannable_area_set_property),
2967 (hildon_pannable_area_map),
2968 (hildon_pannable_area_class_init),
2969 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2970 to cause the widget give a hint about its panning abilities upon
2973 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2975 * src/hildon-pannable-area.c: Several documentation improvements.
2977 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-program.c
2980 * src/hildon-stackable-window.c: Update documentation.
2982 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-stackable-window.c (get_previous_window_if_last):
2985 Renamed get_last_window()
2986 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2987 (hildon_stackable_window_unset_program):
2989 (get_previous_window_if_last):
2990 Detect if the window hasn't been added to a HildonProgram.
2992 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2994 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-pannable-area.c
2997 (hildon_pannable_area_button_press_cb),
2998 (hildon_pannable_axis_scroll),
2999 (hildon_pannable_area_scroll),
3000 (hildon_pannable_area_timeout),
3001 (hildon_pannable_calculate_vel_factor),
3002 (hildon_pannable_area_get_property),
3003 (hildon_pannable_area_set_property),
3004 (hildon_pannable_area_class_init),
3005 (hildon_pannable_area_init),
3006 (hildon_pannable_area_scroll_to),
3007 (hildon_pannable_area_jump_to),
3008 (hildon_pannable_area_scroll_to_child),
3009 (hildon_pannable_area_jump_to_child):
3010 * src/hildon-pannable-area.h: Added the new API functions:
3011 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3012 hildon_pannable_area_scroll_to_child,
3013 hildon_pannable_area_jump_to_child
3016 * examples/Makefile.am
3017 * examples/hildon-pannable-area-example-2.c
3018 * examples/hildon-pannable-area-example-3.c: Added these two new
3019 examples in order to test and show how the new APIs work.
3021 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3023 * examples/hildon-stackable-window-example.c (new_window):
3024 * src/Makefile.am (noinst_HEADERS):
3025 * src/hildon-program.c (hildon_program_go_to_root_window):
3026 * src/hildon-program.h:
3027 * src/hildon-stackable-window-private.h:
3028 * src/hildon-stackable-window.c:
3029 * src/hildon-stackable-window.h:
3030 Create hildon-stackable-window-private.h
3031 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3033 * examples/hildon-app-menu-example.c (create_menu):
3034 * examples/hildon-hvolumebar-insensitive-example.c (main):
3035 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3036 * examples/hildon-toolbar-seekbar-example.c (main):
3037 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3038 * src/hildon-banner.c (hildon_banner_set_property):
3039 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3040 Fix compilation warnings
3042 * src/hildon-window.c:
3045 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3047 * src/hildon-stackable-window.c
3048 (hildon_stackable_window_unset_program):
3049 Calculate correctly whether to show the previous window if the
3050 last one is removed from the stack.
3051 (hildon_stackable_window_go_to_root_window):
3052 Send delete events starting from the topmost window.
3053 Stop if one of the windows is not destroyed.
3055 (hildon_stackable_window_delete_event)
3056 (hildon_stackable_window_class_init):
3057 Ignore the delete event if the window is not the topmost one.
3059 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3061 * src/hildon-pannable-area.c
3062 (hildon_pannable_area_expose_event): Fixed a problem when
3063 selecting the background color of the scrollbars.
3065 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3067 * examples/hildon-stackable-window-example.c
3068 * src/hildon-stackable-window.c
3069 * src/hildon-stackable-window.h
3070 hildon_stackable_window_go_home() renamed to
3071 hildon_stackable_window_go_to_root_window()
3072 Send delete events to windows rather than closing them with
3073 gtk_widget_destroy()
3075 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-pannable-area.c
3078 (hildon_pannable_area_button_release_cb): Fix overshooting in
3081 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-pannable-area.c
3084 (hildon_pannable_area_init): Initially show the scroll indicators.
3085 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3087 Add initial effect showing the widget is pannable.
3089 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-pannable-area.c
3092 (hildon_pannable_area_class_init)
3093 (hildon_pannable_area_set_property)
3094 (hildon_pannable_area_get_property)
3095 (hildon_pannable_area_button_press_cb):
3096 New 'velocity_fast_factor' property to decide which velocity is
3099 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-pannable-area.c
3102 (hildon_pannable_draw_hscroll)
3103 (hildon_pannable_draw_vscroll):
3104 Use float variables to calculate the size of the scrollbars to
3105 avoid error propagation and resizing during scrolling.
3107 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-pannable-area.c
3110 (hildon_pannable_draw_vscroll)
3111 (hildon_pannable_draw_hscroll):
3112 Define a minimum size for the scroll bars
3114 * src/hildon-stackable-window.c
3115 (hildon_stackable_window_go_home): Fix compilation warning
3116 (get_last_window): Minor optimizations
3117 (hildon_stackable_window_class_init): Fix initialization of
3120 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-stackable-window.c: Fixed typos in doc
3124 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-pannable-area.c
3127 (hildon_pannable_area_scroll):
3128 Calculate here whether we need to scroll instead of using the booleans
3129 that tell us whether to /draw/ the scrolling bars.
3131 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-app-menu.h
3135 * src/hildon-app-menu.c
3136 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3137 multiple filter groups related code and API. Now we support only
3139 * examples/hildon-app-menu-example.c:
3141 Update to reflect API changes.
3143 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3145 * src/hildon-stackable-window.c
3146 (hildon_stackable_window_class_init):
3147 Add hildon_stackable_window_realize.
3148 (hildon_stackable_window_realize):
3149 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3150 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3151 to apply theming and behavior specific to HildonStackableWindow
3154 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-note.c (hildon_note_button_release):
3157 Close information notes also when tapping on them
3159 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3161 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3162 ELASTICITY, refactor and review, fix some issues with drawing
3165 * src/hildon-pannable-area.c:
3166 (hildon_pannable_area_button_press_cb): removed the conditions to
3167 avoid clicks when overshooting. It is not required
3169 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3170 define. Refatored and reviewed the code, now we do not need to
3171 manage velocity in motion_notify.
3173 (hildon_pannable_area_motion_notify_cb): We have moved the code
3174 that controls the area_scroll to the axis_scroll function and get
3175 rid of duplicated code.
3177 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3179 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3181 (hildon_pannable_draw_vscroll),
3182 (hildon_pannable_draw_hscroll): Fixed the problems with the
3183 scrollbar drawing, now we do not use two surfaces, it is easier
3184 and saves resources.
3186 (hildon_pannable_area_get_property): Style modification.
3188 (hildon_pannable_area_class_init): Changed some default values.
3190 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3192 * src/hildon-stackable-window.c: Fix some typos in the
3195 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-dialog.c:
3198 Change indentation style
3201 (hildon_note_button_release):
3202 Use root coordinates to check if the release event happened
3205 * src/hildon-app-menu.c
3206 (hildon_app_menu_button_release):
3207 Remove unnecessary check
3209 * examples/hildon-app-menu-example.c
3211 Add cast to fix warning
3213 * src/hildon-app-menu.c
3214 (hildon_app_menu_class_init):
3215 New inner-border style property.
3216 Set all default spacings to 16
3217 (hildon_app_menu_init):
3218 Use vertical-spacing to set the space between filter buttons and
3219 regular menu buttons.
3220 Set the default container border using the inner-border value.
3222 * examples/hildon-app-menu-example.c
3224 Don't set the menu border explicitly, now we have the inner-border
3225 style property for that.
3227 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-app-menu.c (hildon_app_menu_init):
3230 Make the window modal
3232 * src/hildon-note.c (hildon_note_map)
3233 * src/hildon-app-menu.c (hildon_app_menu_map):
3234 Destroy the grab window if we're unable to grab the pointer
3236 * src/hildon-app-menu-private.h
3237 * src/hildon-app-menu.c
3238 (hildon_app_menu_init, hildon_app_menu_finalize)
3239 (hildon_app_menu_map, hildon_app_menu_unmap)
3240 (hildon_app_menu_button_release)
3241 (grab_transfer_window_get):
3242 Bring back the grab window
3243 (hildon_app_menu_realize):
3244 Decorate the window, set WM hint for Matchbox
3246 * src/hildon-note.c (hildon_note_realize):
3247 * src/hildon-banner.c (hildon_banner_realize):
3248 Add WM hints for Matchbox
3250 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-app-menu-private.h
3253 * src/hildon-app-menu.c
3254 (hildon_app_menu_init, hildon_app_menu_finalize)
3255 (hildon_app_menu_map, hildon_app_menu_unmap)
3256 (hildon_app_menu_button_release):
3257 Remove the grab window, it's not needed anymore
3259 * src/hildon-program.c
3260 Fixed typo in documentation
3262 * src/hildon-app-menu.h
3263 * src/hildon-app-menu.c
3264 * examples/hildon-app-menu-example.c
3265 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3267 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3270 Added new transfer_window and close_if_pressed_outside private
3272 (hildon_note_rebuild):
3273 Don't add a cancel button to the information note. It will be
3274 closed when tapping outside
3275 Remove the comment about the OK button in the documentation
3276 (hildon_note_realize):
3277 Set the notification type hint
3278 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3279 Grab/ungrab pointer and keyboard if the note has to be closed when
3281 (hildon_note_button_release):
3282 Close the note when tapping outside (if applicable)
3284 * src/hildon-app-menu.c
3285 Grab/ungrab pointer and keyboard on map/unmap
3286 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3287 Close the menu on button release, not button press
3289 * src/hildon-banner.c
3290 (hildon_banner_set_property)
3291 (hildon_banner_check_position):
3292 Make the banner use the full width of the screen
3293 (hildon_banner_show_information)
3294 (hildon_banner_show_information_with_markup):
3295 Don't display an icon by default
3297 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3299 Added fading scrollbars and adapted all the overshooting code to
3300 horizontal scrolling. We have also fixed bugs with overshooting
3301 and current fading implementation.
3303 * src/hildon-pannable-area.c
3304 (hildon_pannable_area_scroll_indicator_fade): Time out function
3305 used to change the transparency of the scrollbars.
3307 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3308 control and fixed a problem with fading, we now remove the fade
3309 timeout before adding a new one.
3311 (hildon_pannable_axis_scroll):
3312 (hildon_pannable_area_scroll):
3313 (hildon_pannable_area_timeout): Added this functions so we can use
3314 the scroll code both for vertical and horizontal.
3316 (hildon_pannable_area_motion_notify_cb):
3317 (hildon_pannable_area_button_release_cb): Added the horizontal
3318 scrolling control, fixed a problem with the overshooting timeout.
3320 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3321 painting of the scrolls.
3323 (hildon_pannable_draw_vscroll):
3324 (hildon_pannable_draw_hscroll):
3325 (hildon_pannable_area_expose_event):
3326 Draw both scrollbars and rectangles in the overshooting area.
3328 (hildon_pannable_area_get_property):
3329 (hildon_pannable_area_set_property):
3330 Modified the overshoot property to overshoot_max
3332 (hildon_pannable_area_map):
3333 Replaced the comments symbols.
3335 (hildon_pannable_area_size_allocate):
3336 (hildon_pannable_area_class_init):
3337 (hildon_pannable_area_init): Added horizontal scroll, fading
3338 effect properties, fixed a problem when overshooting in the bottom
3341 * examples/hildon-pannable-area-example.c:
3342 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3343 looks better in the example.
3345 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3347 * src/hildon-window.c
3348 * src/hildon-window.h
3349 (hildon_window_class_init)
3350 (hildon_window_unset_program)
3351 (hildon_window_unset_program_real):
3352 Make unset_program a virtual function
3354 * src/hildon-stackable-window.c
3355 * src/hildon-stackable-window.h
3356 Added hildon_stackable_window_go_home()
3358 * examples/Makefile.am
3359 * examples/hildon-stackable-window-example.c
3360 HildonStackableWindow example
3362 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3364 * hildon-pannable-area.c: Added the overshoot property and removed
3365 the OVERSHOOT define. Fixed an indent style error.
3366 (hildon_pannable_area_motion_notify_cb):
3367 (hildon_pannable_area_get_property):
3368 (hildon_pannable_area_set_property): Add overshoot property.
3370 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3373 (hildon_pannable_area_class_init): Installed the new property.
3375 * hildon-pannable-area-example.c: Added a sawtooth function, this
3376 way it is easier to check the movement in the pannable.
3377 (get_sawtooth_label): Added this function.
3378 (main): Now we get the labels from the new get_sawtooth_label
3381 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-app-menu.h
3384 * src/hildon-app-menu.c
3385 Renamed API variables for consistency
3387 (hildon_app_menu_popup): Use also the default window size to
3388 decide where to place the menu
3390 (hildon_app_menu_init, hildon_app_menu_class_init): New
3391 external-border style property
3393 2008-05-26 Michael Natterer <mitch@imendio.com>
3395 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3396 widget_class->tap_and_hold_setup signal slot doesn't exist any
3397 longer, stop overriding it.
3399 (hildon_time_editor_init): g_signal_connect() to the
3400 tap-and-hold-setup signal instead.
3402 (hildon_time_editor_entry_keypress): add cast to fix warning.
3404 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3406 * doc/hildon-docs.sgml
3408 * examples/Makefile.am
3409 * examples/hildon-app-menu-example.c
3411 * src/hildon-app-menu-private.h
3412 * src/hildon-app-menu.c
3413 * src/hildon-app-menu.h
3415 New HildonAppMenu widget
3417 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3419 Rearranged the inheritance of the pannable area, now it inherits
3420 from GtkBin. This will allow us to control the event_window and
3421 the allocation process of the widget, required for some effects.
3423 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3424 GtkBin structures. * src/hildon-pannable-area.c: Added the
3425 event_window variable.
3426 (hildon_pannable_area_button_press_cb):
3427 (hildon_pannable_area_button_release_cb):
3428 (hildon_pannable_area_motion_notify_cb):
3429 Changed the signature of the method, now we override the event
3430 callback instead of connecting to the signal.
3432 (hildon_pannable_area_realize):
3433 (hildon_pannable_area_unrealize):
3434 (hildon_pannable_area_map):
3435 (hildon_pannable_area_unmap):
3436 (hildon_pannable_area_size_allocate):
3437 Added functions to control the widget construction. We add a
3438 INPUT_ONLY window and we put it over the widgets inside the
3439 container, this event_window handles the events.
3441 (hildon_pannable_area_class_init):
3442 Replaced the signal connections with overrides of the event
3445 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3447 Bouncing effect added when touching the borders, you can change
3448 the elasticity of the border changing the ELASTICITY define.
3450 * src/hildon-pannable-area.c: Added ELASTICITY define.
3451 (hildon_pannable_area_timeout): Added inverse velocity when
3452 touching the border of the child widget, that causes a bounce.
3454 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3456 Improved performance, we now do not go to the X server in order to
3457 get the list of window children. Apparently the effect is the
3458 same, we have to be careful and check if this breaks something in
3461 * src/hildon-pannable-area.c:
3462 (get_ordered_children): Removed this function.
3463 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3464 the children windows function with gdk_window_get_children.
3466 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3468 * src/hildon-pannable-area.c:
3469 (hildon_pannable_area_dispose): Fixed a crash when closing the
3470 window and kinetics is activated.
3472 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-pannable-area.h
3475 * src/hildon-pannable-area.c
3476 Changed indentation style to meet the one used in Hildon
3478 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3480 Reviewed the interaction of the AUTO mode, now we use the time
3481 attribute of the events and calculate the velocity in the motion,
3482 doing a gimp like calculation. The velocity is calculated in each
3483 motion event using the last velocity and the current one, the
3484 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3486 * src/hildon-pannable-area.c: Replaced the time based algorithm
3488 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3489 timeout for the AUTO mode when we are still moving the cursor. We
3490 added also the velocity calculation in this function.
3491 (hildon_pannable_area_button_release_cb): launch the timeout in
3492 case we are in AUTO mode. There are still some constants here that
3493 come from the old implementation that should be reviewed and
3496 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3498 * doc/hildon-docs.sgml
3501 * src/hildon-stackable-window.c
3502 * src/hildon-stackable-window.h
3504 New HildonStackableWindow widget
3506 * examples/hildon-dialog-example.c
3507 * examples/hildon-pannable-area-example.c
3510 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-dialog.c
3513 (hildon_dialog_new_with_buttons): New constructor.
3515 * examples/hildon-dialog-example.c
3516 (main): Update the example to use the new
3517 hildon_dialog_new_with_buttons().
3519 * examples/hildon-pannable-area-example.c
3520 (main): Update example.
3522 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3524 * doc/hildon-docs.sgml
3526 Added HildonPannableArea to the documentation.
3528 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3530 * doc/visual_index.xml
3531 Fix reference to HildonLoginDialog in documentation
3533 * doc/hildon-docs.sgml
3535 * examples/Makefile.am
3536 * examples/hildon-dialog-example.c
3538 * src/hildon-dialog.c
3539 * src/hildon-dialog.h
3541 New HildonDialog widget.
3543 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-pannable-area.c
3546 Merge latest changes (r4318, r4342) from libmokoui trunk
3548 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3550 * examples/Makefile.am
3551 * examples/hildon-pannable-area-example.c
3553 * src/hildon-pannable-area.c
3554 * src/hildon-pannable-area.h
3556 New HildonPannableArea widget.
3558 2008-04-15 18:05:19 <timj@imendio.com>
3560 * src/hildon-banner.c: revert the recent change, that introduced
3561 gtk_window_present() calls. this reopens:
3562 Bug 78481 - [freetest] information banners are hidden under browser menu
3563 But resolves another variant of:
3564 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3566 2008-04-15 13:21:13 <timj@imendio.com>
3568 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3569 recreated its layout, spotted by Kris. this fixes all remaining
3570 artefacts and stability issues with the banner code. in particular:
3571 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3573 2008-04-14 16:52:59 <timj@imendio.com>
3575 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3576 operating on unrealized widgets, fixes:
3577 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3579 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3581 2008-04-09 Kristian Rietveld <kris@imendio.com>
3583 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3584 makes banner disappear.
3585 Fixes: NB#79182: info banner flickering with certain message lengts.
3587 * src/hildon-banner.c (hildon_banner_constructor),
3588 (hildon_banner_init), (hildon_banner_set_text),
3589 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3590 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3591 FALSE, reset size requests of label and banner,
3592 (force_to_wrap_truncated): when the text is too wide, always enforce
3593 the maximum possible width instead of recalculating it from the
3594 layout; enforce the maximum banner height of 3 lines,
3595 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3596 nicer wrapping and no truncated chars if space gets tight.
3598 * src/hildon-banner-private.h: add has_been_wrapped and
3599 has_been_truncated fields.
3601 2008-04-07 Sven Herzberg <sven@imendio.com>
3603 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3604 local values in hildon_date_editor_size_allocate
3606 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
3616 2008-04-07 Sven Herzberg <sven@imendio.com>
3618 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3619 local values in hildon_date_editor_size_allocate
3621 * src/hildon-date-editor.c: changed the arguments of the if()
3624 2008-04-07 Sven Herzberg <sven@imendio.com>
3626 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3627 local values in hildon_date_editor_size_allocate
3629 * src/hildon-date-editor.c: split the calculation of the allocation
3630 from the real allocation
3632 2008-03-27 Michael Natterer <mitch@imendio.com>
3634 Fixes: NB#81696: The passcode is not overwritten even after
3637 * src/hildon-code-dialog.c
3638 (hildon_code_dialog_button_clicked)
3639 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3640 because that doesn't overwrite selected text. Instead, emit the
3641 "commit" signal on the entry's im_context so the entry's normal
3642 insert logic is triggered. Set the cursor to the end of the entry
3643 after each insert operation so that we *only* insert in the middle
3644 of the text if something was selected.
3646 2008-03-27 Michael Natterer <mitch@imendio.com>
3648 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3649 selector cannot be opened
3651 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3652 when the popup color selector is created. Please connect to this
3653 signal in order to set the dialog's help ID.
3655 2008-03-25 Sven Herzberg <sven@imendio.com>
3657 Fixes: MB#1212: Hide info banners (infoprints) on click
3659 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3660 extracted the close event simulation into an extra function
3661 (hildon_banner_button_press_event): simulate a close event and destroy
3662 the widget if the event wasn't handled
3663 (hildon_banner_class_init): added the button_press_event handler
3664 (hildon_banner_init): added button-press events to the widget
3666 2008-03-25 Sven Herzberg <sven@imendio.com>
3668 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3669 Patch from: Mohammad Anwari <mdamt@maemo.org>
3671 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3672 instead of the right in RTL mode
3673 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3674 breadcrumb button list in RTL mode
3675 * src/hildon-caption.c: mirror the appearance of the caption widget in
3677 * src/hildon-date-editor.c: mirror appearance of the date editor in
3679 * src/hildon-time-editor.c: mirror appearance of the time editor in
3681 * src/hildon-window.c: fix the position of the popup in RTL mode
3683 2008-03-25 Sven Herzberg <sven@imendio.com>
3685 Amendment to the fix of NB#22072. Fix compilation.
3687 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3689 2008-03-19 Sven Herzberg <sven@imendio.com>
3691 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3694 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3695 timeout id properly when the timeout will disappear this leaves no
3696 artifacts around in the destroy(); there will only be the timeout
3697 created by hildon_banner_ensure_timeout() and adding a new timeout
3698 will also work if the timeout gets removed because the timeout_handler
3701 2008-03-19 Michael Natterer <mitch@imendio.com>
3703 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3705 * src/hildon-volumebar.c
3706 * src/hildon-vvolumebar.c
3707 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3708 the widget becomes focussable at all.
3710 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3711 set the focus to wither the mute button or the volumebar.
3713 Remove own "can-focus" property and instead listen to
3714 notify::can-focus in order to update the widget's state.
3716 Implement GtkWidget::focus() and make sure we can also *leave* the
3717 widget, not only enter it, depending on volumebar orientation and
3718 requested focus direction.
3720 Clean up set_mute() to cooperate nicely with all the above.
3722 2008-03-04 Michael Natterer <mitch@imendio.com>
3724 Fixes: NB#78481: information banners are hidden under browser menu
3726 * src/hildon-banner.c: call gtk_window_present() on the banners so
3727 they are risen if they are already visible.
3729 2008-03-03 Sven Herzberg <sven@imendio.com>
3731 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3733 * examples/hildon-window-menu-example.c: (main): extended the window
3734 menu example to serve as a testcase for automatically added
3735 accelerator groups, too
3736 * src/hildon-window.c: (hildon_window_add_accel_group),
3737 (hildon_window_set_menu): added patch by Tommi Komulainen
3739 2008-03-03 Sven Herzberg <sven@imendio.com>
3741 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3743 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3744 knowledge about the border allocators used within GTK+
3746 2008-02-26 Sven Herzberg <sven@imendio.com>
3748 Fixes: MB#2981: Build with asserts broken
3750 * src/hildon-date-editor.c,
3751 * src/hildon-number-editor.c,
3752 * src/hildon-time-editor.c,
3753 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3754 the proper GType instance check
3756 2008-02-25 Sven Herzberg <sven@imendio.com>
3758 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3760 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3761 * examples/hildon-window-menu-example.c: (main): explicitly show
3763 * src/hildon-window.c:
3764 (hildon_window_set_main_menu): moved most of the code from set_menu()
3765 to this place; skipped the call to gtk_widget_show_all(); also didn't
3766 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3767 (hildon_window_set_menu): removed most of the code, just keep the
3768 questionable gtk_widget_show_all()
3769 * src/hildon-window.h: added the new function and deprecate the old
3772 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3778 * debian/changelog: Updating.
3780 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3783 * pkgconfig/Makefile.am:
3784 * pkgconfig/hildon.pc.in:
3787 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3788 use newly created API_MAJOR_VERSION.
3790 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3796 * debian/changelog: Updating.
3798 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3800 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3802 Add outer_border style property, we use it but don't define it (!).
3806 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3808 * examples/hildon-bread-crumb-trail-example.c (main):
3812 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3814 Fix logic for the bread crumb trail node removal.
3818 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3824 * debian/changelog: Updating.
3826 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3828 Patch by Alejandro to get/set passwords dialogs accesibility.
3830 * hildon-1/src/hildon-get-password-dialog.c:
3831 * hildon-1/src/hildon-set-password-dialog.c:
3832 Set atk_set_name to the passwd entries in order to allow
3833 accessibility by name on this entries.
3835 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3840 * debian/control: Updating gtk dep.
3842 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3844 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3845 USE_MAEMO_GTK is enabled.
3847 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3849 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3850 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3852 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3858 * debian/changelog: Updating.
3860 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3862 * examples/Makefile.am:
3863 * examples/hildon-logical-color-example.c:
3864 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3865 applied + adding a test case. Fixes: NB#71660.
3867 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3869 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3870 to be visible, fixes warning on map for windows without toolbars.
3872 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3874 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3875 2.11.0, add a check for that besides the MAEMO_GTK check.
3877 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3883 * debian/changelog: Updating.
3885 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3887 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3888 visibility. Fixes: NB#70842 and MB#615.
3890 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3892 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3893 set the separator as no-show-all so it doesn't unintentionally appear when
3894 someone does a show_all.
3896 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3898 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3899 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3900 toplevel item. Fixes: NB#62031
3902 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3904 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3905 fix the name of the function in the docs.
3907 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3913 * debian/changelog: Updating.
3915 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3917 * examples/hildon-banner-long-example.c: Adding a test-case for long
3920 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3922 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3924 * src/hildon-color-chooser-dialog.c:
3925 * src/hildon-color-chooser.c:
3926 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3927 memory leaks in font selector and color selector. Fixes: NB#70499 and
3930 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3932 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3934 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3936 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3937 little bit bigger. Fixes: #NB63694.
3939 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3945 * debian/changelog: Updating.
3947 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * doc/hildon-docs.sgml:
3951 * doc/images/bread-crumb-trail.png:
3952 * doc/images/calendar-popup.png:
3953 * doc/images/caption.png:
3954 * doc/images/code-dialog.png:
3955 * doc/images/color-button.png:
3956 * doc/images/color-chooser-dialog.png:
3957 * doc/images/color-chooser.png:
3958 * doc/images/controlbar.png:
3959 * doc/images/date-editor.png:
3960 * doc/images/font-selection-dialog.png:
3961 * doc/images/get-password-dialog.png:
3962 * doc/images/hvolumebar.png:
3963 * doc/images/login-dialog.png:
3964 * doc/images/note.png:
3965 * doc/images/number-editor.png:
3966 * doc/images/range-editor.png:
3967 * doc/images/seekbar.png:
3968 * doc/images/set-password-dialog.png:
3969 * doc/images/sort-dialog.png:
3970 * doc/images/time-editor.png:
3971 * doc/images/time-picker.png:
3972 * doc/images/vvolumebar.png:
3973 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3974 Adding the bread-crumb-trial and helpers to the documentation.
3976 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3978 * examples/hildon-find-toolbar-example.c:
3979 * src/hildon-find-toolbar.c:
3980 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3981 actually continue firing the other handlers if connected. Adding a new
3983 hildon_find_toolbar_get_last_index that gets the index of the most
3984 recently added (last) item. Fixes: NB#52301.
3986 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3988 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3989 behaviour. Fixes: NB#68610.
3991 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3993 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3996 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3998 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3999 when realizing the banner. Should make the infonbanner effect a bit more
4002 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * src/hildon-volumebar.c:
4005 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4006 hildon_volumebar_set_range_insensitive_message and
4007 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4009 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4011 * src/hildon-window.c: Fixing the border freeing on destroy.
4013 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4015 * src/hildon-code-dialog-private.h:
4016 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4017 kw keyboard support in HildonCodeDialog.
4019 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4025 * debian/changelog: Updating.
4027 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4029 * src/hildon-date-editor.c:
4030 * src/hildon-number-editor.c:
4031 * src/hildon-private.c:
4032 * src/hildon-private.h:
4033 * src/hildon-time-editor.c:
4034 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4035 handling in subclassed composite widgets. Fixes: NB#66628.
4037 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4039 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4040 from destroy_ callback as it introduces problems in async dbus signal
4041 handlers. Fixes NB#66673.
4043 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4045 * examples/hildon-hvolumebar-example.c:
4046 * src/hildon-volumebar.c: Improving the focus handling in the
4047 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4048 set_property accessor so that "mute" property can be actually set. I'm
4049 scared that nobody noticed it's totally broken.
4051 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4053 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4056 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4058 * src/hildon-calendar.c:
4059 * src/hildon-number-editor.c:
4060 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4061 matches the spec of 6 chars per second. Fixes: NB#60489.
4063 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4066 gtk_style_lookup_color sometime returns FALSE even though color was
4067 found and values were filled properly. Weird. Removing the warning for the
4070 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4072 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4073 expand vertically. Adding some extra space to the find toolbar buttons to
4074 make them thumbable. Fixes NB#66060.
4076 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4078 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4079 popup with "Ok" and "Cancel". Fixes NB#59299.
4081 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4083 * src/hildon-calendar.c: Process all window updates before executing next
4084 timeout. Fixes: NB#54146.
4086 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4092 * debian/changelog: Updating.
4094 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4096 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4097 the client event and ignore it, since we use the delete event to close
4100 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4102 * src/hildon-helper.c: Remove the bogus warning about color not being
4103 found. Fixes NB#58352.
4105 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4107 * examples/Makefile.am:
4108 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4109 HildonSeekbar widget inside a toolbar.
4111 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4113 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4114 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4115 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4116 don't want to be closed by non-temporary windows on map.
4118 Also use G_DEFINE_TYPE instead of manually typed code.
4120 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4127 * debian/rules: Updating.
4129 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4131 * examples/Makefile.am:
4132 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4133 bug NB#61128. Strangely it works.
4135 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4137 * src/hildon-date-editor.c: When the date editor entry has been changed
4138 but the numbers of characters < max, turn off the skip validation flag.
4139 Prevents a situation when we enter first a valid year and later re-write
4140 it with an invalid one. Fixes NB#60154.
4142 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4144 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4145 code dialog. Fixes NB#64355.
4147 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4149 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4150 switching the page. Fixes NB#49374.
4152 * examples/Makefile.am:
4153 * examples/hildon-wizard-dialog-example.c: Adding an example for
4154 HildonWizardDialog that shows how to handle manual sensitivity setting on
4157 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4161 * src/hildon-version.h.in:
4162 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4164 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4166 * src/hildon-volumebar.c: Updating the docs.
4168 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * debian/changelog: Updating.
4176 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4178 * src/hildon-find-toolbar.c:
4179 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4180 selected item: hildon_find_toolbar_set_active,
4181 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4182 hildon_find_toolbar_get_active_iter . They correspond to respective
4183 GtkComboBox functions.
4185 * examples/Makefile.am:
4186 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4189 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4191 * examples/Makefile.am:
4192 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4195 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4196 when font size > 32 and we pack a focusable widget inside. Actually using
4197 the default response would work too, but since we don't show default
4198 response state in any way (no theming) it would not be visible to the
4199 user. Fixes NB#63430.
4201 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4203 * src/hildon-date-editor.c: Adding the missing variable setter in the
4204 set_property handler. Fixes NB#54182.
4206 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4208 * src/hildon-window.h: Changing the long key press time from 1500ms to
4209 800ms as requested in NB#63700. I have a bad feeling about this, let's
4210 see... Fixes NB#63700.
4212 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4214 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4215 hildon_time_picker_map, hildon_time_picker_realize,
4216 hildon_time_picker_style_set): Split the contents of map to more
4217 appropriate functions; set window decorations on realize and update
4218 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4220 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4225 * debian/changelog: Updating.
4227 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4229 * src/Makefile.am: fixed installation of the header files
4231 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * debian/changelog: Updating.
4239 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4241 * configure.ac: Removing some remaining of --enable-xan.
4243 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4245 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4246 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4248 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4249 2.10.12-osso6 because the move-focus signal needs to be available in
4252 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4254 * examples/Makefile.am:
4255 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4256 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4257 fine. Prolly NB#61128 is fixed now.
4259 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4261 * src/hildon-volumebar.c:
4262 * src/hildon-volumebar.h: Adding the
4263 hildon_volumebar_set_range_insensitive_message and
4264 hildon_volumebar_set_range_insensitive_messagef functions to set
4265 insensitive message on the slider of the volumebar. Fixes NB#61129.
4267 * examples/Makefile.am:
4268 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4269 test the new insensitive messsage functionality on HildonVolumebar.
4271 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4273 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4276 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4278 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4279 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4280 button on after clearing the trail.
4282 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4284 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4286 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4288 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4289 by splitting the installed headers in generated and non-generated groups. Use
4290 only the non-generated headers to create the hildon-enum-types.h file.
4292 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4294 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4296 * src/hildon-window.c: Hide the window before performing the destroy.
4297 Should make the app closing a little tiny bit more snappy.
4299 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4301 * src/hildon-seekbar.c: add gtkrange.h header
4302 * src/hildon-caption.c: remove unused variable
4304 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4306 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4309 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4315 * debian/changelog: Updating.
4317 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4319 * src/hildon-window.c (hildon_window_window_state_event,
4320 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4321 escape timeout on focus-out-event rather than notify::is-topmost; the
4322 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4324 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4327 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4329 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4331 * src/hildon-window: actually, you need to use the macro always, there's
4332 no private pointer in the instance structure. We should have cleaned this up
4333 when we had the chance...
4335 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4337 * src/hildon-window.c: do not get the private date from HildonWindow before
4338 it passes the g_return_if_fail check. Once it's passed the test, there's no
4339 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4340 if you are only going to access the data once. Whitespace cleanups.
4342 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4344 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4345 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4347 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4353 * debian/changelog: Updating.
4355 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4357 * src/hildon-window.c: When destroying the window, remove (if exists) the
4358 escape timeout handler. Fixes #NB59276.
4360 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4362 * src/hildon-banner.c: When realizing the widget, set the window
4363 transiency. Setting the transiency in the gobject constructor is not
4364 good, as the widget is not realized at that point. Fixes: #NB56624.
4366 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4368 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4369 Add padding for future expansions.
4371 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4373 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4374 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4375 will fake an activation on the previous to the last item of the trail, so
4376 the effect can be overrided by the developer as usual.
4377 Also change the callback for the back button to do the same thing, so its
4378 effect can be overrided too. Fixes: NB#58982
4380 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4382 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4383 HildonCaption. Fixes NB#52379.
4385 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4387 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4388 the internal state of the trail after the user has had the chance of executing
4389 his handler for the signal. Specifically, it may happen that the activated button
4390 is removed and the user still lets the default handler run. This would segfault
4393 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4395 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4396 scrollbar to the preview dialog. Fixes NB#54147.
4398 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4400 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4401 max/min year properties can be altered, so the client can modify it
4402 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4404 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4406 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4407 hildonlike by default. Fixing a problem with disappearing arrows when
4408 scrolling through months and years. Fixes NB#54127.
4410 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4412 * examples/hildon-date-editor-example.c: Adding error callback to the date
4415 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4421 * configure.ac: Updating.
4423 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4425 * configure.ac: Adding a special '--enable-xan' configure option that
4426 turns off the -Werror compilation setting. Usefull for development.
4428 * src/hildon-calendar.c:
4429 * src/hildon-number-editor.c:
4430 * src/hildon-time-picker.c: Adding the 5* multiplier to
4433 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4435 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4436 instead of g_object_ref + gtk_object_sink.
4438 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4444 * debian/changelog: Updating.
4446 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4448 * src/hildon-color-chooser-dialog.c:
4449 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4450 straight from Tommi labs.
4452 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4454 * examples/hildon-finger-example.c: Correcting the header file path.
4456 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4457 the changed signal. Fixes a small memory leak.
4459 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4463 * src/hildon-banner.c: Importing several usefull fixes from the
4464 ubuntu-mobile branch.
4466 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * examples/Makefile.am:
4469 * examples/hildon-finger-example.c: Adding a finger-checking code
4472 * src/hildon-font-selection-dialog.c: Do not allocate the color
4473 structure using the g_new. Fixes NB#54061.
4475 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4477 * src/hildon-helper.c: Correcting tabs in file.
4479 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4481 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4482 control the visibility of the children.
4484 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4486 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4492 * debian/changelog: Updating.
4494 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4496 * src/hildon-bread-crumb-trail.c:
4497 (hildon_bread_crumb_trail_size_allocate):
4499 Make the back button always a square.
4501 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4503 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4504 from the .c file as it's a private file.
4506 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4508 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4509 uses slightly bigger height.
4511 * src/hildon-font-selection-dialog.c: Adding some checks before
4512 freeing memory in the font selection dialog.
4514 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4516 * src/hildon-font-selection-dialog.c: Adding a small check when
4519 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4520 buttons sensitivity on page switching.
4522 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4524 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4525 internal details of adding a bread crumb to the trail.
4527 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4533 * debian/changelog: Updating.
4535 * src/hildon-bread-crumb-trail.h:
4536 * src/hildon-bread-crumb.h: Changing the API guard to
4537 HILDON_ENABLE_UNSTABLE_API.
4539 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4547 * src/hildon-helper.h: Updating.
4549 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4557 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4561 * src/hildon-helper.h: Small fix to make the package actually compile.
4563 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4565 * src/hildon-bread-crumb-trail.h:
4566 * src/hildon-bread-crumb.h:
4568 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4569 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4571 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4573 * examples/hildon-bread-crumb-trail-example.c:
4575 * src/hildon-bread-crumb-trail.c:
4576 * src/hildon-bread-crumb-trail.h:
4577 * src/hildon-bread-crumb.c:
4578 * src/hildon-bread-crumb.h:
4579 * src/hildon-marshalers.list:
4580 * src/hildon-bread-crumb-widget.c:
4581 * src/hildon-bread-crumb-widget.h:
4583 Slight change in the widget design. The bread crumb trail API is
4584 unchanged, but HildonBreadCrumb is now an interface. A *private*
4585 implementation, hildon-bread-crumb-widget, is provided and used
4586 internally by the trail for the push_text/push_icon functions.
4588 The generic push API is still available, so anyone can implement
4589 and use its own bread crumb widget.
4591 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4593 * debian/rules: Fixing the shlibs.
4595 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4597 * src/hildon-banner.c: Fixing a problem with timed banners having
4598 their parrent destroyed before they are.
4600 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4602 * src/hildon-bread-crumb.c:
4603 * src/hildon-bread-crumb.h:
4605 Make the get_natural_size function a vfunc.
4607 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4609 * src/hildon-bread-crumb.c:
4610 * src/hildon-bread-crumb-trail.c:
4614 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4621 * debian/changelog: Updating for release.
4623 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4625 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4626 don't leak the pango layout.
4628 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4631 * examples/hildon-bread-crumb-trail-example.c:
4635 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4637 * debian/changelog: Removing the bug-fixed entries that were actually
4638 resolved as WONTFIX.
4640 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4643 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4645 * src/hildon-bread-crumb-trail.c:
4646 * src/hildon-bread-crumb-trail.h:
4647 * src/hildon-bread-crumb.c:
4648 * src/hildon-bread-crumb.h:
4652 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4654 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4655 until it's passed the type check.
4657 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4659 * examples/hildon-bread-crumb-trail-example.c
4663 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4665 * examples/Makefile.am
4666 * examples/hildon-bread-crumb-trail-example.c
4668 * src/hildon-bread-crumb-trail.c
4669 * src/hildon-bread-crumb-trail.h
4670 * src/hildon-bread-crumb.c
4671 * src/hildon-bread-crumb.h
4673 New HildonBreadCrumbTrail widget.
4675 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4677 * src/hildon-range-editor.c (hildon_range_editor_init),
4678 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4679 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4680 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4681 hildon_time_editor_class_init, hildon_time_editor_init),
4682 src/hildon-get-password-dialog.c (invalid_input,
4683 hildon_get_password_set_property, hildon_get_password_get_property,
4684 create_contents, hildon_get_password_dialog_set_max_characters),
4685 src/hildon-set-password-dialog.c (create_contents),
4686 src/hildon-date-editor.c (hildon_date_editor_init),
4687 src/hildon-login-dialog.c (hildon_login_dialog_init),
4688 src/hildon-number-editor.c (hildon_number_editor_init),
4689 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4690 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4691 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4692 configure option and adding the respective checks in the code.
4693 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4694 hildon_calendar_drag_data_received): fixed some build warnings.
4696 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4698 * debian/changelog: A 1.0.0 release notes.