1 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4 the default value for HildonPannableArea::mov-mode to
5 HILDON_PANNABLE_AREA_MODE_VERT.
7 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
9 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
11 Reverting following commit:
13 2008-10-13 Alberto Garcia <agarcia@igalia.com>
15 * src/hildon-app-menu-private.h
16 * src/hildon-app-menu.[ch]
17 * src/hildon-button.[ch]
18 * src/hildon-check-button.[ch]
19 * src/hildon-entry.[ch]
20 * src/hildon-pannable-area.[ch]
21 * src/hildon-text-view.[ch]:
22 Added private field to the object's structure.
24 because it causes an ABI breakage. We will need to introduce these
25 changes later at some point. See NB#91636 for an extensive
26 explanation and status.
28 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
30 Patch contributed by Daniel Borgmann (danielb@openismus.com)
32 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
33 remove special cases that are no longer necessary.
35 Fixes: NB#91016 (Change toolbar sizes, simplification)
37 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
39 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
40 is shown in the cancel note.
42 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
44 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
45 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
46 (hildon_seekbar_init): Remove steppers, remove expose event.
47 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
49 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
51 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
54 label font to "SmallSystemFont" for vertically arranged buttons.
56 Fixes: NB#90662 (HildonButton "value" and "detail" text is
59 2008-10-31 Alberto Garcia <agarcia@igalia.com>
61 * src/hildon-check-button.c
62 (hildon_check_button_set_active, hildon_check_button_clicked):
63 Don't access private parts directly, use getters instead.
65 2008-10-31 Alberto Garcia <agarcia@igalia.com>
67 * src/hildon-check-button.c (hildon_check_button_new):
68 Align the contents of the check button to the left.
70 2008-10-30 Alejandro G. Castro <alex@igalia.com>
72 * src/hildon-pannable-area.c,
73 (hildon_pannable_area_scroll_to),
74 (hildon_pannable_area_jump_to),
75 (hildon_pannable_area_scroll_to_child),
76 (hildon_pannable_area_jump_to_child): Replace the mapped
77 precondition of these functions with the realized, it is the
78 correct state of the widget in this case. Changed the
79 documentation according to this modification.
81 2008-10-30 Alejandro G. Castro <alex@igalia.com>
83 Added a new EXTRA_CFLAGS option to add the deprecated define to
84 the compilation command. This way we can avoid using the define in
85 the documentation compilation.
87 * configure.ac: Defined EXTRA_CFLAGS.
89 * examples/Makefile.am:
91 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
93 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
95 * src/hildon-picker-dialog.c:
96 Defined a utility macro with the desired touch selector height
97 Removed currently unused separator, and title_label variables from
99 (hildon_picker_dialog_init): Removed code related to the creation
100 of unused private variables title_label and separator.
101 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
102 to ensure correct visualization of the touch selector inside the dialog.
103 * src/hildon-touch-selector.c
104 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
105 ensure a concrete height of the widget.
107 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
112 Remove spurious whitespaces.
114 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
116 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
117 compilation warning after the cancel button removal.
119 2008-10-30 Alejandro G. Castro <alex@igalia.com>
121 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
123 * configure.ac: Added an AM_CONDITIONAL in order to use in the
124 Makefile.am, that way we can choose not to compile some examples
125 and tests of the deprecated widgets.
127 * examples/Makefile.am: Divided the sources in deprecated and
130 * src/Makefile.am: Added undef statement of the deprecated
131 symbol to the enums file generation process.
133 * src/hildon-color-chooser-dialog.c
134 * src/hildon-color-chooser-dialog.h
135 * src/hildon-color-button.c
136 * src/hildon-color-button.h
137 * src/hildon-color-chooser.c
138 * src/hildon-color-chooser.h
139 * src/hildon-controlbar.c
140 * src/hildon-controlbar.h
141 * src/hildon-date-editor.c
142 * src/hildon-date-editor.h
143 * src/hildon-hvolumebar.c
144 * src/hildon-hvolumebar.h
145 * src/hildon-private.c
146 * src/hildon-private.h
147 * src/hildon-range-editor.c
148 * src/hildon-range-editor.h
149 * src/hildon-seekbar.c
150 * src/hildon-seekbar.h
151 * src/hildon-time-editor.c
152 * src/hildon-time-editor.h
153 * src/hildon-time-picker.c
154 * src/hildon-time-picker.h
155 * src/hildon-volumebar.c
156 * src/hildon-volumebar.h
157 * src/hildon-vvolumebar.c
158 * src/hildon-vvolumebar.h
159 * src/hildon-bread-crumb-trail.h
160 * src/hildon-bread-crumb-trail.c
161 * src/hildon-calendar-popup.c
162 * src/hildon-calendar-popup.h
163 * src/hildon-weekday-picker.c:
164 * src/hildon-weekday-picker.h:
165 * src/hildon-bread-crumb-widget.c:
166 * src/hildon-bread-crumb-widget.h:
167 * src/hildon-bread-crumb.c:
168 * src/hildon-bread-crumb.h:
169 * src/hildon-calendar.c:
170 * src/hildon-calendar.h:
171 * src/hildon-caption.c:
172 * src/hildon-code-dialog.c:
173 * src/hildon-code-dialog.h:
174 * src/hildon-font-selection-dialog.c:
175 * src/hildon-font-selection-dialog.h:
176 * src/hildon-get-password-dialog.c:
177 * src/hildon-get-password-dialog.h:
178 * src/hildon-login-dialog.c:
179 * src/hildon-login-dialog.h:
180 * src/hildon-number-editor.c:
181 * src/hildon-number-editor.h:
182 * src/hildon-set-password-dialog.c:
183 * src/hildon-set-password-dialog.h:
184 * src/hildon-sort-dialog.c:
185 * src/hildon-sort-dialog.h: This is the list of deprecated
188 * src/hildon-touch-selector.c:
189 * src/hildon-window.c: Added undef statement to avoid compilation
192 * tests/Makefile.am: Divided the sources in deprecated and
195 * tests/check_test.c,
196 (configure_tests): Marked the deprecated code that was adding
197 suites with deprecated tests.
199 Fixes: NB#91135 (Deprecate legacy hildon widgets)
201 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
203 * src/hildon-touch-selector.c: (_default_print_func): Do not
204 duplicate a string returned by gtk_tree_model_get(), it is already
207 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
210 2008-10-28 Alejandro G. Castro <alex@igalia.com>
212 * src/hildon-pannable-area.c
213 (hildon_pannable_area_add_with_viewport): Reviewed the complete
214 method, it had problems when adding a widget with viewport the
215 second time. Now checks if it already has a viewport and uses it.
217 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
220 2008-10-28 Alejandro G. Castro <alex@igalia.com>
222 * src/hildon-pannable-area.c,
223 (hildon_pannable_area_scroll_to),
224 (hildon_pannable_area_jump_to),
225 (hildon_pannable_area_scroll_to_child),
226 (hildon_pannable_area_jump_to_child): Added a precondition to the
227 scroll and jump to functions: the widget must be mapped before we
228 can safely call these functions. We have also added documentation
229 to the functions to explain how to use them in this situation.
232 2008-10-28 Alejandro G. Castro <alex@igalia.com>
234 Reviewed the threading handling of the pannable widget, we have
235 used the gdk_threads_add_timeout function instead of the usual
236 glib handlers. This avoids some problems with the threads.
238 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
239 (hildon_pannable_area_initial_effect),
240 (hildon_pannable_area_scroll_indicator_fade),
241 (hildon_pannable_area_button_press_cb),
242 (hildon_pannable_area_timeout),
243 (hildon_pannable_area_motion_notify_cb),
244 (hildon_pannable_area_button_release_cb),
245 (hildon_pannable_area_scroll_cb),
246 (hildon_pannable_area_scroll_to): Removed the
247 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
248 gdk_threads_add_timeout.
250 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
252 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
257 * configure.ac: bump version
258 * debian/changelog: updates
260 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
262 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
263 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
264 * src/hildon-color-chooser-dialog.c:
265 (hildon_color_chooser_dialog_init):
266 * src/hildon-font-selection-dialog.c:
267 (hildon_font_selection_dialog_init):
268 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
270 Remove all cancel/close-like dialogs, as these are not going to be
273 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
275 * src/hildon-note.c: (hildon_note_rebuild),
276 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
279 Fixes: NB#90661 (Delete dialog is displayed without NO button)
281 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
283 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
284 sure all buttons are shown, even the Cancel/Close-like ones.
286 Fixes: NB#90861 (Custom Confirmation dialogs should be
287 protected from cancel button removal)
289 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
291 * debian/control: Change libhildon1-examples dependency from libhildon1
293 * debian/libhildon1-examples.install
295 * Makefile.am: Modified the final install directory for the examples on
296 package libhildon1-examples
297 * Makefile.static: Update clean target in order to remove all the binary
300 Changes suggested by Claudio after review new libhildon1-examples package
302 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
304 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
305 * src/hildon-touch-selector.c: Ditto.
307 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
309 * debian/control: Added new package libhildon1-examples, in order to pack
310 the current hildon examples as documentation
311 * debian/rules: Not to compress .c files, modify some includes on the
312 examples (as normally are compiled locally, but when installed it will
313 require to include the installed libhildon1 library), and rename
315 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
316 install all the example files on the new example package
317 * examples/Makefile.static: Added static makefile that can be used to
318 compile the examples, once installed the new example package
319 * examples: Most of the examples were modified in order to grant that
320 all use only '#include "hildon.h"', in order to be easy to prepare
321 it on the example package
323 2008-10-23 Alberto Garcia <agarcia@igalia.com>
326 * debian/libhildon1-dev.install
327 * debian/libhildon1-doc.install:
328 Move all gtk-doc files to a separate libhildon1-doc package.
330 2008-10-23 Daniel Borgmann <danielb@openismus.com>
332 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
334 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
336 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
338 * debian/rules: Fixed a error in order to avoid unnecessary calls
339 to autogen.sh on package building
341 2008-10-22 Alberto Garcia <agarcia@igalia.com>
343 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
345 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
350 2008-10-21 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-picker-button.c
353 (hildon_picker_button_finalize):
354 Free priv->done_button_text
356 * src/hildon-time-button.c
357 (hildon_time_button_set_time)
358 * src/hildon-picker-button.c
359 (hildon_picker_button_clicked)
360 (hildon_picker_button_selector_selection_changed)
361 (hildon_picker_button_set_selector)
362 * src/hildon-date-button.c
363 (hildon_date_button_set_date):
364 Free strings returned by hildon_touch_selector_get_current_text()
366 * src/hildon-button.c (hildon_button_construct_child):
367 Fix leaks in priv->image and priv->label_box
369 Fixes: NB#90535 (Memory leak in picker button)
371 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
373 * src/hildon-button.c: (hildon_button_get_property): Do not access
374 private elements directly, use getters instead.
376 2008-10-20 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-app-menu-private.h
379 * src/hildon-app-menu.c
380 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
381 Store the menu's parent window.
383 * src/hildon-stackable-window.c
384 (hildon_stackable_window_toggle_menu)
385 (hildon_stackable_window_finalize):
386 Set the menu's parent window when the menu is shown, unset it when
389 * src/hildon-app-menu.c
390 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
391 (hildon_app_menu_class_init):
392 Send unhandled keyboard accelerators to the parent window.
394 2008-10-20 Alberto Garcia <agarcia@igalia.com>
396 * src/hildon-stackable-window.c
397 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
399 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
401 * configure.ac: post release version bump
403 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
406 * configure.ac: Bump version
407 * debian/changelog: Updates
408 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
411 2008-10-20 Alberto Garcia <agarcia@igalia.com>
413 Patch contributed by Daniel Borgmann (danielb@openismus.com)
416 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
417 GtkMenu with Hildon style.
419 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
421 * src/hildon-picker-button.c:
422 (hildon_picker_button_set_done_button_text): Set the dialog's
423 done button text here as well.
425 Fixes: NB#90232 (Picker button does not set the label on done button
428 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
430 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
433 2008-10-16 Alberto Garcia <agarcia@igalia.com>
435 * src/hildon-app-menu.c (hildon_app_menu_insert)
436 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
437 the HildonAppMenu to be activatable using keyboard accelerators
438 when the menu is not being shown.
440 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
442 2008-10-16 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-stackable-window.c
445 (hildon_stackable_window_show):
446 Don't hide old windows automatically when new windows are shown:
447 this is now a task for the window manager.
448 (hildon_stackable_window_class_init)
449 (hildon_stackable_window_hide):
450 Remove windows from the stack everytime they're hidden.
451 (hildon_stackable_window_realize):
452 Don't change the _NET_WM_WINDOW_TYPE property. Use
453 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
454 it as a stackable window.
456 * src/hildon-program.c
457 (hildon_program_pop_window_stack):
458 Just hide the window to remove it from the stack.
459 (hildon_program_go_to_root_window):
460 Don't call gtk_widget_show(), this is now a task for the window
463 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
465 2008-10-15 Alberto Garcia <agarcia@igalia.com>
467 * src/hildon-button.c
468 (hildon_button_construct_child):
469 Don't pack anything in the button until text or image are
470 set. This allows adding a custom child after creating the button
471 with hildon_button_new().
472 (hildon_button_finalize, hildon_button_class_init)
473 (hildon_button_init, hildon_button_set_arrangement): Destroy the
474 alignment and the label box even when they're not packed in the
477 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
479 * src/hildon-touch-selector.h:
480 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
481 currently the type definition was using GTK_TYPE_VBOX
482 * src/hildon-touch-selector.c:
483 Added some implementation notes in order to clarify that any other widget
484 added without the column related API will not be included on the
485 selection logic, and how the widget is freed, as some people ask about
487 (hildon_touch_selector_remove): Reimplemented in order to free properly
488 the column related data when you remove the private hbox.
489 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
490 to get a proper HildonTouchSelectorColumn documentation
492 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
494 * src/hildon-touch-selector-entry.c:
495 (hildon_touch_selector_entry_print_func): Return NULL if there is no
496 text in the GtkEntry and there is no item selected. Fixes a
499 2008-10-13 Alberto Garcia <agarcia@igalia.com>
501 * src/hildon-app-menu-private.h
502 * src/hildon-app-menu.[ch]
503 * src/hildon-button.[ch]
504 * src/hildon-check-button.[ch]
505 * src/hildon-entry.[ch]
506 * src/hildon-pannable-area.[ch]
507 * src/hildon-text-view.[ch]:
508 Added private field to the object's structure.
510 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
512 * configure.ac: post-release version bump
514 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
518 * configure.ac: pre-release version bump
520 * debian/changelog: updates.
522 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
524 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
525 Disconnect the handler for HildonTouchSelector::changed.
527 (hildon_picker_button_selector_selection_changed): Update the button
528 value if the selection change was not triggered by the
531 (hildon_picker_button_set_selector): connect to
532 HildonTouchSelector::changed.
534 Fixes: NB#89650 (Picker button is not updated, when selection in
535 selector has changed)
537 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
539 * src/hildon-picker-dialog.c
540 (hildon_picker_dialog_realize): Removed as not required
541 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
542 * src/hildon-picker-button.c
543 (_current_selector_empty): New function, checks if the selector is empty
544 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
545 if the current selector is empty, in order to avoid to show the dialog
546 close the dialog in this case (and shows a g_warning).
548 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
550 2008-10-09 Alejandro G. Castro <alex@igalia.com>
552 * src/hildon-pannable-area.c,
553 (hildon_pannable_area_scroll): Added clause to stop movement when
554 the child of pannable is smaller than one page.
555 (hildon_pannable_area_scroll_to): Added conditions to avoid
556 starting the scrolling movement if the child is smaller than one
557 page, the complete child is in the screen, we do not have to move.
559 Fixes: NB#89632 (Picker button selection doesn't change on first click)
561 2008-10-09 Alberto Garcia <agarcia@igalia.com>
563 * src/hildon-app-menu.c: Removed the 'columns' property, as now
564 this is managed automatically by the widget when the size of the
567 2008-10-09 Alberto Garcia <agarcia@igalia.com>
569 * src/hildon-picker-button.c
570 (hildon_picker_button_set_done_button_text): Make a copy of the
571 text, and free the previous value.
573 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-touch-selector-entry.c:
576 (hildon_touch_selector_entry_print_func): Return the selected row's
577 text if the entry is empty.
579 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
582 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-touch-selector-entry.c: Minor docs fixes.
586 2008-10-09 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-check-button.h
590 * src/hildon-check-button.c
591 * examples/hildon-check-button-example.c:
592 HildonCheckButton is now a new widget. 'toggled' signal added.
594 2008-10-08 Alberto Garcia <agarcia@igalia.com>
596 * src/hildon-program-private.h
597 * src/hildon-program.c (hildon_program_init)
598 (hildon_program_finalize): Removed unused variables group_leader
599 and name from HildonProgramPrivate.
601 2008-10-08 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-check-button.c (hildon_check_button_set_active)
604 (hildon_check_button_get_active, hildon_check_button_new): Use
605 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
607 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
609 * src/hildon-touch-selector.h
610 (hildon_touch_selector_set_column_attributes): added deprecation
611 guard HILDON_DISABLE_DEPRECATED
612 * src/hildon-time-selector.c
613 (hildon_time_selector_set_time)
614 (hildon_time_selector_get_time): Fixed a typo on documentation
615 * src/hildon-touch-selector.c: update HildonTouchSelector and
616 HildonTouchSelectorColumn documentation
617 * src/hildon-touch-selector-entry.c: update "text-column" property
619 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
620 to be added to the general documentation.
622 2008-10-08 Alejandro G. Castro <alex@igalia.com>
624 * examples/hildon-pannable-area-example-4.c,
626 * examples/hildon-pannable-area-example.c,
627 (main): Modified the code in order to use the container add, with
628 viewport treeviews could have problems if they are really big.
630 2008-10-06 Alejandro G. Castro <alex@igalia.com>
632 * src/hildon-weekday-picker.c,
633 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
634 the agreement regarding deprecation in the library.
636 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
638 * examples/hildon-picker-button-multicolumn-example.c:
639 (main): Use custom "done" button text.
641 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
642 (hildon_picker_button_set_property),
643 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
644 (hildon_picker_button_init),
645 (+hildon_picker_button_get_done_button_text),
646 (+hildon_picker_button_set_done_button_text): New methods to customize
647 the "done" button label in the launched HildonPickerDialog. Also,
650 * src/hildon-picker-button.h: add the public API.
652 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-date-selector.h:
655 * src/hildon-picker-dialog.h:
656 * src/hildon-time-selector.h:
657 * src/hildon-touch-selector-column.h:
658 * src/hildon-touch-selector.h:
660 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
661 declarations. Fixes gtk-doc warnings.
663 2008-10-06 Alberto Garcia <agarcia@igalia.com>
665 * src/hildon-picker-dialog.h
666 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
667 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
669 Fixes: NB#89329 (selectors in picker dialog are not visible when a
670 long text is set as label for done button)
672 2008-10-06 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-dialog.c (hildon_dialog_add_button):
675 Set fixed width to all buttons in the HildonDialog.
677 2008-10-06 Alberto Garcia <agarcia@igalia.com>
679 Patch contributed by Daniel Borgmann (danielb@openismus.com)
681 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
682 Set widget name using class name plus "-finger" or "-thumb".
684 2008-10-03 Alberto Garcia <agarcia@igalia.com>
686 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
687 'clicked' when the state of the button is manually changed.
689 2008-10-02 Alberto Garcia <agarcia@igalia.com>
691 * src/hildon-app-menu.c (hildon_app_menu_realize)
692 (hildon_app_menu_unrealize, hildon_app_menu_init)
693 (hildon_app_menu_class_init, item_visibility_changed):
694 Change the menu layout when the size of the screen changes.
695 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
696 Show warning only when changing the number of colums using the
699 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
701 * debian/compat: Set to 5
702 * debian/control: Update dependencies.
703 * debian/libhildon1-dbg.install: Remove.
704 * debian/libhildon1-dev.install: Update according to cdbs paths.
705 * debian/libhildon1.install: Update according to cdbs paths.
706 * debian/rules: Switch to cdbs.
708 2008-10-01 Alberto Garcia <agarcia@igalia.com>
710 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
711 'item' variable renamed to 'filter'
713 2008-10-01 Alberto Garcia <agarcia@igalia.com>
715 * src/hildon-app-menu.c (hildon_app_menu_insert)
716 (hildon_app_menu_add_filter, remove_item_from_list)
717 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
718 Don't leak hidden items when the menu is destroyed.
720 2008-10-01 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-app-menu.c (hildon_app_menu_insert)
723 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
724 (hildon_app_menu_set_columns, item_visibility_changed)
725 (filter_visibility_changed, hildon_app_menu_repack_filters)
726 (hildon_app_menu_repack_items):
727 Repack items and filters separately.
729 Don't repack all items, change only the ones that are needed to
732 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
734 * src/Makefile.am: added hildon-touch-selector-column.h
736 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
738 * src/hildon-touch-selector.c: added the property "text-column" to the
739 class HildonTouchSelectorColumn, and related get/set functions
740 (_default_printf_func): updated to use "text-column" property
741 * src/hildon-touch-selector-entry.c: mark as deprecated the property
742 "text-column" in his documentation, as this is now included on
743 HildonTouchSelectorColumn. The get/set_property can still be used,
744 working as a wrapper to the concrete column "text-column" property
745 (_text_column_modified): callback added in order to handle the signal
746 "notify::text-column" of the concrete HildonTouchSelectorColumn
747 (hildon_touch_selector_entry_get_text_column)
748 (hildon_touch_selector_entry_set_text_column): Added documentation, and
749 modified in order to use the HildonTouchSelectorColumn "text-column"
751 * src/hildon-time-selector.c:
752 * src/hildon-date-selector.c:
753 * examples/hildon-touch-selector-example.c
754 * examples/hildon-touch-selector-multi-cells-example.c
755 * examples/hildon-picker-button-multicolumn-example.c
756 Set the right value to "text-column" property on the creation of a new
757 column using hildon_touch_selector_append_column()
759 Fixes: NB#88644 (Hardcoded first column of the model as text column)
761 2008-09-30 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-app-menu.c
764 (hildon_app_menu_construct_child, hildon_app_menu_init): When
765 updating the layout of the menu, don't create all widgets again,
766 just repack the items in their new places.
768 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
770 * src/hildon-time-selector.c
771 (hildon_time_selector_get_time)
772 (hildon_time_selector_set_time)
773 Added documentation of these public methods
775 * src/hildon-date-button.h
776 * src/hildon-touch-selector-column.h
777 * src/hildon-time-button.h
778 * src/hildon-picker-dialog.h
779 * src/hildon-time-selector.h
780 * src/hildon-picker-button.h
781 * src/hildon-touch-selector.h
782 * src/hildon-time-picker.h
783 * src/hildon-date-selector.h
784 * src/hildon-touch-selector-entry.h
785 Modified in order to use hildon-widgets code style
787 2008-09-30 Alejandro G. Castro <alex@igalia.com>
789 Added deprecated support to the compilation process using
790 HILDON_DISABLE_DEPRECATED
792 * configure.ac: Added the --disable-deprecated to the configure
795 * src/hildon-weekday-picker.c:
796 * src/hildon-weekday-picker.h: Deprecated widget, example of how
797 to use the deprecated support. We will update the other deprecated
798 widgets status in a new patch.
800 2008-09-30 Alejandro G. Castro <alex@igalia.com>
802 * configure.ac: Fixed typo with fatal warnings support, the
803 variable name was not correct
805 2008-09-29 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-app-menu.c
808 * src/hildon-program.c: Update documentation.
810 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
812 * configure.ac: Post-release version bump.
814 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
819 * configure.ac: Pre-release version bump.
820 * debian/changelog: Updates.
822 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
824 * NEWS: Update news for previous releases.
826 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
828 * examples/hildon-touch-selector-multi-cells-example.c:
829 (create_selector): Update the example to use
830 hildon_touch_selector_append_column() with a NULL renderer and set
832 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
833 passed a NULL renderer. This is documented behavior now.
835 Allow passing a NULL renderer to hildon_touch_selector_append_column().
836 This must be used if the developer wants full control on the layout of
837 the renderers to be added to the column.
839 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
841 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-touch-selector.c: Documentation fixes.
845 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
847 * src/hildon-wizard-dialog-private.h: Remove image and box.
848 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
849 (hildon_wizard_dialog_set_property), (response): Completely remove
850 image/icon support, and the containers required for the layout.
852 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
854 2008-09-25 Alberto Garcia <agarcia@igalia.com>
856 * src/hildon-app-menu.c: Updated documentation.
858 * src/hildon-stackable-window.c
859 (hildon_stackable_window_set_main_menu): Unref the old menu after
862 2008-09-25 Alberto Garcia <agarcia@igalia.com>
864 * src/hildon-stackable-window.c
865 (hildon_stackable_window_set_main_menu): Unref the previous menu
866 instead of destroying it.
868 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
869 floating reference and set has_user_ref_count to FALSE to make
870 HildonAppMenu act like a normal ref-counted widget and not a
873 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
876 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
878 * src/hildon-touch-selector-column.h: new file
879 * src/hildon-touch-selector.h
880 * src/hildon-touch-selector.c
881 Implemented GtkCellLayout interface, in order to allow to configure
882 the cell layout on each individual selector column
883 (hildon_touch_selector_set_column_attributes): marked as deprecated
884 * examples/hildon-touch-selector-multi-cells-example.c
885 Example of how to use the GtkCellLayout interface on the selector
887 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
889 2008-09-24 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-app-menu.h
892 * src/hildon-app-menu.c
893 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
894 (hildon_app_menu_append, hildon_app_menu_prepend):
895 New methods to prepend, insert and move items in the menu.
897 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-wizard-dialog.c:
901 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
903 (create_title): Update logical IDs and related code.
904 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
906 * src/hildon-wizard-dialog.h: Note that
907 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
908 point, as it is not used anymore.
910 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
912 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
915 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
916 shown. Do not display an icon in confirmation notes nor information
918 (hildon_note_set_button_text): Update logical ID for cancel button.
920 Fixes: NB#88850 (Update HildonNote button strings + signals)
922 2008-09-24 Alberto Garcia <agarcia@igalia.com>
924 * src/hildon-stackable-window.c
925 (hildon_stackable_window_set_main_menu): Fix compilation warning.
927 2008-09-24 Alberto Garcia <agarcia@igalia.com>
929 * src/hildon-app-menu-private.h
930 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
931 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
932 (hildon_app_menu_init, hildon_app_menu_class_init): Added
933 temporary property 'columns' to change the number of columns.
935 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
937 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
939 * examples/hildon-note-example.c: (on_information_clicked),
940 (on_confirmation_clicked), (on_progress_clicked), (main): Add
941 debugging information.
942 * src/hildon-note-private.h: Remove close_if_pressed_outside,
944 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
945 (hildon_note_rebuild): Remove special handling of tapping outside/inside
946 in order to close: this will be handled by the WM from now on.
948 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
950 2008-09-24 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-app-menu-private.h
953 * src/hildon-app-menu.c
954 (hildon_app_menu_append, hildon_app_menu_add_filter)
955 (button_visibility_changed, hildon_app_menu_apply_style)
956 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
957 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
958 layout everytime a button (item or filter) is shown or hidden.
960 * src/hildon-stackable-window.c
961 (hildon_stackable_window_set_main_menu): Destroy the old menu when
964 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
966 * src/hildon-touch-selector.c:
967 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
968 that the treeview inside the touch selector is in fremantle hildon mode
969 * examples/hildon-date-button-example.c
970 * examples/hildon-picker-button-multicolumn-example.c
971 * examples/hildon-touch-selector-entry-example.c
972 * examples/hildon-touch-selector-example.c
973 * examples/hildon-time-button-example.c
974 * examples/hildon-picker-button-example.c:
975 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
977 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
979 * examples/hildon-text-view-example.c: (main): Remove the
980 gtkrc bits, now handled by the theme.
982 2008-09-22 Alberto Garcia <agarcia@igalia.com>
984 * src/hildon-picker-button.c (hildon_picker_button_set_active):
987 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
989 * po/Makefile.am: Install properly the mo files.
990 * po/en_GB.po: Update translation, to ease testing purposes.
992 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
994 * examples/hildon-picker-button-example.c: (main): Select an item
995 in the selector before setting it to the button.
997 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
999 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1000 Update button's value if the selector has an item active.
1002 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1003 'value' with the selector)
1005 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1008 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1009 (hildon_picker_button_class_init): Plug the finalize method.
1010 (hildon_picker_button_set_selector): If there's a previously set
1011 selector, unref'it before setting a new one.
1013 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1014 HildonTouchSelector)
1016 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-touch-selector-entry.c:
1019 (hildon_touch_selector_entry_changed): Check if there is no text
1020 selected before setting the entry text.
1023 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-touch-selector.h
1026 * src/hildon-touch-selector.c
1027 (hildon_touch_selector_get_active)
1028 (hildon_touch_selector_set_active): New methods to set/get the
1029 index of the selected item.
1031 * src/hildon-picker-button.h
1032 * src/hildon-picker-button.c
1033 (hildon_picker_button_get_active)
1034 (hildon_picker_button_set_active): New methods to set/get the
1035 index of the selected item.
1037 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1039 * configure.ac: post-release version bump.
1041 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1045 * configure.ac: Pre-release version bump.
1046 * debian/changelog: Updates.
1047 * debian/control: Add myself as maintainer and depend on l10n
1050 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1052 * src/hildon-window.c
1053 (hildon_window_set_main_menu)
1054 * src/hildon-stackable-window.c
1055 (hildon_stackable_window_set_main_menu):
1056 Updated documentation.
1058 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1060 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1061 Don't free selector->priv manually.
1064 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1067 (hildon_gtk_window_set_progress_indicator):
1068 * src/hildon-gtk.h: Added the new API
1069 hildon_gtk_window_set_progress_indicator, it changes the state of
1070 the window progress hint.
1072 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-button.c
1075 * src/hildon-stackable-window.c: Minor documentation updates.
1077 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1079 * src/hildon-stackable-window.c: Updated documentation.
1081 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1083 * src/hildon-defines.h: Update margins definitions
1084 to the Fremantle sizes.
1087 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1089 * src/hildon-touch-selector.c,
1090 (_hildon_touch_selector_set_model): Cleaning the code after
1091 review, removed g_print and #if 0 from the code.
1093 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-edit-toolbar.c: Update documentation.
1097 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1099 * src/hildon-check-button.h
1100 * src/hildon-check-button.c
1101 (hildon_check_button_set_label, hildon_check_button_get_label)
1102 * examples/hildon-check-button-example.c
1103 (button_clicked_cb):
1104 Removed deprecated methods.
1106 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-text-view.c:
1109 Add sample code to the documentation.
1111 * src/hildon-entry.h
1112 * src/hildon-text-view.h:
1113 Minor cosmetic changes.
1115 * src/hildon-entry.c:
1116 Add sample code to the documentation.
1117 (hildon_entry_init, hildon_entry_refresh_contents):
1118 Don't allow NULL values in the placeholder.
1120 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1122 * doc/hildon-docs.sgml
1124 * examples/Makefile.am
1125 * examples/hildon-text-view-example.c
1127 * src/hildon-text-view.c
1128 * src/hildon-text-view.h
1130 New HildonTextView widget, with example.
1132 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1134 * po/POTFILES.in: Add missing files with translatable strings.
1135 Partially fixes NB#88287.
1137 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1139 * examples/hildon-pannable-area-example-2.c: (main): No need to
1140 set the cellrenderer height inside hildon touch lists, the theme does
1143 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1145 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1146 they are integrated in the theme.
1148 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1150 * examples/hildon-entry-example.c: Update the example adding
1151 widgets to modify the text and the placeholder of the HildonEntry.
1153 * src/hildon-entry.c: Show the placeholder everytime the widget
1154 is empty and loses the focus.
1156 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1158 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1160 * src/hildon-pannable-area.c,
1161 (hildon_pannable_area_size_request): Fixed bug in height
1162 requisition, avoid increasing size and add border twice.
1164 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1166 * configure.ac: postrelease version bump.
1168 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: Prerelease version bump.
1173 * debian/changelog: update.
1174 * debian/rules: make -dbg package contain useful debugging symbols.
1176 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-dialog.h
1179 * src/hildon-dialog.c
1180 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1181 New methods to add buttons with finger size.
1182 (hildon_dialog_new_with_buttons):
1183 Create buttons with finger size.
1185 * examples/hildon-dialog-example.c (main): Use HildonDialog
1186 methods to add buttons.
1188 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-entry.c: Updated HildonButton documentation.
1192 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1194 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1195 button value label with (FALSE, FALSE) to prevent NB#88126 from
1198 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1200 * examples/hildon-pannable-area-example.c,
1201 (main): Removed examples panning a vbox inside a pannable
1202 area. Check bug NB#87965
1204 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1206 Patch contributed by Kris Rietveld (kris@imendio.com)
1208 * src/hildon-pannable-area.c,
1209 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1210 get_size and get_position, this saves an X server roundtrip.
1212 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1214 * doc/hildon-docs.sgml
1216 * examples/Makefile.am
1217 * examples/hildon-entry-example.c
1219 * src/hildon-entry.c
1220 * src/hildon-entry.h
1222 New HildonEntry widget, with example.
1224 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1226 * src/hildon-button.c (hildon_button_construct_child): Pack the
1227 image with expand == fill == FALSE. This is a workaround for a bug
1230 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1232 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1233 labels for the text column, to make it more look more dynamic.
1235 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1237 * src/hildon-time-selector.c
1238 Define gettext auxiliar macro N_
1239 (_create_minutes_model)
1240 (_create_hours_model)
1241 (_create_ampm_model): use of strftime in order to fill the model
1242 * src/hildon-date-selector.c
1243 (hildon_date_selector_finalize):
1244 (_locales_init): remove the logic related to get the name of the months
1245 using nl_langinfo, as it is not required anymore
1247 (_create_year_model)
1248 (_create_month_model)
1249 (_update_day_model): use of strftime in order to fill the model properly
1252 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-button.h
1255 * src/hildon-button.c (hildon_button_get_image): New method to
1258 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1260 * src/hildon-touch-selector.c:
1261 (hildon_touch_selector_remove_column): Remove from the correct parent
1262 and also remove the list element and free it.
1265 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1267 * src/hildon-time-selector.c
1268 (_create_hours_model): change the range on 12h ampm format in order to use
1269 a 12-11 range instead of previous 01-12 range
1270 (hildon_time_selector_set_time): change the way to select the current time
1271 on 12h ampm format, due the change on the range
1272 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1275 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * src/hildon-touch-selector.c
1278 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1279 in order to allow use this function on multiple row selection mode if
1280 the column is different that the first one
1283 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1285 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1286 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1288 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1290 * src/hildon-date-selector.h: clean some comments, now on the .c
1291 * src/hildon-date-selector.c
1292 (hildon_date_selector_select_month): first implementation
1293 (hildon_date_selector_select_day): added documentation, reimplemented
1294 using hildon_date_selector_select_current_date to avoid repeat code
1297 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1299 Reviewed interaction logic based on device experiences, refactored
1302 * src/hildon-pannable-area.c,
1303 (hildon_pannable_area_class_init): Updated default vmax speed.
1304 (hildon_pannable_area_calculate_velocity): Added this function, it
1305 avoids duplicate valocity calculation. Adjusted calculation to
1306 avoid problems with zero dist events.
1308 (hildon_pannable_area_motion_notify_cb): Now we use the
1309 calculate_velocity function.
1311 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1313 * src/hildon-date-selector.c
1314 (hildon_date_selector_select_current_date): fix the day range check
1315 as it failed using the last day of the current month
1318 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1320 * src/hildon-touch-selector.c
1321 (hildon_touch_selector_get_num_columns): added a parameter validation
1324 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1326 * examples/Makefile.am
1327 * examples/hildon-edit-toolbar-example.c: Example of the
1328 HildonEditToolbar widget.
1330 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * configure.ac: postrelease version bump.
1334 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1338 * configure.ac: prerelease version bump.
1339 * debian/changelog: update.
1341 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1344 renderer to display stock icons in the touch list. Also, set the sizes
1345 to the recommended in the style guide.
1347 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1348 * src/hildon-touch-selector.h
1349 (hildon_touch_selector_set_active_iter): renamed, now is
1350 hildon_touch_selector_select_iter
1351 (hildon_touch_selector_get_active_iter): renamed, now is
1352 hildon_touch_selector_get_selected
1353 (hildon_touch_selector_unselect_iter): added
1354 * src/hildon-touch-selector.c
1355 Update after API modification (methods renamed)
1356 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1357 order to avoid problems selecting multiple elements on the column
1358 (hildon_touch_selector_unselect_iter): added the implementation
1359 * src/hildon-time-selector.c
1360 * src/hildon-date-selector.c
1361 * src/hildon-touch-selector-entry.c
1362 Update methods calls after hildon-touch-selector.h API modification (methods
1365 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-stackable-window.c
1368 (hildon_stackable_window_finalize): Call the parent class's finalize.
1370 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1372 * examples/hildon-touch-selector-example.c: (create_selector): Use
1373 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1376 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1378 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1379 set a cell background color, to respect theming.
1381 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1383 * doc/hildon-docs.sgml
1386 * src/hildon-edit-toolbar.c
1387 * src/hildon-edit-toolbar.h
1388 * src/hildon.h: New HildonEditToolbar widget.
1390 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1392 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1395 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1396 * src/hildon-touch-selector.c
1397 (_create_new_column): use g_object_set instead of two g_object_set_property
1399 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1400 * src/hildon-touch-selector.c
1401 (_create_new_column): use of hildon_gtk_tree_view_new to create
1402 the treeview, instead of use directly g_object_new
1403 (_create_new_column): update the property name "vindicator-mode" for the
1404 new one "vscrollbar-policy"
1405 * examples/hildon-date-button-example.c
1406 * examples/hildon-picker-button-multicolumn-example.c
1407 * examples/hildon-touch-selector-entry-example.c
1408 * examples/hildon-touch-selector-example.c
1409 * examples/hildon-time-button-example.c
1410 * examples/hildon-picker-button-example.c
1411 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1412 to all the treeviews inside a pannable area.
1414 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1416 * src/hildon-button.h
1417 * src/hildon-button.c (hildon_button_init)
1418 (hildon_button_set_arrangement, hildon_button_set_alignment)
1419 (hildon_button_set_title_alignment)
1420 (hildon_button_set_value_alignment)
1421 (hildon_button_set_image_alignment)
1422 (hildon_button_construct_child): New methods to set the alignment
1423 of the individual components of the button (title, value,
1424 image). Also, new method to alter the xscale and yscale properties
1425 of the GtkAlignment inside the button, so more complex layouts can
1428 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-button.c (hildon_button_style_set)
1431 (hildon_button_class_init, hildon_button_set_arrangement)
1432 (hildon_button_construct_child): Apply style properties
1433 correctly. Use the 'image-spacing' style property too.
1435 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1438 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1441 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_size_request): Fixed problem with
1445 pannable-area size_request.
1447 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1449 Added management for the grab-focus to a child widget, like a
1450 range, we need to fade out the scrollbar when releasing.
1452 * src/hildon-pannable-area.c,
1453 (hildon_pannable_area_init): Connected the grab-focus signal to
1455 (hildon_pannable_area_grab_notify): Added this function in order
1456 to manage the situation when the grab-focus ends. We have to
1457 fade-out the scrollbar.
1459 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-app-menu.c: Minor documentation update.
1463 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-app-menu.c
1466 * examples/hildon-app-menu-example.c (create_menu): Update
1467 examples and documentation to explain how to connect callbacks.
1469 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1471 * examples/hildon-button-example.c
1472 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1473 hildon_stackable_window_new instead of gtk_window_new
1475 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1477 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1478 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1479 (hildon_pannable_area_set_property),
1480 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1481 (hildon_pannable_area_unrealize),
1482 (hildon_pannable_area_size_request),
1483 (hildon_pannable_area_size_allocate),
1484 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1485 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1486 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1487 (hildon_pannable_area_initial_effect),
1488 (hildon_pannable_area_redraw),
1489 (hildon_pannable_area_scroll_indicator_fade),
1490 (hildon_pannable_area_expose_event),
1491 (hildon_pannable_area_get_topmost), (synth_crossing),
1492 (hildon_pannable_area_button_press_cb),
1493 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1494 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1495 (hildon_pannable_area_motion_notify_cb),
1496 (hildon_pannable_area_button_release_cb),
1497 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1498 (hildon_pannable_area_remove),
1499 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1500 chage the code layout to a more GtkWidget like. Review the use of
1503 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1505 * examples/hildon-pannable-area-example-4.c,
1506 (main): Modified the name of the hindicator_mode to
1509 * src/hildon-pannable-area.c,
1510 (hildon_pannable_area_class_init),
1511 (hildon_pannable_area_motion_notify_cb),
1512 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1513 we have reduced the amount of signals and managed reviewed its
1514 rationale. Changed the default decelerate value.
1516 (hildon_pannable_area_add),
1517 (hildon_pannable_area_redraw): Refactored functions.
1519 (hildon_pannable_area_init),
1520 (hildon_pannable_area_get_property),
1521 (hildon_pannable_area_set_property):
1522 (hildon_pannable_draw_vscroll),
1523 (hildon_pannable_draw_hscroll),
1524 (hildon_pannable_area_initial_effect),
1525 (hildon_pannable_area_expose_event),
1526 (hildon_pannable_area_scroll),
1527 (hildon_pannable_area_button_press_cb),
1528 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1529 and vindicator_mode with hscrollbar_policy and
1530 vscrollbar_policy. Replaced hscroll and vscroll with
1531 hscroll_visible and vscroll_visible.
1533 (hildon_pannable_area_refresh): Refactor the function, remove
1534 variables and check the calls to this function, added resize
1535 conditions in case the children change their layout.
1537 (hildon_pannable_area_size_request): Added more detailed
1538 size_request calculation.
1541 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1543 * src/hildon-color-chooser.c
1544 (init_borders): use the correct gtk_border_free instead of g_free, to
1545 avoid a crash when this widget is used (ie: the three color selection
1548 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1550 * src/hildon-check-button.c,
1551 (hildon_check_button_set_active): Fixed problem when setting the
1552 active value, the widget was not redrawn.
1554 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1556 * src/hildon-pannable-area.c,
1557 (hildon_pannable_area_refresh),
1558 (hildon_pannable_area_scroll),
1559 (hildon_pannable_area_motion_notify_cb): Small code style change.
1561 (hildon_pannable_area_class_init): Default initial_hint set to
1562 FALSE, it is not in the specs.
1564 (hildon_pannable_area_initial_effect),
1565 (hildon_pannable_area_expose_event),
1566 (hildon_pannable_area_map),
1567 (hildon_pannable_area_init): Moved the launching point of the
1568 initial effect, it was in map but the sizes where not correct in
1569 that method so we do not know if we have the reproduce it. Now it
1570 is placed in the expose_event method and uses a variable to
1571 reproduce it just once.
1573 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1575 * src/hildon-pannable-area.c,
1576 (hildon_pannable_draw_vscroll),
1577 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1578 position allowed for the scrollbars.
1580 (hildon_pannable_area_size_allocate): Small style change.
1582 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1584 * src/hildon-pannable-area.c,
1585 (hildon_pannable_area_scroll_indicator_fade),
1586 (hildon_pannable_area_button_press_cb),
1587 (hildon_pannable_area_button_release_cb),
1588 (hildon_pannable_area_scroll_cb),
1589 (hildon_pannable_area_expose_event),
1590 (hildon_pannable_area_init): Added the define parameter
1591 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1592 and refactor the fade variable.
1594 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_redraw),
1598 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1599 lines, we were reimplemeting the redraw code.
1601 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1603 * src/hildon-pannable-area.c,
1604 (hildon_pannable_area_scroll_cb),
1605 (hildon_pannable_area_realize),
1606 (hildon_pannable_area_class_init): Added scroll_event management
1607 for pannable area, now we can scroll the usual desktop method.
1609 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1610 initialization of the parameters should depend on idle_id.
1612 (hildon_pannable_area_init),
1613 (hildon_pannable_area_map): Small code style modifications
1615 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1617 * src/hildon-pannable-area.c
1618 (hildon_pannable_area_button_press_cb),
1619 (hildon_pannable_area_motion_notify_cb),
1620 (hildon_pannable_area_button_release_cb),
1621 (hildon_pannable_area_size_allocate),
1622 (hildon_pannable_area_scroll_to): Improved the timeouts
1623 management, we avoid creating them each time.
1625 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1627 * src/hildon-pannable-area.c:
1628 (hildon_pannable_area_refresh),
1629 (hildon_pannable_area_motion_notify_cb),
1630 (hildon_pannable_area_class_init):
1631 * src/hildon-pannable-area.h:
1632 * src/hildon-touch-selector.c
1633 (_create_new_column):
1634 * examples/hildon-pannable-area-example-4.c:
1635 (horizontal_movement),
1636 (vertical_movement),
1638 Replaced the names of enums in the HildonPannableArea:
1639 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1640 HILDON_MOVEMENT_MODE_*
1641 - HILDON_PANNABLE_AREA_MOV_* ->
1643 - Removed HildonPannableAreaIndicatorMode, now we
1646 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1648 * examples/hildon-pannable-area-touch-grid-example.c
1649 * examples/hildon-pannable-area-touch-list-example.c: Fix
1650 compilation warnings.
1652 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1654 * src/hildon-gtk.c (hildon_gtk_button_new)
1655 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1656 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1657 images overriding the value of the "gtk-button-images" setting.
1659 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1661 * src/hildon-check-button.c (hildon_check_button_new):
1662 Instead of using a custom container, display the label and the
1663 checkbox using the standard GtkButton API.
1665 * examples/hildon-check-button-example.c (main): Don't use
1666 hildon_check_button_set_label() anymore
1668 * src/hildon-check-button.h
1669 * src/hildon-check-button.c
1670 (hildon_check_button_set_label, hildon_check_button_get_label):
1671 Set as deprecated, now we're using gtk_button_{get,set}_label()
1673 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1675 * src/hildon-pannable-area.c,
1676 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1677 GtkTreeview first line we detected it after the inclusion of the
1678 GtkWindowImpl in gtk+. We now check if the window is visible, not
1679 just if the pointer is over the window.
1680 (hildon_pannable_axis_scroll),
1681 (hildon_pannable_area_expose_event): Small style changes.
1683 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-button.c: Update documentation.
1687 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1689 * examples/hildon-button-example.c: Add a switch to show images in
1692 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1694 * doc/hildon-docs.sgml: Some docs reorganization.
1696 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1698 * examples/hildon-pannable-area-touch-list-example.c
1700 * examples/hildon-pannable-area-touch-grid-example.c
1701 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1702 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1703 Fix memory leak when setting the tree model.
1705 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1709 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1711 * doc/hildon.types: Remove duplicated hildon_window_get_type
1712 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1713 documentation comment.
1715 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1717 * doc/Makefile.am: Complete list of private headers.
1719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1721 * doc/hildon-docs.sgml
1722 * src/hildon-app-menu.c
1723 * src/hildon-bread-crumb.c
1724 * src/hildon-button.c
1726 * src/hildon-program.c
1727 * src/hildon-stackable-window.c
1728 * src/hildon-window.c: Lots of documentation updates.
1730 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1732 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1734 * configure.ac: Require Gtk+ 2.12.9 at least
1736 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable-area.c
1739 (hildon_pannable_area_scroll_indicator_fade),
1740 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1741 to protect the return of this timeout callbacks, avoiding deadlocks.
1743 2008-08-12 Christian Dywan <christian@imendio.com>
1746 * src/hildon-*.h: Ensure a consistent include order,
1747 include <gtk/gtk.h> instead of particular files and
1748 only include the topmost header in the gtk stack. See NB #39857
1750 2008-08-12 Christian Dywan <christian@imendio.com>
1752 * src/hildon-picker-dialog.c
1753 * src/hildon-touch-selector.c: Fix warnings about unused and
1754 uninitialized variables.
1756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1758 * examples/Makefile.am
1759 * examples/hildon-check-button-example.c: Example of the hildon
1762 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1764 * src/hildon-window.h
1765 * src/hildon-window.c (hildon_window_class_init)
1766 (hildon_window_unset_program): Don't make
1767 hildon_window_unset_program a virtual function anymore.
1769 * src/hildon-stackable-window.c: Update documentation
1771 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1774 * doc/hildon-docs.sgml
1775 * doc/visual_index.xml
1776 * src/hildon-defines.c
1778 * src/hildon-helper.c
1779 * src/hildon-range-editor.c: Lots of documentation fixes.
1781 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1783 * examples/hildon-picker-button-multicolumn-example.c
1784 (create_touch_selector): Fix compilation warning.
1786 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1788 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1789 (hildon_pannable_area_button_release_cb)
1790 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1792 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1797 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1799 * src/hildon-bread-crumb-trail.h
1800 * src/hildon-date-editor.c
1801 * src/hildon-date-selector.c
1802 * src/hildon-pannable-area.c
1803 * src/hildon-picker-dialog.c
1804 * src/hildon-time-selector.c
1805 * src/hildon-touch-selector-entry.c
1806 * src/hildon-touch-selector.c
1807 * src/hildon-touch-selector.h: Misc documentation fixes
1809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1811 * examples/hildon-date-editor-example.c (main): Updated date
1814 * examples/hildon-note-example.c (on_confirmation_clicked):
1815 Updated confirmation note example.
1817 * src/hildon-date-editor.c
1818 * src/hildon-note.c: Updated sample programs in documentation.
1821 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1823 * src/hildon-date-button.h:
1824 * src/hildon-picker-button.h:
1825 * src/hildon-time-button.c:
1826 * src/hildon-time-button.h:
1828 Some declarations changes to allow gtk-doc to document the widgets
1831 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1833 * src/hildon-date-button.c: Document the widget.
1834 * src/hildon-time-button.c: Document the widget.
1836 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1838 * src/hildon-picker-button.c: Document the widget.
1839 * src/hildon-touch-selector-entry.c: Document the widget.
1841 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1843 * doc/hildon-docs.sgml
1846 * src/hildon-check-button.h
1847 * src/hildon-check-button.c: New functions to create the Hildon
1851 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1853 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-button.h
1856 * src/hildon-button.c
1857 (hildon_button_add_title_size_group)
1858 (hildon_button_add_value_size_group)
1859 (hildon_button_add_image_size_group)
1860 (hildon_button_add_size_groups): New functions to set size groups
1861 for the button labels and image.
1862 (hildon_button_new_full): Removed
1864 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1866 * src/hildon-time-selector.c
1867 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1868 in order to avoid a crash if gconf is not available
1870 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1872 * src/hildon-button.c (hildon_button_set_arrangement)
1873 (hildon_button_construct_child): Don't construct the button child
1874 before setting the arrangement.
1876 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-program-private.h
1879 * src/hildon-program.c
1880 * src/hildon-program.h
1881 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1882 (hildon_program_peek_window_stack)
1883 (hildon_program_pop_window_stack)
1884 (hildon_program_go_to_root_window): HildonProgram now has a
1885 separate list for stackable windows. Functions are provided to
1886 manage that list with a stack-like API.
1888 * src/hildon-stackable-window.c: Stackable window management is
1889 now much simpler with the new HildonProgram API. Windows no
1890 longer need to be manually added to the program, they're
1891 automatically pushed to the top of the stack when shown.
1893 * examples/hildon-stackable-window-example.c: Updated example to
1894 reflect the API changes.
1896 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-touch-selector.c: Comment out unimplemented
1899 hildon_touch_selector_insert_column() to avoid a compile warning.
1901 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1904 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1905 (hildon_touch_selector_set_column_selection_mode),
1906 (_hildon_touch_selector_set_model),
1907 (hildon_touch_selector_set_model):
1909 Complete review of HildonTouchSelector documentation.
1911 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1913 * doc/hildon-docs.sgml
1917 * src/hildon-gtk.c: Convenience functions for standard Gtk
1918 widgets, used to easily perform frequent operations.
1920 * src/hildon-button-helpers.h
1921 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1923 * src/hildon-helper.h
1924 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1925 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1927 * src/hildon-button.h
1928 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1930 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-button.c (hildon_button_init)
1933 (hildon_button_set_arrangement, hildon_button_construct_child):
1934 Pack the image and the labels inside the same GtkAlignment so
1935 gtk_button_set_alignment() can be used
1937 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-button.h
1940 * src/hildon-button.c
1941 (hildon_button_init, hildon_button_set_image)
1942 (hildon_button_set_image_position)
1943 (hildon_button_construct_child): New functions to add an image to
1946 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-date-button.c
1949 * src/hildon-picker-button.c
1950 * src/hildon-time-button.c
1951 * src/hildon-button.c:
1952 (hildon_button_class_init): "size-flags" renamed to "size"
1953 (hildon_button_set_title): Hide the title label if set to NULL.
1955 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1957 HildonButtonFlags split into HildonButtonArrangement (to set the
1958 button layout) and HildonSizeType (which can be used for any
1961 * src/hildon-button.h
1962 * src/hildon-button.c
1963 (hildon_button_class_init)
1964 (hildon_button_set_arrangement)
1965 (hildon_button_set_property): New "size-flags"
1966 property. "arrangement-flags" renamed to "arrangement".
1967 (hildon_button_new, hildon_button_new_with_text)
1968 (hildon_button_new_full): Constructors updated to reflect type changes.
1970 * src/hildon-helper.h
1971 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1972 to set the size of a widget.
1976 * src/hildon-button-helpers.c
1977 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1979 * src/hildon-date-button.c
1980 * src/hildon-date-button.h
1981 * src/hildon-picker-button.c
1982 * src/hildon-picker-button.h
1983 * src/hildon-time-button.c
1984 * src/hildon-time-button.h: Updated widgets to reflect
1985 HildonButton API changes.
1987 * examples/hildon-button-example.c
1988 * examples/hildon-date-button-example.c
1989 * examples/hildon-picker-button-example.c
1990 * examples/hildon-picker-button-multicolumn-example.c
1991 * examples/hildon-time-button-example.c
1992 * examples/hildon-touch-selector-entry-example.c
1993 * examples/hildon-touch-selector-example.c: Updated examples to
1994 reflect HildonButton API changes.
1996 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1998 * doc/hildon-docs.sgml:
2000 * examples/Makefile.am:
2001 * examples/hildon-touch-selector-entry-example.c:
2003 * src/hildon-touch-selector-entry.c:
2004 * src/hildon-touch-selector-entry.h:
2007 Moved HildonTouchSelectorEntry from sandbox. Added its
2008 documentation and examples.
2010 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-touch-selector.h:
2013 * examples/hildon-picker-button-multicolumn-example.c:
2014 (hildon_touch_selector_append_text_column): Add a gboolean
2015 parameter to determine if text must be centered in the column.
2017 * src/hildon-date-selector.c: (hildon_date_selector_init):
2018 * src/hildon-time-selector.c: (hildon_time_selector_init):
2019 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2020 (create_touch_selector): Update widgets and example to reflect
2023 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-touch-selector.c:
2026 (hildon_touch_selector_set_active_iter): Set also the cursor in
2029 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2031 * doc/hildon-docs.sgml
2034 * src/hildon-toggle-button.c
2035 * src/hildon-toggle-button.h
2036 * src/hildon.h: Removed HildonToggleButton widget, a derived
2037 class is not necessary for this.
2039 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2041 * src/hildon-pannable-area.c,
2042 (hildon_pannable_area_realize),
2043 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2046 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2049 "done" button the default widget for the dialog.
2051 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-touch-selector.c:
2054 (hildon_touch_selector_class_init),
2055 (hildon_touch_selector_get_property),
2056 (_hildon_touch_selector_set_model),
2057 (_hildon_touch_selector_has_multiple_selection),
2058 (hildon_touch_selector_has_multiple_selection):
2059 Add a "has-multiple-selection" property with a virtual
2060 has_multiple_selection() method to allow derived classes to
2061 override the default value for it. See the method and property
2062 documentation for details.
2064 * src/hildon-touch-selector.h: Add the new API.
2066 * src/hildon-picker-dialog.c: (requires_done_button): Call
2067 hildon_touch_selector_has_multiple_selection() instead of
2068 determining the need for a button itself.
2070 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2073 (_hildon_touch_selector_set_model),
2074 (hildon_touch_selector_set_model): Move working code to
2075 _hildon_touch_selector_set_mode(). Call the class method instead.
2077 * src/hildon-touch-selector.h: Add (*set_model) to
2078 HildonTouchSelectorClass.
2080 Make hildon_touch_selector_set_model() a virtual method, so that
2081 derived classes can extend it and do fancy stuff with the model.
2083 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2085 * configure.ac: Set back the tarname in AC_INIT to hildon.
2087 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2091 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2092 instead of libesd (NB#86876). Volume handling is still an open issue.
2094 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2097 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2100 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2101 derived class to ease placement of an entry widget in
2102 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2103 end, where the selector columns are packed now.
2105 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-picker-button.c: Removed the simple _text() API.
2108 * src/hildon-picker-button.h: Likewise.
2110 * src/hildon-touch-selector.h:
2111 * src/hildon-touch-selector.c:
2112 (hildon_touch_selector_new_text),
2113 (hildon_touch_selector_append_text),
2114 (hildon_touch_selector_prepend_text),
2115 (hildon_touch_selector_insert_text):
2117 Moved the simple _text() API from HildonPickerButton to
2118 HildonTouchPicker, to provide better escalability and not to tie
2119 that API to HildonPickerButton.
2121 * examples/hildon-picker-button-example.c: (main): Example updated.
2123 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-button.c: Updated documentation.
2127 * examples/hildon-button-example.c: Add the posibility to create
2128 the buttons using horizontal layout for title and value.
2130 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-app-menu-private.h
2133 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2134 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2135 GtkSizeGroup for the filters, use the 'homogeneous' property of
2138 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2140 * examples/hildon-button-example.c: Updated example.
2142 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2144 * doc/hildon-docs.sgml:
2147 Update documentation.
2149 * examples/Makefile.am: Update renamed examples.
2151 * examples/hildon-picker-button-multicolumn-example.c:
2152 (create_touch_selector), (main): Update after the rename.
2154 * examples/hildon-touch-picker-example.c: Removed.
2155 * examples/hildon-touch-selector-example.c: (value_changed),
2156 (create_selector), (get_visible_content), (main): Renamed from
2157 hildon-touch-picker-example.c
2159 * src/Makefile.am: Updated renamed files.
2161 * src/hildon-date-button.c: (hildon_date_button_init),
2162 (hildon_date_button_get_date), (hildon_date_button_set_date):
2163 * src/hildon-date-selector.c: (hildon_date_selector_init),
2164 (_custom_print_func), (_update_day_model),
2165 (_manage_selector_change_cb),
2166 (hildon_date_selector_select_current_date),
2167 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2168 * src/hildon-date-selector.h:
2169 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2170 (hildon_picker_button_set_property),
2171 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2172 (hildon_picker_button_init), (hildon_picker_button_new_text),
2173 (hildon_picker_button_append_text),
2174 (hildon_picker_button_prepend_text),
2175 (hildon_picker_button_insert_text),
2176 (hildon_picker_button_set_selector),
2177 (hildon_picker_button_get_selector):
2178 * src/hildon-picker-button.h:
2179 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2180 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2181 (_update_title_on_selector_changed_cb), (requires_done_button),
2182 (_hildon_picker_dialog_set_selector),
2183 (hildon_picker_dialog_set_selector),
2184 (hildon_picker_dialog_get_selector):
2185 * src/hildon-picker-dialog.h:
2186 * src/hildon-time-button.c: (hildon_time_button_init),
2187 (hildon_time_button_get_time), (hildon_time_button_set_time):
2188 * src/hildon-time-selector.c: (hildon_time_selector_init),
2189 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2190 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2191 * src/hildon-time-selector.h:
2194 Massive code updates after the rename.
2196 * src/hildon-touch-picker.c: Removed.
2197 * src/hildon-touch-picker.h: Removed.
2199 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2200 (hildon_touch_selector_init), (hildon_touch_selector_map),
2201 (hildon_touch_selector_remove), (_default_print_func),
2202 (_selection_changed_cb), (_create_new_column),
2203 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2204 (hildon_touch_selector_append_text_column),
2205 (hildon_touch_selector_remove_column),
2206 (hildon_touch_selector_set_column_attributes),
2207 (hildon_touch_selector_insert_column),
2208 (hildon_touch_selector_get_num_columns),
2209 (hildon_touch_selector_get_column_selection_mode),
2210 (hildon_touch_selector_set_column_selection_mode),
2211 (hildon_touch_selector_set_print_func),
2212 (hildon_touch_selector_get_print_func),
2213 (hildon_touch_selector_get_active_iter),
2214 (hildon_touch_selector_set_active_iter),
2215 (hildon_touch_selector_get_selected_rows),
2216 (hildon_touch_selector_get_model),
2217 (hildon_touch_selector_set_model),
2218 (hildon_touch_selector_get_current_text),
2219 (_hildon_touch_selector_center_on_selected_items):
2220 * src/hildon-touch-selector.h: Renamed from
2221 hildon-touch-picker.[ch]
2223 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2224 references, code examples, and related documentation.
2226 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2228 * doc/hildon-docs.sgml
2231 * src/hildon-toggle-button.c
2232 * src/hildon-toggle-button.h
2233 * src/hildon.h: New HildonToggleButton widget.
2235 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-button.c: Add API documentation.
2238 (hildon_button_set_size_groups): Check input parameters
2240 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c
2243 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2244 effect after reaching the movement thredshold. This way we start
2245 using the distance after passing the thredshold.
2247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-button.c: (hildon_button_set_property): Use the
2250 appropriate g_value_get_flags() method.
2252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2254 * doc/hildon-docs.sgml:
2257 Add the touch pickers, picker dialogs, and picker button widgets
2258 to the documentation.
2260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-button.c: (hildon_button_set_property),
2263 (hildon_button_class_init): Make "arrangement-flags" a proper
2264 G_TYPE_FLAGS derived property.
2266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2268 * examples/Makefile.am: Add below examples.
2269 * examples/hildon-date-button-example.c:
2270 * examples/hildon-picker-button-example.c:
2271 * examples/hildon-picker-button-multicolumn-example.c:
2272 * examples/hildon-time-button-example.c:
2273 * examples/hildon-touch-picker-example.c:
2275 Add examples for the recently added touch pickers,
2276 picker dialogs, and picker button widgets.
2278 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-button.c: Add some API documentation
2282 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-button.h
2285 * src/hildon-button.c
2287 (hildon_button_new_with_text): New constructor to create a button
2288 with no text at all.
2289 (hildon_button_init, hildon_button_set_arrangement)
2290 (hildon_button_set_title, hildon_button_set_value)
2291 (hildon_button_set_text)
2292 (hildon_button_construct_child): Hide the value when it's not used
2293 so the rest of the text is properly aligned.
2294 Allow creating buttons with arbitrary widgets inside (not just
2295 title/value labels).
2297 * examples/hildon-button-example.c (vertical_buttons_window)
2298 (horizontal_buttons_window): Update example to use new API.
2300 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/Makefile.am: Added HildonTimeButton.
2303 * src/hildon-time-button.c: Added missing LGPL header.
2304 * src/hildon-time-button.h: Added missing LGPL header.
2305 * src/hildon.h: Add hildon-time-button.h
2307 Copied HildonTimeButton from sandbox to trunk. Future work on this
2308 widget must take place in trunk.
2310 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2312 * src/Makefile.am: Added HildonDateButton.
2313 * src/hildon-date-button.c: Update includes.
2314 * src/hildon.h: Add hildon-date-button.h
2316 Copied HildonDateButton from sandbox to trunk. Future work on this
2317 widget must take place in trunk.
2319 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/Makefile.am: Added HildonPickerButton.
2322 * src/hildon-picker-button.h: Update includes.
2323 * src/hildon.h: Add hildon-picker-button.h
2325 Copied HildonPickerButton from sandbox to trunk. Future work on
2326 this widget must take place in trunk.
2328 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/Makefile.am: Added HildonPickerDialog.
2331 * src/hildon-picker-dialog.c: Update includes.
2332 * src/hildon.h: Add hildon-picker-dialog.h
2334 Copied HildonPickerDialog from sandbox to trunk. Future work
2335 on this widget must take place in trunk.
2337 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2339 * src/Makefile.am: Added HildonTimeSelector.
2340 * src/hildon.h: Add hildon-time-selector.h
2342 Copied HildonTimeSelector widget from sandbox to trunk. Future
2343 work on this widget must happen in trunk.
2345 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/Makefile.am: Added HildonDateSelector.
2348 * src/hildon.h: Add hildon-date-selector.h
2350 Copied HildonDateSelector widget from sandbox to trunk. Future
2351 work on this widget must happen in trunk.
2353 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/Makefile.am: Added HildonTouchPicker.
2356 * src/hildon-touch-picker.c: Update includes.
2357 * src/hildon.h: Add hildon-touch-picker.h
2359 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2360 on this widget must happen in trunk.
2362 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-pannable-area.c:
2365 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2367 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2369 * examples/hildon-app-menu-example.c (main): Let the window
2372 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2374 * src/hildon-pannable-area.c
2375 (hildon_pannable_area_class_init): Set the min value of the
2376 overshoot properties to zero, which points out that not
2377 overshooting allowed.
2379 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2381 Modified the procedure to get the widget at a point inside the
2382 pannable area when using the movement type signals. Now the user
2383 has to call a function to get the child, that way we just
2384 calculate the child in case the user really want to use it and not
2387 * src/hildon-marshalers.list: Modified the marshallers, now we do
2388 not have the widget as a parameter.
2390 * src/hildon-pannable-area.c
2391 (hildon_pannable_area_motion_notify_cb),
2392 (hildon_pannable_area_class_init),
2393 (hildon_pannable_get_child_widget_at): Removed the widget
2394 parameter from the signal callback. We have also refactored the
2395 emission of the signals.
2397 * src/hildon-pannable-area.h: Added a new method to the API to
2398 calculate a widget at a point inside the pannable area,
2399 hildon_pannable_get_child_widget_at.
2401 * examples/hildon-pannable-area-example-4.c
2402 (horizontal_movement): Modified the example to use the new API,
2403 added condition to control which widget is under the event. This
2404 way we can avoid scrolling laterally over other widgets.
2406 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2408 * src/hildon-pannable-area.c
2409 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2410 modes, we stop getting the pointer events due to returning the
2411 callback without properly calling the get pointer again. Fixed
2412 also an error using the hscroll and vscroll.
2414 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2416 * src/hildon-app-menu-private.h
2417 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2418 (hildon_app_menu_button_release, hildon_app_menu_init)
2419 (hildon_app_menu_class_init): Don't hide the menu on button
2420 release if the user didn't press outside first.
2422 * src/hildon-window.h
2423 * src/hildon-window.c (hildon_window_toggle_menu)
2424 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2425 hildon_window_toggle_menu a virtual function for the stackable
2426 window to override it.
2428 * src/hildon-stackable-window.h
2429 * src/hildon-stackable-window-private.h
2430 * src/hildon-stackable-window.c
2431 (hildon_stackable_window_realize)
2432 (hildon_stackable_window_finalize)
2433 (hildon_stackable_window_class_init)
2434 (hildon_stackable_window_init)
2435 (hildon_stackable_window_set_main_menu): New function to set the
2436 app menu of a HildonStackableWindow.
2438 * examples/hildon-app-menu-example.c: Remove the button to show
2439 the app menu, now it'll be shown when clicking on the title bar
2442 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2445 set the widget name if the arrangement flags do not specify
2448 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-button.c: (hildon_button_set_property),
2451 (hildon_button_class_init), (hildon_button_new_full),
2452 (hildon_button_set_arrangement): Added "arrangement-flags"
2455 Make the HildonButtonFlags a construction-only property, to allow
2456 subclasses to set them properly.
2458 2008-07-21 Tim Janik <timj@imendio.com>
2460 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2461 insertion position after backspace, so additional digits are appended,
2464 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c,
2467 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2468 TODO list, it was complete and removed the g_debug and g_print
2471 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2473 Added the movement modes to the hildon-pannable-area, with this
2474 modes the developers can control in which directions the widget
2475 can scroll. They can also connect to signals in order to do
2476 something when that happens, allowing applications scroll. There
2477 is an example uploaded showing how to use it.
2479 * examples/Makefile.am:
2480 * examples/hildon-pannable-area-example-4.c: Added this example of
2481 an application using the modes.
2483 * src/hildon-marshalers.list: Added a new marshaller for the new
2486 * src/hildon-pannable-area.h: Added new enumerations and flags in
2487 order to control the movement modes and the new signals to warn
2488 about the movements in the area.
2490 * src/hildon-pannable-area.c:
2491 (hildon_pannable_axis_scroll),
2492 (hildon_pannable_area_scroll),
2493 (hildon_pannable_area_motion_notify_cb),
2494 (hildon_pannable_area_get_property),
2495 (hildon_pannable_area_set_property),
2496 (hildon_pannable_area_map),
2497 (hildon_pannable_area_class_init),
2498 (hildon_pannable_area_init),
2499 (hildon_pannable_area_jump_to): Added the modes to control the
2500 movement in the widget. We have added properties to control it,
2501 signals to warn about the movements and refactored some code.
2503 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2505 Changes required in order to allow vfast_factor set to zero to
2508 * src/hildon-pannable-area.c:
2509 (hildon_pannable_area_button_press_cb): Changed the condition, it
2510 is required for not allowing click when vfast_factor is zero.
2511 (hildon_pannable_area_timeout): Initialized velocity variables
2512 when we stop moving, it was less than 1 but not zero and we need
2513 to check zero in some situations.
2514 (hildon_pannable_area_class_init): Changed the default value of
2515 the speed factor, now the button_press is just sent in case the
2516 speed is 2 per cent of the max speed.
2517 (hildon_pannable_area_init): Initialization with 0.
2519 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2521 * src/hildon-pannable-area.c,
2522 (hildon_pannable_area_get_topmost): replaced
2523 gdk_window_get_children with gdk_window_peek_children, this way we
2524 do not have to free the list because it is not a copy.
2526 (hildon_pannable_axis_scroll),
2527 (hildon_pannable_area_scroll),
2528 (hildon_pannable_area_timeout),
2529 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2530 two parameters that were only used inside the
2531 hildon_pannable_area_scroll function.
2533 * examples/hildon-pannable-area-example.c,
2534 (get_sawtooth_label): Fixed small memory leak.
2536 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2538 More checks for the case where the overshoot is bigger than the
2541 * src/hildon-pannable-area.c:
2542 (hildon_pannable_draw_vscroll),
2543 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2544 to draw the slider of the scrollbar under the other scrollbar.
2545 (hildon_pannable_area_expose_event): added new checks to control
2546 the drawing of the overshooting area rectangle, in case it is too
2547 big for the area of the widget.
2548 (hildon_pannable_area_size_allocate): add more checks to avoid
2549 setting a position to the child widget outside the area.
2551 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2553 * src/hildon-pannable-area.c
2554 (hildon_pannable_area_size_allocate): Added conditions to control
2555 when overshooting is bigger than the allocated space for the
2556 children, this avoids negative allocations.
2558 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2560 * doc/hildon-docs.sgml
2562 * examples/Makefile.am
2563 * examples/hildon-button-example.c
2565 * src/hildon-button.c
2566 * src/hildon-button.h
2567 * src/hildon.h: Initial version of the new HildonButton widget,
2570 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2572 * src/hildon-pannable-area.c:
2573 (hildon_pannable_area_button_press_cb),
2574 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2575 (hildon_pannable_area_motion_notify_cb),
2576 (hildon_pannable_area_button_release_cb),
2577 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2578 (hildon_pannable_area_jump_to_child):
2580 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2582 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2584 * examples/Makefile.am
2585 * examples/hildon-pannable-area-touch-grid-example.c
2586 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2587 the Hildon Touch List and Hildon Touch Grid using the
2588 HildonPannableArea widget.
2590 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2592 * src/hildon-pannable-area.c,
2593 (hildon_pannable_area_button_press_cb),
2594 (hildon_pannable_area_refresh),
2595 (hildon_pannable_area_scroll),
2596 (hildon_pannable_area_motion_notify_cb),
2597 (hildon_pannable_area_button_release_cb),
2598 (hildon_pannable_area_expose_event),
2599 (hildon_pannable_area_add),
2600 (hildon_pannable_area_remove),
2601 (hildon_pannable_area_realize),
2602 (hildon_pannable_area_size_allocate),
2603 (hildon_pannable_area_class_init),
2604 (hildon_pannable_area_init),
2605 (hildon_pannable_area_scroll_to_child),
2606 (hildon_pannable_area_jump_to_child): Fixed the problem of
2607 removing the child from the GtkBin, we have rearranged the widget
2608 hierarchy, now there is no GtkAlignment which was not doing
2609 anything interesting but breaking some of the assumptions of
2610 GtkContainer. Now developers if they want to add a GtkAlignment
2611 they could, but it is not inside the area.
2613 We had to review the whole allocation/expose process, now it is
2614 improved and we save at least three signals which would be saving
2615 some time when rendering the widget. The allocation of the
2616 scrollbars is now made in the allocate method as usual.
2618 We have also added some conditions in order to control when there
2619 is no child of the pannable area. Maybe we will need more work
2622 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2624 * src/hildon-pannable-area.c,
2625 (hildon_pannable_area_dispose): Released the fade-out timeout when
2626 disposing the widget.
2628 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2630 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2631 zero, we are going to use that property in order to deactivate the
2633 (hildon_pannable_axis_scroll),
2634 (hildon_pannable_area_size_allocate): Added conditions to control
2635 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2636 call, now it is called in all situations and we can remove calls
2637 in the allocate method.
2638 (hildon_pannable_area_map): Control the situation when
2639 overshoot_max is zero, we do not need the timeout.
2640 (hildon_pannable_area_class_init): Added documentation in order to
2641 point out that setting zero to overshoot_max means deactivate
2644 NOTE: removed trailing whitespaces from my previous comments of
2647 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-pannable-area.c
2650 (hildon_pannable_area_get_property),
2651 (hildon_pannable_area_set_property),
2652 (hildon_pannable_area_map),
2653 (hildon_pannable_area_class_init),
2654 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2655 to cause the widget give a hint about its panning abilities upon
2658 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-pannable-area.c: Several documentation improvements.
2662 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-program.c
2665 * src/hildon-stackable-window.c: Update documentation.
2667 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2669 * src/hildon-stackable-window.c (get_previous_window_if_last):
2670 Renamed get_last_window()
2671 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2672 (hildon_stackable_window_unset_program):
2674 (get_previous_window_if_last):
2675 Detect if the window hasn't been added to a HildonProgram.
2677 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2679 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2681 * src/hildon-pannable-area.c
2682 (hildon_pannable_area_button_press_cb),
2683 (hildon_pannable_axis_scroll),
2684 (hildon_pannable_area_scroll),
2685 (hildon_pannable_area_timeout),
2686 (hildon_pannable_calculate_vel_factor),
2687 (hildon_pannable_area_get_property),
2688 (hildon_pannable_area_set_property),
2689 (hildon_pannable_area_class_init),
2690 (hildon_pannable_area_init),
2691 (hildon_pannable_area_scroll_to),
2692 (hildon_pannable_area_jump_to),
2693 (hildon_pannable_area_scroll_to_child),
2694 (hildon_pannable_area_jump_to_child):
2695 * src/hildon-pannable-area.h: Added the new API functions:
2696 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2697 hildon_pannable_area_scroll_to_child,
2698 hildon_pannable_area_jump_to_child
2701 * examples/Makefile.am
2702 * examples/hildon-pannable-area-example-2.c
2703 * examples/hildon-pannable-area-example-3.c: Added these two new
2704 examples in order to test and show how the new APIs work.
2706 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2708 * examples/hildon-stackable-window-example.c (new_window):
2709 * src/Makefile.am (noinst_HEADERS):
2710 * src/hildon-program.c (hildon_program_go_to_root_window):
2711 * src/hildon-program.h:
2712 * src/hildon-stackable-window-private.h:
2713 * src/hildon-stackable-window.c:
2714 * src/hildon-stackable-window.h:
2715 Create hildon-stackable-window-private.h
2716 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2718 * examples/hildon-app-menu-example.c (create_menu):
2719 * examples/hildon-hvolumebar-insensitive-example.c (main):
2720 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2721 * examples/hildon-toolbar-seekbar-example.c (main):
2722 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2723 * src/hildon-banner.c (hildon_banner_set_property):
2724 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2725 Fix compilation warnings
2727 * src/hildon-window.c:
2730 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-stackable-window.c
2733 (hildon_stackable_window_unset_program):
2734 Calculate correctly whether to show the previous window if the
2735 last one is removed from the stack.
2736 (hildon_stackable_window_go_to_root_window):
2737 Send delete events starting from the topmost window.
2738 Stop if one of the windows is not destroyed.
2740 (hildon_stackable_window_delete_event)
2741 (hildon_stackable_window_class_init):
2742 Ignore the delete event if the window is not the topmost one.
2744 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2746 * src/hildon-pannable-area.c
2747 (hildon_pannable_area_expose_event): Fixed a problem when
2748 selecting the background color of the scrollbars.
2750 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2752 * examples/hildon-stackable-window-example.c
2753 * src/hildon-stackable-window.c
2754 * src/hildon-stackable-window.h
2755 hildon_stackable_window_go_home() renamed to
2756 hildon_stackable_window_go_to_root_window()
2757 Send delete events to windows rather than closing them with
2758 gtk_widget_destroy()
2760 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2762 * src/hildon-pannable-area.c
2763 (hildon_pannable_area_button_release_cb): Fix overshooting in
2766 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-pannable-area.c
2769 (hildon_pannable_area_init): Initially show the scroll indicators.
2770 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2772 Add initial effect showing the widget is pannable.
2774 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-pannable-area.c
2777 (hildon_pannable_area_class_init)
2778 (hildon_pannable_area_set_property)
2779 (hildon_pannable_area_get_property)
2780 (hildon_pannable_area_button_press_cb):
2781 New 'velocity_fast_factor' property to decide which velocity is
2784 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-pannable-area.c
2787 (hildon_pannable_draw_hscroll)
2788 (hildon_pannable_draw_vscroll):
2789 Use float variables to calculate the size of the scrollbars to
2790 avoid error propagation and resizing during scrolling.
2792 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-pannable-area.c
2795 (hildon_pannable_draw_vscroll)
2796 (hildon_pannable_draw_hscroll):
2797 Define a minimum size for the scroll bars
2799 * src/hildon-stackable-window.c
2800 (hildon_stackable_window_go_home): Fix compilation warning
2801 (get_last_window): Minor optimizations
2802 (hildon_stackable_window_class_init): Fix initialization of
2805 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-stackable-window.c: Fixed typos in doc
2809 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-pannable-area.c
2812 (hildon_pannable_area_scroll):
2813 Calculate here whether we need to scroll instead of using the booleans
2814 that tell us whether to /draw/ the scrolling bars.
2816 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-app-menu.h
2820 * src/hildon-app-menu.c
2821 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2822 multiple filter groups related code and API. Now we support only
2824 * examples/hildon-app-menu-example.c:
2826 Update to reflect API changes.
2828 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2830 * src/hildon-stackable-window.c
2831 (hildon_stackable_window_class_init):
2832 Add hildon_stackable_window_realize.
2833 (hildon_stackable_window_realize):
2834 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2835 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2836 to apply theming and behavior specific to HildonStackableWindow
2839 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-note.c (hildon_note_button_release):
2842 Close information notes also when tapping on them
2844 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2846 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2847 ELASTICITY, refactor and review, fix some issues with drawing
2850 * src/hildon-pannable-area.c:
2851 (hildon_pannable_area_button_press_cb): removed the conditions to
2852 avoid clicks when overshooting. It is not required
2854 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2855 define. Refatored and reviewed the code, now we do not need to
2856 manage velocity in motion_notify.
2858 (hildon_pannable_area_motion_notify_cb): We have moved the code
2859 that controls the area_scroll to the axis_scroll function and get
2860 rid of duplicated code.
2862 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2864 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2866 (hildon_pannable_draw_vscroll),
2867 (hildon_pannable_draw_hscroll): Fixed the problems with the
2868 scrollbar drawing, now we do not use two surfaces, it is easier
2869 and saves resources.
2871 (hildon_pannable_area_get_property): Style modification.
2873 (hildon_pannable_area_class_init): Changed some default values.
2875 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-stackable-window.c: Fix some typos in the
2880 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2882 * src/hildon-dialog.c:
2883 Change indentation style
2886 (hildon_note_button_release):
2887 Use root coordinates to check if the release event happened
2890 * src/hildon-app-menu.c
2891 (hildon_app_menu_button_release):
2892 Remove unnecessary check
2894 * examples/hildon-app-menu-example.c
2896 Add cast to fix warning
2898 * src/hildon-app-menu.c
2899 (hildon_app_menu_class_init):
2900 New inner-border style property.
2901 Set all default spacings to 16
2902 (hildon_app_menu_init):
2903 Use vertical-spacing to set the space between filter buttons and
2904 regular menu buttons.
2905 Set the default container border using the inner-border value.
2907 * examples/hildon-app-menu-example.c
2909 Don't set the menu border explicitly, now we have the inner-border
2910 style property for that.
2912 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-app-menu.c (hildon_app_menu_init):
2915 Make the window modal
2917 * src/hildon-note.c (hildon_note_map)
2918 * src/hildon-app-menu.c (hildon_app_menu_map):
2919 Destroy the grab window if we're unable to grab the pointer
2921 * src/hildon-app-menu-private.h
2922 * src/hildon-app-menu.c
2923 (hildon_app_menu_init, hildon_app_menu_finalize)
2924 (hildon_app_menu_map, hildon_app_menu_unmap)
2925 (hildon_app_menu_button_release)
2926 (grab_transfer_window_get):
2927 Bring back the grab window
2928 (hildon_app_menu_realize):
2929 Decorate the window, set WM hint for Matchbox
2931 * src/hildon-note.c (hildon_note_realize):
2932 * src/hildon-banner.c (hildon_banner_realize):
2933 Add WM hints for Matchbox
2935 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-app-menu-private.h
2938 * src/hildon-app-menu.c
2939 (hildon_app_menu_init, hildon_app_menu_finalize)
2940 (hildon_app_menu_map, hildon_app_menu_unmap)
2941 (hildon_app_menu_button_release):
2942 Remove the grab window, it's not needed anymore
2944 * src/hildon-program.c
2945 Fixed typo in documentation
2947 * src/hildon-app-menu.h
2948 * src/hildon-app-menu.c
2949 * examples/hildon-app-menu-example.c
2950 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2952 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2955 Added new transfer_window and close_if_pressed_outside private
2957 (hildon_note_rebuild):
2958 Don't add a cancel button to the information note. It will be
2959 closed when tapping outside
2960 Remove the comment about the OK button in the documentation
2961 (hildon_note_realize):
2962 Set the notification type hint
2963 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2964 Grab/ungrab pointer and keyboard if the note has to be closed when
2966 (hildon_note_button_release):
2967 Close the note when tapping outside (if applicable)
2969 * src/hildon-app-menu.c
2970 Grab/ungrab pointer and keyboard on map/unmap
2971 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2972 Close the menu on button release, not button press
2974 * src/hildon-banner.c
2975 (hildon_banner_set_property)
2976 (hildon_banner_check_position):
2977 Make the banner use the full width of the screen
2978 (hildon_banner_show_information)
2979 (hildon_banner_show_information_with_markup):
2980 Don't display an icon by default
2982 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2984 Added fading scrollbars and adapted all the overshooting code to
2985 horizontal scrolling. We have also fixed bugs with overshooting
2986 and current fading implementation.
2988 * src/hildon-pannable-area.c
2989 (hildon_pannable_area_scroll_indicator_fade): Time out function
2990 used to change the transparency of the scrollbars.
2992 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2993 control and fixed a problem with fading, we now remove the fade
2994 timeout before adding a new one.
2996 (hildon_pannable_axis_scroll):
2997 (hildon_pannable_area_scroll):
2998 (hildon_pannable_area_timeout): Added this functions so we can use
2999 the scroll code both for vertical and horizontal.
3001 (hildon_pannable_area_motion_notify_cb):
3002 (hildon_pannable_area_button_release_cb): Added the horizontal
3003 scrolling control, fixed a problem with the overshooting timeout.
3005 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3006 painting of the scrolls.
3008 (hildon_pannable_draw_vscroll):
3009 (hildon_pannable_draw_hscroll):
3010 (hildon_pannable_area_expose_event):
3011 Draw both scrollbars and rectangles in the overshooting area.
3013 (hildon_pannable_area_get_property):
3014 (hildon_pannable_area_set_property):
3015 Modified the overshoot property to overshoot_max
3017 (hildon_pannable_area_map):
3018 Replaced the comments symbols.
3020 (hildon_pannable_area_size_allocate):
3021 (hildon_pannable_area_class_init):
3022 (hildon_pannable_area_init): Added horizontal scroll, fading
3023 effect properties, fixed a problem when overshooting in the bottom
3026 * examples/hildon-pannable-area-example.c:
3027 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3028 looks better in the example.
3030 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-window.c
3033 * src/hildon-window.h
3034 (hildon_window_class_init)
3035 (hildon_window_unset_program)
3036 (hildon_window_unset_program_real):
3037 Make unset_program a virtual function
3039 * src/hildon-stackable-window.c
3040 * src/hildon-stackable-window.h
3041 Added hildon_stackable_window_go_home()
3043 * examples/Makefile.am
3044 * examples/hildon-stackable-window-example.c
3045 HildonStackableWindow example
3047 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3049 * hildon-pannable-area.c: Added the overshoot property and removed
3050 the OVERSHOOT define. Fixed an indent style error.
3051 (hildon_pannable_area_motion_notify_cb):
3052 (hildon_pannable_area_get_property):
3053 (hildon_pannable_area_set_property): Add overshoot property.
3055 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3058 (hildon_pannable_area_class_init): Installed the new property.
3060 * hildon-pannable-area-example.c: Added a sawtooth function, this
3061 way it is easier to check the movement in the pannable.
3062 (get_sawtooth_label): Added this function.
3063 (main): Now we get the labels from the new get_sawtooth_label
3066 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-app-menu.h
3069 * src/hildon-app-menu.c
3070 Renamed API variables for consistency
3072 (hildon_app_menu_popup): Use also the default window size to
3073 decide where to place the menu
3075 (hildon_app_menu_init, hildon_app_menu_class_init): New
3076 external-border style property
3078 2008-05-26 Michael Natterer <mitch@imendio.com>
3080 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3081 widget_class->tap_and_hold_setup signal slot doesn't exist any
3082 longer, stop overriding it.
3084 (hildon_time_editor_init): g_signal_connect() to the
3085 tap-and-hold-setup signal instead.
3087 (hildon_time_editor_entry_keypress): add cast to fix warning.
3089 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3091 * doc/hildon-docs.sgml
3093 * examples/Makefile.am
3094 * examples/hildon-app-menu-example.c
3096 * src/hildon-app-menu-private.h
3097 * src/hildon-app-menu.c
3098 * src/hildon-app-menu.h
3100 New HildonAppMenu widget
3102 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3104 Rearranged the inheritance of the pannable area, now it inherits
3105 from GtkBin. This will allow us to control the event_window and
3106 the allocation process of the widget, required for some effects.
3108 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3109 GtkBin structures. * src/hildon-pannable-area.c: Added the
3110 event_window variable.
3111 (hildon_pannable_area_button_press_cb):
3112 (hildon_pannable_area_button_release_cb):
3113 (hildon_pannable_area_motion_notify_cb):
3114 Changed the signature of the method, now we override the event
3115 callback instead of connecting to the signal.
3117 (hildon_pannable_area_realize):
3118 (hildon_pannable_area_unrealize):
3119 (hildon_pannable_area_map):
3120 (hildon_pannable_area_unmap):
3121 (hildon_pannable_area_size_allocate):
3122 Added functions to control the widget construction. We add a
3123 INPUT_ONLY window and we put it over the widgets inside the
3124 container, this event_window handles the events.
3126 (hildon_pannable_area_class_init):
3127 Replaced the signal connections with overrides of the event
3130 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3132 Bouncing effect added when touching the borders, you can change
3133 the elasticity of the border changing the ELASTICITY define.
3135 * src/hildon-pannable-area.c: Added ELASTICITY define.
3136 (hildon_pannable_area_timeout): Added inverse velocity when
3137 touching the border of the child widget, that causes a bounce.
3139 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3141 Improved performance, we now do not go to the X server in order to
3142 get the list of window children. Apparently the effect is the
3143 same, we have to be careful and check if this breaks something in
3146 * src/hildon-pannable-area.c:
3147 (get_ordered_children): Removed this function.
3148 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3149 the children windows function with gdk_window_get_children.
3151 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-pannable-area.c:
3154 (hildon_pannable_area_dispose): Fixed a crash when closing the
3155 window and kinetics is activated.
3157 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-pannable-area.h
3160 * src/hildon-pannable-area.c
3161 Changed indentation style to meet the one used in Hildon
3163 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3165 Reviewed the interaction of the AUTO mode, now we use the time
3166 attribute of the events and calculate the velocity in the motion,
3167 doing a gimp like calculation. The velocity is calculated in each
3168 motion event using the last velocity and the current one, the
3169 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3171 * src/hildon-pannable-area.c: Replaced the time based algorithm
3173 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3174 timeout for the AUTO mode when we are still moving the cursor. We
3175 added also the velocity calculation in this function.
3176 (hildon_pannable_area_button_release_cb): launch the timeout in
3177 case we are in AUTO mode. There are still some constants here that
3178 come from the old implementation that should be reviewed and
3181 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3183 * doc/hildon-docs.sgml
3186 * src/hildon-stackable-window.c
3187 * src/hildon-stackable-window.h
3189 New HildonStackableWindow widget
3191 * examples/hildon-dialog-example.c
3192 * examples/hildon-pannable-area-example.c
3195 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-dialog.c
3198 (hildon_dialog_new_with_buttons): New constructor.
3200 * examples/hildon-dialog-example.c
3201 (main): Update the example to use the new
3202 hildon_dialog_new_with_buttons().
3204 * examples/hildon-pannable-area-example.c
3205 (main): Update example.
3207 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3209 * doc/hildon-docs.sgml
3211 Added HildonPannableArea to the documentation.
3213 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3215 * doc/visual_index.xml
3216 Fix reference to HildonLoginDialog in documentation
3218 * doc/hildon-docs.sgml
3220 * examples/Makefile.am
3221 * examples/hildon-dialog-example.c
3223 * src/hildon-dialog.c
3224 * src/hildon-dialog.h
3226 New HildonDialog widget.
3228 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-pannable-area.c
3231 Merge latest changes (r4318, r4342) from libmokoui trunk
3233 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3235 * examples/Makefile.am
3236 * examples/hildon-pannable-area-example.c
3238 * src/hildon-pannable-area.c
3239 * src/hildon-pannable-area.h
3241 New HildonPannableArea widget.
3243 2008-04-15 18:05:19 <timj@imendio.com>
3245 * src/hildon-banner.c: revert the recent change, that introduced
3246 gtk_window_present() calls. this reopens:
3247 Bug 78481 - [freetest] information banners are hidden under browser menu
3248 But resolves another variant of:
3249 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3251 2008-04-15 13:21:13 <timj@imendio.com>
3253 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3254 recreated its layout, spotted by Kris. this fixes all remaining
3255 artefacts and stability issues with the banner code. in particular:
3256 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3258 2008-04-14 16:52:59 <timj@imendio.com>
3260 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3261 operating on unrealized widgets, fixes:
3262 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3264 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3266 2008-04-09 Kristian Rietveld <kris@imendio.com>
3268 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3269 makes banner disappear.
3270 Fixes: NB#79182: info banner flickering with certain message lengts.
3272 * src/hildon-banner.c (hildon_banner_constructor),
3273 (hildon_banner_init), (hildon_banner_set_text),
3274 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3275 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3276 FALSE, reset size requests of label and banner,
3277 (force_to_wrap_truncated): when the text is too wide, always enforce
3278 the maximum possible width instead of recalculating it from the
3279 layout; enforce the maximum banner height of 3 lines,
3280 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3281 nicer wrapping and no truncated chars if space gets tight.
3283 * src/hildon-banner-private.h: add has_been_wrapped and
3284 has_been_truncated fields.
3286 2008-04-07 Sven Herzberg <sven@imendio.com>
3288 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3289 local values in hildon_date_editor_size_allocate
3291 * src/hildon-date-editor.c: moved the real allocation code into the
3294 2008-04-07 Sven Herzberg <sven@imendio.com>
3296 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3297 local values in hildon_date_editor_size_allocate
3299 * src/hildon-date-editor.c: merged the two if() branches together
3301 2008-04-07 Sven Herzberg <sven@imendio.com>
3303 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3304 local values in hildon_date_editor_size_allocate
3306 * src/hildon-date-editor.c: changed the arguments of the if()
3309 2008-04-07 Sven Herzberg <sven@imendio.com>
3311 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3312 local values in hildon_date_editor_size_allocate
3314 * src/hildon-date-editor.c: split the calculation of the allocation
3315 from the real allocation
3317 2008-03-27 Michael Natterer <mitch@imendio.com>
3319 Fixes: NB#81696: The passcode is not overwritten even after
3322 * src/hildon-code-dialog.c
3323 (hildon_code_dialog_button_clicked)
3324 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3325 because that doesn't overwrite selected text. Instead, emit the
3326 "commit" signal on the entry's im_context so the entry's normal
3327 insert logic is triggered. Set the cursor to the end of the entry
3328 after each insert operation so that we *only* insert in the middle
3329 of the text if something was selected.
3331 2008-03-27 Michael Natterer <mitch@imendio.com>
3333 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3334 selector cannot be opened
3336 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3337 when the popup color selector is created. Please connect to this
3338 signal in order to set the dialog's help ID.
3340 2008-03-25 Sven Herzberg <sven@imendio.com>
3342 Fixes: MB#1212: Hide info banners (infoprints) on click
3344 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3345 extracted the close event simulation into an extra function
3346 (hildon_banner_button_press_event): simulate a close event and destroy
3347 the widget if the event wasn't handled
3348 (hildon_banner_class_init): added the button_press_event handler
3349 (hildon_banner_init): added button-press events to the widget
3351 2008-03-25 Sven Herzberg <sven@imendio.com>
3353 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3354 Patch from: Mohammad Anwari <mdamt@maemo.org>
3356 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3357 instead of the right in RTL mode
3358 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3359 breadcrumb button list in RTL mode
3360 * src/hildon-caption.c: mirror the appearance of the caption widget in
3362 * src/hildon-date-editor.c: mirror appearance of the date editor in
3364 * src/hildon-time-editor.c: mirror appearance of the time editor in
3366 * src/hildon-window.c: fix the position of the popup in RTL mode
3368 2008-03-25 Sven Herzberg <sven@imendio.com>
3370 Amendment to the fix of NB#22072. Fix compilation.
3372 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3374 2008-03-19 Sven Herzberg <sven@imendio.com>
3376 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3379 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3380 timeout id properly when the timeout will disappear this leaves no
3381 artifacts around in the destroy(); there will only be the timeout
3382 created by hildon_banner_ensure_timeout() and adding a new timeout
3383 will also work if the timeout gets removed because the timeout_handler
3386 2008-03-19 Michael Natterer <mitch@imendio.com>
3388 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3390 * src/hildon-volumebar.c
3391 * src/hildon-vvolumebar.c
3392 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3393 the widget becomes focussable at all.
3395 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3396 set the focus to wither the mute button or the volumebar.
3398 Remove own "can-focus" property and instead listen to
3399 notify::can-focus in order to update the widget's state.
3401 Implement GtkWidget::focus() and make sure we can also *leave* the
3402 widget, not only enter it, depending on volumebar orientation and
3403 requested focus direction.
3405 Clean up set_mute() to cooperate nicely with all the above.
3407 2008-03-04 Michael Natterer <mitch@imendio.com>
3409 Fixes: NB#78481: information banners are hidden under browser menu
3411 * src/hildon-banner.c: call gtk_window_present() on the banners so
3412 they are risen if they are already visible.
3414 2008-03-03 Sven Herzberg <sven@imendio.com>
3416 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3418 * examples/hildon-window-menu-example.c: (main): extended the window
3419 menu example to serve as a testcase for automatically added
3420 accelerator groups, too
3421 * src/hildon-window.c: (hildon_window_add_accel_group),
3422 (hildon_window_set_menu): added patch by Tommi Komulainen
3424 2008-03-03 Sven Herzberg <sven@imendio.com>
3426 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3428 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3429 knowledge about the border allocators used within GTK+
3431 2008-02-26 Sven Herzberg <sven@imendio.com>
3433 Fixes: MB#2981: Build with asserts broken
3435 * src/hildon-date-editor.c,
3436 * src/hildon-number-editor.c,
3437 * src/hildon-time-editor.c,
3438 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3439 the proper GType instance check
3441 2008-02-25 Sven Herzberg <sven@imendio.com>
3443 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3445 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3446 * examples/hildon-window-menu-example.c: (main): explicitly show
3448 * src/hildon-window.c:
3449 (hildon_window_set_main_menu): moved most of the code from set_menu()
3450 to this place; skipped the call to gtk_widget_show_all(); also didn't
3451 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3452 (hildon_window_set_menu): removed most of the code, just keep the
3453 questionable gtk_widget_show_all()
3454 * src/hildon-window.h: added the new function and deprecate the old
3457 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3463 * debian/changelog: Updating.
3465 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3468 * pkgconfig/Makefile.am:
3469 * pkgconfig/hildon.pc.in:
3472 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3473 use newly created API_MAJOR_VERSION.
3475 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3481 * debian/changelog: Updating.
3483 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3485 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3487 Add outer_border style property, we use it but don't define it (!).
3491 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3493 * examples/hildon-bread-crumb-trail-example.c (main):
3497 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3499 Fix logic for the bread crumb trail node removal.
3503 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3509 * debian/changelog: Updating.
3511 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3513 Patch by Alejandro to get/set passwords dialogs accesibility.
3515 * hildon-1/src/hildon-get-password-dialog.c:
3516 * hildon-1/src/hildon-set-password-dialog.c:
3517 Set atk_set_name to the passwd entries in order to allow
3518 accessibility by name on this entries.
3520 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3525 * debian/control: Updating gtk dep.
3527 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3529 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3530 USE_MAEMO_GTK is enabled.
3532 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3534 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3535 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3537 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3543 * debian/changelog: Updating.
3545 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3547 * examples/Makefile.am:
3548 * examples/hildon-logical-color-example.c:
3549 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3550 applied + adding a test case. Fixes: NB#71660.
3552 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3554 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3555 to be visible, fixes warning on map for windows without toolbars.
3557 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3559 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3560 2.11.0, add a check for that besides the MAEMO_GTK check.
3562 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3568 * debian/changelog: Updating.
3570 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3572 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3573 visibility. Fixes: NB#70842 and MB#615.
3575 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3577 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3578 set the separator as no-show-all so it doesn't unintentionally appear when
3579 someone does a show_all.
3581 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3583 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3584 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3585 toplevel item. Fixes: NB#62031
3587 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3589 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3590 fix the name of the function in the docs.
3592 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3598 * debian/changelog: Updating.
3600 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3602 * examples/hildon-banner-long-example.c: Adding a test-case for long
3605 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3607 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3609 * src/hildon-color-chooser-dialog.c:
3610 * src/hildon-color-chooser.c:
3611 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3612 memory leaks in font selector and color selector. Fixes: NB#70499 and
3615 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3617 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3619 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3621 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3622 little bit bigger. Fixes: #NB63694.
3624 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3630 * debian/changelog: Updating.
3632 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3635 * doc/hildon-docs.sgml:
3636 * doc/images/bread-crumb-trail.png:
3637 * doc/images/calendar-popup.png:
3638 * doc/images/caption.png:
3639 * doc/images/code-dialog.png:
3640 * doc/images/color-button.png:
3641 * doc/images/color-chooser-dialog.png:
3642 * doc/images/color-chooser.png:
3643 * doc/images/controlbar.png:
3644 * doc/images/date-editor.png:
3645 * doc/images/font-selection-dialog.png:
3646 * doc/images/get-password-dialog.png:
3647 * doc/images/hvolumebar.png:
3648 * doc/images/login-dialog.png:
3649 * doc/images/note.png:
3650 * doc/images/number-editor.png:
3651 * doc/images/range-editor.png:
3652 * doc/images/seekbar.png:
3653 * doc/images/set-password-dialog.png:
3654 * doc/images/sort-dialog.png:
3655 * doc/images/time-editor.png:
3656 * doc/images/time-picker.png:
3657 * doc/images/vvolumebar.png:
3658 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3659 Adding the bread-crumb-trial and helpers to the documentation.
3661 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3663 * examples/hildon-find-toolbar-example.c:
3664 * src/hildon-find-toolbar.c:
3665 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3666 actually continue firing the other handlers if connected. Adding a new
3668 hildon_find_toolbar_get_last_index that gets the index of the most
3669 recently added (last) item. Fixes: NB#52301.
3671 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3673 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3674 behaviour. Fixes: NB#68610.
3676 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3678 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3681 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3683 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3684 when realizing the banner. Should make the infonbanner effect a bit more
3687 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3689 * src/hildon-volumebar.c:
3690 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3691 hildon_volumebar_set_range_insensitive_message and
3692 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3694 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3696 * src/hildon-window.c: Fixing the border freeing on destroy.
3698 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3700 * src/hildon-code-dialog-private.h:
3701 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3702 kw keyboard support in HildonCodeDialog.
3704 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3710 * debian/changelog: Updating.
3712 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3714 * src/hildon-date-editor.c:
3715 * src/hildon-number-editor.c:
3716 * src/hildon-private.c:
3717 * src/hildon-private.h:
3718 * src/hildon-time-editor.c:
3719 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3720 handling in subclassed composite widgets. Fixes: NB#66628.
3722 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3724 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3725 from destroy_ callback as it introduces problems in async dbus signal
3726 handlers. Fixes NB#66673.
3728 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3730 * examples/hildon-hvolumebar-example.c:
3731 * src/hildon-volumebar.c: Improving the focus handling in the
3732 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3733 set_property accessor so that "mute" property can be actually set. I'm
3734 scared that nobody noticed it's totally broken.
3736 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3738 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3741 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3743 * src/hildon-calendar.c:
3744 * src/hildon-number-editor.c:
3745 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3746 matches the spec of 6 chars per second. Fixes: NB#60489.
3748 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3750 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3751 gtk_style_lookup_color sometime returns FALSE even though color was
3752 found and values were filled properly. Weird. Removing the warning for the
3755 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3757 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3758 expand vertically. Adding some extra space to the find toolbar buttons to
3759 make them thumbable. Fixes NB#66060.
3761 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3763 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3764 popup with "Ok" and "Cancel". Fixes NB#59299.
3766 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3768 * src/hildon-calendar.c: Process all window updates before executing next
3769 timeout. Fixes: NB#54146.
3771 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3777 * debian/changelog: Updating.
3779 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3781 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3782 the client event and ignore it, since we use the delete event to close
3785 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3787 * src/hildon-helper.c: Remove the bogus warning about color not being
3788 found. Fixes NB#58352.
3790 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3792 * examples/Makefile.am:
3793 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3794 HildonSeekbar widget inside a toolbar.
3796 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3798 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3799 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3800 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3801 don't want to be closed by non-temporary windows on map.
3803 Also use G_DEFINE_TYPE instead of manually typed code.
3805 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3812 * debian/rules: Updating.
3814 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3816 * examples/Makefile.am:
3817 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3818 bug NB#61128. Strangely it works.
3820 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3822 * src/hildon-date-editor.c: When the date editor entry has been changed
3823 but the numbers of characters < max, turn off the skip validation flag.
3824 Prevents a situation when we enter first a valid year and later re-write
3825 it with an invalid one. Fixes NB#60154.
3827 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3829 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3830 code dialog. Fixes NB#64355.
3832 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3834 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3835 switching the page. Fixes NB#49374.
3837 * examples/Makefile.am:
3838 * examples/hildon-wizard-dialog-example.c: Adding an example for
3839 HildonWizardDialog that shows how to handle manual sensitivity setting on
3842 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3846 * src/hildon-version.h.in:
3847 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3849 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3851 * src/hildon-volumebar.c: Updating the docs.
3853 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3859 * debian/changelog: Updating.
3861 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3863 * src/hildon-find-toolbar.c:
3864 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3865 selected item: hildon_find_toolbar_set_active,
3866 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3867 hildon_find_toolbar_get_active_iter . They correspond to respective
3868 GtkComboBox functions.
3870 * examples/Makefile.am:
3871 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3874 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3876 * examples/Makefile.am:
3877 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3880 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3881 when font size > 32 and we pack a focusable widget inside. Actually using
3882 the default response would work too, but since we don't show default
3883 response state in any way (no theming) it would not be visible to the
3884 user. Fixes NB#63430.
3886 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 * src/hildon-date-editor.c: Adding the missing variable setter in the
3889 set_property handler. Fixes NB#54182.
3891 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3893 * src/hildon-window.h: Changing the long key press time from 1500ms to
3894 800ms as requested in NB#63700. I have a bad feeling about this, let's
3895 see... Fixes NB#63700.
3897 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3899 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3900 hildon_time_picker_map, hildon_time_picker_realize,
3901 hildon_time_picker_style_set): Split the contents of map to more
3902 appropriate functions; set window decorations on realize and update
3903 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3905 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3910 * debian/changelog: Updating.
3912 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3914 * src/Makefile.am: fixed installation of the header files
3916 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3922 * debian/changelog: Updating.
3924 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3926 * configure.ac: Removing some remaining of --enable-xan.
3928 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3930 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3931 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3933 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3934 2.10.12-osso6 because the move-focus signal needs to be available in
3937 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3939 * examples/Makefile.am:
3940 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3941 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3942 fine. Prolly NB#61128 is fixed now.
3944 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3946 * src/hildon-volumebar.c:
3947 * src/hildon-volumebar.h: Adding the
3948 hildon_volumebar_set_range_insensitive_message and
3949 hildon_volumebar_set_range_insensitive_messagef functions to set
3950 insensitive message on the slider of the volumebar. Fixes NB#61129.
3952 * examples/Makefile.am:
3953 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3954 test the new insensitive messsage functionality on HildonVolumebar.
3956 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3958 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3961 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3963 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3964 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3965 button on after clearing the trail.
3967 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3969 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3971 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3973 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3974 by splitting the installed headers in generated and non-generated groups. Use
3975 only the non-generated headers to create the hildon-enum-types.h file.
3977 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3979 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3981 * src/hildon-window.c: Hide the window before performing the destroy.
3982 Should make the app closing a little tiny bit more snappy.
3984 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3986 * src/hildon-seekbar.c: add gtkrange.h header
3987 * src/hildon-caption.c: remove unused variable
3989 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3991 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3994 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4000 * debian/changelog: Updating.
4002 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4004 * src/hildon-window.c (hildon_window_window_state_event,
4005 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4006 escape timeout on focus-out-event rather than notify::is-topmost; the
4007 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4009 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4011 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4012 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4014 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4016 * src/hildon-window: actually, you need to use the macro always, there's
4017 no private pointer in the instance structure. We should have cleaned this up
4018 when we had the chance...
4020 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4022 * src/hildon-window.c: do not get the private date from HildonWindow before
4023 it passes the g_return_if_fail check. Once it's passed the test, there's no
4024 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4025 if you are only going to access the data once. Whitespace cleanups.
4027 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4029 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4030 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4032 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * debian/changelog: Updating.
4040 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4042 * src/hildon-window.c: When destroying the window, remove (if exists) the
4043 escape timeout handler. Fixes #NB59276.
4045 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * src/hildon-banner.c: When realizing the widget, set the window
4048 transiency. Setting the transiency in the gobject constructor is not
4049 good, as the widget is not realized at that point. Fixes: #NB56624.
4051 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4053 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4054 Add padding for future expansions.
4056 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4058 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4059 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4060 will fake an activation on the previous to the last item of the trail, so
4061 the effect can be overrided by the developer as usual.
4062 Also change the callback for the back button to do the same thing, so its
4063 effect can be overrided too. Fixes: NB#58982
4065 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4067 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4068 HildonCaption. Fixes NB#52379.
4070 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4072 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4073 the internal state of the trail after the user has had the chance of executing
4074 his handler for the signal. Specifically, it may happen that the activated button
4075 is removed and the user still lets the default handler run. This would segfault
4078 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4080 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4081 scrollbar to the preview dialog. Fixes NB#54147.
4083 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4086 max/min year properties can be altered, so the client can modify it
4087 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4089 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4091 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4092 hildonlike by default. Fixing a problem with disappearing arrows when
4093 scrolling through months and years. Fixes NB#54127.
4095 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4097 * examples/hildon-date-editor-example.c: Adding error callback to the date
4100 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4106 * configure.ac: Updating.
4108 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4110 * configure.ac: Adding a special '--enable-xan' configure option that
4111 turns off the -Werror compilation setting. Usefull for development.
4113 * src/hildon-calendar.c:
4114 * src/hildon-number-editor.c:
4115 * src/hildon-time-picker.c: Adding the 5* multiplier to
4118 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4120 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4121 instead of g_object_ref + gtk_object_sink.
4123 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4129 * debian/changelog: Updating.
4131 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4133 * src/hildon-color-chooser-dialog.c:
4134 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4135 straight from Tommi labs.
4137 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4139 * examples/hildon-finger-example.c: Correcting the header file path.
4141 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4142 the changed signal. Fixes a small memory leak.
4144 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4148 * src/hildon-banner.c: Importing several usefull fixes from the
4149 ubuntu-mobile branch.
4151 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4153 * examples/Makefile.am:
4154 * examples/hildon-finger-example.c: Adding a finger-checking code
4157 * src/hildon-font-selection-dialog.c: Do not allocate the color
4158 structure using the g_new. Fixes NB#54061.
4160 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4162 * src/hildon-helper.c: Correcting tabs in file.
4164 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4166 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4167 control the visibility of the children.
4169 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4171 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4177 * debian/changelog: Updating.
4179 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4181 * src/hildon-bread-crumb-trail.c:
4182 (hildon_bread_crumb_trail_size_allocate):
4184 Make the back button always a square.
4186 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4188 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4189 from the .c file as it's a private file.
4191 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4194 uses slightly bigger height.
4196 * src/hildon-font-selection-dialog.c: Adding some checks before
4197 freeing memory in the font selection dialog.
4199 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4201 * src/hildon-font-selection-dialog.c: Adding a small check when
4204 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4205 buttons sensitivity on page switching.
4207 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4209 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4210 internal details of adding a bread crumb to the trail.
4212 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4218 * debian/changelog: Updating.
4220 * src/hildon-bread-crumb-trail.h:
4221 * src/hildon-bread-crumb.h: Changing the API guard to
4222 HILDON_ENABLE_UNSTABLE_API.
4224 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4232 * src/hildon-helper.h: Updating.
4234 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4242 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4246 * src/hildon-helper.h: Small fix to make the package actually compile.
4248 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4250 * src/hildon-bread-crumb-trail.h:
4251 * src/hildon-bread-crumb.h:
4253 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4254 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4256 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4258 * examples/hildon-bread-crumb-trail-example.c:
4260 * src/hildon-bread-crumb-trail.c:
4261 * src/hildon-bread-crumb-trail.h:
4262 * src/hildon-bread-crumb.c:
4263 * src/hildon-bread-crumb.h:
4264 * src/hildon-marshalers.list:
4265 * src/hildon-bread-crumb-widget.c:
4266 * src/hildon-bread-crumb-widget.h:
4268 Slight change in the widget design. The bread crumb trail API is
4269 unchanged, but HildonBreadCrumb is now an interface. A *private*
4270 implementation, hildon-bread-crumb-widget, is provided and used
4271 internally by the trail for the push_text/push_icon functions.
4273 The generic push API is still available, so anyone can implement
4274 and use its own bread crumb widget.
4276 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4278 * debian/rules: Fixing the shlibs.
4280 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4282 * src/hildon-banner.c: Fixing a problem with timed banners having
4283 their parrent destroyed before they are.
4285 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4287 * src/hildon-bread-crumb.c:
4288 * src/hildon-bread-crumb.h:
4290 Make the get_natural_size function a vfunc.
4292 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4294 * src/hildon-bread-crumb.c:
4295 * src/hildon-bread-crumb-trail.c:
4299 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4306 * debian/changelog: Updating for release.
4308 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4310 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4311 don't leak the pango layout.
4313 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4316 * examples/hildon-bread-crumb-trail-example.c:
4320 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4322 * debian/changelog: Removing the bug-fixed entries that were actually
4323 resolved as WONTFIX.
4325 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4328 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4330 * src/hildon-bread-crumb-trail.c:
4331 * src/hildon-bread-crumb-trail.h:
4332 * src/hildon-bread-crumb.c:
4333 * src/hildon-bread-crumb.h:
4337 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4339 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4340 until it's passed the type check.
4342 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4344 * examples/hildon-bread-crumb-trail-example.c
4348 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4350 * examples/Makefile.am
4351 * examples/hildon-bread-crumb-trail-example.c
4353 * src/hildon-bread-crumb-trail.c
4354 * src/hildon-bread-crumb-trail.h
4355 * src/hildon-bread-crumb.c
4356 * src/hildon-bread-crumb.h
4358 New HildonBreadCrumbTrail widget.
4360 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4362 * src/hildon-range-editor.c (hildon_range_editor_init),
4363 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4364 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4365 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4366 hildon_time_editor_class_init, hildon_time_editor_init),
4367 src/hildon-get-password-dialog.c (invalid_input,
4368 hildon_get_password_set_property, hildon_get_password_get_property,
4369 create_contents, hildon_get_password_dialog_set_max_characters),
4370 src/hildon-set-password-dialog.c (create_contents),
4371 src/hildon-date-editor.c (hildon_date_editor_init),
4372 src/hildon-login-dialog.c (hildon_login_dialog_init),
4373 src/hildon-number-editor.c (hildon_number_editor_init),
4374 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4375 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4376 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4377 configure option and adding the respective checks in the code.
4378 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4379 hildon_calendar_drag_data_received): fixed some build warnings.
4381 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * debian/changelog: A 1.0.0 release notes.