1 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5 (hildon_seekbar_init): Remove steppers, remove expose event.
6 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
8 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
10 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
12 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
13 label font to "SmallSystemFont" for vertically arranged buttons.
15 Fixes: NB#90662 (HildonButton "value" and "detail" text is
18 2008-10-31 Alberto Garcia <agarcia@igalia.com>
20 * src/hildon-check-button.c
21 (hildon_check_button_set_active, hildon_check_button_clicked):
22 Don't access private parts directly, use getters instead.
24 2008-10-31 Alberto Garcia <agarcia@igalia.com>
26 * src/hildon-check-button.c (hildon_check_button_new):
27 Align the contents of the check button to the left.
29 2008-10-30 Alejandro G. Castro <alex@igalia.com>
31 * src/hildon-pannable-area.c,
32 (hildon_pannable_area_scroll_to),
33 (hildon_pannable_area_jump_to),
34 (hildon_pannable_area_scroll_to_child),
35 (hildon_pannable_area_jump_to_child): Replace the mapped
36 precondition of these functions with the realized, it is the
37 correct state of the widget in this case. Changed the
38 documentation according to this modification.
40 2008-10-30 Alejandro G. Castro <alex@igalia.com>
42 Added a new EXTRA_CFLAGS option to add the deprecated define to
43 the compilation command. This way we can avoid using the define in
44 the documentation compilation.
46 * configure.ac: Defined EXTRA_CFLAGS.
48 * examples/Makefile.am:
50 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
52 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
54 * src/hildon-picker-dialog.c:
55 Defined a utility macro with the desired touch selector height
56 Removed currently unused separator, and title_label variables from
58 (hildon_picker_dialog_init): Removed code related to the creation
59 of unused private variables title_label and separator.
60 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
61 to ensure correct visualization of the touch selector inside the dialog.
62 * src/hildon-touch-selector.c
63 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
64 ensure a concrete height of the widget.
66 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
71 Remove spurious whitespaces.
73 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
75 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
76 compilation warning after the cancel button removal.
78 2008-10-30 Alejandro G. Castro <alex@igalia.com>
80 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
82 * configure.ac: Added an AM_CONDITIONAL in order to use in the
83 Makefile.am, that way we can choose not to compile some examples
84 and tests of the deprecated widgets.
86 * examples/Makefile.am: Divided the sources in deprecated and
89 * src/Makefile.am: Added undef statement of the deprecated
90 symbol to the enums file generation process.
92 * src/hildon-color-chooser-dialog.c
93 * src/hildon-color-chooser-dialog.h
94 * src/hildon-color-button.c
95 * src/hildon-color-button.h
96 * src/hildon-color-chooser.c
97 * src/hildon-color-chooser.h
98 * src/hildon-controlbar.c
99 * src/hildon-controlbar.h
100 * src/hildon-date-editor.c
101 * src/hildon-date-editor.h
102 * src/hildon-hvolumebar.c
103 * src/hildon-hvolumebar.h
104 * src/hildon-private.c
105 * src/hildon-private.h
106 * src/hildon-range-editor.c
107 * src/hildon-range-editor.h
108 * src/hildon-seekbar.c
109 * src/hildon-seekbar.h
110 * src/hildon-time-editor.c
111 * src/hildon-time-editor.h
112 * src/hildon-time-picker.c
113 * src/hildon-time-picker.h
114 * src/hildon-volumebar.c
115 * src/hildon-volumebar.h
116 * src/hildon-vvolumebar.c
117 * src/hildon-vvolumebar.h
118 * src/hildon-bread-crumb-trail.h
119 * src/hildon-bread-crumb-trail.c
120 * src/hildon-calendar-popup.c
121 * src/hildon-calendar-popup.h
122 * src/hildon-weekday-picker.c:
123 * src/hildon-weekday-picker.h:
124 * src/hildon-bread-crumb-widget.c:
125 * src/hildon-bread-crumb-widget.h:
126 * src/hildon-bread-crumb.c:
127 * src/hildon-bread-crumb.h:
128 * src/hildon-calendar.c:
129 * src/hildon-calendar.h:
130 * src/hildon-caption.c:
131 * src/hildon-code-dialog.c:
132 * src/hildon-code-dialog.h:
133 * src/hildon-font-selection-dialog.c:
134 * src/hildon-font-selection-dialog.h:
135 * src/hildon-get-password-dialog.c:
136 * src/hildon-get-password-dialog.h:
137 * src/hildon-login-dialog.c:
138 * src/hildon-login-dialog.h:
139 * src/hildon-number-editor.c:
140 * src/hildon-number-editor.h:
141 * src/hildon-set-password-dialog.c:
142 * src/hildon-set-password-dialog.h:
143 * src/hildon-sort-dialog.c:
144 * src/hildon-sort-dialog.h: This is the list of deprecated
147 * src/hildon-touch-selector.c:
148 * src/hildon-window.c: Added undef statement to avoid compilation
151 * tests/Makefile.am: Divided the sources in deprecated and
154 * tests/check_test.c,
155 (configure_tests): Marked the deprecated code that was adding
156 suites with deprecated tests.
158 Fixes: NB#91135 (Deprecate legacy hildon widgets)
160 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
162 * src/hildon-touch-selector.c: (_default_print_func): Do not
163 duplicate a string returned by gtk_tree_model_get(), it is already
166 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
169 2008-10-28 Alejandro G. Castro <alex@igalia.com>
171 * src/hildon-pannable-area.c
172 (hildon_pannable_area_add_with_viewport): Reviewed the complete
173 method, it had problems when adding a widget with viewport the
174 second time. Now checks if it already has a viewport and uses it.
176 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
179 2008-10-28 Alejandro G. Castro <alex@igalia.com>
181 * src/hildon-pannable-area.c,
182 (hildon_pannable_area_scroll_to),
183 (hildon_pannable_area_jump_to),
184 (hildon_pannable_area_scroll_to_child),
185 (hildon_pannable_area_jump_to_child): Added a precondition to the
186 scroll and jump to functions: the widget must be mapped before we
187 can safely call these functions. We have also added documentation
188 to the functions to explain how to use them in this situation.
191 2008-10-28 Alejandro G. Castro <alex@igalia.com>
193 Reviewed the threading handling of the pannable widget, we have
194 used the gdk_threads_add_timeout function instead of the usual
195 glib handlers. This avoids some problems with the threads.
197 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
198 (hildon_pannable_area_initial_effect),
199 (hildon_pannable_area_scroll_indicator_fade),
200 (hildon_pannable_area_button_press_cb),
201 (hildon_pannable_area_timeout),
202 (hildon_pannable_area_motion_notify_cb),
203 (hildon_pannable_area_button_release_cb),
204 (hildon_pannable_area_scroll_cb),
205 (hildon_pannable_area_scroll_to): Removed the
206 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
207 gdk_threads_add_timeout.
209 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
211 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
216 * configure.ac: bump version
217 * debian/changelog: updates
219 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
221 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
222 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
223 * src/hildon-color-chooser-dialog.c:
224 (hildon_color_chooser_dialog_init):
225 * src/hildon-font-selection-dialog.c:
226 (hildon_font_selection_dialog_init):
227 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
229 Remove all cancel/close-like dialogs, as these are not going to be
232 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
234 * src/hildon-note.c: (hildon_note_rebuild),
235 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
238 Fixes: NB#90661 (Delete dialog is displayed without NO button)
240 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
243 sure all buttons are shown, even the Cancel/Close-like ones.
245 Fixes: NB#90861 (Custom Confirmation dialogs should be
246 protected from cancel button removal)
248 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
250 * debian/control: Change libhildon1-examples dependency from libhildon1
252 * debian/libhildon1-examples.install
254 * Makefile.am: Modified the final install directory for the examples on
255 package libhildon1-examples
256 * Makefile.static: Update clean target in order to remove all the binary
259 Changes suggested by Claudio after review new libhildon1-examples package
261 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
263 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
264 * src/hildon-touch-selector.c: Ditto.
266 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
268 * debian/control: Added new package libhildon1-examples, in order to pack
269 the current hildon examples as documentation
270 * debian/rules: Not to compress .c files, modify some includes on the
271 examples (as normally are compiled locally, but when installed it will
272 require to include the installed libhildon1 library), and rename
274 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
275 install all the example files on the new example package
276 * examples/Makefile.static: Added static makefile that can be used to
277 compile the examples, once installed the new example package
278 * examples: Most of the examples were modified in order to grant that
279 all use only '#include "hildon.h"', in order to be easy to prepare
280 it on the example package
282 2008-10-23 Alberto Garcia <agarcia@igalia.com>
285 * debian/libhildon1-dev.install
286 * debian/libhildon1-doc.install:
287 Move all gtk-doc files to a separate libhildon1-doc package.
289 2008-10-23 Daniel Borgmann <danielb@openismus.com>
291 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
293 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
295 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
297 * debian/rules: Fixed a error in order to avoid unnecessary calls
298 to autogen.sh on package building
300 2008-10-22 Alberto Garcia <agarcia@igalia.com>
302 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
304 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
306 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
309 2008-10-21 Alberto Garcia <agarcia@igalia.com>
311 * src/hildon-picker-button.c
312 (hildon_picker_button_finalize):
313 Free priv->done_button_text
315 * src/hildon-time-button.c
316 (hildon_time_button_set_time)
317 * src/hildon-picker-button.c
318 (hildon_picker_button_clicked)
319 (hildon_picker_button_selector_selection_changed)
320 (hildon_picker_button_set_selector)
321 * src/hildon-date-button.c
322 (hildon_date_button_set_date):
323 Free strings returned by hildon_touch_selector_get_current_text()
325 * src/hildon-button.c (hildon_button_construct_child):
326 Fix leaks in priv->image and priv->label_box
328 Fixes: NB#90535 (Memory leak in picker button)
330 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
332 * src/hildon-button.c: (hildon_button_get_property): Do not access
333 private elements directly, use getters instead.
335 2008-10-20 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-app-menu-private.h
338 * src/hildon-app-menu.c
339 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
340 Store the menu's parent window.
342 * src/hildon-stackable-window.c
343 (hildon_stackable_window_toggle_menu)
344 (hildon_stackable_window_finalize):
345 Set the menu's parent window when the menu is shown, unset it when
348 * src/hildon-app-menu.c
349 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
350 (hildon_app_menu_class_init):
351 Send unhandled keyboard accelerators to the parent window.
353 2008-10-20 Alberto Garcia <agarcia@igalia.com>
355 * src/hildon-stackable-window.c
356 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
358 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: post release version bump
362 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
365 * configure.ac: Bump version
366 * debian/changelog: Updates
367 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
370 2008-10-20 Alberto Garcia <agarcia@igalia.com>
372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
375 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
376 GtkMenu with Hildon style.
378 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
380 * src/hildon-picker-button.c:
381 (hildon_picker_button_set_done_button_text): Set the dialog's
382 done button text here as well.
384 Fixes: NB#90232 (Picker button does not set the label on done button
387 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
389 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
392 2008-10-16 Alberto Garcia <agarcia@igalia.com>
394 * src/hildon-app-menu.c (hildon_app_menu_insert)
395 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
396 the HildonAppMenu to be activatable using keyboard accelerators
397 when the menu is not being shown.
399 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
401 2008-10-16 Alberto Garcia <agarcia@igalia.com>
403 * src/hildon-stackable-window.c
404 (hildon_stackable_window_show):
405 Don't hide old windows automatically when new windows are shown:
406 this is now a task for the window manager.
407 (hildon_stackable_window_class_init)
408 (hildon_stackable_window_hide):
409 Remove windows from the stack everytime they're hidden.
410 (hildon_stackable_window_realize):
411 Don't change the _NET_WM_WINDOW_TYPE property. Use
412 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
413 it as a stackable window.
415 * src/hildon-program.c
416 (hildon_program_pop_window_stack):
417 Just hide the window to remove it from the stack.
418 (hildon_program_go_to_root_window):
419 Don't call gtk_widget_show(), this is now a task for the window
422 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
424 2008-10-15 Alberto Garcia <agarcia@igalia.com>
426 * src/hildon-button.c
427 (hildon_button_construct_child):
428 Don't pack anything in the button until text or image are
429 set. This allows adding a custom child after creating the button
430 with hildon_button_new().
431 (hildon_button_finalize, hildon_button_class_init)
432 (hildon_button_init, hildon_button_set_arrangement): Destroy the
433 alignment and the label box even when they're not packed in the
436 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
438 * src/hildon-touch-selector.h:
439 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
440 currently the type definition was using GTK_TYPE_VBOX
441 * src/hildon-touch-selector.c:
442 Added some implementation notes in order to clarify that any other widget
443 added without the column related API will not be included on the
444 selection logic, and how the widget is freed, as some people ask about
446 (hildon_touch_selector_remove): Reimplemented in order to free properly
447 the column related data when you remove the private hbox.
448 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
449 to get a proper HildonTouchSelectorColumn documentation
451 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
453 * src/hildon-touch-selector-entry.c:
454 (hildon_touch_selector_entry_print_func): Return NULL if there is no
455 text in the GtkEntry and there is no item selected. Fixes a
458 2008-10-13 Alberto Garcia <agarcia@igalia.com>
460 * src/hildon-app-menu-private.h
461 * src/hildon-app-menu.[ch]
462 * src/hildon-button.[ch]
463 * src/hildon-check-button.[ch]
464 * src/hildon-entry.[ch]
465 * src/hildon-pannable-area.[ch]
466 * src/hildon-text-view.[ch]:
467 Added private field to the object's structure.
469 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: post-release version bump
473 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
477 * configure.ac: pre-release version bump
479 * debian/changelog: updates.
481 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
483 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
484 Disconnect the handler for HildonTouchSelector::changed.
486 (hildon_picker_button_selector_selection_changed): Update the button
487 value if the selection change was not triggered by the
490 (hildon_picker_button_set_selector): connect to
491 HildonTouchSelector::changed.
493 Fixes: NB#89650 (Picker button is not updated, when selection in
494 selector has changed)
496 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
498 * src/hildon-picker-dialog.c
499 (hildon_picker_dialog_realize): Removed as not required
500 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
501 * src/hildon-picker-button.c
502 (_current_selector_empty): New function, checks if the selector is empty
503 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
504 if the current selector is empty, in order to avoid to show the dialog
505 close the dialog in this case (and shows a g_warning).
507 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
509 2008-10-09 Alejandro G. Castro <alex@igalia.com>
511 * src/hildon-pannable-area.c,
512 (hildon_pannable_area_scroll): Added clause to stop movement when
513 the child of pannable is smaller than one page.
514 (hildon_pannable_area_scroll_to): Added conditions to avoid
515 starting the scrolling movement if the child is smaller than one
516 page, the complete child is in the screen, we do not have to move.
518 Fixes: NB#89632 (Picker button selection doesn't change on first click)
520 2008-10-09 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-app-menu.c: Removed the 'columns' property, as now
523 this is managed automatically by the widget when the size of the
526 2008-10-09 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-picker-button.c
529 (hildon_picker_button_set_done_button_text): Make a copy of the
530 text, and free the previous value.
532 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
534 * src/hildon-touch-selector-entry.c:
535 (hildon_touch_selector_entry_print_func): Return the selected row's
536 text if the entry is empty.
538 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
541 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
543 * src/hildon-touch-selector-entry.c: Minor docs fixes.
545 2008-10-09 Alberto Garcia <agarcia@igalia.com>
548 * src/hildon-check-button.h
549 * src/hildon-check-button.c
550 * examples/hildon-check-button-example.c:
551 HildonCheckButton is now a new widget. 'toggled' signal added.
553 2008-10-08 Alberto Garcia <agarcia@igalia.com>
555 * src/hildon-program-private.h
556 * src/hildon-program.c (hildon_program_init)
557 (hildon_program_finalize): Removed unused variables group_leader
558 and name from HildonProgramPrivate.
560 2008-10-08 Alberto Garcia <agarcia@igalia.com>
562 * src/hildon-check-button.c (hildon_check_button_set_active)
563 (hildon_check_button_get_active, hildon_check_button_new): Use
564 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
566 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
568 * src/hildon-touch-selector.h
569 (hildon_touch_selector_set_column_attributes): added deprecation
570 guard HILDON_DISABLE_DEPRECATED
571 * src/hildon-time-selector.c
572 (hildon_time_selector_set_time)
573 (hildon_time_selector_get_time): Fixed a typo on documentation
574 * src/hildon-touch-selector.c: update HildonTouchSelector and
575 HildonTouchSelectorColumn documentation
576 * src/hildon-touch-selector-entry.c: update "text-column" property
578 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
579 to be added to the general documentation.
581 2008-10-08 Alejandro G. Castro <alex@igalia.com>
583 * examples/hildon-pannable-area-example-4.c,
585 * examples/hildon-pannable-area-example.c,
586 (main): Modified the code in order to use the container add, with
587 viewport treeviews could have problems if they are really big.
589 2008-10-06 Alejandro G. Castro <alex@igalia.com>
591 * src/hildon-weekday-picker.c,
592 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
593 the agreement regarding deprecation in the library.
595 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
597 * examples/hildon-picker-button-multicolumn-example.c:
598 (main): Use custom "done" button text.
600 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
601 (hildon_picker_button_set_property),
602 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
603 (hildon_picker_button_init),
604 (+hildon_picker_button_get_done_button_text),
605 (+hildon_picker_button_set_done_button_text): New methods to customize
606 the "done" button label in the launched HildonPickerDialog. Also,
609 * src/hildon-picker-button.h: add the public API.
611 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
613 * src/hildon-date-selector.h:
614 * src/hildon-picker-dialog.h:
615 * src/hildon-time-selector.h:
616 * src/hildon-touch-selector-column.h:
617 * src/hildon-touch-selector.h:
619 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
620 declarations. Fixes gtk-doc warnings.
622 2008-10-06 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-picker-dialog.h
625 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
626 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
628 Fixes: NB#89329 (selectors in picker dialog are not visible when a
629 long text is set as label for done button)
631 2008-10-06 Alberto Garcia <agarcia@igalia.com>
633 * src/hildon-dialog.c (hildon_dialog_add_button):
634 Set fixed width to all buttons in the HildonDialog.
636 2008-10-06 Alberto Garcia <agarcia@igalia.com>
638 Patch contributed by Daniel Borgmann (danielb@openismus.com)
640 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
641 Set widget name using class name plus "-finger" or "-thumb".
643 2008-10-03 Alberto Garcia <agarcia@igalia.com>
645 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
646 'clicked' when the state of the button is manually changed.
648 2008-10-02 Alberto Garcia <agarcia@igalia.com>
650 * src/hildon-app-menu.c (hildon_app_menu_realize)
651 (hildon_app_menu_unrealize, hildon_app_menu_init)
652 (hildon_app_menu_class_init, item_visibility_changed):
653 Change the menu layout when the size of the screen changes.
654 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
655 Show warning only when changing the number of colums using the
658 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
660 * debian/compat: Set to 5
661 * debian/control: Update dependencies.
662 * debian/libhildon1-dbg.install: Remove.
663 * debian/libhildon1-dev.install: Update according to cdbs paths.
664 * debian/libhildon1.install: Update according to cdbs paths.
665 * debian/rules: Switch to cdbs.
667 2008-10-01 Alberto Garcia <agarcia@igalia.com>
669 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
670 'item' variable renamed to 'filter'
672 2008-10-01 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-app-menu.c (hildon_app_menu_insert)
675 (hildon_app_menu_add_filter, remove_item_from_list)
676 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
677 Don't leak hidden items when the menu is destroyed.
679 2008-10-01 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-app-menu.c (hildon_app_menu_insert)
682 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
683 (hildon_app_menu_set_columns, item_visibility_changed)
684 (filter_visibility_changed, hildon_app_menu_repack_filters)
685 (hildon_app_menu_repack_items):
686 Repack items and filters separately.
688 Don't repack all items, change only the ones that are needed to
691 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
693 * src/Makefile.am: added hildon-touch-selector-column.h
695 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
697 * src/hildon-touch-selector.c: added the property "text-column" to the
698 class HildonTouchSelectorColumn, and related get/set functions
699 (_default_printf_func): updated to use "text-column" property
700 * src/hildon-touch-selector-entry.c: mark as deprecated the property
701 "text-column" in his documentation, as this is now included on
702 HildonTouchSelectorColumn. The get/set_property can still be used,
703 working as a wrapper to the concrete column "text-column" property
704 (_text_column_modified): callback added in order to handle the signal
705 "notify::text-column" of the concrete HildonTouchSelectorColumn
706 (hildon_touch_selector_entry_get_text_column)
707 (hildon_touch_selector_entry_set_text_column): Added documentation, and
708 modified in order to use the HildonTouchSelectorColumn "text-column"
710 * src/hildon-time-selector.c:
711 * src/hildon-date-selector.c:
712 * examples/hildon-touch-selector-example.c
713 * examples/hildon-touch-selector-multi-cells-example.c
714 * examples/hildon-picker-button-multicolumn-example.c
715 Set the right value to "text-column" property on the creation of a new
716 column using hildon_touch_selector_append_column()
718 Fixes: NB#88644 (Hardcoded first column of the model as text column)
720 2008-09-30 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-app-menu.c
723 (hildon_app_menu_construct_child, hildon_app_menu_init): When
724 updating the layout of the menu, don't create all widgets again,
725 just repack the items in their new places.
727 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
729 * src/hildon-time-selector.c
730 (hildon_time_selector_get_time)
731 (hildon_time_selector_set_time)
732 Added documentation of these public methods
734 * src/hildon-date-button.h
735 * src/hildon-touch-selector-column.h
736 * src/hildon-time-button.h
737 * src/hildon-picker-dialog.h
738 * src/hildon-time-selector.h
739 * src/hildon-picker-button.h
740 * src/hildon-touch-selector.h
741 * src/hildon-time-picker.h
742 * src/hildon-date-selector.h
743 * src/hildon-touch-selector-entry.h
744 Modified in order to use hildon-widgets code style
746 2008-09-30 Alejandro G. Castro <alex@igalia.com>
748 Added deprecated support to the compilation process using
749 HILDON_DISABLE_DEPRECATED
751 * configure.ac: Added the --disable-deprecated to the configure
754 * src/hildon-weekday-picker.c:
755 * src/hildon-weekday-picker.h: Deprecated widget, example of how
756 to use the deprecated support. We will update the other deprecated
757 widgets status in a new patch.
759 2008-09-30 Alejandro G. Castro <alex@igalia.com>
761 * configure.ac: Fixed typo with fatal warnings support, the
762 variable name was not correct
764 2008-09-29 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-app-menu.c
767 * src/hildon-program.c: Update documentation.
769 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
771 * configure.ac: Post-release version bump.
773 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
778 * configure.ac: Pre-release version bump.
779 * debian/changelog: Updates.
781 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
783 * NEWS: Update news for previous releases.
785 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
787 * examples/hildon-touch-selector-multi-cells-example.c:
788 (create_selector): Update the example to use
789 hildon_touch_selector_append_column() with a NULL renderer and set
791 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
792 passed a NULL renderer. This is documented behavior now.
794 Allow passing a NULL renderer to hildon_touch_selector_append_column().
795 This must be used if the developer wants full control on the layout of
796 the renderers to be added to the column.
798 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
800 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
802 * src/hildon-touch-selector.c: Documentation fixes.
804 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
806 * src/hildon-wizard-dialog-private.h: Remove image and box.
807 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
808 (hildon_wizard_dialog_set_property), (response): Completely remove
809 image/icon support, and the containers required for the layout.
811 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
813 2008-09-25 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-app-menu.c: Updated documentation.
817 * src/hildon-stackable-window.c
818 (hildon_stackable_window_set_main_menu): Unref the old menu after
821 2008-09-25 Alberto Garcia <agarcia@igalia.com>
823 * src/hildon-stackable-window.c
824 (hildon_stackable_window_set_main_menu): Unref the previous menu
825 instead of destroying it.
827 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
828 floating reference and set has_user_ref_count to FALSE to make
829 HildonAppMenu act like a normal ref-counted widget and not a
832 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
835 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
837 * src/hildon-touch-selector-column.h: new file
838 * src/hildon-touch-selector.h
839 * src/hildon-touch-selector.c
840 Implemented GtkCellLayout interface, in order to allow to configure
841 the cell layout on each individual selector column
842 (hildon_touch_selector_set_column_attributes): marked as deprecated
843 * examples/hildon-touch-selector-multi-cells-example.c
844 Example of how to use the GtkCellLayout interface on the selector
846 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
848 2008-09-24 Alberto Garcia <agarcia@igalia.com>
850 * src/hildon-app-menu.h
851 * src/hildon-app-menu.c
852 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
853 (hildon_app_menu_append, hildon_app_menu_prepend):
854 New methods to prepend, insert and move items in the menu.
856 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
858 * src/hildon-wizard-dialog.c:
860 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
862 (create_title): Update logical IDs and related code.
863 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
865 * src/hildon-wizard-dialog.h: Note that
866 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
867 point, as it is not used anymore.
869 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
871 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
874 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
875 shown. Do not display an icon in confirmation notes nor information
877 (hildon_note_set_button_text): Update logical ID for cancel button.
879 Fixes: NB#88850 (Update HildonNote button strings + signals)
881 2008-09-24 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-stackable-window.c
884 (hildon_stackable_window_set_main_menu): Fix compilation warning.
886 2008-09-24 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-app-menu-private.h
889 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
890 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
891 (hildon_app_menu_init, hildon_app_menu_class_init): Added
892 temporary property 'columns' to change the number of columns.
894 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
896 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
898 * examples/hildon-note-example.c: (on_information_clicked),
899 (on_confirmation_clicked), (on_progress_clicked), (main): Add
900 debugging information.
901 * src/hildon-note-private.h: Remove close_if_pressed_outside,
903 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
904 (hildon_note_rebuild): Remove special handling of tapping outside/inside
905 in order to close: this will be handled by the WM from now on.
907 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
909 2008-09-24 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-app-menu-private.h
912 * src/hildon-app-menu.c
913 (hildon_app_menu_append, hildon_app_menu_add_filter)
914 (button_visibility_changed, hildon_app_menu_apply_style)
915 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
916 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
917 layout everytime a button (item or filter) is shown or hidden.
919 * src/hildon-stackable-window.c
920 (hildon_stackable_window_set_main_menu): Destroy the old menu when
923 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
925 * src/hildon-touch-selector.c:
926 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
927 that the treeview inside the touch selector is in fremantle hildon mode
928 * examples/hildon-date-button-example.c
929 * examples/hildon-picker-button-multicolumn-example.c
930 * examples/hildon-touch-selector-entry-example.c
931 * examples/hildon-touch-selector-example.c
932 * examples/hildon-time-button-example.c
933 * examples/hildon-picker-button-example.c:
934 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
936 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
938 * examples/hildon-text-view-example.c: (main): Remove the
939 gtkrc bits, now handled by the theme.
941 2008-09-22 Alberto Garcia <agarcia@igalia.com>
943 * src/hildon-picker-button.c (hildon_picker_button_set_active):
946 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
948 * po/Makefile.am: Install properly the mo files.
949 * po/en_GB.po: Update translation, to ease testing purposes.
951 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
953 * examples/hildon-picker-button-example.c: (main): Select an item
954 in the selector before setting it to the button.
956 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
959 Update button's value if the selector has an item active.
961 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
962 'value' with the selector)
964 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
967 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
968 (hildon_picker_button_class_init): Plug the finalize method.
969 (hildon_picker_button_set_selector): If there's a previously set
970 selector, unref'it before setting a new one.
972 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
975 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
977 * src/hildon-touch-selector-entry.c:
978 (hildon_touch_selector_entry_changed): Check if there is no text
979 selected before setting the entry text.
982 2008-09-15 Alberto Garcia <agarcia@igalia.com>
984 * src/hildon-touch-selector.h
985 * src/hildon-touch-selector.c
986 (hildon_touch_selector_get_active)
987 (hildon_touch_selector_set_active): New methods to set/get the
988 index of the selected item.
990 * src/hildon-picker-button.h
991 * src/hildon-picker-button.c
992 (hildon_picker_button_get_active)
993 (hildon_picker_button_set_active): New methods to set/get the
994 index of the selected item.
996 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
998 * configure.ac: post-release version bump.
1000 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1004 * configure.ac: Pre-release version bump.
1005 * debian/changelog: Updates.
1006 * debian/control: Add myself as maintainer and depend on l10n
1009 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1011 * src/hildon-window.c
1012 (hildon_window_set_main_menu)
1013 * src/hildon-stackable-window.c
1014 (hildon_stackable_window_set_main_menu):
1015 Updated documentation.
1017 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1020 Don't free selector->priv manually.
1023 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1026 (hildon_gtk_window_set_progress_indicator):
1027 * src/hildon-gtk.h: Added the new API
1028 hildon_gtk_window_set_progress_indicator, it changes the state of
1029 the window progress hint.
1031 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1033 * src/hildon-button.c
1034 * src/hildon-stackable-window.c: Minor documentation updates.
1036 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1038 * src/hildon-stackable-window.c: Updated documentation.
1040 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1042 * src/hildon-defines.h: Update margins definitions
1043 to the Fremantle sizes.
1046 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1048 * src/hildon-touch-selector.c,
1049 (_hildon_touch_selector_set_model): Cleaning the code after
1050 review, removed g_print and #if 0 from the code.
1052 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-edit-toolbar.c: Update documentation.
1056 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1058 * src/hildon-check-button.h
1059 * src/hildon-check-button.c
1060 (hildon_check_button_set_label, hildon_check_button_get_label)
1061 * examples/hildon-check-button-example.c
1062 (button_clicked_cb):
1063 Removed deprecated methods.
1065 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-text-view.c:
1068 Add sample code to the documentation.
1070 * src/hildon-entry.h
1071 * src/hildon-text-view.h:
1072 Minor cosmetic changes.
1074 * src/hildon-entry.c:
1075 Add sample code to the documentation.
1076 (hildon_entry_init, hildon_entry_refresh_contents):
1077 Don't allow NULL values in the placeholder.
1079 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1081 * doc/hildon-docs.sgml
1083 * examples/Makefile.am
1084 * examples/hildon-text-view-example.c
1086 * src/hildon-text-view.c
1087 * src/hildon-text-view.h
1089 New HildonTextView widget, with example.
1091 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1093 * po/POTFILES.in: Add missing files with translatable strings.
1094 Partially fixes NB#88287.
1096 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1098 * examples/hildon-pannable-area-example-2.c: (main): No need to
1099 set the cellrenderer height inside hildon touch lists, the theme does
1102 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1104 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1105 they are integrated in the theme.
1107 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1109 * examples/hildon-entry-example.c: Update the example adding
1110 widgets to modify the text and the placeholder of the HildonEntry.
1112 * src/hildon-entry.c: Show the placeholder everytime the widget
1113 is empty and loses the focus.
1115 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1117 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_area_size_request): Fixed bug in height
1121 requisition, avoid increasing size and add border twice.
1123 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1125 * configure.ac: postrelease version bump.
1127 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1131 * configure.ac: Prerelease version bump.
1132 * debian/changelog: update.
1133 * debian/rules: make -dbg package contain useful debugging symbols.
1135 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1137 * src/hildon-dialog.h
1138 * src/hildon-dialog.c
1139 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1140 New methods to add buttons with finger size.
1141 (hildon_dialog_new_with_buttons):
1142 Create buttons with finger size.
1144 * examples/hildon-dialog-example.c (main): Use HildonDialog
1145 methods to add buttons.
1147 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-entry.c: Updated HildonButton documentation.
1151 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1154 button value label with (FALSE, FALSE) to prevent NB#88126 from
1157 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1159 * examples/hildon-pannable-area-example.c,
1160 (main): Removed examples panning a vbox inside a pannable
1161 area. Check bug NB#87965
1163 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1165 Patch contributed by Kris Rietveld (kris@imendio.com)
1167 * src/hildon-pannable-area.c,
1168 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1169 get_size and get_position, this saves an X server roundtrip.
1171 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1173 * doc/hildon-docs.sgml
1175 * examples/Makefile.am
1176 * examples/hildon-entry-example.c
1178 * src/hildon-entry.c
1179 * src/hildon-entry.h
1181 New HildonEntry widget, with example.
1183 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-button.c (hildon_button_construct_child): Pack the
1186 image with expand == fill == FALSE. This is a workaround for a bug
1189 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1191 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1192 labels for the text column, to make it more look more dynamic.
1194 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1196 * src/hildon-time-selector.c
1197 Define gettext auxiliar macro N_
1198 (_create_minutes_model)
1199 (_create_hours_model)
1200 (_create_ampm_model): use of strftime in order to fill the model
1201 * src/hildon-date-selector.c
1202 (hildon_date_selector_finalize):
1203 (_locales_init): remove the logic related to get the name of the months
1204 using nl_langinfo, as it is not required anymore
1206 (_create_year_model)
1207 (_create_month_model)
1208 (_update_day_model): use of strftime in order to fill the model properly
1211 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-button.h
1214 * src/hildon-button.c (hildon_button_get_image): New method to
1217 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1219 * src/hildon-touch-selector.c:
1220 (hildon_touch_selector_remove_column): Remove from the correct parent
1221 and also remove the list element and free it.
1224 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1226 * src/hildon-time-selector.c
1227 (_create_hours_model): change the range on 12h ampm format in order to use
1228 a 12-11 range instead of previous 01-12 range
1229 (hildon_time_selector_set_time): change the way to select the current time
1230 on 12h ampm format, due the change on the range
1231 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1234 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1236 * src/hildon-touch-selector.c
1237 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1238 in order to allow use this function on multiple row selection mode if
1239 the column is different that the first one
1242 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1245 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1247 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1249 * src/hildon-date-selector.h: clean some comments, now on the .c
1250 * src/hildon-date-selector.c
1251 (hildon_date_selector_select_month): first implementation
1252 (hildon_date_selector_select_day): added documentation, reimplemented
1253 using hildon_date_selector_select_current_date to avoid repeat code
1256 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1258 Reviewed interaction logic based on device experiences, refactored
1261 * src/hildon-pannable-area.c,
1262 (hildon_pannable_area_class_init): Updated default vmax speed.
1263 (hildon_pannable_area_calculate_velocity): Added this function, it
1264 avoids duplicate valocity calculation. Adjusted calculation to
1265 avoid problems with zero dist events.
1267 (hildon_pannable_area_motion_notify_cb): Now we use the
1268 calculate_velocity function.
1270 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1272 * src/hildon-date-selector.c
1273 (hildon_date_selector_select_current_date): fix the day range check
1274 as it failed using the last day of the current month
1277 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1279 * src/hildon-touch-selector.c
1280 (hildon_touch_selector_get_num_columns): added a parameter validation
1283 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1285 * examples/Makefile.am
1286 * examples/hildon-edit-toolbar-example.c: Example of the
1287 HildonEditToolbar widget.
1289 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1291 * configure.ac: postrelease version bump.
1293 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: prerelease version bump.
1298 * debian/changelog: update.
1300 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1302 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1303 renderer to display stock icons in the touch list. Also, set the sizes
1304 to the recommended in the style guide.
1306 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1307 * src/hildon-touch-selector.h
1308 (hildon_touch_selector_set_active_iter): renamed, now is
1309 hildon_touch_selector_select_iter
1310 (hildon_touch_selector_get_active_iter): renamed, now is
1311 hildon_touch_selector_get_selected
1312 (hildon_touch_selector_unselect_iter): added
1313 * src/hildon-touch-selector.c
1314 Update after API modification (methods renamed)
1315 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1316 order to avoid problems selecting multiple elements on the column
1317 (hildon_touch_selector_unselect_iter): added the implementation
1318 * src/hildon-time-selector.c
1319 * src/hildon-date-selector.c
1320 * src/hildon-touch-selector-entry.c
1321 Update methods calls after hildon-touch-selector.h API modification (methods
1324 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-stackable-window.c
1327 (hildon_stackable_window_finalize): Call the parent class's finalize.
1329 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1331 * examples/hildon-touch-selector-example.c: (create_selector): Use
1332 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1335 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1337 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1338 set a cell background color, to respect theming.
1340 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1342 * doc/hildon-docs.sgml
1345 * src/hildon-edit-toolbar.c
1346 * src/hildon-edit-toolbar.h
1347 * src/hildon.h: New HildonEditToolbar widget.
1349 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1351 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1354 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1355 * src/hildon-touch-selector.c
1356 (_create_new_column): use g_object_set instead of two g_object_set_property
1358 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1359 * src/hildon-touch-selector.c
1360 (_create_new_column): use of hildon_gtk_tree_view_new to create
1361 the treeview, instead of use directly g_object_new
1362 (_create_new_column): update the property name "vindicator-mode" for the
1363 new one "vscrollbar-policy"
1364 * examples/hildon-date-button-example.c
1365 * examples/hildon-picker-button-multicolumn-example.c
1366 * examples/hildon-touch-selector-entry-example.c
1367 * examples/hildon-touch-selector-example.c
1368 * examples/hildon-time-button-example.c
1369 * examples/hildon-picker-button-example.c
1370 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1371 to all the treeviews inside a pannable area.
1373 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-button.h
1376 * src/hildon-button.c (hildon_button_init)
1377 (hildon_button_set_arrangement, hildon_button_set_alignment)
1378 (hildon_button_set_title_alignment)
1379 (hildon_button_set_value_alignment)
1380 (hildon_button_set_image_alignment)
1381 (hildon_button_construct_child): New methods to set the alignment
1382 of the individual components of the button (title, value,
1383 image). Also, new method to alter the xscale and yscale properties
1384 of the GtkAlignment inside the button, so more complex layouts can
1387 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1389 * src/hildon-button.c (hildon_button_style_set)
1390 (hildon_button_class_init, hildon_button_set_arrangement)
1391 (hildon_button_construct_child): Apply style properties
1392 correctly. Use the 'image-spacing' style property too.
1394 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1397 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1400 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1402 * src/hildon-pannable-area.c,
1403 (hildon_pannable_area_size_request): Fixed problem with
1404 pannable-area size_request.
1406 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1408 Added management for the grab-focus to a child widget, like a
1409 range, we need to fade out the scrollbar when releasing.
1411 * src/hildon-pannable-area.c,
1412 (hildon_pannable_area_init): Connected the grab-focus signal to
1414 (hildon_pannable_area_grab_notify): Added this function in order
1415 to manage the situation when the grab-focus ends. We have to
1416 fade-out the scrollbar.
1418 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-app-menu.c: Minor documentation update.
1422 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-app-menu.c
1425 * examples/hildon-app-menu-example.c (create_menu): Update
1426 examples and documentation to explain how to connect callbacks.
1428 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1430 * examples/hildon-button-example.c
1431 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1432 hildon_stackable_window_new instead of gtk_window_new
1434 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1436 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1437 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1438 (hildon_pannable_area_set_property),
1439 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1440 (hildon_pannable_area_unrealize),
1441 (hildon_pannable_area_size_request),
1442 (hildon_pannable_area_size_allocate),
1443 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1444 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1445 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1446 (hildon_pannable_area_initial_effect),
1447 (hildon_pannable_area_redraw),
1448 (hildon_pannable_area_scroll_indicator_fade),
1449 (hildon_pannable_area_expose_event),
1450 (hildon_pannable_area_get_topmost), (synth_crossing),
1451 (hildon_pannable_area_button_press_cb),
1452 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1453 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1454 (hildon_pannable_area_motion_notify_cb),
1455 (hildon_pannable_area_button_release_cb),
1456 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1457 (hildon_pannable_area_remove),
1458 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1459 chage the code layout to a more GtkWidget like. Review the use of
1462 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1464 * examples/hildon-pannable-area-example-4.c,
1465 (main): Modified the name of the hindicator_mode to
1468 * src/hildon-pannable-area.c,
1469 (hildon_pannable_area_class_init),
1470 (hildon_pannable_area_motion_notify_cb),
1471 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1472 we have reduced the amount of signals and managed reviewed its
1473 rationale. Changed the default decelerate value.
1475 (hildon_pannable_area_add),
1476 (hildon_pannable_area_redraw): Refactored functions.
1478 (hildon_pannable_area_init),
1479 (hildon_pannable_area_get_property),
1480 (hildon_pannable_area_set_property):
1481 (hildon_pannable_draw_vscroll),
1482 (hildon_pannable_draw_hscroll),
1483 (hildon_pannable_area_initial_effect),
1484 (hildon_pannable_area_expose_event),
1485 (hildon_pannable_area_scroll),
1486 (hildon_pannable_area_button_press_cb),
1487 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1488 and vindicator_mode with hscrollbar_policy and
1489 vscrollbar_policy. Replaced hscroll and vscroll with
1490 hscroll_visible and vscroll_visible.
1492 (hildon_pannable_area_refresh): Refactor the function, remove
1493 variables and check the calls to this function, added resize
1494 conditions in case the children change their layout.
1496 (hildon_pannable_area_size_request): Added more detailed
1497 size_request calculation.
1500 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1502 * src/hildon-color-chooser.c
1503 (init_borders): use the correct gtk_border_free instead of g_free, to
1504 avoid a crash when this widget is used (ie: the three color selection
1507 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1509 * src/hildon-check-button.c,
1510 (hildon_check_button_set_active): Fixed problem when setting the
1511 active value, the widget was not redrawn.
1513 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1515 * src/hildon-pannable-area.c,
1516 (hildon_pannable_area_refresh),
1517 (hildon_pannable_area_scroll),
1518 (hildon_pannable_area_motion_notify_cb): Small code style change.
1520 (hildon_pannable_area_class_init): Default initial_hint set to
1521 FALSE, it is not in the specs.
1523 (hildon_pannable_area_initial_effect),
1524 (hildon_pannable_area_expose_event),
1525 (hildon_pannable_area_map),
1526 (hildon_pannable_area_init): Moved the launching point of the
1527 initial effect, it was in map but the sizes where not correct in
1528 that method so we do not know if we have the reproduce it. Now it
1529 is placed in the expose_event method and uses a variable to
1530 reproduce it just once.
1532 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_draw_vscroll),
1536 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1537 position allowed for the scrollbars.
1539 (hildon_pannable_area_size_allocate): Small style change.
1541 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1543 * src/hildon-pannable-area.c,
1544 (hildon_pannable_area_scroll_indicator_fade),
1545 (hildon_pannable_area_button_press_cb),
1546 (hildon_pannable_area_button_release_cb),
1547 (hildon_pannable_area_scroll_cb),
1548 (hildon_pannable_area_expose_event),
1549 (hildon_pannable_area_init): Added the define parameter
1550 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1551 and refactor the fade variable.
1553 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1555 * src/hildon-pannable-area.c,
1556 (hildon_pannable_area_redraw),
1557 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1558 lines, we were reimplemeting the redraw code.
1560 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1562 * src/hildon-pannable-area.c,
1563 (hildon_pannable_area_scroll_cb),
1564 (hildon_pannable_area_realize),
1565 (hildon_pannable_area_class_init): Added scroll_event management
1566 for pannable area, now we can scroll the usual desktop method.
1568 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1569 initialization of the parameters should depend on idle_id.
1571 (hildon_pannable_area_init),
1572 (hildon_pannable_area_map): Small code style modifications
1574 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1576 * src/hildon-pannable-area.c
1577 (hildon_pannable_area_button_press_cb),
1578 (hildon_pannable_area_motion_notify_cb),
1579 (hildon_pannable_area_button_release_cb),
1580 (hildon_pannable_area_size_allocate),
1581 (hildon_pannable_area_scroll_to): Improved the timeouts
1582 management, we avoid creating them each time.
1584 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1586 * src/hildon-pannable-area.c:
1587 (hildon_pannable_area_refresh),
1588 (hildon_pannable_area_motion_notify_cb),
1589 (hildon_pannable_area_class_init):
1590 * src/hildon-pannable-area.h:
1591 * src/hildon-touch-selector.c
1592 (_create_new_column):
1593 * examples/hildon-pannable-area-example-4.c:
1594 (horizontal_movement),
1595 (vertical_movement),
1597 Replaced the names of enums in the HildonPannableArea:
1598 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1599 HILDON_MOVEMENT_MODE_*
1600 - HILDON_PANNABLE_AREA_MOV_* ->
1602 - Removed HildonPannableAreaIndicatorMode, now we
1605 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1607 * examples/hildon-pannable-area-touch-grid-example.c
1608 * examples/hildon-pannable-area-touch-list-example.c: Fix
1609 compilation warnings.
1611 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-gtk.c (hildon_gtk_button_new)
1614 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1615 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1616 images overriding the value of the "gtk-button-images" setting.
1618 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1620 * src/hildon-check-button.c (hildon_check_button_new):
1621 Instead of using a custom container, display the label and the
1622 checkbox using the standard GtkButton API.
1624 * examples/hildon-check-button-example.c (main): Don't use
1625 hildon_check_button_set_label() anymore
1627 * src/hildon-check-button.h
1628 * src/hildon-check-button.c
1629 (hildon_check_button_set_label, hildon_check_button_get_label):
1630 Set as deprecated, now we're using gtk_button_{get,set}_label()
1632 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1634 * src/hildon-pannable-area.c,
1635 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1636 GtkTreeview first line we detected it after the inclusion of the
1637 GtkWindowImpl in gtk+. We now check if the window is visible, not
1638 just if the pointer is over the window.
1639 (hildon_pannable_axis_scroll),
1640 (hildon_pannable_area_expose_event): Small style changes.
1642 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-button.c: Update documentation.
1646 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1648 * examples/hildon-button-example.c: Add a switch to show images in
1651 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1653 * doc/hildon-docs.sgml: Some docs reorganization.
1655 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1657 * examples/hildon-pannable-area-touch-list-example.c
1659 * examples/hildon-pannable-area-touch-grid-example.c
1660 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1661 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1662 Fix memory leak when setting the tree model.
1664 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1668 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1670 * doc/hildon.types: Remove duplicated hildon_window_get_type
1671 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1672 documentation comment.
1674 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1676 * doc/Makefile.am: Complete list of private headers.
1678 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1680 * doc/hildon-docs.sgml
1681 * src/hildon-app-menu.c
1682 * src/hildon-bread-crumb.c
1683 * src/hildon-button.c
1685 * src/hildon-program.c
1686 * src/hildon-stackable-window.c
1687 * src/hildon-window.c: Lots of documentation updates.
1689 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1691 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1693 * configure.ac: Require Gtk+ 2.12.9 at least
1695 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1697 * src/hildon-pannable-area.c
1698 (hildon_pannable_area_scroll_indicator_fade),
1699 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1700 to protect the return of this timeout callbacks, avoiding deadlocks.
1702 2008-08-12 Christian Dywan <christian@imendio.com>
1705 * src/hildon-*.h: Ensure a consistent include order,
1706 include <gtk/gtk.h> instead of particular files and
1707 only include the topmost header in the gtk stack. See NB #39857
1709 2008-08-12 Christian Dywan <christian@imendio.com>
1711 * src/hildon-picker-dialog.c
1712 * src/hildon-touch-selector.c: Fix warnings about unused and
1713 uninitialized variables.
1715 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1717 * examples/Makefile.am
1718 * examples/hildon-check-button-example.c: Example of the hildon
1721 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-window.h
1724 * src/hildon-window.c (hildon_window_class_init)
1725 (hildon_window_unset_program): Don't make
1726 hildon_window_unset_program a virtual function anymore.
1728 * src/hildon-stackable-window.c: Update documentation
1730 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1733 * doc/hildon-docs.sgml
1734 * doc/visual_index.xml
1735 * src/hildon-defines.c
1737 * src/hildon-helper.c
1738 * src/hildon-range-editor.c: Lots of documentation fixes.
1740 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1742 * examples/hildon-picker-button-multicolumn-example.c
1743 (create_touch_selector): Fix compilation warning.
1745 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1747 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1748 (hildon_pannable_area_button_release_cb)
1749 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-bread-crumb-trail.h
1759 * src/hildon-date-editor.c
1760 * src/hildon-date-selector.c
1761 * src/hildon-pannable-area.c
1762 * src/hildon-picker-dialog.c
1763 * src/hildon-time-selector.c
1764 * src/hildon-touch-selector-entry.c
1765 * src/hildon-touch-selector.c
1766 * src/hildon-touch-selector.h: Misc documentation fixes
1768 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1770 * examples/hildon-date-editor-example.c (main): Updated date
1773 * examples/hildon-note-example.c (on_confirmation_clicked):
1774 Updated confirmation note example.
1776 * src/hildon-date-editor.c
1777 * src/hildon-note.c: Updated sample programs in documentation.
1780 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1782 * src/hildon-date-button.h:
1783 * src/hildon-picker-button.h:
1784 * src/hildon-time-button.c:
1785 * src/hildon-time-button.h:
1787 Some declarations changes to allow gtk-doc to document the widgets
1790 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-date-button.c: Document the widget.
1793 * src/hildon-time-button.c: Document the widget.
1795 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-picker-button.c: Document the widget.
1798 * src/hildon-touch-selector-entry.c: Document the widget.
1800 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1802 * doc/hildon-docs.sgml
1805 * src/hildon-check-button.h
1806 * src/hildon-check-button.c: New functions to create the Hildon
1810 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1812 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1814 * src/hildon-button.h
1815 * src/hildon-button.c
1816 (hildon_button_add_title_size_group)
1817 (hildon_button_add_value_size_group)
1818 (hildon_button_add_image_size_group)
1819 (hildon_button_add_size_groups): New functions to set size groups
1820 for the button labels and image.
1821 (hildon_button_new_full): Removed
1823 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1825 * src/hildon-time-selector.c
1826 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1827 in order to avoid a crash if gconf is not available
1829 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-button.c (hildon_button_set_arrangement)
1832 (hildon_button_construct_child): Don't construct the button child
1833 before setting the arrangement.
1835 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-program-private.h
1838 * src/hildon-program.c
1839 * src/hildon-program.h
1840 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1841 (hildon_program_peek_window_stack)
1842 (hildon_program_pop_window_stack)
1843 (hildon_program_go_to_root_window): HildonProgram now has a
1844 separate list for stackable windows. Functions are provided to
1845 manage that list with a stack-like API.
1847 * src/hildon-stackable-window.c: Stackable window management is
1848 now much simpler with the new HildonProgram API. Windows no
1849 longer need to be manually added to the program, they're
1850 automatically pushed to the top of the stack when shown.
1852 * examples/hildon-stackable-window-example.c: Updated example to
1853 reflect the API changes.
1855 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-touch-selector.c: Comment out unimplemented
1858 hildon_touch_selector_insert_column() to avoid a compile warning.
1860 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1863 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1864 (hildon_touch_selector_set_column_selection_mode),
1865 (_hildon_touch_selector_set_model),
1866 (hildon_touch_selector_set_model):
1868 Complete review of HildonTouchSelector documentation.
1870 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1872 * doc/hildon-docs.sgml
1876 * src/hildon-gtk.c: Convenience functions for standard Gtk
1877 widgets, used to easily perform frequent operations.
1879 * src/hildon-button-helpers.h
1880 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1882 * src/hildon-helper.h
1883 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1884 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1886 * src/hildon-button.h
1887 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1889 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-button.c (hildon_button_init)
1892 (hildon_button_set_arrangement, hildon_button_construct_child):
1893 Pack the image and the labels inside the same GtkAlignment so
1894 gtk_button_set_alignment() can be used
1896 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-button.h
1899 * src/hildon-button.c
1900 (hildon_button_init, hildon_button_set_image)
1901 (hildon_button_set_image_position)
1902 (hildon_button_construct_child): New functions to add an image to
1905 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-date-button.c
1908 * src/hildon-picker-button.c
1909 * src/hildon-time-button.c
1910 * src/hildon-button.c:
1911 (hildon_button_class_init): "size-flags" renamed to "size"
1912 (hildon_button_set_title): Hide the title label if set to NULL.
1914 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1916 HildonButtonFlags split into HildonButtonArrangement (to set the
1917 button layout) and HildonSizeType (which can be used for any
1920 * src/hildon-button.h
1921 * src/hildon-button.c
1922 (hildon_button_class_init)
1923 (hildon_button_set_arrangement)
1924 (hildon_button_set_property): New "size-flags"
1925 property. "arrangement-flags" renamed to "arrangement".
1926 (hildon_button_new, hildon_button_new_with_text)
1927 (hildon_button_new_full): Constructors updated to reflect type changes.
1929 * src/hildon-helper.h
1930 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1931 to set the size of a widget.
1935 * src/hildon-button-helpers.c
1936 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1938 * src/hildon-date-button.c
1939 * src/hildon-date-button.h
1940 * src/hildon-picker-button.c
1941 * src/hildon-picker-button.h
1942 * src/hildon-time-button.c
1943 * src/hildon-time-button.h: Updated widgets to reflect
1944 HildonButton API changes.
1946 * examples/hildon-button-example.c
1947 * examples/hildon-date-button-example.c
1948 * examples/hildon-picker-button-example.c
1949 * examples/hildon-picker-button-multicolumn-example.c
1950 * examples/hildon-time-button-example.c
1951 * examples/hildon-touch-selector-entry-example.c
1952 * examples/hildon-touch-selector-example.c: Updated examples to
1953 reflect HildonButton API changes.
1955 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1957 * doc/hildon-docs.sgml:
1959 * examples/Makefile.am:
1960 * examples/hildon-touch-selector-entry-example.c:
1962 * src/hildon-touch-selector-entry.c:
1963 * src/hildon-touch-selector-entry.h:
1966 Moved HildonTouchSelectorEntry from sandbox. Added its
1967 documentation and examples.
1969 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1971 * src/hildon-touch-selector.h:
1972 * examples/hildon-picker-button-multicolumn-example.c:
1973 (hildon_touch_selector_append_text_column): Add a gboolean
1974 parameter to determine if text must be centered in the column.
1976 * src/hildon-date-selector.c: (hildon_date_selector_init):
1977 * src/hildon-time-selector.c: (hildon_time_selector_init):
1978 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1979 (create_touch_selector): Update widgets and example to reflect
1982 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1984 * src/hildon-touch-selector.c:
1985 (hildon_touch_selector_set_active_iter): Set also the cursor in
1988 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1990 * doc/hildon-docs.sgml
1993 * src/hildon-toggle-button.c
1994 * src/hildon-toggle-button.h
1995 * src/hildon.h: Removed HildonToggleButton widget, a derived
1996 class is not necessary for this.
1998 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2000 * src/hildon-pannable-area.c,
2001 (hildon_pannable_area_realize),
2002 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2005 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2008 "done" button the default widget for the dialog.
2010 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-touch-selector.c:
2013 (hildon_touch_selector_class_init),
2014 (hildon_touch_selector_get_property),
2015 (_hildon_touch_selector_set_model),
2016 (_hildon_touch_selector_has_multiple_selection),
2017 (hildon_touch_selector_has_multiple_selection):
2018 Add a "has-multiple-selection" property with a virtual
2019 has_multiple_selection() method to allow derived classes to
2020 override the default value for it. See the method and property
2021 documentation for details.
2023 * src/hildon-touch-selector.h: Add the new API.
2025 * src/hildon-picker-dialog.c: (requires_done_button): Call
2026 hildon_touch_selector_has_multiple_selection() instead of
2027 determining the need for a button itself.
2029 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2032 (_hildon_touch_selector_set_model),
2033 (hildon_touch_selector_set_model): Move working code to
2034 _hildon_touch_selector_set_mode(). Call the class method instead.
2036 * src/hildon-touch-selector.h: Add (*set_model) to
2037 HildonTouchSelectorClass.
2039 Make hildon_touch_selector_set_model() a virtual method, so that
2040 derived classes can extend it and do fancy stuff with the model.
2042 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2044 * configure.ac: Set back the tarname in AC_INIT to hildon.
2046 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2050 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2051 instead of libesd (NB#86876). Volume handling is still an open issue.
2053 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2056 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2059 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2060 derived class to ease placement of an entry widget in
2061 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2062 end, where the selector columns are packed now.
2064 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-picker-button.c: Removed the simple _text() API.
2067 * src/hildon-picker-button.h: Likewise.
2069 * src/hildon-touch-selector.h:
2070 * src/hildon-touch-selector.c:
2071 (hildon_touch_selector_new_text),
2072 (hildon_touch_selector_append_text),
2073 (hildon_touch_selector_prepend_text),
2074 (hildon_touch_selector_insert_text):
2076 Moved the simple _text() API from HildonPickerButton to
2077 HildonTouchPicker, to provide better escalability and not to tie
2078 that API to HildonPickerButton.
2080 * examples/hildon-picker-button-example.c: (main): Example updated.
2082 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-button.c: Updated documentation.
2086 * examples/hildon-button-example.c: Add the posibility to create
2087 the buttons using horizontal layout for title and value.
2089 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-app-menu-private.h
2092 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2093 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2094 GtkSizeGroup for the filters, use the 'homogeneous' property of
2097 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2099 * examples/hildon-button-example.c: Updated example.
2101 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2103 * doc/hildon-docs.sgml:
2106 Update documentation.
2108 * examples/Makefile.am: Update renamed examples.
2110 * examples/hildon-picker-button-multicolumn-example.c:
2111 (create_touch_selector), (main): Update after the rename.
2113 * examples/hildon-touch-picker-example.c: Removed.
2114 * examples/hildon-touch-selector-example.c: (value_changed),
2115 (create_selector), (get_visible_content), (main): Renamed from
2116 hildon-touch-picker-example.c
2118 * src/Makefile.am: Updated renamed files.
2120 * src/hildon-date-button.c: (hildon_date_button_init),
2121 (hildon_date_button_get_date), (hildon_date_button_set_date):
2122 * src/hildon-date-selector.c: (hildon_date_selector_init),
2123 (_custom_print_func), (_update_day_model),
2124 (_manage_selector_change_cb),
2125 (hildon_date_selector_select_current_date),
2126 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2127 * src/hildon-date-selector.h:
2128 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2129 (hildon_picker_button_set_property),
2130 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2131 (hildon_picker_button_init), (hildon_picker_button_new_text),
2132 (hildon_picker_button_append_text),
2133 (hildon_picker_button_prepend_text),
2134 (hildon_picker_button_insert_text),
2135 (hildon_picker_button_set_selector),
2136 (hildon_picker_button_get_selector):
2137 * src/hildon-picker-button.h:
2138 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2139 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2140 (_update_title_on_selector_changed_cb), (requires_done_button),
2141 (_hildon_picker_dialog_set_selector),
2142 (hildon_picker_dialog_set_selector),
2143 (hildon_picker_dialog_get_selector):
2144 * src/hildon-picker-dialog.h:
2145 * src/hildon-time-button.c: (hildon_time_button_init),
2146 (hildon_time_button_get_time), (hildon_time_button_set_time):
2147 * src/hildon-time-selector.c: (hildon_time_selector_init),
2148 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2149 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2150 * src/hildon-time-selector.h:
2153 Massive code updates after the rename.
2155 * src/hildon-touch-picker.c: Removed.
2156 * src/hildon-touch-picker.h: Removed.
2158 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2159 (hildon_touch_selector_init), (hildon_touch_selector_map),
2160 (hildon_touch_selector_remove), (_default_print_func),
2161 (_selection_changed_cb), (_create_new_column),
2162 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2163 (hildon_touch_selector_append_text_column),
2164 (hildon_touch_selector_remove_column),
2165 (hildon_touch_selector_set_column_attributes),
2166 (hildon_touch_selector_insert_column),
2167 (hildon_touch_selector_get_num_columns),
2168 (hildon_touch_selector_get_column_selection_mode),
2169 (hildon_touch_selector_set_column_selection_mode),
2170 (hildon_touch_selector_set_print_func),
2171 (hildon_touch_selector_get_print_func),
2172 (hildon_touch_selector_get_active_iter),
2173 (hildon_touch_selector_set_active_iter),
2174 (hildon_touch_selector_get_selected_rows),
2175 (hildon_touch_selector_get_model),
2176 (hildon_touch_selector_set_model),
2177 (hildon_touch_selector_get_current_text),
2178 (_hildon_touch_selector_center_on_selected_items):
2179 * src/hildon-touch-selector.h: Renamed from
2180 hildon-touch-picker.[ch]
2182 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2183 references, code examples, and related documentation.
2185 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2187 * doc/hildon-docs.sgml
2190 * src/hildon-toggle-button.c
2191 * src/hildon-toggle-button.h
2192 * src/hildon.h: New HildonToggleButton widget.
2194 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-button.c: Add API documentation.
2197 (hildon_button_set_size_groups): Check input parameters
2199 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2201 * src/hildon-pannable-area.c
2202 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2203 effect after reaching the movement thredshold. This way we start
2204 using the distance after passing the thredshold.
2206 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-button.c: (hildon_button_set_property): Use the
2209 appropriate g_value_get_flags() method.
2211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2213 * doc/hildon-docs.sgml:
2216 Add the touch pickers, picker dialogs, and picker button widgets
2217 to the documentation.
2219 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-button.c: (hildon_button_set_property),
2222 (hildon_button_class_init): Make "arrangement-flags" a proper
2223 G_TYPE_FLAGS derived property.
2225 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2227 * examples/Makefile.am: Add below examples.
2228 * examples/hildon-date-button-example.c:
2229 * examples/hildon-picker-button-example.c:
2230 * examples/hildon-picker-button-multicolumn-example.c:
2231 * examples/hildon-time-button-example.c:
2232 * examples/hildon-touch-picker-example.c:
2234 Add examples for the recently added touch pickers,
2235 picker dialogs, and picker button widgets.
2237 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-button.c: Add some API documentation
2241 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-button.h
2244 * src/hildon-button.c
2246 (hildon_button_new_with_text): New constructor to create a button
2247 with no text at all.
2248 (hildon_button_init, hildon_button_set_arrangement)
2249 (hildon_button_set_title, hildon_button_set_value)
2250 (hildon_button_set_text)
2251 (hildon_button_construct_child): Hide the value when it's not used
2252 so the rest of the text is properly aligned.
2253 Allow creating buttons with arbitrary widgets inside (not just
2254 title/value labels).
2256 * examples/hildon-button-example.c (vertical_buttons_window)
2257 (horizontal_buttons_window): Update example to use new API.
2259 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/Makefile.am: Added HildonTimeButton.
2262 * src/hildon-time-button.c: Added missing LGPL header.
2263 * src/hildon-time-button.h: Added missing LGPL header.
2264 * src/hildon.h: Add hildon-time-button.h
2266 Copied HildonTimeButton from sandbox to trunk. Future work on this
2267 widget must take place in trunk.
2269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/Makefile.am: Added HildonDateButton.
2272 * src/hildon-date-button.c: Update includes.
2273 * src/hildon.h: Add hildon-date-button.h
2275 Copied HildonDateButton from sandbox to trunk. Future work on this
2276 widget must take place in trunk.
2278 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/Makefile.am: Added HildonPickerButton.
2281 * src/hildon-picker-button.h: Update includes.
2282 * src/hildon.h: Add hildon-picker-button.h
2284 Copied HildonPickerButton from sandbox to trunk. Future work on
2285 this widget must take place in trunk.
2287 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/Makefile.am: Added HildonPickerDialog.
2290 * src/hildon-picker-dialog.c: Update includes.
2291 * src/hildon.h: Add hildon-picker-dialog.h
2293 Copied HildonPickerDialog from sandbox to trunk. Future work
2294 on this widget must take place in trunk.
2296 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2298 * src/Makefile.am: Added HildonTimeSelector.
2299 * src/hildon.h: Add hildon-time-selector.h
2301 Copied HildonTimeSelector widget from sandbox to trunk. Future
2302 work on this widget must happen in trunk.
2304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2306 * src/Makefile.am: Added HildonDateSelector.
2307 * src/hildon.h: Add hildon-date-selector.h
2309 Copied HildonDateSelector widget from sandbox to trunk. Future
2310 work on this widget must happen in trunk.
2312 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/Makefile.am: Added HildonTouchPicker.
2315 * src/hildon-touch-picker.c: Update includes.
2316 * src/hildon.h: Add hildon-touch-picker.h
2318 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2319 on this widget must happen in trunk.
2321 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-pannable-area.c:
2324 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2326 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2328 * examples/hildon-app-menu-example.c (main): Let the window
2331 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c
2334 (hildon_pannable_area_class_init): Set the min value of the
2335 overshoot properties to zero, which points out that not
2336 overshooting allowed.
2338 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2340 Modified the procedure to get the widget at a point inside the
2341 pannable area when using the movement type signals. Now the user
2342 has to call a function to get the child, that way we just
2343 calculate the child in case the user really want to use it and not
2346 * src/hildon-marshalers.list: Modified the marshallers, now we do
2347 not have the widget as a parameter.
2349 * src/hildon-pannable-area.c
2350 (hildon_pannable_area_motion_notify_cb),
2351 (hildon_pannable_area_class_init),
2352 (hildon_pannable_get_child_widget_at): Removed the widget
2353 parameter from the signal callback. We have also refactored the
2354 emission of the signals.
2356 * src/hildon-pannable-area.h: Added a new method to the API to
2357 calculate a widget at a point inside the pannable area,
2358 hildon_pannable_get_child_widget_at.
2360 * examples/hildon-pannable-area-example-4.c
2361 (horizontal_movement): Modified the example to use the new API,
2362 added condition to control which widget is under the event. This
2363 way we can avoid scrolling laterally over other widgets.
2365 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2367 * src/hildon-pannable-area.c
2368 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2369 modes, we stop getting the pointer events due to returning the
2370 callback without properly calling the get pointer again. Fixed
2371 also an error using the hscroll and vscroll.
2373 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-app-menu-private.h
2376 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2377 (hildon_app_menu_button_release, hildon_app_menu_init)
2378 (hildon_app_menu_class_init): Don't hide the menu on button
2379 release if the user didn't press outside first.
2381 * src/hildon-window.h
2382 * src/hildon-window.c (hildon_window_toggle_menu)
2383 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2384 hildon_window_toggle_menu a virtual function for the stackable
2385 window to override it.
2387 * src/hildon-stackable-window.h
2388 * src/hildon-stackable-window-private.h
2389 * src/hildon-stackable-window.c
2390 (hildon_stackable_window_realize)
2391 (hildon_stackable_window_finalize)
2392 (hildon_stackable_window_class_init)
2393 (hildon_stackable_window_init)
2394 (hildon_stackable_window_set_main_menu): New function to set the
2395 app menu of a HildonStackableWindow.
2397 * examples/hildon-app-menu-example.c: Remove the button to show
2398 the app menu, now it'll be shown when clicking on the title bar
2401 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2404 set the widget name if the arrangement flags do not specify
2407 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2409 * src/hildon-button.c: (hildon_button_set_property),
2410 (hildon_button_class_init), (hildon_button_new_full),
2411 (hildon_button_set_arrangement): Added "arrangement-flags"
2414 Make the HildonButtonFlags a construction-only property, to allow
2415 subclasses to set them properly.
2417 2008-07-21 Tim Janik <timj@imendio.com>
2419 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2420 insertion position after backspace, so additional digits are appended,
2423 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2425 * src/hildon-pannable-area.c,
2426 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2427 TODO list, it was complete and removed the g_debug and g_print
2430 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2432 Added the movement modes to the hildon-pannable-area, with this
2433 modes the developers can control in which directions the widget
2434 can scroll. They can also connect to signals in order to do
2435 something when that happens, allowing applications scroll. There
2436 is an example uploaded showing how to use it.
2438 * examples/Makefile.am:
2439 * examples/hildon-pannable-area-example-4.c: Added this example of
2440 an application using the modes.
2442 * src/hildon-marshalers.list: Added a new marshaller for the new
2445 * src/hildon-pannable-area.h: Added new enumerations and flags in
2446 order to control the movement modes and the new signals to warn
2447 about the movements in the area.
2449 * src/hildon-pannable-area.c:
2450 (hildon_pannable_axis_scroll),
2451 (hildon_pannable_area_scroll),
2452 (hildon_pannable_area_motion_notify_cb),
2453 (hildon_pannable_area_get_property),
2454 (hildon_pannable_area_set_property),
2455 (hildon_pannable_area_map),
2456 (hildon_pannable_area_class_init),
2457 (hildon_pannable_area_init),
2458 (hildon_pannable_area_jump_to): Added the modes to control the
2459 movement in the widget. We have added properties to control it,
2460 signals to warn about the movements and refactored some code.
2462 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2464 Changes required in order to allow vfast_factor set to zero to
2467 * src/hildon-pannable-area.c:
2468 (hildon_pannable_area_button_press_cb): Changed the condition, it
2469 is required for not allowing click when vfast_factor is zero.
2470 (hildon_pannable_area_timeout): Initialized velocity variables
2471 when we stop moving, it was less than 1 but not zero and we need
2472 to check zero in some situations.
2473 (hildon_pannable_area_class_init): Changed the default value of
2474 the speed factor, now the button_press is just sent in case the
2475 speed is 2 per cent of the max speed.
2476 (hildon_pannable_area_init): Initialization with 0.
2478 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2480 * src/hildon-pannable-area.c,
2481 (hildon_pannable_area_get_topmost): replaced
2482 gdk_window_get_children with gdk_window_peek_children, this way we
2483 do not have to free the list because it is not a copy.
2485 (hildon_pannable_axis_scroll),
2486 (hildon_pannable_area_scroll),
2487 (hildon_pannable_area_timeout),
2488 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2489 two parameters that were only used inside the
2490 hildon_pannable_area_scroll function.
2492 * examples/hildon-pannable-area-example.c,
2493 (get_sawtooth_label): Fixed small memory leak.
2495 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2497 More checks for the case where the overshoot is bigger than the
2500 * src/hildon-pannable-area.c:
2501 (hildon_pannable_draw_vscroll),
2502 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2503 to draw the slider of the scrollbar under the other scrollbar.
2504 (hildon_pannable_area_expose_event): added new checks to control
2505 the drawing of the overshooting area rectangle, in case it is too
2506 big for the area of the widget.
2507 (hildon_pannable_area_size_allocate): add more checks to avoid
2508 setting a position to the child widget outside the area.
2510 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2512 * src/hildon-pannable-area.c
2513 (hildon_pannable_area_size_allocate): Added conditions to control
2514 when overshooting is bigger than the allocated space for the
2515 children, this avoids negative allocations.
2517 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2519 * doc/hildon-docs.sgml
2521 * examples/Makefile.am
2522 * examples/hildon-button-example.c
2524 * src/hildon-button.c
2525 * src/hildon-button.h
2526 * src/hildon.h: Initial version of the new HildonButton widget,
2529 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-pannable-area.c:
2532 (hildon_pannable_area_button_press_cb),
2533 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2534 (hildon_pannable_area_motion_notify_cb),
2535 (hildon_pannable_area_button_release_cb),
2536 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2537 (hildon_pannable_area_jump_to_child):
2539 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2541 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2543 * examples/Makefile.am
2544 * examples/hildon-pannable-area-touch-grid-example.c
2545 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2546 the Hildon Touch List and Hildon Touch Grid using the
2547 HildonPannableArea widget.
2549 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_button_press_cb),
2553 (hildon_pannable_area_refresh),
2554 (hildon_pannable_area_scroll),
2555 (hildon_pannable_area_motion_notify_cb),
2556 (hildon_pannable_area_button_release_cb),
2557 (hildon_pannable_area_expose_event),
2558 (hildon_pannable_area_add),
2559 (hildon_pannable_area_remove),
2560 (hildon_pannable_area_realize),
2561 (hildon_pannable_area_size_allocate),
2562 (hildon_pannable_area_class_init),
2563 (hildon_pannable_area_init),
2564 (hildon_pannable_area_scroll_to_child),
2565 (hildon_pannable_area_jump_to_child): Fixed the problem of
2566 removing the child from the GtkBin, we have rearranged the widget
2567 hierarchy, now there is no GtkAlignment which was not doing
2568 anything interesting but breaking some of the assumptions of
2569 GtkContainer. Now developers if they want to add a GtkAlignment
2570 they could, but it is not inside the area.
2572 We had to review the whole allocation/expose process, now it is
2573 improved and we save at least three signals which would be saving
2574 some time when rendering the widget. The allocation of the
2575 scrollbars is now made in the allocate method as usual.
2577 We have also added some conditions in order to control when there
2578 is no child of the pannable area. Maybe we will need more work
2581 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2583 * src/hildon-pannable-area.c,
2584 (hildon_pannable_area_dispose): Released the fade-out timeout when
2585 disposing the widget.
2587 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2590 zero, we are going to use that property in order to deactivate the
2592 (hildon_pannable_axis_scroll),
2593 (hildon_pannable_area_size_allocate): Added conditions to control
2594 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2595 call, now it is called in all situations and we can remove calls
2596 in the allocate method.
2597 (hildon_pannable_area_map): Control the situation when
2598 overshoot_max is zero, we do not need the timeout.
2599 (hildon_pannable_area_class_init): Added documentation in order to
2600 point out that setting zero to overshoot_max means deactivate
2603 NOTE: removed trailing whitespaces from my previous comments of
2606 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-pannable-area.c
2609 (hildon_pannable_area_get_property),
2610 (hildon_pannable_area_set_property),
2611 (hildon_pannable_area_map),
2612 (hildon_pannable_area_class_init),
2613 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2614 to cause the widget give a hint about its panning abilities upon
2617 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-pannable-area.c: Several documentation improvements.
2621 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-program.c
2624 * src/hildon-stackable-window.c: Update documentation.
2626 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-stackable-window.c (get_previous_window_if_last):
2629 Renamed get_last_window()
2630 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2631 (hildon_stackable_window_unset_program):
2633 (get_previous_window_if_last):
2634 Detect if the window hasn't been added to a HildonProgram.
2636 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2638 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-pannable-area.c
2641 (hildon_pannable_area_button_press_cb),
2642 (hildon_pannable_axis_scroll),
2643 (hildon_pannable_area_scroll),
2644 (hildon_pannable_area_timeout),
2645 (hildon_pannable_calculate_vel_factor),
2646 (hildon_pannable_area_get_property),
2647 (hildon_pannable_area_set_property),
2648 (hildon_pannable_area_class_init),
2649 (hildon_pannable_area_init),
2650 (hildon_pannable_area_scroll_to),
2651 (hildon_pannable_area_jump_to),
2652 (hildon_pannable_area_scroll_to_child),
2653 (hildon_pannable_area_jump_to_child):
2654 * src/hildon-pannable-area.h: Added the new API functions:
2655 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2656 hildon_pannable_area_scroll_to_child,
2657 hildon_pannable_area_jump_to_child
2660 * examples/Makefile.am
2661 * examples/hildon-pannable-area-example-2.c
2662 * examples/hildon-pannable-area-example-3.c: Added these two new
2663 examples in order to test and show how the new APIs work.
2665 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2667 * examples/hildon-stackable-window-example.c (new_window):
2668 * src/Makefile.am (noinst_HEADERS):
2669 * src/hildon-program.c (hildon_program_go_to_root_window):
2670 * src/hildon-program.h:
2671 * src/hildon-stackable-window-private.h:
2672 * src/hildon-stackable-window.c:
2673 * src/hildon-stackable-window.h:
2674 Create hildon-stackable-window-private.h
2675 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2677 * examples/hildon-app-menu-example.c (create_menu):
2678 * examples/hildon-hvolumebar-insensitive-example.c (main):
2679 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2680 * examples/hildon-toolbar-seekbar-example.c (main):
2681 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2682 * src/hildon-banner.c (hildon_banner_set_property):
2683 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2684 Fix compilation warnings
2686 * src/hildon-window.c:
2689 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2691 * src/hildon-stackable-window.c
2692 (hildon_stackable_window_unset_program):
2693 Calculate correctly whether to show the previous window if the
2694 last one is removed from the stack.
2695 (hildon_stackable_window_go_to_root_window):
2696 Send delete events starting from the topmost window.
2697 Stop if one of the windows is not destroyed.
2699 (hildon_stackable_window_delete_event)
2700 (hildon_stackable_window_class_init):
2701 Ignore the delete event if the window is not the topmost one.
2703 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2705 * src/hildon-pannable-area.c
2706 (hildon_pannable_area_expose_event): Fixed a problem when
2707 selecting the background color of the scrollbars.
2709 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2711 * examples/hildon-stackable-window-example.c
2712 * src/hildon-stackable-window.c
2713 * src/hildon-stackable-window.h
2714 hildon_stackable_window_go_home() renamed to
2715 hildon_stackable_window_go_to_root_window()
2716 Send delete events to windows rather than closing them with
2717 gtk_widget_destroy()
2719 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-pannable-area.c
2722 (hildon_pannable_area_button_release_cb): Fix overshooting in
2725 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-pannable-area.c
2728 (hildon_pannable_area_init): Initially show the scroll indicators.
2729 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2731 Add initial effect showing the widget is pannable.
2733 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-pannable-area.c
2736 (hildon_pannable_area_class_init)
2737 (hildon_pannable_area_set_property)
2738 (hildon_pannable_area_get_property)
2739 (hildon_pannable_area_button_press_cb):
2740 New 'velocity_fast_factor' property to decide which velocity is
2743 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-pannable-area.c
2746 (hildon_pannable_draw_hscroll)
2747 (hildon_pannable_draw_vscroll):
2748 Use float variables to calculate the size of the scrollbars to
2749 avoid error propagation and resizing during scrolling.
2751 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-pannable-area.c
2754 (hildon_pannable_draw_vscroll)
2755 (hildon_pannable_draw_hscroll):
2756 Define a minimum size for the scroll bars
2758 * src/hildon-stackable-window.c
2759 (hildon_stackable_window_go_home): Fix compilation warning
2760 (get_last_window): Minor optimizations
2761 (hildon_stackable_window_class_init): Fix initialization of
2764 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2766 * src/hildon-stackable-window.c: Fixed typos in doc
2768 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-pannable-area.c
2771 (hildon_pannable_area_scroll):
2772 Calculate here whether we need to scroll instead of using the booleans
2773 that tell us whether to /draw/ the scrolling bars.
2775 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/hildon-app-menu.h
2779 * src/hildon-app-menu.c
2780 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2781 multiple filter groups related code and API. Now we support only
2783 * examples/hildon-app-menu-example.c:
2785 Update to reflect API changes.
2787 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-stackable-window.c
2790 (hildon_stackable_window_class_init):
2791 Add hildon_stackable_window_realize.
2792 (hildon_stackable_window_realize):
2793 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2794 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2795 to apply theming and behavior specific to HildonStackableWindow
2798 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-note.c (hildon_note_button_release):
2801 Close information notes also when tapping on them
2803 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2805 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2806 ELASTICITY, refactor and review, fix some issues with drawing
2809 * src/hildon-pannable-area.c:
2810 (hildon_pannable_area_button_press_cb): removed the conditions to
2811 avoid clicks when overshooting. It is not required
2813 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2814 define. Refatored and reviewed the code, now we do not need to
2815 manage velocity in motion_notify.
2817 (hildon_pannable_area_motion_notify_cb): We have moved the code
2818 that controls the area_scroll to the axis_scroll function and get
2819 rid of duplicated code.
2821 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2823 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2825 (hildon_pannable_draw_vscroll),
2826 (hildon_pannable_draw_hscroll): Fixed the problems with the
2827 scrollbar drawing, now we do not use two surfaces, it is easier
2828 and saves resources.
2830 (hildon_pannable_area_get_property): Style modification.
2832 (hildon_pannable_area_class_init): Changed some default values.
2834 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2836 * src/hildon-stackable-window.c: Fix some typos in the
2839 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-dialog.c:
2842 Change indentation style
2845 (hildon_note_button_release):
2846 Use root coordinates to check if the release event happened
2849 * src/hildon-app-menu.c
2850 (hildon_app_menu_button_release):
2851 Remove unnecessary check
2853 * examples/hildon-app-menu-example.c
2855 Add cast to fix warning
2857 * src/hildon-app-menu.c
2858 (hildon_app_menu_class_init):
2859 New inner-border style property.
2860 Set all default spacings to 16
2861 (hildon_app_menu_init):
2862 Use vertical-spacing to set the space between filter buttons and
2863 regular menu buttons.
2864 Set the default container border using the inner-border value.
2866 * examples/hildon-app-menu-example.c
2868 Don't set the menu border explicitly, now we have the inner-border
2869 style property for that.
2871 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-app-menu.c (hildon_app_menu_init):
2874 Make the window modal
2876 * src/hildon-note.c (hildon_note_map)
2877 * src/hildon-app-menu.c (hildon_app_menu_map):
2878 Destroy the grab window if we're unable to grab the pointer
2880 * src/hildon-app-menu-private.h
2881 * src/hildon-app-menu.c
2882 (hildon_app_menu_init, hildon_app_menu_finalize)
2883 (hildon_app_menu_map, hildon_app_menu_unmap)
2884 (hildon_app_menu_button_release)
2885 (grab_transfer_window_get):
2886 Bring back the grab window
2887 (hildon_app_menu_realize):
2888 Decorate the window, set WM hint for Matchbox
2890 * src/hildon-note.c (hildon_note_realize):
2891 * src/hildon-banner.c (hildon_banner_realize):
2892 Add WM hints for Matchbox
2894 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-app-menu-private.h
2897 * src/hildon-app-menu.c
2898 (hildon_app_menu_init, hildon_app_menu_finalize)
2899 (hildon_app_menu_map, hildon_app_menu_unmap)
2900 (hildon_app_menu_button_release):
2901 Remove the grab window, it's not needed anymore
2903 * src/hildon-program.c
2904 Fixed typo in documentation
2906 * src/hildon-app-menu.h
2907 * src/hildon-app-menu.c
2908 * examples/hildon-app-menu-example.c
2909 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2911 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2914 Added new transfer_window and close_if_pressed_outside private
2916 (hildon_note_rebuild):
2917 Don't add a cancel button to the information note. It will be
2918 closed when tapping outside
2919 Remove the comment about the OK button in the documentation
2920 (hildon_note_realize):
2921 Set the notification type hint
2922 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2923 Grab/ungrab pointer and keyboard if the note has to be closed when
2925 (hildon_note_button_release):
2926 Close the note when tapping outside (if applicable)
2928 * src/hildon-app-menu.c
2929 Grab/ungrab pointer and keyboard on map/unmap
2930 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2931 Close the menu on button release, not button press
2933 * src/hildon-banner.c
2934 (hildon_banner_set_property)
2935 (hildon_banner_check_position):
2936 Make the banner use the full width of the screen
2937 (hildon_banner_show_information)
2938 (hildon_banner_show_information_with_markup):
2939 Don't display an icon by default
2941 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2943 Added fading scrollbars and adapted all the overshooting code to
2944 horizontal scrolling. We have also fixed bugs with overshooting
2945 and current fading implementation.
2947 * src/hildon-pannable-area.c
2948 (hildon_pannable_area_scroll_indicator_fade): Time out function
2949 used to change the transparency of the scrollbars.
2951 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2952 control and fixed a problem with fading, we now remove the fade
2953 timeout before adding a new one.
2955 (hildon_pannable_axis_scroll):
2956 (hildon_pannable_area_scroll):
2957 (hildon_pannable_area_timeout): Added this functions so we can use
2958 the scroll code both for vertical and horizontal.
2960 (hildon_pannable_area_motion_notify_cb):
2961 (hildon_pannable_area_button_release_cb): Added the horizontal
2962 scrolling control, fixed a problem with the overshooting timeout.
2964 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2965 painting of the scrolls.
2967 (hildon_pannable_draw_vscroll):
2968 (hildon_pannable_draw_hscroll):
2969 (hildon_pannable_area_expose_event):
2970 Draw both scrollbars and rectangles in the overshooting area.
2972 (hildon_pannable_area_get_property):
2973 (hildon_pannable_area_set_property):
2974 Modified the overshoot property to overshoot_max
2976 (hildon_pannable_area_map):
2977 Replaced the comments symbols.
2979 (hildon_pannable_area_size_allocate):
2980 (hildon_pannable_area_class_init):
2981 (hildon_pannable_area_init): Added horizontal scroll, fading
2982 effect properties, fixed a problem when overshooting in the bottom
2985 * examples/hildon-pannable-area-example.c:
2986 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2987 looks better in the example.
2989 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-window.c
2992 * src/hildon-window.h
2993 (hildon_window_class_init)
2994 (hildon_window_unset_program)
2995 (hildon_window_unset_program_real):
2996 Make unset_program a virtual function
2998 * src/hildon-stackable-window.c
2999 * src/hildon-stackable-window.h
3000 Added hildon_stackable_window_go_home()
3002 * examples/Makefile.am
3003 * examples/hildon-stackable-window-example.c
3004 HildonStackableWindow example
3006 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3008 * hildon-pannable-area.c: Added the overshoot property and removed
3009 the OVERSHOOT define. Fixed an indent style error.
3010 (hildon_pannable_area_motion_notify_cb):
3011 (hildon_pannable_area_get_property):
3012 (hildon_pannable_area_set_property): Add overshoot property.
3014 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3017 (hildon_pannable_area_class_init): Installed the new property.
3019 * hildon-pannable-area-example.c: Added a sawtooth function, this
3020 way it is easier to check the movement in the pannable.
3021 (get_sawtooth_label): Added this function.
3022 (main): Now we get the labels from the new get_sawtooth_label
3025 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-app-menu.h
3028 * src/hildon-app-menu.c
3029 Renamed API variables for consistency
3031 (hildon_app_menu_popup): Use also the default window size to
3032 decide where to place the menu
3034 (hildon_app_menu_init, hildon_app_menu_class_init): New
3035 external-border style property
3037 2008-05-26 Michael Natterer <mitch@imendio.com>
3039 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3040 widget_class->tap_and_hold_setup signal slot doesn't exist any
3041 longer, stop overriding it.
3043 (hildon_time_editor_init): g_signal_connect() to the
3044 tap-and-hold-setup signal instead.
3046 (hildon_time_editor_entry_keypress): add cast to fix warning.
3048 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3050 * doc/hildon-docs.sgml
3052 * examples/Makefile.am
3053 * examples/hildon-app-menu-example.c
3055 * src/hildon-app-menu-private.h
3056 * src/hildon-app-menu.c
3057 * src/hildon-app-menu.h
3059 New HildonAppMenu widget
3061 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3063 Rearranged the inheritance of the pannable area, now it inherits
3064 from GtkBin. This will allow us to control the event_window and
3065 the allocation process of the widget, required for some effects.
3067 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3068 GtkBin structures. * src/hildon-pannable-area.c: Added the
3069 event_window variable.
3070 (hildon_pannable_area_button_press_cb):
3071 (hildon_pannable_area_button_release_cb):
3072 (hildon_pannable_area_motion_notify_cb):
3073 Changed the signature of the method, now we override the event
3074 callback instead of connecting to the signal.
3076 (hildon_pannable_area_realize):
3077 (hildon_pannable_area_unrealize):
3078 (hildon_pannable_area_map):
3079 (hildon_pannable_area_unmap):
3080 (hildon_pannable_area_size_allocate):
3081 Added functions to control the widget construction. We add a
3082 INPUT_ONLY window and we put it over the widgets inside the
3083 container, this event_window handles the events.
3085 (hildon_pannable_area_class_init):
3086 Replaced the signal connections with overrides of the event
3089 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3091 Bouncing effect added when touching the borders, you can change
3092 the elasticity of the border changing the ELASTICITY define.
3094 * src/hildon-pannable-area.c: Added ELASTICITY define.
3095 (hildon_pannable_area_timeout): Added inverse velocity when
3096 touching the border of the child widget, that causes a bounce.
3098 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3100 Improved performance, we now do not go to the X server in order to
3101 get the list of window children. Apparently the effect is the
3102 same, we have to be careful and check if this breaks something in
3105 * src/hildon-pannable-area.c:
3106 (get_ordered_children): Removed this function.
3107 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3108 the children windows function with gdk_window_get_children.
3110 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3112 * src/hildon-pannable-area.c:
3113 (hildon_pannable_area_dispose): Fixed a crash when closing the
3114 window and kinetics is activated.
3116 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-pannable-area.h
3119 * src/hildon-pannable-area.c
3120 Changed indentation style to meet the one used in Hildon
3122 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3124 Reviewed the interaction of the AUTO mode, now we use the time
3125 attribute of the events and calculate the velocity in the motion,
3126 doing a gimp like calculation. The velocity is calculated in each
3127 motion event using the last velocity and the current one, the
3128 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3130 * src/hildon-pannable-area.c: Replaced the time based algorithm
3132 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3133 timeout for the AUTO mode when we are still moving the cursor. We
3134 added also the velocity calculation in this function.
3135 (hildon_pannable_area_button_release_cb): launch the timeout in
3136 case we are in AUTO mode. There are still some constants here that
3137 come from the old implementation that should be reviewed and
3140 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3142 * doc/hildon-docs.sgml
3145 * src/hildon-stackable-window.c
3146 * src/hildon-stackable-window.h
3148 New HildonStackableWindow widget
3150 * examples/hildon-dialog-example.c
3151 * examples/hildon-pannable-area-example.c
3154 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-dialog.c
3157 (hildon_dialog_new_with_buttons): New constructor.
3159 * examples/hildon-dialog-example.c
3160 (main): Update the example to use the new
3161 hildon_dialog_new_with_buttons().
3163 * examples/hildon-pannable-area-example.c
3164 (main): Update example.
3166 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3168 * doc/hildon-docs.sgml
3170 Added HildonPannableArea to the documentation.
3172 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3174 * doc/visual_index.xml
3175 Fix reference to HildonLoginDialog in documentation
3177 * doc/hildon-docs.sgml
3179 * examples/Makefile.am
3180 * examples/hildon-dialog-example.c
3182 * src/hildon-dialog.c
3183 * src/hildon-dialog.h
3185 New HildonDialog widget.
3187 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-pannable-area.c
3190 Merge latest changes (r4318, r4342) from libmokoui trunk
3192 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3194 * examples/Makefile.am
3195 * examples/hildon-pannable-area-example.c
3197 * src/hildon-pannable-area.c
3198 * src/hildon-pannable-area.h
3200 New HildonPannableArea widget.
3202 2008-04-15 18:05:19 <timj@imendio.com>
3204 * src/hildon-banner.c: revert the recent change, that introduced
3205 gtk_window_present() calls. this reopens:
3206 Bug 78481 - [freetest] information banners are hidden under browser menu
3207 But resolves another variant of:
3208 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3210 2008-04-15 13:21:13 <timj@imendio.com>
3212 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3213 recreated its layout, spotted by Kris. this fixes all remaining
3214 artefacts and stability issues with the banner code. in particular:
3215 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3217 2008-04-14 16:52:59 <timj@imendio.com>
3219 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3220 operating on unrealized widgets, fixes:
3221 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3223 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3225 2008-04-09 Kristian Rietveld <kris@imendio.com>
3227 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3228 makes banner disappear.
3229 Fixes: NB#79182: info banner flickering with certain message lengts.
3231 * src/hildon-banner.c (hildon_banner_constructor),
3232 (hildon_banner_init), (hildon_banner_set_text),
3233 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3234 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3235 FALSE, reset size requests of label and banner,
3236 (force_to_wrap_truncated): when the text is too wide, always enforce
3237 the maximum possible width instead of recalculating it from the
3238 layout; enforce the maximum banner height of 3 lines,
3239 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3240 nicer wrapping and no truncated chars if space gets tight.
3242 * src/hildon-banner-private.h: add has_been_wrapped and
3243 has_been_truncated fields.
3245 2008-04-07 Sven Herzberg <sven@imendio.com>
3247 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3248 local values in hildon_date_editor_size_allocate
3250 * src/hildon-date-editor.c: moved the real allocation code into the
3253 2008-04-07 Sven Herzberg <sven@imendio.com>
3255 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3256 local values in hildon_date_editor_size_allocate
3258 * src/hildon-date-editor.c: merged the two if() branches together
3260 2008-04-07 Sven Herzberg <sven@imendio.com>
3262 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3263 local values in hildon_date_editor_size_allocate
3265 * src/hildon-date-editor.c: changed the arguments of the if()
3268 2008-04-07 Sven Herzberg <sven@imendio.com>
3270 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3271 local values in hildon_date_editor_size_allocate
3273 * src/hildon-date-editor.c: split the calculation of the allocation
3274 from the real allocation
3276 2008-03-27 Michael Natterer <mitch@imendio.com>
3278 Fixes: NB#81696: The passcode is not overwritten even after
3281 * src/hildon-code-dialog.c
3282 (hildon_code_dialog_button_clicked)
3283 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3284 because that doesn't overwrite selected text. Instead, emit the
3285 "commit" signal on the entry's im_context so the entry's normal
3286 insert logic is triggered. Set the cursor to the end of the entry
3287 after each insert operation so that we *only* insert in the middle
3288 of the text if something was selected.
3290 2008-03-27 Michael Natterer <mitch@imendio.com>
3292 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3293 selector cannot be opened
3295 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3296 when the popup color selector is created. Please connect to this
3297 signal in order to set the dialog's help ID.
3299 2008-03-25 Sven Herzberg <sven@imendio.com>
3301 Fixes: MB#1212: Hide info banners (infoprints) on click
3303 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3304 extracted the close event simulation into an extra function
3305 (hildon_banner_button_press_event): simulate a close event and destroy
3306 the widget if the event wasn't handled
3307 (hildon_banner_class_init): added the button_press_event handler
3308 (hildon_banner_init): added button-press events to the widget
3310 2008-03-25 Sven Herzberg <sven@imendio.com>
3312 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3313 Patch from: Mohammad Anwari <mdamt@maemo.org>
3315 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3316 instead of the right in RTL mode
3317 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3318 breadcrumb button list in RTL mode
3319 * src/hildon-caption.c: mirror the appearance of the caption widget in
3321 * src/hildon-date-editor.c: mirror appearance of the date editor in
3323 * src/hildon-time-editor.c: mirror appearance of the time editor in
3325 * src/hildon-window.c: fix the position of the popup in RTL mode
3327 2008-03-25 Sven Herzberg <sven@imendio.com>
3329 Amendment to the fix of NB#22072. Fix compilation.
3331 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3333 2008-03-19 Sven Herzberg <sven@imendio.com>
3335 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3338 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3339 timeout id properly when the timeout will disappear this leaves no
3340 artifacts around in the destroy(); there will only be the timeout
3341 created by hildon_banner_ensure_timeout() and adding a new timeout
3342 will also work if the timeout gets removed because the timeout_handler
3345 2008-03-19 Michael Natterer <mitch@imendio.com>
3347 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3349 * src/hildon-volumebar.c
3350 * src/hildon-vvolumebar.c
3351 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3352 the widget becomes focussable at all.
3354 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3355 set the focus to wither the mute button or the volumebar.
3357 Remove own "can-focus" property and instead listen to
3358 notify::can-focus in order to update the widget's state.
3360 Implement GtkWidget::focus() and make sure we can also *leave* the
3361 widget, not only enter it, depending on volumebar orientation and
3362 requested focus direction.
3364 Clean up set_mute() to cooperate nicely with all the above.
3366 2008-03-04 Michael Natterer <mitch@imendio.com>
3368 Fixes: NB#78481: information banners are hidden under browser menu
3370 * src/hildon-banner.c: call gtk_window_present() on the banners so
3371 they are risen if they are already visible.
3373 2008-03-03 Sven Herzberg <sven@imendio.com>
3375 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3377 * examples/hildon-window-menu-example.c: (main): extended the window
3378 menu example to serve as a testcase for automatically added
3379 accelerator groups, too
3380 * src/hildon-window.c: (hildon_window_add_accel_group),
3381 (hildon_window_set_menu): added patch by Tommi Komulainen
3383 2008-03-03 Sven Herzberg <sven@imendio.com>
3385 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3387 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3388 knowledge about the border allocators used within GTK+
3390 2008-02-26 Sven Herzberg <sven@imendio.com>
3392 Fixes: MB#2981: Build with asserts broken
3394 * src/hildon-date-editor.c,
3395 * src/hildon-number-editor.c,
3396 * src/hildon-time-editor.c,
3397 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3398 the proper GType instance check
3400 2008-02-25 Sven Herzberg <sven@imendio.com>
3402 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3404 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3405 * examples/hildon-window-menu-example.c: (main): explicitly show
3407 * src/hildon-window.c:
3408 (hildon_window_set_main_menu): moved most of the code from set_menu()
3409 to this place; skipped the call to gtk_widget_show_all(); also didn't
3410 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3411 (hildon_window_set_menu): removed most of the code, just keep the
3412 questionable gtk_widget_show_all()
3413 * src/hildon-window.h: added the new function and deprecate the old
3416 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3422 * debian/changelog: Updating.
3424 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3427 * pkgconfig/Makefile.am:
3428 * pkgconfig/hildon.pc.in:
3431 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3432 use newly created API_MAJOR_VERSION.
3434 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3440 * debian/changelog: Updating.
3442 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3444 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3446 Add outer_border style property, we use it but don't define it (!).
3450 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3452 * examples/hildon-bread-crumb-trail-example.c (main):
3456 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3458 Fix logic for the bread crumb trail node removal.
3462 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3468 * debian/changelog: Updating.
3470 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3472 Patch by Alejandro to get/set passwords dialogs accesibility.
3474 * hildon-1/src/hildon-get-password-dialog.c:
3475 * hildon-1/src/hildon-set-password-dialog.c:
3476 Set atk_set_name to the passwd entries in order to allow
3477 accessibility by name on this entries.
3479 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3484 * debian/control: Updating gtk dep.
3486 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3488 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3489 USE_MAEMO_GTK is enabled.
3491 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3493 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3494 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3496 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3502 * debian/changelog: Updating.
3504 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3506 * examples/Makefile.am:
3507 * examples/hildon-logical-color-example.c:
3508 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3509 applied + adding a test case. Fixes: NB#71660.
3511 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3513 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3514 to be visible, fixes warning on map for windows without toolbars.
3516 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3518 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3519 2.11.0, add a check for that besides the MAEMO_GTK check.
3521 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3527 * debian/changelog: Updating.
3529 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3531 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3532 visibility. Fixes: NB#70842 and MB#615.
3534 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3536 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3537 set the separator as no-show-all so it doesn't unintentionally appear when
3538 someone does a show_all.
3540 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3542 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3543 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3544 toplevel item. Fixes: NB#62031
3546 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3548 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3549 fix the name of the function in the docs.
3551 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3557 * debian/changelog: Updating.
3559 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3561 * examples/hildon-banner-long-example.c: Adding a test-case for long
3564 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3566 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3568 * src/hildon-color-chooser-dialog.c:
3569 * src/hildon-color-chooser.c:
3570 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3571 memory leaks in font selector and color selector. Fixes: NB#70499 and
3574 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3576 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3578 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3580 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3581 little bit bigger. Fixes: #NB63694.
3583 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3589 * debian/changelog: Updating.
3591 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3594 * doc/hildon-docs.sgml:
3595 * doc/images/bread-crumb-trail.png:
3596 * doc/images/calendar-popup.png:
3597 * doc/images/caption.png:
3598 * doc/images/code-dialog.png:
3599 * doc/images/color-button.png:
3600 * doc/images/color-chooser-dialog.png:
3601 * doc/images/color-chooser.png:
3602 * doc/images/controlbar.png:
3603 * doc/images/date-editor.png:
3604 * doc/images/font-selection-dialog.png:
3605 * doc/images/get-password-dialog.png:
3606 * doc/images/hvolumebar.png:
3607 * doc/images/login-dialog.png:
3608 * doc/images/note.png:
3609 * doc/images/number-editor.png:
3610 * doc/images/range-editor.png:
3611 * doc/images/seekbar.png:
3612 * doc/images/set-password-dialog.png:
3613 * doc/images/sort-dialog.png:
3614 * doc/images/time-editor.png:
3615 * doc/images/time-picker.png:
3616 * doc/images/vvolumebar.png:
3617 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3618 Adding the bread-crumb-trial and helpers to the documentation.
3620 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3622 * examples/hildon-find-toolbar-example.c:
3623 * src/hildon-find-toolbar.c:
3624 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3625 actually continue firing the other handlers if connected. Adding a new
3627 hildon_find_toolbar_get_last_index that gets the index of the most
3628 recently added (last) item. Fixes: NB#52301.
3630 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3632 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3633 behaviour. Fixes: NB#68610.
3635 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3637 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3640 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3642 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3643 when realizing the banner. Should make the infonbanner effect a bit more
3646 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3648 * src/hildon-volumebar.c:
3649 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3650 hildon_volumebar_set_range_insensitive_message and
3651 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3653 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3655 * src/hildon-window.c: Fixing the border freeing on destroy.
3657 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3659 * src/hildon-code-dialog-private.h:
3660 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3661 kw keyboard support in HildonCodeDialog.
3663 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3669 * debian/changelog: Updating.
3671 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3673 * src/hildon-date-editor.c:
3674 * src/hildon-number-editor.c:
3675 * src/hildon-private.c:
3676 * src/hildon-private.h:
3677 * src/hildon-time-editor.c:
3678 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3679 handling in subclassed composite widgets. Fixes: NB#66628.
3681 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3683 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3684 from destroy_ callback as it introduces problems in async dbus signal
3685 handlers. Fixes NB#66673.
3687 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3689 * examples/hildon-hvolumebar-example.c:
3690 * src/hildon-volumebar.c: Improving the focus handling in the
3691 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3692 set_property accessor so that "mute" property can be actually set. I'm
3693 scared that nobody noticed it's totally broken.
3695 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3697 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3700 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3702 * src/hildon-calendar.c:
3703 * src/hildon-number-editor.c:
3704 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3705 matches the spec of 6 chars per second. Fixes: NB#60489.
3707 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3709 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3710 gtk_style_lookup_color sometime returns FALSE even though color was
3711 found and values were filled properly. Weird. Removing the warning for the
3714 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3716 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3717 expand vertically. Adding some extra space to the find toolbar buttons to
3718 make them thumbable. Fixes NB#66060.
3720 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3722 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3723 popup with "Ok" and "Cancel". Fixes NB#59299.
3725 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3727 * src/hildon-calendar.c: Process all window updates before executing next
3728 timeout. Fixes: NB#54146.
3730 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3736 * debian/changelog: Updating.
3738 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3740 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3741 the client event and ignore it, since we use the delete event to close
3744 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3746 * src/hildon-helper.c: Remove the bogus warning about color not being
3747 found. Fixes NB#58352.
3749 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3751 * examples/Makefile.am:
3752 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3753 HildonSeekbar widget inside a toolbar.
3755 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3757 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3758 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3759 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3760 don't want to be closed by non-temporary windows on map.
3762 Also use G_DEFINE_TYPE instead of manually typed code.
3764 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3771 * debian/rules: Updating.
3773 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3775 * examples/Makefile.am:
3776 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3777 bug NB#61128. Strangely it works.
3779 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3781 * src/hildon-date-editor.c: When the date editor entry has been changed
3782 but the numbers of characters < max, turn off the skip validation flag.
3783 Prevents a situation when we enter first a valid year and later re-write
3784 it with an invalid one. Fixes NB#60154.
3786 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3788 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3789 code dialog. Fixes NB#64355.
3791 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3793 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3794 switching the page. Fixes NB#49374.
3796 * examples/Makefile.am:
3797 * examples/hildon-wizard-dialog-example.c: Adding an example for
3798 HildonWizardDialog that shows how to handle manual sensitivity setting on
3801 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3805 * src/hildon-version.h.in:
3806 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3808 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3810 * src/hildon-volumebar.c: Updating the docs.
3812 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3818 * debian/changelog: Updating.
3820 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3822 * src/hildon-find-toolbar.c:
3823 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3824 selected item: hildon_find_toolbar_set_active,
3825 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3826 hildon_find_toolbar_get_active_iter . They correspond to respective
3827 GtkComboBox functions.
3829 * examples/Makefile.am:
3830 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3833 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3835 * examples/Makefile.am:
3836 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3839 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3840 when font size > 32 and we pack a focusable widget inside. Actually using
3841 the default response would work too, but since we don't show default
3842 response state in any way (no theming) it would not be visible to the
3843 user. Fixes NB#63430.
3845 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3847 * src/hildon-date-editor.c: Adding the missing variable setter in the
3848 set_property handler. Fixes NB#54182.
3850 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3852 * src/hildon-window.h: Changing the long key press time from 1500ms to
3853 800ms as requested in NB#63700. I have a bad feeling about this, let's
3854 see... Fixes NB#63700.
3856 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3858 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3859 hildon_time_picker_map, hildon_time_picker_realize,
3860 hildon_time_picker_style_set): Split the contents of map to more
3861 appropriate functions; set window decorations on realize and update
3862 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3864 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3869 * debian/changelog: Updating.
3871 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3873 * src/Makefile.am: fixed installation of the header files
3875 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3881 * debian/changelog: Updating.
3883 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3885 * configure.ac: Removing some remaining of --enable-xan.
3887 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3889 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3890 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3892 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3893 2.10.12-osso6 because the move-focus signal needs to be available in
3896 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3898 * examples/Makefile.am:
3899 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3900 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3901 fine. Prolly NB#61128 is fixed now.
3903 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3905 * src/hildon-volumebar.c:
3906 * src/hildon-volumebar.h: Adding the
3907 hildon_volumebar_set_range_insensitive_message and
3908 hildon_volumebar_set_range_insensitive_messagef functions to set
3909 insensitive message on the slider of the volumebar. Fixes NB#61129.
3911 * examples/Makefile.am:
3912 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3913 test the new insensitive messsage functionality on HildonVolumebar.
3915 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3917 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3920 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3922 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3923 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3924 button on after clearing the trail.
3926 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3928 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3930 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3932 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3933 by splitting the installed headers in generated and non-generated groups. Use
3934 only the non-generated headers to create the hildon-enum-types.h file.
3936 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3938 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3940 * src/hildon-window.c: Hide the window before performing the destroy.
3941 Should make the app closing a little tiny bit more snappy.
3943 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3945 * src/hildon-seekbar.c: add gtkrange.h header
3946 * src/hildon-caption.c: remove unused variable
3948 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3950 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3953 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3959 * debian/changelog: Updating.
3961 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3963 * src/hildon-window.c (hildon_window_window_state_event,
3964 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3965 escape timeout on focus-out-event rather than notify::is-topmost; the
3966 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3968 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3970 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3971 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3973 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3975 * src/hildon-window: actually, you need to use the macro always, there's
3976 no private pointer in the instance structure. We should have cleaned this up
3977 when we had the chance...
3979 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3981 * src/hildon-window.c: do not get the private date from HildonWindow before
3982 it passes the g_return_if_fail check. Once it's passed the test, there's no
3983 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3984 if you are only going to access the data once. Whitespace cleanups.
3986 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3988 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3989 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3991 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3997 * debian/changelog: Updating.
3999 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4001 * src/hildon-window.c: When destroying the window, remove (if exists) the
4002 escape timeout handler. Fixes #NB59276.
4004 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4006 * src/hildon-banner.c: When realizing the widget, set the window
4007 transiency. Setting the transiency in the gobject constructor is not
4008 good, as the widget is not realized at that point. Fixes: #NB56624.
4010 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4012 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4013 Add padding for future expansions.
4015 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4017 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4018 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4019 will fake an activation on the previous to the last item of the trail, so
4020 the effect can be overrided by the developer as usual.
4021 Also change the callback for the back button to do the same thing, so its
4022 effect can be overrided too. Fixes: NB#58982
4024 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4026 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4027 HildonCaption. Fixes NB#52379.
4029 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4031 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4032 the internal state of the trail after the user has had the chance of executing
4033 his handler for the signal. Specifically, it may happen that the activated button
4034 is removed and the user still lets the default handler run. This would segfault
4037 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4039 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4040 scrollbar to the preview dialog. Fixes NB#54147.
4042 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4044 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4045 max/min year properties can be altered, so the client can modify it
4046 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4048 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4050 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4051 hildonlike by default. Fixing a problem with disappearing arrows when
4052 scrolling through months and years. Fixes NB#54127.
4054 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * examples/hildon-date-editor-example.c: Adding error callback to the date
4059 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * configure.ac: Updating.
4067 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4069 * configure.ac: Adding a special '--enable-xan' configure option that
4070 turns off the -Werror compilation setting. Usefull for development.
4072 * src/hildon-calendar.c:
4073 * src/hildon-number-editor.c:
4074 * src/hildon-time-picker.c: Adding the 5* multiplier to
4077 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4079 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4080 instead of g_object_ref + gtk_object_sink.
4082 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4088 * debian/changelog: Updating.
4090 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4092 * src/hildon-color-chooser-dialog.c:
4093 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4094 straight from Tommi labs.
4096 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * examples/hildon-finger-example.c: Correcting the header file path.
4100 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4101 the changed signal. Fixes a small memory leak.
4103 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4107 * src/hildon-banner.c: Importing several usefull fixes from the
4108 ubuntu-mobile branch.
4110 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * examples/Makefile.am:
4113 * examples/hildon-finger-example.c: Adding a finger-checking code
4116 * src/hildon-font-selection-dialog.c: Do not allocate the color
4117 structure using the g_new. Fixes NB#54061.
4119 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4121 * src/hildon-helper.c: Correcting tabs in file.
4123 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4125 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4126 control the visibility of the children.
4128 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4130 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 * debian/changelog: Updating.
4138 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4140 * src/hildon-bread-crumb-trail.c:
4141 (hildon_bread_crumb_trail_size_allocate):
4143 Make the back button always a square.
4145 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4147 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4148 from the .c file as it's a private file.
4150 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4153 uses slightly bigger height.
4155 * src/hildon-font-selection-dialog.c: Adding some checks before
4156 freeing memory in the font selection dialog.
4158 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * src/hildon-font-selection-dialog.c: Adding a small check when
4163 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4164 buttons sensitivity on page switching.
4166 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4168 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4169 internal details of adding a bread crumb to the trail.
4171 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4177 * debian/changelog: Updating.
4179 * src/hildon-bread-crumb-trail.h:
4180 * src/hildon-bread-crumb.h: Changing the API guard to
4181 HILDON_ENABLE_UNSTABLE_API.
4183 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4191 * src/hildon-helper.h: Updating.
4193 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4201 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4205 * src/hildon-helper.h: Small fix to make the package actually compile.
4207 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4209 * src/hildon-bread-crumb-trail.h:
4210 * src/hildon-bread-crumb.h:
4212 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4213 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4215 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4217 * examples/hildon-bread-crumb-trail-example.c:
4219 * src/hildon-bread-crumb-trail.c:
4220 * src/hildon-bread-crumb-trail.h:
4221 * src/hildon-bread-crumb.c:
4222 * src/hildon-bread-crumb.h:
4223 * src/hildon-marshalers.list:
4224 * src/hildon-bread-crumb-widget.c:
4225 * src/hildon-bread-crumb-widget.h:
4227 Slight change in the widget design. The bread crumb trail API is
4228 unchanged, but HildonBreadCrumb is now an interface. A *private*
4229 implementation, hildon-bread-crumb-widget, is provided and used
4230 internally by the trail for the push_text/push_icon functions.
4232 The generic push API is still available, so anyone can implement
4233 and use its own bread crumb widget.
4235 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * debian/rules: Fixing the shlibs.
4239 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4241 * src/hildon-banner.c: Fixing a problem with timed banners having
4242 their parrent destroyed before they are.
4244 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4246 * src/hildon-bread-crumb.c:
4247 * src/hildon-bread-crumb.h:
4249 Make the get_natural_size function a vfunc.
4251 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4253 * src/hildon-bread-crumb.c:
4254 * src/hildon-bread-crumb-trail.c:
4258 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4265 * debian/changelog: Updating for release.
4267 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4269 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4270 don't leak the pango layout.
4272 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4275 * examples/hildon-bread-crumb-trail-example.c:
4279 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4281 * debian/changelog: Removing the bug-fixed entries that were actually
4282 resolved as WONTFIX.
4284 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4287 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4289 * src/hildon-bread-crumb-trail.c:
4290 * src/hildon-bread-crumb-trail.h:
4291 * src/hildon-bread-crumb.c:
4292 * src/hildon-bread-crumb.h:
4296 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4298 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4299 until it's passed the type check.
4301 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4303 * examples/hildon-bread-crumb-trail-example.c
4307 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4309 * examples/Makefile.am
4310 * examples/hildon-bread-crumb-trail-example.c
4312 * src/hildon-bread-crumb-trail.c
4313 * src/hildon-bread-crumb-trail.h
4314 * src/hildon-bread-crumb.c
4315 * src/hildon-bread-crumb.h
4317 New HildonBreadCrumbTrail widget.
4319 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4321 * src/hildon-range-editor.c (hildon_range_editor_init),
4322 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4323 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4324 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4325 hildon_time_editor_class_init, hildon_time_editor_init),
4326 src/hildon-get-password-dialog.c (invalid_input,
4327 hildon_get_password_set_property, hildon_get_password_get_property,
4328 create_contents, hildon_get_password_dialog_set_max_characters),
4329 src/hildon-set-password-dialog.c (create_contents),
4330 src/hildon-date-editor.c (hildon_date_editor_init),
4331 src/hildon-login-dialog.c (hildon_login_dialog_init),
4332 src/hildon-number-editor.c (hildon_number_editor_init),
4333 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4334 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4335 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4336 configure option and adding the respective checks in the code.
4337 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4338 hildon_calendar_drag_data_received): fixed some build warnings.
4340 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4342 * debian/changelog: A 1.0.0 release notes.