1 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-main.c: Fix the documentation for hildon_init()
5 2008-11-25 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-window-stack-private.h
12 * src/hildon-window-stack.h
13 * src/hildon-window-stack.c:
14 New HildonWindowStack object, that adds support for multiple
15 stacks of windows per process.
17 * src/hildon-stackable-window-private.h
18 * src/hildon-stackable-window.h
19 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
20 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
21 (hildon_stackable_window_show, hildon_stackable_window_hide)
22 (hildon_stackable_window_class_init)
23 (hildon_stackable_window_init):
24 Use HildonWindowStack for stack management.
26 * src/hildon-program.c (hildon_program_pop_window_stack)
27 (hildon_program_peek_window_stack)
28 (hildon_program_go_to_root_window):
29 Add a fallback implementation to the deprecated functions using
32 * examples/hildon-stackable-window-example.c:
33 Use the new HildonWindowStack API.
35 2008-11-25 Alberto Garcia <agarcia@igalia.com>
37 * src/hildon-stackable-window-private.h
38 * src/hildon-stackable-window.c (hildon_stackable_window_show)
39 (hildon_stackable_window_hide, hildon_stackable_window_init):
40 Remove all window stack management.
42 * src/hildon-program-private.h
43 * src/hildon-program.h
44 * src/hildon-program.c (hildon_program_init)
45 (hildon_program_pop_window_stack)
46 (hildon_program_peek_window_stack)
47 (hildon_program_go_to_root_window):
48 Remove all window stack management and mark functions as
51 2008-11-25 Alberto Garcia <agarcia@igalia.com>
53 * src/hildon-app-menu.c (hildon_app_menu_realize):
54 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
56 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
58 * configure.ac: post release version bump
59 * debian/changelog: version bump
61 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
66 * configure.ac: bump version
67 * debian/changelog: updates
69 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
71 Based on initial code by Christian Dywan (christian@imendio.com)
73 * doc/hildon-docs.sgml: Add section for hildon-main.
74 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
75 * src/Makefile.am: Add new hildon-main.[ch]
76 * src/hildon-defines.h: Update the icon sizes.
77 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
78 new library initialization files and register icon sizes.
79 * src/hildon-main.h: New declarations.
80 * src/hildon.h: Include hildon-main.h
82 Add new initialization functions to the library. These methods
83 will register the hildon specific icon sizes and can be used in the
84 future for other hildon specific bits.
86 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
88 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-window.c: (hildon_window_realize),
91 (hildon_window_notify), (-hildon_window_update_title): Do not set
92 the application name in the window title.
94 Fixes: NB#89754 (Applications shouldn't display their names in the
97 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
99 * src/hildon-note-private.h:
100 * src/hildon-note.c: (hildon_note_set_property),
101 (hildon_note_get_property), (hildon_note_class_init),
102 (hildon_note_init), (hildon_note_finalize),
103 (hildon_note_new_confirmation_with_icon_name),
104 (hildon_note_new_information_with_icon_name):
106 No need to mark as deprecated the actual code. Revert
107 to avoid missing symbols in widgets using deprecated API.
109 2008-11-20 Alberto Garcia <agarcia@igalia.com>
111 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
113 * src/hildon-volumebar.h
114 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
115 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
117 * src/hildon-helper.h
118 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
119 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
121 * examples/Makefile.am:
122 Deprecate hildon-insensitive-example
124 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
126 2008-11-20 Alberto Garcia <agarcia@igalia.com>
128 * examples/hildon-pannable-area-buttons-scroll-example.c:
129 Make all buttons finger height
131 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
133 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
135 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
136 update the day model only if it is really required, and to avoid the
137 full-reconstruction aproach. Now it only add or remove the required days.
139 The purpose of this is avoid superfluous HildonTouchSelector::changed
142 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
143 with strange parameters)
145 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
147 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
149 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
150 the WINDOW_TYPE property.
152 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
154 2008-11-19 Alberto Garcia <agarcia@igalia.com>
157 Fix dependency to allow parallel compilation with make -jX
159 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
161 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
162 color frame and some minor tweaks to make it more consistent with
165 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
166 highlighted but not visible)
168 2008-11-14 Alejandro G. Castro <alex@igalia.com>
170 * examples/Makefile.am: Fixed typo in the Makefile.am.
172 2008-11-14 Alejandro G. Castro <alex@igalia.com>
174 Reviewed the use of MAEMO_GTK define, now we add the define in the
175 compilation line, and we also add it to the pc file.
177 * configure.ac: Added MAEMO_GTK define to the compilation command
178 and removed it from the config.h.
180 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
181 do not have to take care about this define if the library was
185 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
187 2008-11-14 Alejandro G. Castro <alex@igalia.com>
189 * examples/Makefile.am,
190 * examples/hildon-pannable-area-buttons-scroll-example.c,
191 * examples/hildon-pannable-area-gesture-signals-example.c,
192 * examples/hildon-pannable-area-scroll-jump-example.c,
193 * examples/hildon-pannable-area-tree-view-example.c:
194 Renamed the pannable area examples, now they have more meaningful
197 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
199 * src/hildon-touch-selector.c:
200 (hildon_touch_selector_set_column_selection_mode): Used of
201 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
202 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
203 to avoid re-seting the same selection mode.
205 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
206 breaks HildonPickerDialog)
208 2008-11-13 Alejandro G. Castro <alex@igalia.com>
210 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
211 conditional in the Makefile.am
213 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
215 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
216 Remove unused methods.
218 2008-11-12 Alberto Garcia <agarcia@igalia.com>
220 * src/hildon-button.c (hildon_button_init):
221 Make button images center-aligned by default
223 2008-11-12 Alejandro G. Castro <alex@igalia.com>
226 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
227 activated, we have to think about how to deal with both defines
228 MAEMO_GTK and MAEMO_CHANGES.
230 2008-11-12 Alberto Garcia <agarcia@igalia.com>
232 * examples/hildon-app-menu-example.c (create_menu): Make all
235 2008-11-11 Alejandro G. Castro <alex@igalia.com>
237 Fixed the compilation without maemo gtk adding ifdefs with
238 MAEMO_GTK define to the code, we have to check this version more
241 * examples/Makefile.am: Added control to avoid some examples that
242 just make sense with maemo gtk.
245 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
246 hildon modes with the define.
248 * examples/hildon-edit-toolbar-example.c,
249 (create_icon_view): Create the icon view without hildon-gtk
250 helpers if we are not using maemo gtk.
252 * src/hildon-touch-selector.c,
253 (_create_new_column): Create the treeview without hildon-gtk
254 helpers if we are not using maemo gtk.
256 2008-11-11 Alejandro G. Castro <alex@igalia.com>
258 * src/hildon-pnnable-area.c,
259 (hildon_pannable_area_dispose),
260 (hildon_pannable_area_button_press_cb),
261 (hildon_pannable_area_child_mapped),
262 (hildon_pannable_area_add),
263 (hildon_pannable_area_remove): Added code to control the position
264 of the event_window when adding and removing children from the
265 pannable. We have to raise the event window when the child is
268 Fixes: NB#89811 (Not able to select first image thumbnail in multi
269 selection mode using custom widget inside pannable)
271 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
273 * configure.ac: post release version bump
274 * debian/changelog: version bump
276 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
281 * configure.ac: bump version
282 * debian/changelog: updates
284 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
286 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
287 search mode, in order to avoid lose the focus on the treeview when
288 a hw key (like enter) is pressed.
290 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
291 in HildonDateSelector dialog)
293 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
295 * debian/rules: Added --enable-maintainer-mode
296 * Makefile.am: Added ACLOCAL_AMFLAGS
298 This allows to properly regenerate the Makefiles if you modify the
299 configure.ac or any Makefile.am.
301 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
303 * examples/hildon-app-menu-example.c: (main): Do not set RC style
304 properties, not needed at all.
306 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
308 * src/hildon-note-private.h: Add strings for the icon and stock_icon
310 * src/hildon-note.c: (hildon_note_set_property),
311 (hildon_note_get_property), (hildon_note_class_init),
312 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
313 (hildon_note_new_confirmation_add_buttons): Remove icons.
314 (hildon_note_new_confirmation_with_icon_name): Deprecate.
315 (hildon_note_new_information_with_icon_name): Deprecate.
316 (hildon_note_new_confirmation): Act directly, without calling
317 the deprecated constructor.
318 (hildon_note_new_information): Act directly, without calling
319 the deprecated constructor.
320 * src/hildon-note.h: Mark deprecate methods as such.
321 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
322 not run tests on the deprecated methods if built with deprecation
325 Fixes: NB#91688 (Never show icons in information notes/confirmation
328 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
330 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
331 (hildon_app_menu_key_press): Remove leftover usage of the
332 private structure in HildonAppMenu struct.
333 * src/hildon-app-menu.h: Remove leftover private structure
334 from the HildonAppMenu struct.
336 Fixes a crasher when using the HildonAppMenu.
338 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
340 * src/hildon-picker-dialog.c: Use appropriate logical id
341 for the default "Done" text.
343 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
345 * configure.ac: post release version bump
346 * debian/changelog: version bump
348 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
350 Modified the way to scroll to the current selection just when the touch
351 selector is shown on the screen, avoiding a g_idle. Added too a property
352 to configure this behaviour. See hildon_pannable_area_jump_to_child
353 documentation for more information.
355 * src/hildon-touch-selector.c
356 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
357 Added 'initial-scroll' property
358 (hildon_touch_selector_set_property): Added
359 (hildon_touch_selector_map): Removed as not required anymore
360 (_hildon_touch_selector_on_selected_items): Modified in order to manage
361 only a concrete column, instead of iterate along all the columns
363 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
368 * configure.ac: bump version
369 * debian/changelog: updates
371 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
373 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
374 compilation time warnings.
376 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
378 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
379 the default value for HildonPannableArea::mov-mode to
380 HILDON_PANNABLE_AREA_MODE_VERT.
382 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
384 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
386 Reverting following commit:
388 2008-10-13 Alberto Garcia <agarcia@igalia.com>
390 * src/hildon-app-menu-private.h
391 * src/hildon-app-menu.[ch]
392 * src/hildon-button.[ch]
393 * src/hildon-check-button.[ch]
394 * src/hildon-entry.[ch]
395 * src/hildon-pannable-area.[ch]
396 * src/hildon-text-view.[ch]:
397 Added private field to the object's structure.
399 because it causes an ABI breakage. We will need to introduce these
400 changes later at some point. See NB#91636 for an extensive
401 explanation and status.
403 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
405 Patch contributed by Daniel Borgmann (danielb@openismus.com)
407 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
408 remove special cases that are no longer necessary.
410 Fixes: NB#91016 (Change toolbar sizes, simplification)
412 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
414 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
415 is shown in the cancel note.
417 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
419 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
420 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
421 (hildon_seekbar_init): Remove steppers, remove expose event.
422 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
424 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
426 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
428 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
429 label font to "SmallSystemFont" for vertically arranged buttons.
431 Fixes: NB#90662 (HildonButton "value" and "detail" text is
434 2008-10-31 Alberto Garcia <agarcia@igalia.com>
436 * src/hildon-check-button.c
437 (hildon_check_button_set_active, hildon_check_button_clicked):
438 Don't access private parts directly, use getters instead.
440 2008-10-31 Alberto Garcia <agarcia@igalia.com>
442 * src/hildon-check-button.c (hildon_check_button_new):
443 Align the contents of the check button to the left.
445 2008-10-30 Alejandro G. Castro <alex@igalia.com>
447 * src/hildon-pannable-area.c,
448 (hildon_pannable_area_scroll_to),
449 (hildon_pannable_area_jump_to),
450 (hildon_pannable_area_scroll_to_child),
451 (hildon_pannable_area_jump_to_child): Replace the mapped
452 precondition of these functions with the realized, it is the
453 correct state of the widget in this case. Changed the
454 documentation according to this modification.
456 2008-10-30 Alejandro G. Castro <alex@igalia.com>
458 Added a new EXTRA_CFLAGS option to add the deprecated define to
459 the compilation command. This way we can avoid using the define in
460 the documentation compilation.
462 * configure.ac: Defined EXTRA_CFLAGS.
464 * examples/Makefile.am:
466 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
468 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
470 * src/hildon-picker-dialog.c:
471 Defined a utility macro with the desired touch selector height
472 Removed currently unused separator, and title_label variables from
474 (hildon_picker_dialog_init): Removed code related to the creation
475 of unused private variables title_label and separator.
476 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
477 to ensure correct visualization of the touch selector inside the dialog.
478 * src/hildon-touch-selector.c
479 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
480 ensure a concrete height of the widget.
482 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
487 Remove spurious whitespaces.
489 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
491 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
492 compilation warning after the cancel button removal.
494 2008-10-30 Alejandro G. Castro <alex@igalia.com>
496 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
498 * configure.ac: Added an AM_CONDITIONAL in order to use in the
499 Makefile.am, that way we can choose not to compile some examples
500 and tests of the deprecated widgets.
502 * examples/Makefile.am: Divided the sources in deprecated and
505 * src/Makefile.am: Added undef statement of the deprecated
506 symbol to the enums file generation process.
508 * src/hildon-color-chooser-dialog.c
509 * src/hildon-color-chooser-dialog.h
510 * src/hildon-color-button.c
511 * src/hildon-color-button.h
512 * src/hildon-color-chooser.c
513 * src/hildon-color-chooser.h
514 * src/hildon-controlbar.c
515 * src/hildon-controlbar.h
516 * src/hildon-date-editor.c
517 * src/hildon-date-editor.h
518 * src/hildon-hvolumebar.c
519 * src/hildon-hvolumebar.h
520 * src/hildon-private.c
521 * src/hildon-private.h
522 * src/hildon-range-editor.c
523 * src/hildon-range-editor.h
524 * src/hildon-seekbar.c
525 * src/hildon-seekbar.h
526 * src/hildon-time-editor.c
527 * src/hildon-time-editor.h
528 * src/hildon-time-picker.c
529 * src/hildon-time-picker.h
530 * src/hildon-volumebar.c
531 * src/hildon-volumebar.h
532 * src/hildon-vvolumebar.c
533 * src/hildon-vvolumebar.h
534 * src/hildon-bread-crumb-trail.h
535 * src/hildon-bread-crumb-trail.c
536 * src/hildon-calendar-popup.c
537 * src/hildon-calendar-popup.h
538 * src/hildon-weekday-picker.c:
539 * src/hildon-weekday-picker.h:
540 * src/hildon-bread-crumb-widget.c:
541 * src/hildon-bread-crumb-widget.h:
542 * src/hildon-bread-crumb.c:
543 * src/hildon-bread-crumb.h:
544 * src/hildon-calendar.c:
545 * src/hildon-calendar.h:
546 * src/hildon-caption.c:
547 * src/hildon-code-dialog.c:
548 * src/hildon-code-dialog.h:
549 * src/hildon-font-selection-dialog.c:
550 * src/hildon-font-selection-dialog.h:
551 * src/hildon-get-password-dialog.c:
552 * src/hildon-get-password-dialog.h:
553 * src/hildon-login-dialog.c:
554 * src/hildon-login-dialog.h:
555 * src/hildon-number-editor.c:
556 * src/hildon-number-editor.h:
557 * src/hildon-set-password-dialog.c:
558 * src/hildon-set-password-dialog.h:
559 * src/hildon-sort-dialog.c:
560 * src/hildon-sort-dialog.h: This is the list of deprecated
563 * src/hildon-touch-selector.c:
564 * src/hildon-window.c: Added undef statement to avoid compilation
567 * tests/Makefile.am: Divided the sources in deprecated and
570 * tests/check_test.c,
571 (configure_tests): Marked the deprecated code that was adding
572 suites with deprecated tests.
574 Fixes: NB#91135 (Deprecate legacy hildon widgets)
576 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
578 * src/hildon-touch-selector.c: (_default_print_func): Do not
579 duplicate a string returned by gtk_tree_model_get(), it is already
582 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
585 2008-10-28 Alejandro G. Castro <alex@igalia.com>
587 * src/hildon-pannable-area.c
588 (hildon_pannable_area_add_with_viewport): Reviewed the complete
589 method, it had problems when adding a widget with viewport the
590 second time. Now checks if it already has a viewport and uses it.
592 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
595 2008-10-28 Alejandro G. Castro <alex@igalia.com>
597 * src/hildon-pannable-area.c,
598 (hildon_pannable_area_scroll_to),
599 (hildon_pannable_area_jump_to),
600 (hildon_pannable_area_scroll_to_child),
601 (hildon_pannable_area_jump_to_child): Added a precondition to the
602 scroll and jump to functions: the widget must be mapped before we
603 can safely call these functions. We have also added documentation
604 to the functions to explain how to use them in this situation.
607 2008-10-28 Alejandro G. Castro <alex@igalia.com>
609 Reviewed the threading handling of the pannable widget, we have
610 used the gdk_threads_add_timeout function instead of the usual
611 glib handlers. This avoids some problems with the threads.
613 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
614 (hildon_pannable_area_initial_effect),
615 (hildon_pannable_area_scroll_indicator_fade),
616 (hildon_pannable_area_button_press_cb),
617 (hildon_pannable_area_timeout),
618 (hildon_pannable_area_motion_notify_cb),
619 (hildon_pannable_area_button_release_cb),
620 (hildon_pannable_area_scroll_cb),
621 (hildon_pannable_area_scroll_to): Removed the
622 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
623 gdk_threads_add_timeout.
625 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
627 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
632 * configure.ac: bump version
633 * debian/changelog: updates
635 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
637 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
638 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
639 * src/hildon-color-chooser-dialog.c:
640 (hildon_color_chooser_dialog_init):
641 * src/hildon-font-selection-dialog.c:
642 (hildon_font_selection_dialog_init):
643 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
645 Remove all cancel/close-like dialogs, as these are not going to be
648 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-note.c: (hildon_note_rebuild),
651 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
654 Fixes: NB#90661 (Delete dialog is displayed without NO button)
656 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
659 sure all buttons are shown, even the Cancel/Close-like ones.
661 Fixes: NB#90861 (Custom Confirmation dialogs should be
662 protected from cancel button removal)
664 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
666 * debian/control: Change libhildon1-examples dependency from libhildon1
668 * debian/libhildon1-examples.install
670 * Makefile.am: Modified the final install directory for the examples on
671 package libhildon1-examples
672 * Makefile.static: Update clean target in order to remove all the binary
675 Changes suggested by Claudio after review new libhildon1-examples package
677 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
679 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
680 * src/hildon-touch-selector.c: Ditto.
682 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
684 * debian/control: Added new package libhildon1-examples, in order to pack
685 the current hildon examples as documentation
686 * debian/rules: Not to compress .c files, modify some includes on the
687 examples (as normally are compiled locally, but when installed it will
688 require to include the installed libhildon1 library), and rename
690 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
691 install all the example files on the new example package
692 * examples/Makefile.static: Added static makefile that can be used to
693 compile the examples, once installed the new example package
694 * examples: Most of the examples were modified in order to grant that
695 all use only '#include "hildon.h"', in order to be easy to prepare
696 it on the example package
698 2008-10-23 Alberto Garcia <agarcia@igalia.com>
701 * debian/libhildon1-dev.install
702 * debian/libhildon1-doc.install:
703 Move all gtk-doc files to a separate libhildon1-doc package.
705 2008-10-23 Daniel Borgmann <danielb@openismus.com>
707 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
711 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
713 * debian/rules: Fixed a error in order to avoid unnecessary calls
714 to autogen.sh on package building
716 2008-10-22 Alberto Garcia <agarcia@igalia.com>
718 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
720 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
722 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
725 2008-10-21 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-picker-button.c
728 (hildon_picker_button_finalize):
729 Free priv->done_button_text
731 * src/hildon-time-button.c
732 (hildon_time_button_set_time)
733 * src/hildon-picker-button.c
734 (hildon_picker_button_clicked)
735 (hildon_picker_button_selector_selection_changed)
736 (hildon_picker_button_set_selector)
737 * src/hildon-date-button.c
738 (hildon_date_button_set_date):
739 Free strings returned by hildon_touch_selector_get_current_text()
741 * src/hildon-button.c (hildon_button_construct_child):
742 Fix leaks in priv->image and priv->label_box
744 Fixes: NB#90535 (Memory leak in picker button)
746 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-button.c: (hildon_button_get_property): Do not access
749 private elements directly, use getters instead.
751 2008-10-20 Alberto Garcia <agarcia@igalia.com>
753 * src/hildon-app-menu-private.h
754 * src/hildon-app-menu.c
755 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
756 Store the menu's parent window.
758 * src/hildon-stackable-window.c
759 (hildon_stackable_window_toggle_menu)
760 (hildon_stackable_window_finalize):
761 Set the menu's parent window when the menu is shown, unset it when
764 * src/hildon-app-menu.c
765 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
766 (hildon_app_menu_class_init):
767 Send unhandled keyboard accelerators to the parent window.
769 2008-10-20 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-stackable-window.c
772 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
774 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
776 * configure.ac: post release version bump
778 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
781 * configure.ac: Bump version
782 * debian/changelog: Updates
783 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
786 2008-10-20 Alberto Garcia <agarcia@igalia.com>
788 Patch contributed by Daniel Borgmann (danielb@openismus.com)
791 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
792 GtkMenu with Hildon style.
794 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-picker-button.c:
797 (hildon_picker_button_set_done_button_text): Set the dialog's
798 done button text here as well.
800 Fixes: NB#90232 (Picker button does not set the label on done button
803 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
808 2008-10-16 Alberto Garcia <agarcia@igalia.com>
810 * src/hildon-app-menu.c (hildon_app_menu_insert)
811 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
812 the HildonAppMenu to be activatable using keyboard accelerators
813 when the menu is not being shown.
815 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
817 2008-10-16 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-stackable-window.c
820 (hildon_stackable_window_show):
821 Don't hide old windows automatically when new windows are shown:
822 this is now a task for the window manager.
823 (hildon_stackable_window_class_init)
824 (hildon_stackable_window_hide):
825 Remove windows from the stack everytime they're hidden.
826 (hildon_stackable_window_realize):
827 Don't change the _NET_WM_WINDOW_TYPE property. Use
828 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
829 it as a stackable window.
831 * src/hildon-program.c
832 (hildon_program_pop_window_stack):
833 Just hide the window to remove it from the stack.
834 (hildon_program_go_to_root_window):
835 Don't call gtk_widget_show(), this is now a task for the window
838 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
840 2008-10-15 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-button.c
843 (hildon_button_construct_child):
844 Don't pack anything in the button until text or image are
845 set. This allows adding a custom child after creating the button
846 with hildon_button_new().
847 (hildon_button_finalize, hildon_button_class_init)
848 (hildon_button_init, hildon_button_set_arrangement): Destroy the
849 alignment and the label box even when they're not packed in the
852 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
854 * src/hildon-touch-selector.h:
855 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
856 currently the type definition was using GTK_TYPE_VBOX
857 * src/hildon-touch-selector.c:
858 Added some implementation notes in order to clarify that any other widget
859 added without the column related API will not be included on the
860 selection logic, and how the widget is freed, as some people ask about
862 (hildon_touch_selector_remove): Reimplemented in order to free properly
863 the column related data when you remove the private hbox.
864 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
865 to get a proper HildonTouchSelectorColumn documentation
867 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
869 * src/hildon-touch-selector-entry.c:
870 (hildon_touch_selector_entry_print_func): Return NULL if there is no
871 text in the GtkEntry and there is no item selected. Fixes a
874 2008-10-13 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-app-menu-private.h
877 * src/hildon-app-menu.[ch]
878 * src/hildon-button.[ch]
879 * src/hildon-check-button.[ch]
880 * src/hildon-entry.[ch]
881 * src/hildon-pannable-area.[ch]
882 * src/hildon-text-view.[ch]:
883 Added private field to the object's structure.
885 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: post-release version bump
889 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
893 * configure.ac: pre-release version bump
895 * debian/changelog: updates.
897 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
900 Disconnect the handler for HildonTouchSelector::changed.
902 (hildon_picker_button_selector_selection_changed): Update the button
903 value if the selection change was not triggered by the
906 (hildon_picker_button_set_selector): connect to
907 HildonTouchSelector::changed.
909 Fixes: NB#89650 (Picker button is not updated, when selection in
910 selector has changed)
912 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
914 * src/hildon-picker-dialog.c
915 (hildon_picker_dialog_realize): Removed as not required
916 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
917 * src/hildon-picker-button.c
918 (_current_selector_empty): New function, checks if the selector is empty
919 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
920 if the current selector is empty, in order to avoid to show the dialog
921 close the dialog in this case (and shows a g_warning).
923 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
925 2008-10-09 Alejandro G. Castro <alex@igalia.com>
927 * src/hildon-pannable-area.c,
928 (hildon_pannable_area_scroll): Added clause to stop movement when
929 the child of pannable is smaller than one page.
930 (hildon_pannable_area_scroll_to): Added conditions to avoid
931 starting the scrolling movement if the child is smaller than one
932 page, the complete child is in the screen, we do not have to move.
934 Fixes: NB#89632 (Picker button selection doesn't change on first click)
936 2008-10-09 Alberto Garcia <agarcia@igalia.com>
938 * src/hildon-app-menu.c: Removed the 'columns' property, as now
939 this is managed automatically by the widget when the size of the
942 2008-10-09 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-picker-button.c
945 (hildon_picker_button_set_done_button_text): Make a copy of the
946 text, and free the previous value.
948 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-touch-selector-entry.c:
951 (hildon_touch_selector_entry_print_func): Return the selected row's
952 text if the entry is empty.
954 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
957 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-touch-selector-entry.c: Minor docs fixes.
961 2008-10-09 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-check-button.h
965 * src/hildon-check-button.c
966 * examples/hildon-check-button-example.c:
967 HildonCheckButton is now a new widget. 'toggled' signal added.
969 2008-10-08 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-program-private.h
972 * src/hildon-program.c (hildon_program_init)
973 (hildon_program_finalize): Removed unused variables group_leader
974 and name from HildonProgramPrivate.
976 2008-10-08 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-check-button.c (hildon_check_button_set_active)
979 (hildon_check_button_get_active, hildon_check_button_new): Use
980 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
982 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
984 * src/hildon-touch-selector.h
985 (hildon_touch_selector_set_column_attributes): added deprecation
986 guard HILDON_DISABLE_DEPRECATED
987 * src/hildon-time-selector.c
988 (hildon_time_selector_set_time)
989 (hildon_time_selector_get_time): Fixed a typo on documentation
990 * src/hildon-touch-selector.c: update HildonTouchSelector and
991 HildonTouchSelectorColumn documentation
992 * src/hildon-touch-selector-entry.c: update "text-column" property
994 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
995 to be added to the general documentation.
997 2008-10-08 Alejandro G. Castro <alex@igalia.com>
999 * examples/hildon-pannable-area-example-4.c,
1001 * examples/hildon-pannable-area-example.c,
1002 (main): Modified the code in order to use the container add, with
1003 viewport treeviews could have problems if they are really big.
1005 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1007 * src/hildon-weekday-picker.c,
1008 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1009 the agreement regarding deprecation in the library.
1011 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1013 * examples/hildon-picker-button-multicolumn-example.c:
1014 (main): Use custom "done" button text.
1016 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1017 (hildon_picker_button_set_property),
1018 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1019 (hildon_picker_button_init),
1020 (+hildon_picker_button_get_done_button_text),
1021 (+hildon_picker_button_set_done_button_text): New methods to customize
1022 the "done" button label in the launched HildonPickerDialog. Also,
1025 * src/hildon-picker-button.h: add the public API.
1027 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1029 * src/hildon-date-selector.h:
1030 * src/hildon-picker-dialog.h:
1031 * src/hildon-time-selector.h:
1032 * src/hildon-touch-selector-column.h:
1033 * src/hildon-touch-selector.h:
1035 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1036 declarations. Fixes gtk-doc warnings.
1038 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-picker-dialog.h
1041 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1042 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1044 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1045 long text is set as label for done button)
1047 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1049 * src/hildon-dialog.c (hildon_dialog_add_button):
1050 Set fixed width to all buttons in the HildonDialog.
1052 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1054 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1056 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1057 Set widget name using class name plus "-finger" or "-thumb".
1059 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1062 'clicked' when the state of the button is manually changed.
1064 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-app-menu.c (hildon_app_menu_realize)
1067 (hildon_app_menu_unrealize, hildon_app_menu_init)
1068 (hildon_app_menu_class_init, item_visibility_changed):
1069 Change the menu layout when the size of the screen changes.
1070 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1071 Show warning only when changing the number of colums using the
1074 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1076 * debian/compat: Set to 5
1077 * debian/control: Update dependencies.
1078 * debian/libhildon1-dbg.install: Remove.
1079 * debian/libhildon1-dev.install: Update according to cdbs paths.
1080 * debian/libhildon1.install: Update according to cdbs paths.
1081 * debian/rules: Switch to cdbs.
1083 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1086 'item' variable renamed to 'filter'
1088 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1090 * src/hildon-app-menu.c (hildon_app_menu_insert)
1091 (hildon_app_menu_add_filter, remove_item_from_list)
1092 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1093 Don't leak hidden items when the menu is destroyed.
1095 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-app-menu.c (hildon_app_menu_insert)
1098 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1099 (hildon_app_menu_set_columns, item_visibility_changed)
1100 (filter_visibility_changed, hildon_app_menu_repack_filters)
1101 (hildon_app_menu_repack_items):
1102 Repack items and filters separately.
1104 Don't repack all items, change only the ones that are needed to
1107 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1109 * src/Makefile.am: added hildon-touch-selector-column.h
1111 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1113 * src/hildon-touch-selector.c: added the property "text-column" to the
1114 class HildonTouchSelectorColumn, and related get/set functions
1115 (_default_printf_func): updated to use "text-column" property
1116 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1117 "text-column" in his documentation, as this is now included on
1118 HildonTouchSelectorColumn. The get/set_property can still be used,
1119 working as a wrapper to the concrete column "text-column" property
1120 (_text_column_modified): callback added in order to handle the signal
1121 "notify::text-column" of the concrete HildonTouchSelectorColumn
1122 (hildon_touch_selector_entry_get_text_column)
1123 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1124 modified in order to use the HildonTouchSelectorColumn "text-column"
1126 * src/hildon-time-selector.c:
1127 * src/hildon-date-selector.c:
1128 * examples/hildon-touch-selector-example.c
1129 * examples/hildon-touch-selector-multi-cells-example.c
1130 * examples/hildon-picker-button-multicolumn-example.c
1131 Set the right value to "text-column" property on the creation of a new
1132 column using hildon_touch_selector_append_column()
1134 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1136 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1138 * src/hildon-app-menu.c
1139 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1140 updating the layout of the menu, don't create all widgets again,
1141 just repack the items in their new places.
1143 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1145 * src/hildon-time-selector.c
1146 (hildon_time_selector_get_time)
1147 (hildon_time_selector_set_time)
1148 Added documentation of these public methods
1150 * src/hildon-date-button.h
1151 * src/hildon-touch-selector-column.h
1152 * src/hildon-time-button.h
1153 * src/hildon-picker-dialog.h
1154 * src/hildon-time-selector.h
1155 * src/hildon-picker-button.h
1156 * src/hildon-touch-selector.h
1157 * src/hildon-time-picker.h
1158 * src/hildon-date-selector.h
1159 * src/hildon-touch-selector-entry.h
1160 Modified in order to use hildon-widgets code style
1162 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1164 Added deprecated support to the compilation process using
1165 HILDON_DISABLE_DEPRECATED
1167 * configure.ac: Added the --disable-deprecated to the configure
1170 * src/hildon-weekday-picker.c:
1171 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1172 to use the deprecated support. We will update the other deprecated
1173 widgets status in a new patch.
1175 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1177 * configure.ac: Fixed typo with fatal warnings support, the
1178 variable name was not correct
1180 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1182 * src/hildon-app-menu.c
1183 * src/hildon-program.c: Update documentation.
1185 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1187 * configure.ac: Post-release version bump.
1189 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: Pre-release version bump.
1195 * debian/changelog: Updates.
1197 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1199 * NEWS: Update news for previous releases.
1201 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1203 * examples/hildon-touch-selector-multi-cells-example.c:
1204 (create_selector): Update the example to use
1205 hildon_touch_selector_append_column() with a NULL renderer and set
1206 the renderers later.
1207 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1208 passed a NULL renderer. This is documented behavior now.
1210 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1211 This must be used if the developer wants full control on the layout of
1212 the renderers to be added to the column.
1214 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1216 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1218 * src/hildon-touch-selector.c: Documentation fixes.
1220 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1222 * src/hildon-wizard-dialog-private.h: Remove image and box.
1223 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1224 (hildon_wizard_dialog_set_property), (response): Completely remove
1225 image/icon support, and the containers required for the layout.
1227 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1229 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-app-menu.c: Updated documentation.
1233 * src/hildon-stackable-window.c
1234 (hildon_stackable_window_set_main_menu): Unref the old menu after
1235 ref'ing the new one.
1237 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1239 * src/hildon-stackable-window.c
1240 (hildon_stackable_window_set_main_menu): Unref the previous menu
1241 instead of destroying it.
1243 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1244 floating reference and set has_user_ref_count to FALSE to make
1245 HildonAppMenu act like a normal ref-counted widget and not a
1248 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1251 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1253 * src/hildon-touch-selector-column.h: new file
1254 * src/hildon-touch-selector.h
1255 * src/hildon-touch-selector.c
1256 Implemented GtkCellLayout interface, in order to allow to configure
1257 the cell layout on each individual selector column
1258 (hildon_touch_selector_set_column_attributes): marked as deprecated
1259 * examples/hildon-touch-selector-multi-cells-example.c
1260 Example of how to use the GtkCellLayout interface on the selector
1262 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1264 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-app-menu.h
1267 * src/hildon-app-menu.c
1268 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1269 (hildon_app_menu_append, hildon_app_menu_prepend):
1270 New methods to prepend, insert and move items in the menu.
1272 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1274 * src/hildon-wizard-dialog.c:
1276 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1278 (create_title): Update logical IDs and related code.
1279 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1281 * src/hildon-wizard-dialog.h: Note that
1282 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1283 point, as it is not used anymore.
1285 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1287 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-note.c:
1290 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1291 shown. Do not display an icon in confirmation notes nor information
1293 (hildon_note_set_button_text): Update logical ID for cancel button.
1295 Fixes: NB#88850 (Update HildonNote button strings + signals)
1297 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-stackable-window.c
1300 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1302 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-app-menu-private.h
1305 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1306 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1307 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1308 temporary property 'columns' to change the number of columns.
1310 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1312 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1314 * examples/hildon-note-example.c: (on_information_clicked),
1315 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1316 debugging information.
1317 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1319 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1320 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1321 in order to close: this will be handled by the WM from now on.
1323 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1325 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-app-menu-private.h
1328 * src/hildon-app-menu.c
1329 (hildon_app_menu_append, hildon_app_menu_add_filter)
1330 (button_visibility_changed, hildon_app_menu_apply_style)
1331 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1332 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1333 layout everytime a button (item or filter) is shown or hidden.
1335 * src/hildon-stackable-window.c
1336 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1339 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1341 * src/hildon-touch-selector.c:
1342 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1343 that the treeview inside the touch selector is in fremantle hildon mode
1344 * examples/hildon-date-button-example.c
1345 * examples/hildon-picker-button-multicolumn-example.c
1346 * examples/hildon-touch-selector-entry-example.c
1347 * examples/hildon-touch-selector-example.c
1348 * examples/hildon-time-button-example.c
1349 * examples/hildon-picker-button-example.c:
1350 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1352 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1354 * examples/hildon-text-view-example.c: (main): Remove the
1355 gtkrc bits, now handled by the theme.
1357 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1362 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1364 * po/Makefile.am: Install properly the mo files.
1365 * po/en_GB.po: Update translation, to ease testing purposes.
1367 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1369 * examples/hildon-picker-button-example.c: (main): Select an item
1370 in the selector before setting it to the button.
1372 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1375 Update button's value if the selector has an item active.
1377 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1378 'value' with the selector)
1380 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1383 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1384 (hildon_picker_button_class_init): Plug the finalize method.
1385 (hildon_picker_button_set_selector): If there's a previously set
1386 selector, unref'it before setting a new one.
1388 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1389 HildonTouchSelector)
1391 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-touch-selector-entry.c:
1394 (hildon_touch_selector_entry_changed): Check if there is no text
1395 selected before setting the entry text.
1398 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1400 * src/hildon-touch-selector.h
1401 * src/hildon-touch-selector.c
1402 (hildon_touch_selector_get_active)
1403 (hildon_touch_selector_set_active): New methods to set/get the
1404 index of the selected item.
1406 * src/hildon-picker-button.h
1407 * src/hildon-picker-button.c
1408 (hildon_picker_button_get_active)
1409 (hildon_picker_button_set_active): New methods to set/get the
1410 index of the selected item.
1412 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1414 * configure.ac: post-release version bump.
1416 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1420 * configure.ac: Pre-release version bump.
1421 * debian/changelog: Updates.
1422 * debian/control: Add myself as maintainer and depend on l10n
1425 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-window.c
1428 (hildon_window_set_main_menu)
1429 * src/hildon-stackable-window.c
1430 (hildon_stackable_window_set_main_menu):
1431 Updated documentation.
1433 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1436 Don't free selector->priv manually.
1439 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1442 (hildon_gtk_window_set_progress_indicator):
1443 * src/hildon-gtk.h: Added the new API
1444 hildon_gtk_window_set_progress_indicator, it changes the state of
1445 the window progress hint.
1447 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-button.c
1450 * src/hildon-stackable-window.c: Minor documentation updates.
1452 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-stackable-window.c: Updated documentation.
1456 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-defines.h: Update margins definitions
1459 to the Fremantle sizes.
1462 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1464 * src/hildon-touch-selector.c,
1465 (_hildon_touch_selector_set_model): Cleaning the code after
1466 review, removed g_print and #if 0 from the code.
1468 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-edit-toolbar.c: Update documentation.
1472 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-check-button.h
1475 * src/hildon-check-button.c
1476 (hildon_check_button_set_label, hildon_check_button_get_label)
1477 * examples/hildon-check-button-example.c
1478 (button_clicked_cb):
1479 Removed deprecated methods.
1481 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-text-view.c:
1484 Add sample code to the documentation.
1486 * src/hildon-entry.h
1487 * src/hildon-text-view.h:
1488 Minor cosmetic changes.
1490 * src/hildon-entry.c:
1491 Add sample code to the documentation.
1492 (hildon_entry_init, hildon_entry_refresh_contents):
1493 Don't allow NULL values in the placeholder.
1495 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1497 * doc/hildon-docs.sgml
1499 * examples/Makefile.am
1500 * examples/hildon-text-view-example.c
1502 * src/hildon-text-view.c
1503 * src/hildon-text-view.h
1505 New HildonTextView widget, with example.
1507 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1509 * po/POTFILES.in: Add missing files with translatable strings.
1510 Partially fixes NB#88287.
1512 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1514 * examples/hildon-pannable-area-example-2.c: (main): No need to
1515 set the cellrenderer height inside hildon touch lists, the theme does
1518 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1520 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1521 they are integrated in the theme.
1523 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1525 * examples/hildon-entry-example.c: Update the example adding
1526 widgets to modify the text and the placeholder of the HildonEntry.
1528 * src/hildon-entry.c: Show the placeholder everytime the widget
1529 is empty and loses the focus.
1531 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1533 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1535 * src/hildon-pannable-area.c,
1536 (hildon_pannable_area_size_request): Fixed bug in height
1537 requisition, avoid increasing size and add border twice.
1539 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1541 * configure.ac: postrelease version bump.
1543 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1547 * configure.ac: Prerelease version bump.
1548 * debian/changelog: update.
1549 * debian/rules: make -dbg package contain useful debugging symbols.
1551 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1553 * src/hildon-dialog.h
1554 * src/hildon-dialog.c
1555 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1556 New methods to add buttons with finger size.
1557 (hildon_dialog_new_with_buttons):
1558 Create buttons with finger size.
1560 * examples/hildon-dialog-example.c (main): Use HildonDialog
1561 methods to add buttons.
1563 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-entry.c: Updated HildonButton documentation.
1567 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1570 button value label with (FALSE, FALSE) to prevent NB#88126 from
1573 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1575 * examples/hildon-pannable-area-example.c,
1576 (main): Removed examples panning a vbox inside a pannable
1577 area. Check bug NB#87965
1579 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1581 Patch contributed by Kris Rietveld (kris@imendio.com)
1583 * src/hildon-pannable-area.c,
1584 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1585 get_size and get_position, this saves an X server roundtrip.
1587 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1589 * doc/hildon-docs.sgml
1591 * examples/Makefile.am
1592 * examples/hildon-entry-example.c
1594 * src/hildon-entry.c
1595 * src/hildon-entry.h
1597 New HildonEntry widget, with example.
1599 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1601 * src/hildon-button.c (hildon_button_construct_child): Pack the
1602 image with expand == fill == FALSE. This is a workaround for a bug
1605 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1607 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1608 labels for the text column, to make it more look more dynamic.
1610 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1612 * src/hildon-time-selector.c
1613 Define gettext auxiliar macro N_
1614 (_create_minutes_model)
1615 (_create_hours_model)
1616 (_create_ampm_model): use of strftime in order to fill the model
1617 * src/hildon-date-selector.c
1618 (hildon_date_selector_finalize):
1619 (_locales_init): remove the logic related to get the name of the months
1620 using nl_langinfo, as it is not required anymore
1622 (_create_year_model)
1623 (_create_month_model)
1624 (_update_day_model): use of strftime in order to fill the model properly
1627 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-button.h
1630 * src/hildon-button.c (hildon_button_get_image): New method to
1633 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1635 * src/hildon-touch-selector.c:
1636 (hildon_touch_selector_remove_column): Remove from the correct parent
1637 and also remove the list element and free it.
1640 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1642 * src/hildon-time-selector.c
1643 (_create_hours_model): change the range on 12h ampm format in order to use
1644 a 12-11 range instead of previous 01-12 range
1645 (hildon_time_selector_set_time): change the way to select the current time
1646 on 12h ampm format, due the change on the range
1647 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1650 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1652 * src/hildon-touch-selector.c
1653 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1654 in order to allow use this function on multiple row selection mode if
1655 the column is different that the first one
1658 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1661 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1663 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1665 * src/hildon-date-selector.h: clean some comments, now on the .c
1666 * src/hildon-date-selector.c
1667 (hildon_date_selector_select_month): first implementation
1668 (hildon_date_selector_select_day): added documentation, reimplemented
1669 using hildon_date_selector_select_current_date to avoid repeat code
1672 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1674 Reviewed interaction logic based on device experiences, refactored
1677 * src/hildon-pannable-area.c,
1678 (hildon_pannable_area_class_init): Updated default vmax speed.
1679 (hildon_pannable_area_calculate_velocity): Added this function, it
1680 avoids duplicate valocity calculation. Adjusted calculation to
1681 avoid problems with zero dist events.
1683 (hildon_pannable_area_motion_notify_cb): Now we use the
1684 calculate_velocity function.
1686 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1688 * src/hildon-date-selector.c
1689 (hildon_date_selector_select_current_date): fix the day range check
1690 as it failed using the last day of the current month
1693 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1695 * src/hildon-touch-selector.c
1696 (hildon_touch_selector_get_num_columns): added a parameter validation
1699 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1701 * examples/Makefile.am
1702 * examples/hildon-edit-toolbar-example.c: Example of the
1703 HildonEditToolbar widget.
1705 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1707 * configure.ac: postrelease version bump.
1709 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1713 * configure.ac: prerelease version bump.
1714 * debian/changelog: update.
1716 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1718 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1719 renderer to display stock icons in the touch list. Also, set the sizes
1720 to the recommended in the style guide.
1722 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1723 * src/hildon-touch-selector.h
1724 (hildon_touch_selector_set_active_iter): renamed, now is
1725 hildon_touch_selector_select_iter
1726 (hildon_touch_selector_get_active_iter): renamed, now is
1727 hildon_touch_selector_get_selected
1728 (hildon_touch_selector_unselect_iter): added
1729 * src/hildon-touch-selector.c
1730 Update after API modification (methods renamed)
1731 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1732 order to avoid problems selecting multiple elements on the column
1733 (hildon_touch_selector_unselect_iter): added the implementation
1734 * src/hildon-time-selector.c
1735 * src/hildon-date-selector.c
1736 * src/hildon-touch-selector-entry.c
1737 Update methods calls after hildon-touch-selector.h API modification (methods
1740 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-stackable-window.c
1743 (hildon_stackable_window_finalize): Call the parent class's finalize.
1745 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1747 * examples/hildon-touch-selector-example.c: (create_selector): Use
1748 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1751 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1753 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1754 set a cell background color, to respect theming.
1756 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1758 * doc/hildon-docs.sgml
1761 * src/hildon-edit-toolbar.c
1762 * src/hildon-edit-toolbar.h
1763 * src/hildon.h: New HildonEditToolbar widget.
1765 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1767 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1770 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1771 * src/hildon-touch-selector.c
1772 (_create_new_column): use g_object_set instead of two g_object_set_property
1774 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1775 * src/hildon-touch-selector.c
1776 (_create_new_column): use of hildon_gtk_tree_view_new to create
1777 the treeview, instead of use directly g_object_new
1778 (_create_new_column): update the property name "vindicator-mode" for the
1779 new one "vscrollbar-policy"
1780 * examples/hildon-date-button-example.c
1781 * examples/hildon-picker-button-multicolumn-example.c
1782 * examples/hildon-touch-selector-entry-example.c
1783 * examples/hildon-touch-selector-example.c
1784 * examples/hildon-time-button-example.c
1785 * examples/hildon-picker-button-example.c
1786 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1787 to all the treeviews inside a pannable area.
1789 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-button.h
1792 * src/hildon-button.c (hildon_button_init)
1793 (hildon_button_set_arrangement, hildon_button_set_alignment)
1794 (hildon_button_set_title_alignment)
1795 (hildon_button_set_value_alignment)
1796 (hildon_button_set_image_alignment)
1797 (hildon_button_construct_child): New methods to set the alignment
1798 of the individual components of the button (title, value,
1799 image). Also, new method to alter the xscale and yscale properties
1800 of the GtkAlignment inside the button, so more complex layouts can
1803 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-button.c (hildon_button_style_set)
1806 (hildon_button_class_init, hildon_button_set_arrangement)
1807 (hildon_button_construct_child): Apply style properties
1808 correctly. Use the 'image-spacing' style property too.
1810 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1813 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1816 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_area_size_request): Fixed problem with
1820 pannable-area size_request.
1822 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1824 Added management for the grab-focus to a child widget, like a
1825 range, we need to fade out the scrollbar when releasing.
1827 * src/hildon-pannable-area.c,
1828 (hildon_pannable_area_init): Connected the grab-focus signal to
1830 (hildon_pannable_area_grab_notify): Added this function in order
1831 to manage the situation when the grab-focus ends. We have to
1832 fade-out the scrollbar.
1834 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-app-menu.c: Minor documentation update.
1838 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-app-menu.c
1841 * examples/hildon-app-menu-example.c (create_menu): Update
1842 examples and documentation to explain how to connect callbacks.
1844 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1846 * examples/hildon-button-example.c
1847 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1848 hildon_stackable_window_new instead of gtk_window_new
1850 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1852 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1853 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1854 (hildon_pannable_area_set_property),
1855 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1856 (hildon_pannable_area_unrealize),
1857 (hildon_pannable_area_size_request),
1858 (hildon_pannable_area_size_allocate),
1859 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1860 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1861 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1862 (hildon_pannable_area_initial_effect),
1863 (hildon_pannable_area_redraw),
1864 (hildon_pannable_area_scroll_indicator_fade),
1865 (hildon_pannable_area_expose_event),
1866 (hildon_pannable_area_get_topmost), (synth_crossing),
1867 (hildon_pannable_area_button_press_cb),
1868 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1869 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1870 (hildon_pannable_area_motion_notify_cb),
1871 (hildon_pannable_area_button_release_cb),
1872 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1873 (hildon_pannable_area_remove),
1874 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1875 chage the code layout to a more GtkWidget like. Review the use of
1878 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1880 * examples/hildon-pannable-area-example-4.c,
1881 (main): Modified the name of the hindicator_mode to
1884 * src/hildon-pannable-area.c,
1885 (hildon_pannable_area_class_init),
1886 (hildon_pannable_area_motion_notify_cb),
1887 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1888 we have reduced the amount of signals and managed reviewed its
1889 rationale. Changed the default decelerate value.
1891 (hildon_pannable_area_add),
1892 (hildon_pannable_area_redraw): Refactored functions.
1894 (hildon_pannable_area_init),
1895 (hildon_pannable_area_get_property),
1896 (hildon_pannable_area_set_property):
1897 (hildon_pannable_draw_vscroll),
1898 (hildon_pannable_draw_hscroll),
1899 (hildon_pannable_area_initial_effect),
1900 (hildon_pannable_area_expose_event),
1901 (hildon_pannable_area_scroll),
1902 (hildon_pannable_area_button_press_cb),
1903 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1904 and vindicator_mode with hscrollbar_policy and
1905 vscrollbar_policy. Replaced hscroll and vscroll with
1906 hscroll_visible and vscroll_visible.
1908 (hildon_pannable_area_refresh): Refactor the function, remove
1909 variables and check the calls to this function, added resize
1910 conditions in case the children change their layout.
1912 (hildon_pannable_area_size_request): Added more detailed
1913 size_request calculation.
1916 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1918 * src/hildon-color-chooser.c
1919 (init_borders): use the correct gtk_border_free instead of g_free, to
1920 avoid a crash when this widget is used (ie: the three color selection
1923 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-check-button.c,
1926 (hildon_check_button_set_active): Fixed problem when setting the
1927 active value, the widget was not redrawn.
1929 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1931 * src/hildon-pannable-area.c,
1932 (hildon_pannable_area_refresh),
1933 (hildon_pannable_area_scroll),
1934 (hildon_pannable_area_motion_notify_cb): Small code style change.
1936 (hildon_pannable_area_class_init): Default initial_hint set to
1937 FALSE, it is not in the specs.
1939 (hildon_pannable_area_initial_effect),
1940 (hildon_pannable_area_expose_event),
1941 (hildon_pannable_area_map),
1942 (hildon_pannable_area_init): Moved the launching point of the
1943 initial effect, it was in map but the sizes where not correct in
1944 that method so we do not know if we have the reproduce it. Now it
1945 is placed in the expose_event method and uses a variable to
1946 reproduce it just once.
1948 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1950 * src/hildon-pannable-area.c,
1951 (hildon_pannable_draw_vscroll),
1952 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1953 position allowed for the scrollbars.
1955 (hildon_pannable_area_size_allocate): Small style change.
1957 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1959 * src/hildon-pannable-area.c,
1960 (hildon_pannable_area_scroll_indicator_fade),
1961 (hildon_pannable_area_button_press_cb),
1962 (hildon_pannable_area_button_release_cb),
1963 (hildon_pannable_area_scroll_cb),
1964 (hildon_pannable_area_expose_event),
1965 (hildon_pannable_area_init): Added the define parameter
1966 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1967 and refactor the fade variable.
1969 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1971 * src/hildon-pannable-area.c,
1972 (hildon_pannable_area_redraw),
1973 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1974 lines, we were reimplemeting the redraw code.
1976 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c,
1979 (hildon_pannable_area_scroll_cb),
1980 (hildon_pannable_area_realize),
1981 (hildon_pannable_area_class_init): Added scroll_event management
1982 for pannable area, now we can scroll the usual desktop method.
1984 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1985 initialization of the parameters should depend on idle_id.
1987 (hildon_pannable_area_init),
1988 (hildon_pannable_area_map): Small code style modifications
1990 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1992 * src/hildon-pannable-area.c
1993 (hildon_pannable_area_button_press_cb),
1994 (hildon_pannable_area_motion_notify_cb),
1995 (hildon_pannable_area_button_release_cb),
1996 (hildon_pannable_area_size_allocate),
1997 (hildon_pannable_area_scroll_to): Improved the timeouts
1998 management, we avoid creating them each time.
2000 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2002 * src/hildon-pannable-area.c:
2003 (hildon_pannable_area_refresh),
2004 (hildon_pannable_area_motion_notify_cb),
2005 (hildon_pannable_area_class_init):
2006 * src/hildon-pannable-area.h:
2007 * src/hildon-touch-selector.c
2008 (_create_new_column):
2009 * examples/hildon-pannable-area-example-4.c:
2010 (horizontal_movement),
2011 (vertical_movement),
2013 Replaced the names of enums in the HildonPannableArea:
2014 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2015 HILDON_MOVEMENT_MODE_*
2016 - HILDON_PANNABLE_AREA_MOV_* ->
2018 - Removed HildonPannableAreaIndicatorMode, now we
2021 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2023 * examples/hildon-pannable-area-touch-grid-example.c
2024 * examples/hildon-pannable-area-touch-list-example.c: Fix
2025 compilation warnings.
2027 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-gtk.c (hildon_gtk_button_new)
2030 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2031 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2032 images overriding the value of the "gtk-button-images" setting.
2034 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-check-button.c (hildon_check_button_new):
2037 Instead of using a custom container, display the label and the
2038 checkbox using the standard GtkButton API.
2040 * examples/hildon-check-button-example.c (main): Don't use
2041 hildon_check_button_set_label() anymore
2043 * src/hildon-check-button.h
2044 * src/hildon-check-button.c
2045 (hildon_check_button_set_label, hildon_check_button_get_label):
2046 Set as deprecated, now we're using gtk_button_{get,set}_label()
2048 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2050 * src/hildon-pannable-area.c,
2051 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2052 GtkTreeview first line we detected it after the inclusion of the
2053 GtkWindowImpl in gtk+. We now check if the window is visible, not
2054 just if the pointer is over the window.
2055 (hildon_pannable_axis_scroll),
2056 (hildon_pannable_area_expose_event): Small style changes.
2058 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-button.c: Update documentation.
2062 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2064 * examples/hildon-button-example.c: Add a switch to show images in
2067 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2069 * doc/hildon-docs.sgml: Some docs reorganization.
2071 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2073 * examples/hildon-pannable-area-touch-list-example.c
2075 * examples/hildon-pannable-area-touch-grid-example.c
2076 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2077 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2078 Fix memory leak when setting the tree model.
2080 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2084 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2086 * doc/hildon.types: Remove duplicated hildon_window_get_type
2087 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2088 documentation comment.
2090 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2092 * doc/Makefile.am: Complete list of private headers.
2094 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2096 * doc/hildon-docs.sgml
2097 * src/hildon-app-menu.c
2098 * src/hildon-bread-crumb.c
2099 * src/hildon-button.c
2101 * src/hildon-program.c
2102 * src/hildon-stackable-window.c
2103 * src/hildon-window.c: Lots of documentation updates.
2105 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2107 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2109 * configure.ac: Require Gtk+ 2.12.9 at least
2111 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2113 * src/hildon-pannable-area.c
2114 (hildon_pannable_area_scroll_indicator_fade),
2115 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2116 to protect the return of this timeout callbacks, avoiding deadlocks.
2118 2008-08-12 Christian Dywan <christian@imendio.com>
2121 * src/hildon-*.h: Ensure a consistent include order,
2122 include <gtk/gtk.h> instead of particular files and
2123 only include the topmost header in the gtk stack. See NB #39857
2125 2008-08-12 Christian Dywan <christian@imendio.com>
2127 * src/hildon-picker-dialog.c
2128 * src/hildon-touch-selector.c: Fix warnings about unused and
2129 uninitialized variables.
2131 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2133 * examples/Makefile.am
2134 * examples/hildon-check-button-example.c: Example of the hildon
2137 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-window.h
2140 * src/hildon-window.c (hildon_window_class_init)
2141 (hildon_window_unset_program): Don't make
2142 hildon_window_unset_program a virtual function anymore.
2144 * src/hildon-stackable-window.c: Update documentation
2146 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2149 * doc/hildon-docs.sgml
2150 * doc/visual_index.xml
2151 * src/hildon-defines.c
2153 * src/hildon-helper.c
2154 * src/hildon-range-editor.c: Lots of documentation fixes.
2156 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2158 * examples/hildon-picker-button-multicolumn-example.c
2159 (create_touch_selector): Fix compilation warning.
2161 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2164 (hildon_pannable_area_button_release_cb)
2165 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2167 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2172 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-bread-crumb-trail.h
2175 * src/hildon-date-editor.c
2176 * src/hildon-date-selector.c
2177 * src/hildon-pannable-area.c
2178 * src/hildon-picker-dialog.c
2179 * src/hildon-time-selector.c
2180 * src/hildon-touch-selector-entry.c
2181 * src/hildon-touch-selector.c
2182 * src/hildon-touch-selector.h: Misc documentation fixes
2184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2186 * examples/hildon-date-editor-example.c (main): Updated date
2189 * examples/hildon-note-example.c (on_confirmation_clicked):
2190 Updated confirmation note example.
2192 * src/hildon-date-editor.c
2193 * src/hildon-note.c: Updated sample programs in documentation.
2196 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-date-button.h:
2199 * src/hildon-picker-button.h:
2200 * src/hildon-time-button.c:
2201 * src/hildon-time-button.h:
2203 Some declarations changes to allow gtk-doc to document the widgets
2206 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-date-button.c: Document the widget.
2209 * src/hildon-time-button.c: Document the widget.
2211 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-picker-button.c: Document the widget.
2214 * src/hildon-touch-selector-entry.c: Document the widget.
2216 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2218 * doc/hildon-docs.sgml
2221 * src/hildon-check-button.h
2222 * src/hildon-check-button.c: New functions to create the Hildon
2226 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2228 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-button.h
2231 * src/hildon-button.c
2232 (hildon_button_add_title_size_group)
2233 (hildon_button_add_value_size_group)
2234 (hildon_button_add_image_size_group)
2235 (hildon_button_add_size_groups): New functions to set size groups
2236 for the button labels and image.
2237 (hildon_button_new_full): Removed
2239 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2241 * src/hildon-time-selector.c
2242 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2243 in order to avoid a crash if gconf is not available
2245 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-button.c (hildon_button_set_arrangement)
2248 (hildon_button_construct_child): Don't construct the button child
2249 before setting the arrangement.
2251 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-program-private.h
2254 * src/hildon-program.c
2255 * src/hildon-program.h
2256 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2257 (hildon_program_peek_window_stack)
2258 (hildon_program_pop_window_stack)
2259 (hildon_program_go_to_root_window): HildonProgram now has a
2260 separate list for stackable windows. Functions are provided to
2261 manage that list with a stack-like API.
2263 * src/hildon-stackable-window.c: Stackable window management is
2264 now much simpler with the new HildonProgram API. Windows no
2265 longer need to be manually added to the program, they're
2266 automatically pushed to the top of the stack when shown.
2268 * examples/hildon-stackable-window-example.c: Updated example to
2269 reflect the API changes.
2271 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2273 * src/hildon-touch-selector.c: Comment out unimplemented
2274 hildon_touch_selector_insert_column() to avoid a compile warning.
2276 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2279 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2280 (hildon_touch_selector_set_column_selection_mode),
2281 (_hildon_touch_selector_set_model),
2282 (hildon_touch_selector_set_model):
2284 Complete review of HildonTouchSelector documentation.
2286 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2288 * doc/hildon-docs.sgml
2292 * src/hildon-gtk.c: Convenience functions for standard Gtk
2293 widgets, used to easily perform frequent operations.
2295 * src/hildon-button-helpers.h
2296 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2298 * src/hildon-helper.h
2299 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2300 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2302 * src/hildon-button.h
2303 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2305 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-button.c (hildon_button_init)
2308 (hildon_button_set_arrangement, hildon_button_construct_child):
2309 Pack the image and the labels inside the same GtkAlignment so
2310 gtk_button_set_alignment() can be used
2312 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-button.h
2315 * src/hildon-button.c
2316 (hildon_button_init, hildon_button_set_image)
2317 (hildon_button_set_image_position)
2318 (hildon_button_construct_child): New functions to add an image to
2321 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-date-button.c
2324 * src/hildon-picker-button.c
2325 * src/hildon-time-button.c
2326 * src/hildon-button.c:
2327 (hildon_button_class_init): "size-flags" renamed to "size"
2328 (hildon_button_set_title): Hide the title label if set to NULL.
2330 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2332 HildonButtonFlags split into HildonButtonArrangement (to set the
2333 button layout) and HildonSizeType (which can be used for any
2336 * src/hildon-button.h
2337 * src/hildon-button.c
2338 (hildon_button_class_init)
2339 (hildon_button_set_arrangement)
2340 (hildon_button_set_property): New "size-flags"
2341 property. "arrangement-flags" renamed to "arrangement".
2342 (hildon_button_new, hildon_button_new_with_text)
2343 (hildon_button_new_full): Constructors updated to reflect type changes.
2345 * src/hildon-helper.h
2346 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2347 to set the size of a widget.
2351 * src/hildon-button-helpers.c
2352 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2354 * src/hildon-date-button.c
2355 * src/hildon-date-button.h
2356 * src/hildon-picker-button.c
2357 * src/hildon-picker-button.h
2358 * src/hildon-time-button.c
2359 * src/hildon-time-button.h: Updated widgets to reflect
2360 HildonButton API changes.
2362 * examples/hildon-button-example.c
2363 * examples/hildon-date-button-example.c
2364 * examples/hildon-picker-button-example.c
2365 * examples/hildon-picker-button-multicolumn-example.c
2366 * examples/hildon-time-button-example.c
2367 * examples/hildon-touch-selector-entry-example.c
2368 * examples/hildon-touch-selector-example.c: Updated examples to
2369 reflect HildonButton API changes.
2371 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2373 * doc/hildon-docs.sgml:
2375 * examples/Makefile.am:
2376 * examples/hildon-touch-selector-entry-example.c:
2378 * src/hildon-touch-selector-entry.c:
2379 * src/hildon-touch-selector-entry.h:
2382 Moved HildonTouchSelectorEntry from sandbox. Added its
2383 documentation and examples.
2385 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector.h:
2388 * examples/hildon-picker-button-multicolumn-example.c:
2389 (hildon_touch_selector_append_text_column): Add a gboolean
2390 parameter to determine if text must be centered in the column.
2392 * src/hildon-date-selector.c: (hildon_date_selector_init):
2393 * src/hildon-time-selector.c: (hildon_time_selector_init):
2394 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2395 (create_touch_selector): Update widgets and example to reflect
2398 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-touch-selector.c:
2401 (hildon_touch_selector_set_active_iter): Set also the cursor in
2404 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2406 * doc/hildon-docs.sgml
2409 * src/hildon-toggle-button.c
2410 * src/hildon-toggle-button.h
2411 * src/hildon.h: Removed HildonToggleButton widget, a derived
2412 class is not necessary for this.
2414 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2416 * src/hildon-pannable-area.c,
2417 (hildon_pannable_area_realize),
2418 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2421 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2424 "done" button the default widget for the dialog.
2426 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-touch-selector.c:
2429 (hildon_touch_selector_class_init),
2430 (hildon_touch_selector_get_property),
2431 (_hildon_touch_selector_set_model),
2432 (_hildon_touch_selector_has_multiple_selection),
2433 (hildon_touch_selector_has_multiple_selection):
2434 Add a "has-multiple-selection" property with a virtual
2435 has_multiple_selection() method to allow derived classes to
2436 override the default value for it. See the method and property
2437 documentation for details.
2439 * src/hildon-touch-selector.h: Add the new API.
2441 * src/hildon-picker-dialog.c: (requires_done_button): Call
2442 hildon_touch_selector_has_multiple_selection() instead of
2443 determining the need for a button itself.
2445 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2448 (_hildon_touch_selector_set_model),
2449 (hildon_touch_selector_set_model): Move working code to
2450 _hildon_touch_selector_set_mode(). Call the class method instead.
2452 * src/hildon-touch-selector.h: Add (*set_model) to
2453 HildonTouchSelectorClass.
2455 Make hildon_touch_selector_set_model() a virtual method, so that
2456 derived classes can extend it and do fancy stuff with the model.
2458 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2460 * configure.ac: Set back the tarname in AC_INIT to hildon.
2462 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2466 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2467 instead of libesd (NB#86876). Volume handling is still an open issue.
2469 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2472 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2475 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2476 derived class to ease placement of an entry widget in
2477 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2478 end, where the selector columns are packed now.
2480 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2482 * src/hildon-picker-button.c: Removed the simple _text() API.
2483 * src/hildon-picker-button.h: Likewise.
2485 * src/hildon-touch-selector.h:
2486 * src/hildon-touch-selector.c:
2487 (hildon_touch_selector_new_text),
2488 (hildon_touch_selector_append_text),
2489 (hildon_touch_selector_prepend_text),
2490 (hildon_touch_selector_insert_text):
2492 Moved the simple _text() API from HildonPickerButton to
2493 HildonTouchPicker, to provide better escalability and not to tie
2494 that API to HildonPickerButton.
2496 * examples/hildon-picker-button-example.c: (main): Example updated.
2498 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-button.c: Updated documentation.
2502 * examples/hildon-button-example.c: Add the posibility to create
2503 the buttons using horizontal layout for title and value.
2505 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-app-menu-private.h
2508 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2509 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2510 GtkSizeGroup for the filters, use the 'homogeneous' property of
2513 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2515 * examples/hildon-button-example.c: Updated example.
2517 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2519 * doc/hildon-docs.sgml:
2522 Update documentation.
2524 * examples/Makefile.am: Update renamed examples.
2526 * examples/hildon-picker-button-multicolumn-example.c:
2527 (create_touch_selector), (main): Update after the rename.
2529 * examples/hildon-touch-picker-example.c: Removed.
2530 * examples/hildon-touch-selector-example.c: (value_changed),
2531 (create_selector), (get_visible_content), (main): Renamed from
2532 hildon-touch-picker-example.c
2534 * src/Makefile.am: Updated renamed files.
2536 * src/hildon-date-button.c: (hildon_date_button_init),
2537 (hildon_date_button_get_date), (hildon_date_button_set_date):
2538 * src/hildon-date-selector.c: (hildon_date_selector_init),
2539 (_custom_print_func), (_update_day_model),
2540 (_manage_selector_change_cb),
2541 (hildon_date_selector_select_current_date),
2542 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2543 * src/hildon-date-selector.h:
2544 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2545 (hildon_picker_button_set_property),
2546 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2547 (hildon_picker_button_init), (hildon_picker_button_new_text),
2548 (hildon_picker_button_append_text),
2549 (hildon_picker_button_prepend_text),
2550 (hildon_picker_button_insert_text),
2551 (hildon_picker_button_set_selector),
2552 (hildon_picker_button_get_selector):
2553 * src/hildon-picker-button.h:
2554 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2555 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2556 (_update_title_on_selector_changed_cb), (requires_done_button),
2557 (_hildon_picker_dialog_set_selector),
2558 (hildon_picker_dialog_set_selector),
2559 (hildon_picker_dialog_get_selector):
2560 * src/hildon-picker-dialog.h:
2561 * src/hildon-time-button.c: (hildon_time_button_init),
2562 (hildon_time_button_get_time), (hildon_time_button_set_time):
2563 * src/hildon-time-selector.c: (hildon_time_selector_init),
2564 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2565 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2566 * src/hildon-time-selector.h:
2569 Massive code updates after the rename.
2571 * src/hildon-touch-picker.c: Removed.
2572 * src/hildon-touch-picker.h: Removed.
2574 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2575 (hildon_touch_selector_init), (hildon_touch_selector_map),
2576 (hildon_touch_selector_remove), (_default_print_func),
2577 (_selection_changed_cb), (_create_new_column),
2578 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2579 (hildon_touch_selector_append_text_column),
2580 (hildon_touch_selector_remove_column),
2581 (hildon_touch_selector_set_column_attributes),
2582 (hildon_touch_selector_insert_column),
2583 (hildon_touch_selector_get_num_columns),
2584 (hildon_touch_selector_get_column_selection_mode),
2585 (hildon_touch_selector_set_column_selection_mode),
2586 (hildon_touch_selector_set_print_func),
2587 (hildon_touch_selector_get_print_func),
2588 (hildon_touch_selector_get_active_iter),
2589 (hildon_touch_selector_set_active_iter),
2590 (hildon_touch_selector_get_selected_rows),
2591 (hildon_touch_selector_get_model),
2592 (hildon_touch_selector_set_model),
2593 (hildon_touch_selector_get_current_text),
2594 (_hildon_touch_selector_center_on_selected_items):
2595 * src/hildon-touch-selector.h: Renamed from
2596 hildon-touch-picker.[ch]
2598 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2599 references, code examples, and related documentation.
2601 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2603 * doc/hildon-docs.sgml
2606 * src/hildon-toggle-button.c
2607 * src/hildon-toggle-button.h
2608 * src/hildon.h: New HildonToggleButton widget.
2610 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-button.c: Add API documentation.
2613 (hildon_button_set_size_groups): Check input parameters
2615 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-pannable-area.c
2618 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2619 effect after reaching the movement thredshold. This way we start
2620 using the distance after passing the thredshold.
2622 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-button.c: (hildon_button_set_property): Use the
2625 appropriate g_value_get_flags() method.
2627 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2629 * doc/hildon-docs.sgml:
2632 Add the touch pickers, picker dialogs, and picker button widgets
2633 to the documentation.
2635 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-button.c: (hildon_button_set_property),
2638 (hildon_button_class_init): Make "arrangement-flags" a proper
2639 G_TYPE_FLAGS derived property.
2641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2643 * examples/Makefile.am: Add below examples.
2644 * examples/hildon-date-button-example.c:
2645 * examples/hildon-picker-button-example.c:
2646 * examples/hildon-picker-button-multicolumn-example.c:
2647 * examples/hildon-time-button-example.c:
2648 * examples/hildon-touch-picker-example.c:
2650 Add examples for the recently added touch pickers,
2651 picker dialogs, and picker button widgets.
2653 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2655 * src/hildon-button.c: Add some API documentation
2657 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2659 * src/hildon-button.h
2660 * src/hildon-button.c
2662 (hildon_button_new_with_text): New constructor to create a button
2663 with no text at all.
2664 (hildon_button_init, hildon_button_set_arrangement)
2665 (hildon_button_set_title, hildon_button_set_value)
2666 (hildon_button_set_text)
2667 (hildon_button_construct_child): Hide the value when it's not used
2668 so the rest of the text is properly aligned.
2669 Allow creating buttons with arbitrary widgets inside (not just
2670 title/value labels).
2672 * examples/hildon-button-example.c (vertical_buttons_window)
2673 (horizontal_buttons_window): Update example to use new API.
2675 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/Makefile.am: Added HildonTimeButton.
2678 * src/hildon-time-button.c: Added missing LGPL header.
2679 * src/hildon-time-button.h: Added missing LGPL header.
2680 * src/hildon.h: Add hildon-time-button.h
2682 Copied HildonTimeButton from sandbox to trunk. Future work on this
2683 widget must take place in trunk.
2685 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/Makefile.am: Added HildonDateButton.
2688 * src/hildon-date-button.c: Update includes.
2689 * src/hildon.h: Add hildon-date-button.h
2691 Copied HildonDateButton from sandbox to trunk. Future work on this
2692 widget must take place in trunk.
2694 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/Makefile.am: Added HildonPickerButton.
2697 * src/hildon-picker-button.h: Update includes.
2698 * src/hildon.h: Add hildon-picker-button.h
2700 Copied HildonPickerButton from sandbox to trunk. Future work on
2701 this widget must take place in trunk.
2703 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/Makefile.am: Added HildonPickerDialog.
2706 * src/hildon-picker-dialog.c: Update includes.
2707 * src/hildon.h: Add hildon-picker-dialog.h
2709 Copied HildonPickerDialog from sandbox to trunk. Future work
2710 on this widget must take place in trunk.
2712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/Makefile.am: Added HildonTimeSelector.
2715 * src/hildon.h: Add hildon-time-selector.h
2717 Copied HildonTimeSelector widget from sandbox to trunk. Future
2718 work on this widget must happen in trunk.
2720 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/Makefile.am: Added HildonDateSelector.
2723 * src/hildon.h: Add hildon-date-selector.h
2725 Copied HildonDateSelector widget from sandbox to trunk. Future
2726 work on this widget must happen in trunk.
2728 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/Makefile.am: Added HildonTouchPicker.
2731 * src/hildon-touch-picker.c: Update includes.
2732 * src/hildon.h: Add hildon-touch-picker.h
2734 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2735 on this widget must happen in trunk.
2737 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2739 * src/hildon-pannable-area.c:
2740 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2742 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2744 * examples/hildon-app-menu-example.c (main): Let the window
2747 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2749 * src/hildon-pannable-area.c
2750 (hildon_pannable_area_class_init): Set the min value of the
2751 overshoot properties to zero, which points out that not
2752 overshooting allowed.
2754 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2756 Modified the procedure to get the widget at a point inside the
2757 pannable area when using the movement type signals. Now the user
2758 has to call a function to get the child, that way we just
2759 calculate the child in case the user really want to use it and not
2762 * src/hildon-marshalers.list: Modified the marshallers, now we do
2763 not have the widget as a parameter.
2765 * src/hildon-pannable-area.c
2766 (hildon_pannable_area_motion_notify_cb),
2767 (hildon_pannable_area_class_init),
2768 (hildon_pannable_get_child_widget_at): Removed the widget
2769 parameter from the signal callback. We have also refactored the
2770 emission of the signals.
2772 * src/hildon-pannable-area.h: Added a new method to the API to
2773 calculate a widget at a point inside the pannable area,
2774 hildon_pannable_get_child_widget_at.
2776 * examples/hildon-pannable-area-example-4.c
2777 (horizontal_movement): Modified the example to use the new API,
2778 added condition to control which widget is under the event. This
2779 way we can avoid scrolling laterally over other widgets.
2781 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2783 * src/hildon-pannable-area.c
2784 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2785 modes, we stop getting the pointer events due to returning the
2786 callback without properly calling the get pointer again. Fixed
2787 also an error using the hscroll and vscroll.
2789 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-app-menu-private.h
2792 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2793 (hildon_app_menu_button_release, hildon_app_menu_init)
2794 (hildon_app_menu_class_init): Don't hide the menu on button
2795 release if the user didn't press outside first.
2797 * src/hildon-window.h
2798 * src/hildon-window.c (hildon_window_toggle_menu)
2799 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2800 hildon_window_toggle_menu a virtual function for the stackable
2801 window to override it.
2803 * src/hildon-stackable-window.h
2804 * src/hildon-stackable-window-private.h
2805 * src/hildon-stackable-window.c
2806 (hildon_stackable_window_realize)
2807 (hildon_stackable_window_finalize)
2808 (hildon_stackable_window_class_init)
2809 (hildon_stackable_window_init)
2810 (hildon_stackable_window_set_main_menu): New function to set the
2811 app menu of a HildonStackableWindow.
2813 * examples/hildon-app-menu-example.c: Remove the button to show
2814 the app menu, now it'll be shown when clicking on the title bar
2817 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2819 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2820 set the widget name if the arrangement flags do not specify
2823 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-button.c: (hildon_button_set_property),
2826 (hildon_button_class_init), (hildon_button_new_full),
2827 (hildon_button_set_arrangement): Added "arrangement-flags"
2830 Make the HildonButtonFlags a construction-only property, to allow
2831 subclasses to set them properly.
2833 2008-07-21 Tim Janik <timj@imendio.com>
2835 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2836 insertion position after backspace, so additional digits are appended,
2839 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2841 * src/hildon-pannable-area.c,
2842 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2843 TODO list, it was complete and removed the g_debug and g_print
2846 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2848 Added the movement modes to the hildon-pannable-area, with this
2849 modes the developers can control in which directions the widget
2850 can scroll. They can also connect to signals in order to do
2851 something when that happens, allowing applications scroll. There
2852 is an example uploaded showing how to use it.
2854 * examples/Makefile.am:
2855 * examples/hildon-pannable-area-example-4.c: Added this example of
2856 an application using the modes.
2858 * src/hildon-marshalers.list: Added a new marshaller for the new
2861 * src/hildon-pannable-area.h: Added new enumerations and flags in
2862 order to control the movement modes and the new signals to warn
2863 about the movements in the area.
2865 * src/hildon-pannable-area.c:
2866 (hildon_pannable_axis_scroll),
2867 (hildon_pannable_area_scroll),
2868 (hildon_pannable_area_motion_notify_cb),
2869 (hildon_pannable_area_get_property),
2870 (hildon_pannable_area_set_property),
2871 (hildon_pannable_area_map),
2872 (hildon_pannable_area_class_init),
2873 (hildon_pannable_area_init),
2874 (hildon_pannable_area_jump_to): Added the modes to control the
2875 movement in the widget. We have added properties to control it,
2876 signals to warn about the movements and refactored some code.
2878 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2880 Changes required in order to allow vfast_factor set to zero to
2883 * src/hildon-pannable-area.c:
2884 (hildon_pannable_area_button_press_cb): Changed the condition, it
2885 is required for not allowing click when vfast_factor is zero.
2886 (hildon_pannable_area_timeout): Initialized velocity variables
2887 when we stop moving, it was less than 1 but not zero and we need
2888 to check zero in some situations.
2889 (hildon_pannable_area_class_init): Changed the default value of
2890 the speed factor, now the button_press is just sent in case the
2891 speed is 2 per cent of the max speed.
2892 (hildon_pannable_area_init): Initialization with 0.
2894 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2896 * src/hildon-pannable-area.c,
2897 (hildon_pannable_area_get_topmost): replaced
2898 gdk_window_get_children with gdk_window_peek_children, this way we
2899 do not have to free the list because it is not a copy.
2901 (hildon_pannable_axis_scroll),
2902 (hildon_pannable_area_scroll),
2903 (hildon_pannable_area_timeout),
2904 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2905 two parameters that were only used inside the
2906 hildon_pannable_area_scroll function.
2908 * examples/hildon-pannable-area-example.c,
2909 (get_sawtooth_label): Fixed small memory leak.
2911 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2913 More checks for the case where the overshoot is bigger than the
2916 * src/hildon-pannable-area.c:
2917 (hildon_pannable_draw_vscroll),
2918 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2919 to draw the slider of the scrollbar under the other scrollbar.
2920 (hildon_pannable_area_expose_event): added new checks to control
2921 the drawing of the overshooting area rectangle, in case it is too
2922 big for the area of the widget.
2923 (hildon_pannable_area_size_allocate): add more checks to avoid
2924 setting a position to the child widget outside the area.
2926 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2928 * src/hildon-pannable-area.c
2929 (hildon_pannable_area_size_allocate): Added conditions to control
2930 when overshooting is bigger than the allocated space for the
2931 children, this avoids negative allocations.
2933 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2935 * doc/hildon-docs.sgml
2937 * examples/Makefile.am
2938 * examples/hildon-button-example.c
2940 * src/hildon-button.c
2941 * src/hildon-button.h
2942 * src/hildon.h: Initial version of the new HildonButton widget,
2945 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2947 * src/hildon-pannable-area.c:
2948 (hildon_pannable_area_button_press_cb),
2949 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2950 (hildon_pannable_area_motion_notify_cb),
2951 (hildon_pannable_area_button_release_cb),
2952 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2953 (hildon_pannable_area_jump_to_child):
2955 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2957 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2959 * examples/Makefile.am
2960 * examples/hildon-pannable-area-touch-grid-example.c
2961 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2962 the Hildon Touch List and Hildon Touch Grid using the
2963 HildonPannableArea widget.
2965 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2967 * src/hildon-pannable-area.c,
2968 (hildon_pannable_area_button_press_cb),
2969 (hildon_pannable_area_refresh),
2970 (hildon_pannable_area_scroll),
2971 (hildon_pannable_area_motion_notify_cb),
2972 (hildon_pannable_area_button_release_cb),
2973 (hildon_pannable_area_expose_event),
2974 (hildon_pannable_area_add),
2975 (hildon_pannable_area_remove),
2976 (hildon_pannable_area_realize),
2977 (hildon_pannable_area_size_allocate),
2978 (hildon_pannable_area_class_init),
2979 (hildon_pannable_area_init),
2980 (hildon_pannable_area_scroll_to_child),
2981 (hildon_pannable_area_jump_to_child): Fixed the problem of
2982 removing the child from the GtkBin, we have rearranged the widget
2983 hierarchy, now there is no GtkAlignment which was not doing
2984 anything interesting but breaking some of the assumptions of
2985 GtkContainer. Now developers if they want to add a GtkAlignment
2986 they could, but it is not inside the area.
2988 We had to review the whole allocation/expose process, now it is
2989 improved and we save at least three signals which would be saving
2990 some time when rendering the widget. The allocation of the
2991 scrollbars is now made in the allocate method as usual.
2993 We have also added some conditions in order to control when there
2994 is no child of the pannable area. Maybe we will need more work
2997 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2999 * src/hildon-pannable-area.c,
3000 (hildon_pannable_area_dispose): Released the fade-out timeout when
3001 disposing the widget.
3003 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3005 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3006 zero, we are going to use that property in order to deactivate the
3008 (hildon_pannable_axis_scroll),
3009 (hildon_pannable_area_size_allocate): Added conditions to control
3010 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3011 call, now it is called in all situations and we can remove calls
3012 in the allocate method.
3013 (hildon_pannable_area_map): Control the situation when
3014 overshoot_max is zero, we do not need the timeout.
3015 (hildon_pannable_area_class_init): Added documentation in order to
3016 point out that setting zero to overshoot_max means deactivate
3019 NOTE: removed trailing whitespaces from my previous comments of
3022 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-pannable-area.c
3025 (hildon_pannable_area_get_property),
3026 (hildon_pannable_area_set_property),
3027 (hildon_pannable_area_map),
3028 (hildon_pannable_area_class_init),
3029 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3030 to cause the widget give a hint about its panning abilities upon
3033 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3035 * src/hildon-pannable-area.c: Several documentation improvements.
3037 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-program.c
3040 * src/hildon-stackable-window.c: Update documentation.
3042 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-stackable-window.c (get_previous_window_if_last):
3045 Renamed get_last_window()
3046 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3047 (hildon_stackable_window_unset_program):
3049 (get_previous_window_if_last):
3050 Detect if the window hasn't been added to a HildonProgram.
3052 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3054 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3056 * src/hildon-pannable-area.c
3057 (hildon_pannable_area_button_press_cb),
3058 (hildon_pannable_axis_scroll),
3059 (hildon_pannable_area_scroll),
3060 (hildon_pannable_area_timeout),
3061 (hildon_pannable_calculate_vel_factor),
3062 (hildon_pannable_area_get_property),
3063 (hildon_pannable_area_set_property),
3064 (hildon_pannable_area_class_init),
3065 (hildon_pannable_area_init),
3066 (hildon_pannable_area_scroll_to),
3067 (hildon_pannable_area_jump_to),
3068 (hildon_pannable_area_scroll_to_child),
3069 (hildon_pannable_area_jump_to_child):
3070 * src/hildon-pannable-area.h: Added the new API functions:
3071 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3072 hildon_pannable_area_scroll_to_child,
3073 hildon_pannable_area_jump_to_child
3076 * examples/Makefile.am
3077 * examples/hildon-pannable-area-example-2.c
3078 * examples/hildon-pannable-area-example-3.c: Added these two new
3079 examples in order to test and show how the new APIs work.
3081 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3083 * examples/hildon-stackable-window-example.c (new_window):
3084 * src/Makefile.am (noinst_HEADERS):
3085 * src/hildon-program.c (hildon_program_go_to_root_window):
3086 * src/hildon-program.h:
3087 * src/hildon-stackable-window-private.h:
3088 * src/hildon-stackable-window.c:
3089 * src/hildon-stackable-window.h:
3090 Create hildon-stackable-window-private.h
3091 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3093 * examples/hildon-app-menu-example.c (create_menu):
3094 * examples/hildon-hvolumebar-insensitive-example.c (main):
3095 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3096 * examples/hildon-toolbar-seekbar-example.c (main):
3097 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3098 * src/hildon-banner.c (hildon_banner_set_property):
3099 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3100 Fix compilation warnings
3102 * src/hildon-window.c:
3105 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-stackable-window.c
3108 (hildon_stackable_window_unset_program):
3109 Calculate correctly whether to show the previous window if the
3110 last one is removed from the stack.
3111 (hildon_stackable_window_go_to_root_window):
3112 Send delete events starting from the topmost window.
3113 Stop if one of the windows is not destroyed.
3115 (hildon_stackable_window_delete_event)
3116 (hildon_stackable_window_class_init):
3117 Ignore the delete event if the window is not the topmost one.
3119 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3121 * src/hildon-pannable-area.c
3122 (hildon_pannable_area_expose_event): Fixed a problem when
3123 selecting the background color of the scrollbars.
3125 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3127 * examples/hildon-stackable-window-example.c
3128 * src/hildon-stackable-window.c
3129 * src/hildon-stackable-window.h
3130 hildon_stackable_window_go_home() renamed to
3131 hildon_stackable_window_go_to_root_window()
3132 Send delete events to windows rather than closing them with
3133 gtk_widget_destroy()
3135 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-pannable-area.c
3138 (hildon_pannable_area_button_release_cb): Fix overshooting in
3141 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3143 * src/hildon-pannable-area.c
3144 (hildon_pannable_area_init): Initially show the scroll indicators.
3145 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3147 Add initial effect showing the widget is pannable.
3149 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-pannable-area.c
3152 (hildon_pannable_area_class_init)
3153 (hildon_pannable_area_set_property)
3154 (hildon_pannable_area_get_property)
3155 (hildon_pannable_area_button_press_cb):
3156 New 'velocity_fast_factor' property to decide which velocity is
3159 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-pannable-area.c
3162 (hildon_pannable_draw_hscroll)
3163 (hildon_pannable_draw_vscroll):
3164 Use float variables to calculate the size of the scrollbars to
3165 avoid error propagation and resizing during scrolling.
3167 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-pannable-area.c
3170 (hildon_pannable_draw_vscroll)
3171 (hildon_pannable_draw_hscroll):
3172 Define a minimum size for the scroll bars
3174 * src/hildon-stackable-window.c
3175 (hildon_stackable_window_go_home): Fix compilation warning
3176 (get_last_window): Minor optimizations
3177 (hildon_stackable_window_class_init): Fix initialization of
3180 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-stackable-window.c: Fixed typos in doc
3184 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3186 * src/hildon-pannable-area.c
3187 (hildon_pannable_area_scroll):
3188 Calculate here whether we need to scroll instead of using the booleans
3189 that tell us whether to /draw/ the scrolling bars.
3191 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-app-menu.h
3195 * src/hildon-app-menu.c
3196 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3197 multiple filter groups related code and API. Now we support only
3199 * examples/hildon-app-menu-example.c:
3201 Update to reflect API changes.
3203 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3205 * src/hildon-stackable-window.c
3206 (hildon_stackable_window_class_init):
3207 Add hildon_stackable_window_realize.
3208 (hildon_stackable_window_realize):
3209 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3210 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3211 to apply theming and behavior specific to HildonStackableWindow
3214 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-note.c (hildon_note_button_release):
3217 Close information notes also when tapping on them
3219 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3221 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3222 ELASTICITY, refactor and review, fix some issues with drawing
3225 * src/hildon-pannable-area.c:
3226 (hildon_pannable_area_button_press_cb): removed the conditions to
3227 avoid clicks when overshooting. It is not required
3229 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3230 define. Refatored and reviewed the code, now we do not need to
3231 manage velocity in motion_notify.
3233 (hildon_pannable_area_motion_notify_cb): We have moved the code
3234 that controls the area_scroll to the axis_scroll function and get
3235 rid of duplicated code.
3237 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3239 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3241 (hildon_pannable_draw_vscroll),
3242 (hildon_pannable_draw_hscroll): Fixed the problems with the
3243 scrollbar drawing, now we do not use two surfaces, it is easier
3244 and saves resources.
3246 (hildon_pannable_area_get_property): Style modification.
3248 (hildon_pannable_area_class_init): Changed some default values.
3250 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-stackable-window.c: Fix some typos in the
3255 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-dialog.c:
3258 Change indentation style
3261 (hildon_note_button_release):
3262 Use root coordinates to check if the release event happened
3265 * src/hildon-app-menu.c
3266 (hildon_app_menu_button_release):
3267 Remove unnecessary check
3269 * examples/hildon-app-menu-example.c
3271 Add cast to fix warning
3273 * src/hildon-app-menu.c
3274 (hildon_app_menu_class_init):
3275 New inner-border style property.
3276 Set all default spacings to 16
3277 (hildon_app_menu_init):
3278 Use vertical-spacing to set the space between filter buttons and
3279 regular menu buttons.
3280 Set the default container border using the inner-border value.
3282 * examples/hildon-app-menu-example.c
3284 Don't set the menu border explicitly, now we have the inner-border
3285 style property for that.
3287 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-app-menu.c (hildon_app_menu_init):
3290 Make the window modal
3292 * src/hildon-note.c (hildon_note_map)
3293 * src/hildon-app-menu.c (hildon_app_menu_map):
3294 Destroy the grab window if we're unable to grab the pointer
3296 * src/hildon-app-menu-private.h
3297 * src/hildon-app-menu.c
3298 (hildon_app_menu_init, hildon_app_menu_finalize)
3299 (hildon_app_menu_map, hildon_app_menu_unmap)
3300 (hildon_app_menu_button_release)
3301 (grab_transfer_window_get):
3302 Bring back the grab window
3303 (hildon_app_menu_realize):
3304 Decorate the window, set WM hint for Matchbox
3306 * src/hildon-note.c (hildon_note_realize):
3307 * src/hildon-banner.c (hildon_banner_realize):
3308 Add WM hints for Matchbox
3310 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3312 * src/hildon-app-menu-private.h
3313 * src/hildon-app-menu.c
3314 (hildon_app_menu_init, hildon_app_menu_finalize)
3315 (hildon_app_menu_map, hildon_app_menu_unmap)
3316 (hildon_app_menu_button_release):
3317 Remove the grab window, it's not needed anymore
3319 * src/hildon-program.c
3320 Fixed typo in documentation
3322 * src/hildon-app-menu.h
3323 * src/hildon-app-menu.c
3324 * examples/hildon-app-menu-example.c
3325 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3327 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3330 Added new transfer_window and close_if_pressed_outside private
3332 (hildon_note_rebuild):
3333 Don't add a cancel button to the information note. It will be
3334 closed when tapping outside
3335 Remove the comment about the OK button in the documentation
3336 (hildon_note_realize):
3337 Set the notification type hint
3338 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3339 Grab/ungrab pointer and keyboard if the note has to be closed when
3341 (hildon_note_button_release):
3342 Close the note when tapping outside (if applicable)
3344 * src/hildon-app-menu.c
3345 Grab/ungrab pointer and keyboard on map/unmap
3346 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3347 Close the menu on button release, not button press
3349 * src/hildon-banner.c
3350 (hildon_banner_set_property)
3351 (hildon_banner_check_position):
3352 Make the banner use the full width of the screen
3353 (hildon_banner_show_information)
3354 (hildon_banner_show_information_with_markup):
3355 Don't display an icon by default
3357 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3359 Added fading scrollbars and adapted all the overshooting code to
3360 horizontal scrolling. We have also fixed bugs with overshooting
3361 and current fading implementation.
3363 * src/hildon-pannable-area.c
3364 (hildon_pannable_area_scroll_indicator_fade): Time out function
3365 used to change the transparency of the scrollbars.
3367 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3368 control and fixed a problem with fading, we now remove the fade
3369 timeout before adding a new one.
3371 (hildon_pannable_axis_scroll):
3372 (hildon_pannable_area_scroll):
3373 (hildon_pannable_area_timeout): Added this functions so we can use
3374 the scroll code both for vertical and horizontal.
3376 (hildon_pannable_area_motion_notify_cb):
3377 (hildon_pannable_area_button_release_cb): Added the horizontal
3378 scrolling control, fixed a problem with the overshooting timeout.
3380 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3381 painting of the scrolls.
3383 (hildon_pannable_draw_vscroll):
3384 (hildon_pannable_draw_hscroll):
3385 (hildon_pannable_area_expose_event):
3386 Draw both scrollbars and rectangles in the overshooting area.
3388 (hildon_pannable_area_get_property):
3389 (hildon_pannable_area_set_property):
3390 Modified the overshoot property to overshoot_max
3392 (hildon_pannable_area_map):
3393 Replaced the comments symbols.
3395 (hildon_pannable_area_size_allocate):
3396 (hildon_pannable_area_class_init):
3397 (hildon_pannable_area_init): Added horizontal scroll, fading
3398 effect properties, fixed a problem when overshooting in the bottom
3401 * examples/hildon-pannable-area-example.c:
3402 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3403 looks better in the example.
3405 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3407 * src/hildon-window.c
3408 * src/hildon-window.h
3409 (hildon_window_class_init)
3410 (hildon_window_unset_program)
3411 (hildon_window_unset_program_real):
3412 Make unset_program a virtual function
3414 * src/hildon-stackable-window.c
3415 * src/hildon-stackable-window.h
3416 Added hildon_stackable_window_go_home()
3418 * examples/Makefile.am
3419 * examples/hildon-stackable-window-example.c
3420 HildonStackableWindow example
3422 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3424 * hildon-pannable-area.c: Added the overshoot property and removed
3425 the OVERSHOOT define. Fixed an indent style error.
3426 (hildon_pannable_area_motion_notify_cb):
3427 (hildon_pannable_area_get_property):
3428 (hildon_pannable_area_set_property): Add overshoot property.
3430 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3433 (hildon_pannable_area_class_init): Installed the new property.
3435 * hildon-pannable-area-example.c: Added a sawtooth function, this
3436 way it is easier to check the movement in the pannable.
3437 (get_sawtooth_label): Added this function.
3438 (main): Now we get the labels from the new get_sawtooth_label
3441 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3443 * src/hildon-app-menu.h
3444 * src/hildon-app-menu.c
3445 Renamed API variables for consistency
3447 (hildon_app_menu_popup): Use also the default window size to
3448 decide where to place the menu
3450 (hildon_app_menu_init, hildon_app_menu_class_init): New
3451 external-border style property
3453 2008-05-26 Michael Natterer <mitch@imendio.com>
3455 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3456 widget_class->tap_and_hold_setup signal slot doesn't exist any
3457 longer, stop overriding it.
3459 (hildon_time_editor_init): g_signal_connect() to the
3460 tap-and-hold-setup signal instead.
3462 (hildon_time_editor_entry_keypress): add cast to fix warning.
3464 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3466 * doc/hildon-docs.sgml
3468 * examples/Makefile.am
3469 * examples/hildon-app-menu-example.c
3471 * src/hildon-app-menu-private.h
3472 * src/hildon-app-menu.c
3473 * src/hildon-app-menu.h
3475 New HildonAppMenu widget
3477 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3479 Rearranged the inheritance of the pannable area, now it inherits
3480 from GtkBin. This will allow us to control the event_window and
3481 the allocation process of the widget, required for some effects.
3483 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3484 GtkBin structures. * src/hildon-pannable-area.c: Added the
3485 event_window variable.
3486 (hildon_pannable_area_button_press_cb):
3487 (hildon_pannable_area_button_release_cb):
3488 (hildon_pannable_area_motion_notify_cb):
3489 Changed the signature of the method, now we override the event
3490 callback instead of connecting to the signal.
3492 (hildon_pannable_area_realize):
3493 (hildon_pannable_area_unrealize):
3494 (hildon_pannable_area_map):
3495 (hildon_pannable_area_unmap):
3496 (hildon_pannable_area_size_allocate):
3497 Added functions to control the widget construction. We add a
3498 INPUT_ONLY window and we put it over the widgets inside the
3499 container, this event_window handles the events.
3501 (hildon_pannable_area_class_init):
3502 Replaced the signal connections with overrides of the event
3505 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3507 Bouncing effect added when touching the borders, you can change
3508 the elasticity of the border changing the ELASTICITY define.
3510 * src/hildon-pannable-area.c: Added ELASTICITY define.
3511 (hildon_pannable_area_timeout): Added inverse velocity when
3512 touching the border of the child widget, that causes a bounce.
3514 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3516 Improved performance, we now do not go to the X server in order to
3517 get the list of window children. Apparently the effect is the
3518 same, we have to be careful and check if this breaks something in
3521 * src/hildon-pannable-area.c:
3522 (get_ordered_children): Removed this function.
3523 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3524 the children windows function with gdk_window_get_children.
3526 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3528 * src/hildon-pannable-area.c:
3529 (hildon_pannable_area_dispose): Fixed a crash when closing the
3530 window and kinetics is activated.
3532 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-pannable-area.h
3535 * src/hildon-pannable-area.c
3536 Changed indentation style to meet the one used in Hildon
3538 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3540 Reviewed the interaction of the AUTO mode, now we use the time
3541 attribute of the events and calculate the velocity in the motion,
3542 doing a gimp like calculation. The velocity is calculated in each
3543 motion event using the last velocity and the current one, the
3544 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3546 * src/hildon-pannable-area.c: Replaced the time based algorithm
3548 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3549 timeout for the AUTO mode when we are still moving the cursor. We
3550 added also the velocity calculation in this function.
3551 (hildon_pannable_area_button_release_cb): launch the timeout in
3552 case we are in AUTO mode. There are still some constants here that
3553 come from the old implementation that should be reviewed and
3556 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3558 * doc/hildon-docs.sgml
3561 * src/hildon-stackable-window.c
3562 * src/hildon-stackable-window.h
3564 New HildonStackableWindow widget
3566 * examples/hildon-dialog-example.c
3567 * examples/hildon-pannable-area-example.c
3570 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3572 * src/hildon-dialog.c
3573 (hildon_dialog_new_with_buttons): New constructor.
3575 * examples/hildon-dialog-example.c
3576 (main): Update the example to use the new
3577 hildon_dialog_new_with_buttons().
3579 * examples/hildon-pannable-area-example.c
3580 (main): Update example.
3582 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3584 * doc/hildon-docs.sgml
3586 Added HildonPannableArea to the documentation.
3588 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3590 * doc/visual_index.xml
3591 Fix reference to HildonLoginDialog in documentation
3593 * doc/hildon-docs.sgml
3595 * examples/Makefile.am
3596 * examples/hildon-dialog-example.c
3598 * src/hildon-dialog.c
3599 * src/hildon-dialog.h
3601 New HildonDialog widget.
3603 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3605 * src/hildon-pannable-area.c
3606 Merge latest changes (r4318, r4342) from libmokoui trunk
3608 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3610 * examples/Makefile.am
3611 * examples/hildon-pannable-area-example.c
3613 * src/hildon-pannable-area.c
3614 * src/hildon-pannable-area.h
3616 New HildonPannableArea widget.
3618 2008-04-15 18:05:19 <timj@imendio.com>
3620 * src/hildon-banner.c: revert the recent change, that introduced
3621 gtk_window_present() calls. this reopens:
3622 Bug 78481 - [freetest] information banners are hidden under browser menu
3623 But resolves another variant of:
3624 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3626 2008-04-15 13:21:13 <timj@imendio.com>
3628 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3629 recreated its layout, spotted by Kris. this fixes all remaining
3630 artefacts and stability issues with the banner code. in particular:
3631 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3633 2008-04-14 16:52:59 <timj@imendio.com>
3635 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3636 operating on unrealized widgets, fixes:
3637 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3639 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3641 2008-04-09 Kristian Rietveld <kris@imendio.com>
3643 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3644 makes banner disappear.
3645 Fixes: NB#79182: info banner flickering with certain message lengts.
3647 * src/hildon-banner.c (hildon_banner_constructor),
3648 (hildon_banner_init), (hildon_banner_set_text),
3649 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3650 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3651 FALSE, reset size requests of label and banner,
3652 (force_to_wrap_truncated): when the text is too wide, always enforce
3653 the maximum possible width instead of recalculating it from the
3654 layout; enforce the maximum banner height of 3 lines,
3655 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3656 nicer wrapping and no truncated chars if space gets tight.
3658 * src/hildon-banner-private.h: add has_been_wrapped and
3659 has_been_truncated fields.
3661 2008-04-07 Sven Herzberg <sven@imendio.com>
3663 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3664 local values in hildon_date_editor_size_allocate
3666 * src/hildon-date-editor.c: moved the real allocation code into the
3669 2008-04-07 Sven Herzberg <sven@imendio.com>
3671 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3672 local values in hildon_date_editor_size_allocate
3674 * src/hildon-date-editor.c: merged the two if() branches together
3676 2008-04-07 Sven Herzberg <sven@imendio.com>
3678 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3679 local values in hildon_date_editor_size_allocate
3681 * src/hildon-date-editor.c: changed the arguments of the if()
3684 2008-04-07 Sven Herzberg <sven@imendio.com>
3686 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3687 local values in hildon_date_editor_size_allocate
3689 * src/hildon-date-editor.c: split the calculation of the allocation
3690 from the real allocation
3692 2008-03-27 Michael Natterer <mitch@imendio.com>
3694 Fixes: NB#81696: The passcode is not overwritten even after
3697 * src/hildon-code-dialog.c
3698 (hildon_code_dialog_button_clicked)
3699 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3700 because that doesn't overwrite selected text. Instead, emit the
3701 "commit" signal on the entry's im_context so the entry's normal
3702 insert logic is triggered. Set the cursor to the end of the entry
3703 after each insert operation so that we *only* insert in the middle
3704 of the text if something was selected.
3706 2008-03-27 Michael Natterer <mitch@imendio.com>
3708 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3709 selector cannot be opened
3711 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3712 when the popup color selector is created. Please connect to this
3713 signal in order to set the dialog's help ID.
3715 2008-03-25 Sven Herzberg <sven@imendio.com>
3717 Fixes: MB#1212: Hide info banners (infoprints) on click
3719 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3720 extracted the close event simulation into an extra function
3721 (hildon_banner_button_press_event): simulate a close event and destroy
3722 the widget if the event wasn't handled
3723 (hildon_banner_class_init): added the button_press_event handler
3724 (hildon_banner_init): added button-press events to the widget
3726 2008-03-25 Sven Herzberg <sven@imendio.com>
3728 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3729 Patch from: Mohammad Anwari <mdamt@maemo.org>
3731 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3732 instead of the right in RTL mode
3733 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3734 breadcrumb button list in RTL mode
3735 * src/hildon-caption.c: mirror the appearance of the caption widget in
3737 * src/hildon-date-editor.c: mirror appearance of the date editor in
3739 * src/hildon-time-editor.c: mirror appearance of the time editor in
3741 * src/hildon-window.c: fix the position of the popup in RTL mode
3743 2008-03-25 Sven Herzberg <sven@imendio.com>
3745 Amendment to the fix of NB#22072. Fix compilation.
3747 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3749 2008-03-19 Sven Herzberg <sven@imendio.com>
3751 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3754 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3755 timeout id properly when the timeout will disappear this leaves no
3756 artifacts around in the destroy(); there will only be the timeout
3757 created by hildon_banner_ensure_timeout() and adding a new timeout
3758 will also work if the timeout gets removed because the timeout_handler
3761 2008-03-19 Michael Natterer <mitch@imendio.com>
3763 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3765 * src/hildon-volumebar.c
3766 * src/hildon-vvolumebar.c
3767 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3768 the widget becomes focussable at all.
3770 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3771 set the focus to wither the mute button or the volumebar.
3773 Remove own "can-focus" property and instead listen to
3774 notify::can-focus in order to update the widget's state.
3776 Implement GtkWidget::focus() and make sure we can also *leave* the
3777 widget, not only enter it, depending on volumebar orientation and
3778 requested focus direction.
3780 Clean up set_mute() to cooperate nicely with all the above.
3782 2008-03-04 Michael Natterer <mitch@imendio.com>
3784 Fixes: NB#78481: information banners are hidden under browser menu
3786 * src/hildon-banner.c: call gtk_window_present() on the banners so
3787 they are risen if they are already visible.
3789 2008-03-03 Sven Herzberg <sven@imendio.com>
3791 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3793 * examples/hildon-window-menu-example.c: (main): extended the window
3794 menu example to serve as a testcase for automatically added
3795 accelerator groups, too
3796 * src/hildon-window.c: (hildon_window_add_accel_group),
3797 (hildon_window_set_menu): added patch by Tommi Komulainen
3799 2008-03-03 Sven Herzberg <sven@imendio.com>
3801 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3803 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3804 knowledge about the border allocators used within GTK+
3806 2008-02-26 Sven Herzberg <sven@imendio.com>
3808 Fixes: MB#2981: Build with asserts broken
3810 * src/hildon-date-editor.c,
3811 * src/hildon-number-editor.c,
3812 * src/hildon-time-editor.c,
3813 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3814 the proper GType instance check
3816 2008-02-25 Sven Herzberg <sven@imendio.com>
3818 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3820 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3821 * examples/hildon-window-menu-example.c: (main): explicitly show
3823 * src/hildon-window.c:
3824 (hildon_window_set_main_menu): moved most of the code from set_menu()
3825 to this place; skipped the call to gtk_widget_show_all(); also didn't
3826 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3827 (hildon_window_set_menu): removed most of the code, just keep the
3828 questionable gtk_widget_show_all()
3829 * src/hildon-window.h: added the new function and deprecate the old
3832 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3838 * debian/changelog: Updating.
3840 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3843 * pkgconfig/Makefile.am:
3844 * pkgconfig/hildon.pc.in:
3847 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3848 use newly created API_MAJOR_VERSION.
3850 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3856 * debian/changelog: Updating.
3858 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3860 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3862 Add outer_border style property, we use it but don't define it (!).
3866 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3868 * examples/hildon-bread-crumb-trail-example.c (main):
3872 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3874 Fix logic for the bread crumb trail node removal.
3878 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3884 * debian/changelog: Updating.
3886 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 Patch by Alejandro to get/set passwords dialogs accesibility.
3890 * hildon-1/src/hildon-get-password-dialog.c:
3891 * hildon-1/src/hildon-set-password-dialog.c:
3892 Set atk_set_name to the passwd entries in order to allow
3893 accessibility by name on this entries.
3895 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3900 * debian/control: Updating gtk dep.
3902 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3904 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3905 USE_MAEMO_GTK is enabled.
3907 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3909 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3910 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3912 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * debian/changelog: Updating.
3920 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3922 * examples/Makefile.am:
3923 * examples/hildon-logical-color-example.c:
3924 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3925 applied + adding a test case. Fixes: NB#71660.
3927 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3929 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3930 to be visible, fixes warning on map for windows without toolbars.
3932 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3934 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3935 2.11.0, add a check for that besides the MAEMO_GTK check.
3937 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3943 * debian/changelog: Updating.
3945 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3947 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3948 visibility. Fixes: NB#70842 and MB#615.
3950 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3952 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3953 set the separator as no-show-all so it doesn't unintentionally appear when
3954 someone does a show_all.
3956 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3958 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3959 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3960 toplevel item. Fixes: NB#62031
3962 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3964 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3965 fix the name of the function in the docs.
3967 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3973 * debian/changelog: Updating.
3975 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3977 * examples/hildon-banner-long-example.c: Adding a test-case for long
3980 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3982 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3984 * src/hildon-color-chooser-dialog.c:
3985 * src/hildon-color-chooser.c:
3986 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3987 memory leaks in font selector and color selector. Fixes: NB#70499 and
3990 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3992 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3994 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3996 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3997 little bit bigger. Fixes: #NB63694.
3999 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4005 * debian/changelog: Updating.
4007 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4010 * doc/hildon-docs.sgml:
4011 * doc/images/bread-crumb-trail.png:
4012 * doc/images/calendar-popup.png:
4013 * doc/images/caption.png:
4014 * doc/images/code-dialog.png:
4015 * doc/images/color-button.png:
4016 * doc/images/color-chooser-dialog.png:
4017 * doc/images/color-chooser.png:
4018 * doc/images/controlbar.png:
4019 * doc/images/date-editor.png:
4020 * doc/images/font-selection-dialog.png:
4021 * doc/images/get-password-dialog.png:
4022 * doc/images/hvolumebar.png:
4023 * doc/images/login-dialog.png:
4024 * doc/images/note.png:
4025 * doc/images/number-editor.png:
4026 * doc/images/range-editor.png:
4027 * doc/images/seekbar.png:
4028 * doc/images/set-password-dialog.png:
4029 * doc/images/sort-dialog.png:
4030 * doc/images/time-editor.png:
4031 * doc/images/time-picker.png:
4032 * doc/images/vvolumebar.png:
4033 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4034 Adding the bread-crumb-trial and helpers to the documentation.
4036 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * examples/hildon-find-toolbar-example.c:
4039 * src/hildon-find-toolbar.c:
4040 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4041 actually continue firing the other handlers if connected. Adding a new
4043 hildon_find_toolbar_get_last_index that gets the index of the most
4044 recently added (last) item. Fixes: NB#52301.
4046 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4048 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4049 behaviour. Fixes: NB#68610.
4051 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4053 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4056 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4058 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4059 when realizing the banner. Should make the infonbanner effect a bit more
4062 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4064 * src/hildon-volumebar.c:
4065 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4066 hildon_volumebar_set_range_insensitive_message and
4067 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4069 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * src/hildon-window.c: Fixing the border freeing on destroy.
4073 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4075 * src/hildon-code-dialog-private.h:
4076 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4077 kw keyboard support in HildonCodeDialog.
4079 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * debian/changelog: Updating.
4087 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4089 * src/hildon-date-editor.c:
4090 * src/hildon-number-editor.c:
4091 * src/hildon-private.c:
4092 * src/hildon-private.h:
4093 * src/hildon-time-editor.c:
4094 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4095 handling in subclassed composite widgets. Fixes: NB#66628.
4097 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4099 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4100 from destroy_ callback as it introduces problems in async dbus signal
4101 handlers. Fixes NB#66673.
4103 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4105 * examples/hildon-hvolumebar-example.c:
4106 * src/hildon-volumebar.c: Improving the focus handling in the
4107 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4108 set_property accessor so that "mute" property can be actually set. I'm
4109 scared that nobody noticed it's totally broken.
4111 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4116 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4118 * src/hildon-calendar.c:
4119 * src/hildon-number-editor.c:
4120 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4121 matches the spec of 6 chars per second. Fixes: NB#60489.
4123 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4125 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4126 gtk_style_lookup_color sometime returns FALSE even though color was
4127 found and values were filled properly. Weird. Removing the warning for the
4130 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4133 expand vertically. Adding some extra space to the find toolbar buttons to
4134 make them thumbable. Fixes NB#66060.
4136 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4138 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4139 popup with "Ok" and "Cancel". Fixes NB#59299.
4141 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * src/hildon-calendar.c: Process all window updates before executing next
4144 timeout. Fixes: NB#54146.
4146 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * debian/changelog: Updating.
4154 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4156 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4157 the client event and ignore it, since we use the delete event to close
4160 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4162 * src/hildon-helper.c: Remove the bogus warning about color not being
4163 found. Fixes NB#58352.
4165 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * examples/Makefile.am:
4168 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4169 HildonSeekbar widget inside a toolbar.
4171 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4173 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4174 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4175 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4176 don't want to be closed by non-temporary windows on map.
4178 Also use G_DEFINE_TYPE instead of manually typed code.
4180 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4187 * debian/rules: Updating.
4189 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4191 * examples/Makefile.am:
4192 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4193 bug NB#61128. Strangely it works.
4195 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4197 * src/hildon-date-editor.c: When the date editor entry has been changed
4198 but the numbers of characters < max, turn off the skip validation flag.
4199 Prevents a situation when we enter first a valid year and later re-write
4200 it with an invalid one. Fixes NB#60154.
4202 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4204 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4205 code dialog. Fixes NB#64355.
4207 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4210 switching the page. Fixes NB#49374.
4212 * examples/Makefile.am:
4213 * examples/hildon-wizard-dialog-example.c: Adding an example for
4214 HildonWizardDialog that shows how to handle manual sensitivity setting on
4217 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4221 * src/hildon-version.h.in:
4222 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4224 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4226 * src/hildon-volumebar.c: Updating the docs.
4228 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * debian/changelog: Updating.
4236 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4238 * src/hildon-find-toolbar.c:
4239 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4240 selected item: hildon_find_toolbar_set_active,
4241 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4242 hildon_find_toolbar_get_active_iter . They correspond to respective
4243 GtkComboBox functions.
4245 * examples/Makefile.am:
4246 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4249 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4251 * examples/Makefile.am:
4252 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4255 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4256 when font size > 32 and we pack a focusable widget inside. Actually using
4257 the default response would work too, but since we don't show default
4258 response state in any way (no theming) it would not be visible to the
4259 user. Fixes NB#63430.
4261 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4263 * src/hildon-date-editor.c: Adding the missing variable setter in the
4264 set_property handler. Fixes NB#54182.
4266 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4268 * src/hildon-window.h: Changing the long key press time from 1500ms to
4269 800ms as requested in NB#63700. I have a bad feeling about this, let's
4270 see... Fixes NB#63700.
4272 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4274 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4275 hildon_time_picker_map, hildon_time_picker_realize,
4276 hildon_time_picker_style_set): Split the contents of map to more
4277 appropriate functions; set window decorations on realize and update
4278 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4280 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4285 * debian/changelog: Updating.
4287 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4289 * src/Makefile.am: fixed installation of the header files
4291 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4297 * debian/changelog: Updating.
4299 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4301 * configure.ac: Removing some remaining of --enable-xan.
4303 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4305 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4306 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4308 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4309 2.10.12-osso6 because the move-focus signal needs to be available in
4312 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4314 * examples/Makefile.am:
4315 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4316 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4317 fine. Prolly NB#61128 is fixed now.
4319 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4321 * src/hildon-volumebar.c:
4322 * src/hildon-volumebar.h: Adding the
4323 hildon_volumebar_set_range_insensitive_message and
4324 hildon_volumebar_set_range_insensitive_messagef functions to set
4325 insensitive message on the slider of the volumebar. Fixes NB#61129.
4327 * examples/Makefile.am:
4328 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4329 test the new insensitive messsage functionality on HildonVolumebar.
4331 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4333 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4336 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4338 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4339 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4340 button on after clearing the trail.
4342 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4344 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4346 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4348 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4349 by splitting the installed headers in generated and non-generated groups. Use
4350 only the non-generated headers to create the hildon-enum-types.h file.
4352 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4354 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4356 * src/hildon-window.c: Hide the window before performing the destroy.
4357 Should make the app closing a little tiny bit more snappy.
4359 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4361 * src/hildon-seekbar.c: add gtkrange.h header
4362 * src/hildon-caption.c: remove unused variable
4364 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4366 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4369 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4375 * debian/changelog: Updating.
4377 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4379 * src/hildon-window.c (hildon_window_window_state_event,
4380 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4381 escape timeout on focus-out-event rather than notify::is-topmost; the
4382 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4384 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4386 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4387 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4389 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4391 * src/hildon-window: actually, you need to use the macro always, there's
4392 no private pointer in the instance structure. We should have cleaned this up
4393 when we had the chance...
4395 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4397 * src/hildon-window.c: do not get the private date from HildonWindow before
4398 it passes the g_return_if_fail check. Once it's passed the test, there's no
4399 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4400 if you are only going to access the data once. Whitespace cleanups.
4402 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4404 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4405 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4407 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4413 * debian/changelog: Updating.
4415 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * src/hildon-window.c: When destroying the window, remove (if exists) the
4418 escape timeout handler. Fixes #NB59276.
4420 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4422 * src/hildon-banner.c: When realizing the widget, set the window
4423 transiency. Setting the transiency in the gobject constructor is not
4424 good, as the widget is not realized at that point. Fixes: #NB56624.
4426 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4428 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4429 Add padding for future expansions.
4431 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4433 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4434 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4435 will fake an activation on the previous to the last item of the trail, so
4436 the effect can be overrided by the developer as usual.
4437 Also change the callback for the back button to do the same thing, so its
4438 effect can be overrided too. Fixes: NB#58982
4440 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4442 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4443 HildonCaption. Fixes NB#52379.
4445 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4447 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4448 the internal state of the trail after the user has had the chance of executing
4449 his handler for the signal. Specifically, it may happen that the activated button
4450 is removed and the user still lets the default handler run. This would segfault
4453 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4455 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4456 scrollbar to the preview dialog. Fixes NB#54147.
4458 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4460 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4461 max/min year properties can be altered, so the client can modify it
4462 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4464 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4466 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4467 hildonlike by default. Fixing a problem with disappearing arrows when
4468 scrolling through months and years. Fixes NB#54127.
4470 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4472 * examples/hildon-date-editor-example.c: Adding error callback to the date
4475 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4481 * configure.ac: Updating.
4483 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4485 * configure.ac: Adding a special '--enable-xan' configure option that
4486 turns off the -Werror compilation setting. Usefull for development.
4488 * src/hildon-calendar.c:
4489 * src/hildon-number-editor.c:
4490 * src/hildon-time-picker.c: Adding the 5* multiplier to
4493 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4495 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4496 instead of g_object_ref + gtk_object_sink.
4498 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4504 * debian/changelog: Updating.
4506 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4508 * src/hildon-color-chooser-dialog.c:
4509 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4510 straight from Tommi labs.
4512 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4514 * examples/hildon-finger-example.c: Correcting the header file path.
4516 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4517 the changed signal. Fixes a small memory leak.
4519 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4523 * src/hildon-banner.c: Importing several usefull fixes from the
4524 ubuntu-mobile branch.
4526 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4528 * examples/Makefile.am:
4529 * examples/hildon-finger-example.c: Adding a finger-checking code
4532 * src/hildon-font-selection-dialog.c: Do not allocate the color
4533 structure using the g_new. Fixes NB#54061.
4535 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4537 * src/hildon-helper.c: Correcting tabs in file.
4539 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4541 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4542 control the visibility of the children.
4544 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4546 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4552 * debian/changelog: Updating.
4554 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4556 * src/hildon-bread-crumb-trail.c:
4557 (hildon_bread_crumb_trail_size_allocate):
4559 Make the back button always a square.
4561 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4563 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4564 from the .c file as it's a private file.
4566 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4568 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4569 uses slightly bigger height.
4571 * src/hildon-font-selection-dialog.c: Adding some checks before
4572 freeing memory in the font selection dialog.
4574 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4576 * src/hildon-font-selection-dialog.c: Adding a small check when
4579 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4580 buttons sensitivity on page switching.
4582 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4584 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4585 internal details of adding a bread crumb to the trail.
4587 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4593 * debian/changelog: Updating.
4595 * src/hildon-bread-crumb-trail.h:
4596 * src/hildon-bread-crumb.h: Changing the API guard to
4597 HILDON_ENABLE_UNSTABLE_API.
4599 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4607 * src/hildon-helper.h: Updating.
4609 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4617 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4621 * src/hildon-helper.h: Small fix to make the package actually compile.
4623 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4625 * src/hildon-bread-crumb-trail.h:
4626 * src/hildon-bread-crumb.h:
4628 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4629 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4631 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4633 * examples/hildon-bread-crumb-trail-example.c:
4635 * src/hildon-bread-crumb-trail.c:
4636 * src/hildon-bread-crumb-trail.h:
4637 * src/hildon-bread-crumb.c:
4638 * src/hildon-bread-crumb.h:
4639 * src/hildon-marshalers.list:
4640 * src/hildon-bread-crumb-widget.c:
4641 * src/hildon-bread-crumb-widget.h:
4643 Slight change in the widget design. The bread crumb trail API is
4644 unchanged, but HildonBreadCrumb is now an interface. A *private*
4645 implementation, hildon-bread-crumb-widget, is provided and used
4646 internally by the trail for the push_text/push_icon functions.
4648 The generic push API is still available, so anyone can implement
4649 and use its own bread crumb widget.
4651 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4653 * debian/rules: Fixing the shlibs.
4655 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4657 * src/hildon-banner.c: Fixing a problem with timed banners having
4658 their parrent destroyed before they are.
4660 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4662 * src/hildon-bread-crumb.c:
4663 * src/hildon-bread-crumb.h:
4665 Make the get_natural_size function a vfunc.
4667 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4669 * src/hildon-bread-crumb.c:
4670 * src/hildon-bread-crumb-trail.c:
4674 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4681 * debian/changelog: Updating for release.
4683 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4685 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4686 don't leak the pango layout.
4688 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4691 * examples/hildon-bread-crumb-trail-example.c:
4695 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4697 * debian/changelog: Removing the bug-fixed entries that were actually
4698 resolved as WONTFIX.
4700 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4703 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4705 * src/hildon-bread-crumb-trail.c:
4706 * src/hildon-bread-crumb-trail.h:
4707 * src/hildon-bread-crumb.c:
4708 * src/hildon-bread-crumb.h:
4712 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4714 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4715 until it's passed the type check.
4717 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4719 * examples/hildon-bread-crumb-trail-example.c
4723 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4725 * examples/Makefile.am
4726 * examples/hildon-bread-crumb-trail-example.c
4728 * src/hildon-bread-crumb-trail.c
4729 * src/hildon-bread-crumb-trail.h
4730 * src/hildon-bread-crumb.c
4731 * src/hildon-bread-crumb.h
4733 New HildonBreadCrumbTrail widget.
4735 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4737 * src/hildon-range-editor.c (hildon_range_editor_init),
4738 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4739 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4740 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4741 hildon_time_editor_class_init, hildon_time_editor_init),
4742 src/hildon-get-password-dialog.c (invalid_input,
4743 hildon_get_password_set_property, hildon_get_password_get_property,
4744 create_contents, hildon_get_password_dialog_set_max_characters),
4745 src/hildon-set-password-dialog.c (create_contents),
4746 src/hildon-date-editor.c (hildon_date_editor_init),
4747 src/hildon-login-dialog.c (hildon_login_dialog_init),
4748 src/hildon-number-editor.c (hildon_number_editor_init),
4749 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4750 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4751 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4752 configure option and adding the respective checks in the code.
4753 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4754 hildon_calendar_drag_data_received): fixed some build warnings.
4756 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4758 * debian/changelog: A 1.0.0 release notes.