1 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5 * src/hildon-note.c: (hildon_note_set_property),
6 (hildon_note_get_property), (hildon_note_class_init),
7 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
8 (hildon_note_new_confirmation_add_buttons): Remove icons.
9 (hildon_note_new_confirmation_with_icon_name): Deprecate.
10 (hildon_note_new_information_with_icon_name): Deprecate.
11 (hildon_note_new_confirmation): Act directly, without calling
12 the deprecated constructor.
13 (hildon_note_new_information): Act directly, without calling
14 the deprecated constructor.
15 * src/hildon-note.h: Mark deprecate methods as such.
16 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
17 not run tests on the deprecated methods if built with deprecation
20 Fixes: NB#91688 (Never show icons in information notes/confirmation
23 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
25 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
26 (hildon_app_menu_key_press): Remove leftover usage of the
27 private structure in HildonAppMenu struct.
28 * src/hildon-app-menu.h: Remove leftover private structure
29 from the HildonAppMenu struct.
31 Fixes a crasher when using the HildonAppMenu.
33 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
35 * src/hildon-picker-dialog.c: Use appropriate logical id
36 for the default "Done" text.
38 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
40 * configure.ac: post release version bump
41 * debian/changelog: version bump
43 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
45 Modified the way to scroll to the current selection just when the touch
46 selector is shown on the screen, avoiding a g_idle. Added too a property
47 to configure this behaviour. See hildon_pannable_area_jump_to_child
48 documentation for more information.
50 * src/hildon-touch-selector.c
51 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
52 Added 'initial-scroll' property
53 (hildon_touch_selector_set_property): Added
54 (hildon_touch_selector_map): Removed as not required anymore
55 (_hildon_touch_selector_on_selected_items): Modified in order to manage
56 only a concrete column, instead of iterate along all the columns
58 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
63 * configure.ac: bump version
64 * debian/changelog: updates
66 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
68 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
69 compilation time warnings.
71 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
73 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
74 the default value for HildonPannableArea::mov-mode to
75 HILDON_PANNABLE_AREA_MODE_VERT.
77 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
79 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
81 Reverting following commit:
83 2008-10-13 Alberto Garcia <agarcia@igalia.com>
85 * src/hildon-app-menu-private.h
86 * src/hildon-app-menu.[ch]
87 * src/hildon-button.[ch]
88 * src/hildon-check-button.[ch]
89 * src/hildon-entry.[ch]
90 * src/hildon-pannable-area.[ch]
91 * src/hildon-text-view.[ch]:
92 Added private field to the object's structure.
94 because it causes an ABI breakage. We will need to introduce these
95 changes later at some point. See NB#91636 for an extensive
96 explanation and status.
98 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
100 Patch contributed by Daniel Borgmann (danielb@openismus.com)
102 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
103 remove special cases that are no longer necessary.
105 Fixes: NB#91016 (Change toolbar sizes, simplification)
107 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
110 is shown in the cancel note.
112 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
115 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
116 (hildon_seekbar_init): Remove steppers, remove expose event.
117 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
119 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
121 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
123 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
124 label font to "SmallSystemFont" for vertically arranged buttons.
126 Fixes: NB#90662 (HildonButton "value" and "detail" text is
129 2008-10-31 Alberto Garcia <agarcia@igalia.com>
131 * src/hildon-check-button.c
132 (hildon_check_button_set_active, hildon_check_button_clicked):
133 Don't access private parts directly, use getters instead.
135 2008-10-31 Alberto Garcia <agarcia@igalia.com>
137 * src/hildon-check-button.c (hildon_check_button_new):
138 Align the contents of the check button to the left.
140 2008-10-30 Alejandro G. Castro <alex@igalia.com>
142 * src/hildon-pannable-area.c,
143 (hildon_pannable_area_scroll_to),
144 (hildon_pannable_area_jump_to),
145 (hildon_pannable_area_scroll_to_child),
146 (hildon_pannable_area_jump_to_child): Replace the mapped
147 precondition of these functions with the realized, it is the
148 correct state of the widget in this case. Changed the
149 documentation according to this modification.
151 2008-10-30 Alejandro G. Castro <alex@igalia.com>
153 Added a new EXTRA_CFLAGS option to add the deprecated define to
154 the compilation command. This way we can avoid using the define in
155 the documentation compilation.
157 * configure.ac: Defined EXTRA_CFLAGS.
159 * examples/Makefile.am:
161 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
163 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
165 * src/hildon-picker-dialog.c:
166 Defined a utility macro with the desired touch selector height
167 Removed currently unused separator, and title_label variables from
169 (hildon_picker_dialog_init): Removed code related to the creation
170 of unused private variables title_label and separator.
171 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
172 to ensure correct visualization of the touch selector inside the dialog.
173 * src/hildon-touch-selector.c
174 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
175 ensure a concrete height of the widget.
177 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
182 Remove spurious whitespaces.
184 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
186 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
187 compilation warning after the cancel button removal.
189 2008-10-30 Alejandro G. Castro <alex@igalia.com>
191 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
193 * configure.ac: Added an AM_CONDITIONAL in order to use in the
194 Makefile.am, that way we can choose not to compile some examples
195 and tests of the deprecated widgets.
197 * examples/Makefile.am: Divided the sources in deprecated and
200 * src/Makefile.am: Added undef statement of the deprecated
201 symbol to the enums file generation process.
203 * src/hildon-color-chooser-dialog.c
204 * src/hildon-color-chooser-dialog.h
205 * src/hildon-color-button.c
206 * src/hildon-color-button.h
207 * src/hildon-color-chooser.c
208 * src/hildon-color-chooser.h
209 * src/hildon-controlbar.c
210 * src/hildon-controlbar.h
211 * src/hildon-date-editor.c
212 * src/hildon-date-editor.h
213 * src/hildon-hvolumebar.c
214 * src/hildon-hvolumebar.h
215 * src/hildon-private.c
216 * src/hildon-private.h
217 * src/hildon-range-editor.c
218 * src/hildon-range-editor.h
219 * src/hildon-seekbar.c
220 * src/hildon-seekbar.h
221 * src/hildon-time-editor.c
222 * src/hildon-time-editor.h
223 * src/hildon-time-picker.c
224 * src/hildon-time-picker.h
225 * src/hildon-volumebar.c
226 * src/hildon-volumebar.h
227 * src/hildon-vvolumebar.c
228 * src/hildon-vvolumebar.h
229 * src/hildon-bread-crumb-trail.h
230 * src/hildon-bread-crumb-trail.c
231 * src/hildon-calendar-popup.c
232 * src/hildon-calendar-popup.h
233 * src/hildon-weekday-picker.c:
234 * src/hildon-weekday-picker.h:
235 * src/hildon-bread-crumb-widget.c:
236 * src/hildon-bread-crumb-widget.h:
237 * src/hildon-bread-crumb.c:
238 * src/hildon-bread-crumb.h:
239 * src/hildon-calendar.c:
240 * src/hildon-calendar.h:
241 * src/hildon-caption.c:
242 * src/hildon-code-dialog.c:
243 * src/hildon-code-dialog.h:
244 * src/hildon-font-selection-dialog.c:
245 * src/hildon-font-selection-dialog.h:
246 * src/hildon-get-password-dialog.c:
247 * src/hildon-get-password-dialog.h:
248 * src/hildon-login-dialog.c:
249 * src/hildon-login-dialog.h:
250 * src/hildon-number-editor.c:
251 * src/hildon-number-editor.h:
252 * src/hildon-set-password-dialog.c:
253 * src/hildon-set-password-dialog.h:
254 * src/hildon-sort-dialog.c:
255 * src/hildon-sort-dialog.h: This is the list of deprecated
258 * src/hildon-touch-selector.c:
259 * src/hildon-window.c: Added undef statement to avoid compilation
262 * tests/Makefile.am: Divided the sources in deprecated and
265 * tests/check_test.c,
266 (configure_tests): Marked the deprecated code that was adding
267 suites with deprecated tests.
269 Fixes: NB#91135 (Deprecate legacy hildon widgets)
271 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-touch-selector.c: (_default_print_func): Do not
274 duplicate a string returned by gtk_tree_model_get(), it is already
277 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
280 2008-10-28 Alejandro G. Castro <alex@igalia.com>
282 * src/hildon-pannable-area.c
283 (hildon_pannable_area_add_with_viewport): Reviewed the complete
284 method, it had problems when adding a widget with viewport the
285 second time. Now checks if it already has a viewport and uses it.
287 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
290 2008-10-28 Alejandro G. Castro <alex@igalia.com>
292 * src/hildon-pannable-area.c,
293 (hildon_pannable_area_scroll_to),
294 (hildon_pannable_area_jump_to),
295 (hildon_pannable_area_scroll_to_child),
296 (hildon_pannable_area_jump_to_child): Added a precondition to the
297 scroll and jump to functions: the widget must be mapped before we
298 can safely call these functions. We have also added documentation
299 to the functions to explain how to use them in this situation.
302 2008-10-28 Alejandro G. Castro <alex@igalia.com>
304 Reviewed the threading handling of the pannable widget, we have
305 used the gdk_threads_add_timeout function instead of the usual
306 glib handlers. This avoids some problems with the threads.
308 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
309 (hildon_pannable_area_initial_effect),
310 (hildon_pannable_area_scroll_indicator_fade),
311 (hildon_pannable_area_button_press_cb),
312 (hildon_pannable_area_timeout),
313 (hildon_pannable_area_motion_notify_cb),
314 (hildon_pannable_area_button_release_cb),
315 (hildon_pannable_area_scroll_cb),
316 (hildon_pannable_area_scroll_to): Removed the
317 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
318 gdk_threads_add_timeout.
320 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
322 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: bump version
328 * debian/changelog: updates
330 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
332 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
333 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
334 * src/hildon-color-chooser-dialog.c:
335 (hildon_color_chooser_dialog_init):
336 * src/hildon-font-selection-dialog.c:
337 (hildon_font_selection_dialog_init):
338 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
340 Remove all cancel/close-like dialogs, as these are not going to be
343 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
345 * src/hildon-note.c: (hildon_note_rebuild),
346 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
349 Fixes: NB#90661 (Delete dialog is displayed without NO button)
351 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
353 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
354 sure all buttons are shown, even the Cancel/Close-like ones.
356 Fixes: NB#90861 (Custom Confirmation dialogs should be
357 protected from cancel button removal)
359 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
361 * debian/control: Change libhildon1-examples dependency from libhildon1
363 * debian/libhildon1-examples.install
365 * Makefile.am: Modified the final install directory for the examples on
366 package libhildon1-examples
367 * Makefile.static: Update clean target in order to remove all the binary
370 Changes suggested by Claudio after review new libhildon1-examples package
372 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
374 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
375 * src/hildon-touch-selector.c: Ditto.
377 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
379 * debian/control: Added new package libhildon1-examples, in order to pack
380 the current hildon examples as documentation
381 * debian/rules: Not to compress .c files, modify some includes on the
382 examples (as normally are compiled locally, but when installed it will
383 require to include the installed libhildon1 library), and rename
385 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
386 install all the example files on the new example package
387 * examples/Makefile.static: Added static makefile that can be used to
388 compile the examples, once installed the new example package
389 * examples: Most of the examples were modified in order to grant that
390 all use only '#include "hildon.h"', in order to be easy to prepare
391 it on the example package
393 2008-10-23 Alberto Garcia <agarcia@igalia.com>
396 * debian/libhildon1-dev.install
397 * debian/libhildon1-doc.install:
398 Move all gtk-doc files to a separate libhildon1-doc package.
400 2008-10-23 Daniel Borgmann <danielb@openismus.com>
402 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
404 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
406 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
408 * debian/rules: Fixed a error in order to avoid unnecessary calls
409 to autogen.sh on package building
411 2008-10-22 Alberto Garcia <agarcia@igalia.com>
413 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
415 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
417 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
420 2008-10-21 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-picker-button.c
423 (hildon_picker_button_finalize):
424 Free priv->done_button_text
426 * src/hildon-time-button.c
427 (hildon_time_button_set_time)
428 * src/hildon-picker-button.c
429 (hildon_picker_button_clicked)
430 (hildon_picker_button_selector_selection_changed)
431 (hildon_picker_button_set_selector)
432 * src/hildon-date-button.c
433 (hildon_date_button_set_date):
434 Free strings returned by hildon_touch_selector_get_current_text()
436 * src/hildon-button.c (hildon_button_construct_child):
437 Fix leaks in priv->image and priv->label_box
439 Fixes: NB#90535 (Memory leak in picker button)
441 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
443 * src/hildon-button.c: (hildon_button_get_property): Do not access
444 private elements directly, use getters instead.
446 2008-10-20 Alberto Garcia <agarcia@igalia.com>
448 * src/hildon-app-menu-private.h
449 * src/hildon-app-menu.c
450 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
451 Store the menu's parent window.
453 * src/hildon-stackable-window.c
454 (hildon_stackable_window_toggle_menu)
455 (hildon_stackable_window_finalize):
456 Set the menu's parent window when the menu is shown, unset it when
459 * src/hildon-app-menu.c
460 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
461 (hildon_app_menu_class_init):
462 Send unhandled keyboard accelerators to the parent window.
464 2008-10-20 Alberto Garcia <agarcia@igalia.com>
466 * src/hildon-stackable-window.c
467 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
469 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: post release version bump
473 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: Bump version
477 * debian/changelog: Updates
478 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
481 2008-10-20 Alberto Garcia <agarcia@igalia.com>
483 Patch contributed by Daniel Borgmann (danielb@openismus.com)
486 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
487 GtkMenu with Hildon style.
489 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
491 * src/hildon-picker-button.c:
492 (hildon_picker_button_set_done_button_text): Set the dialog's
493 done button text here as well.
495 Fixes: NB#90232 (Picker button does not set the label on done button
498 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
500 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
503 2008-10-16 Alberto Garcia <agarcia@igalia.com>
505 * src/hildon-app-menu.c (hildon_app_menu_insert)
506 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
507 the HildonAppMenu to be activatable using keyboard accelerators
508 when the menu is not being shown.
510 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
512 2008-10-16 Alberto Garcia <agarcia@igalia.com>
514 * src/hildon-stackable-window.c
515 (hildon_stackable_window_show):
516 Don't hide old windows automatically when new windows are shown:
517 this is now a task for the window manager.
518 (hildon_stackable_window_class_init)
519 (hildon_stackable_window_hide):
520 Remove windows from the stack everytime they're hidden.
521 (hildon_stackable_window_realize):
522 Don't change the _NET_WM_WINDOW_TYPE property. Use
523 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
524 it as a stackable window.
526 * src/hildon-program.c
527 (hildon_program_pop_window_stack):
528 Just hide the window to remove it from the stack.
529 (hildon_program_go_to_root_window):
530 Don't call gtk_widget_show(), this is now a task for the window
533 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
535 2008-10-15 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-button.c
538 (hildon_button_construct_child):
539 Don't pack anything in the button until text or image are
540 set. This allows adding a custom child after creating the button
541 with hildon_button_new().
542 (hildon_button_finalize, hildon_button_class_init)
543 (hildon_button_init, hildon_button_set_arrangement): Destroy the
544 alignment and the label box even when they're not packed in the
547 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
549 * src/hildon-touch-selector.h:
550 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
551 currently the type definition was using GTK_TYPE_VBOX
552 * src/hildon-touch-selector.c:
553 Added some implementation notes in order to clarify that any other widget
554 added without the column related API will not be included on the
555 selection logic, and how the widget is freed, as some people ask about
557 (hildon_touch_selector_remove): Reimplemented in order to free properly
558 the column related data when you remove the private hbox.
559 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
560 to get a proper HildonTouchSelectorColumn documentation
562 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
564 * src/hildon-touch-selector-entry.c:
565 (hildon_touch_selector_entry_print_func): Return NULL if there is no
566 text in the GtkEntry and there is no item selected. Fixes a
569 2008-10-13 Alberto Garcia <agarcia@igalia.com>
571 * src/hildon-app-menu-private.h
572 * src/hildon-app-menu.[ch]
573 * src/hildon-button.[ch]
574 * src/hildon-check-button.[ch]
575 * src/hildon-entry.[ch]
576 * src/hildon-pannable-area.[ch]
577 * src/hildon-text-view.[ch]:
578 Added private field to the object's structure.
580 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
582 * configure.ac: post-release version bump
584 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: pre-release version bump
590 * debian/changelog: updates.
592 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
594 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
595 Disconnect the handler for HildonTouchSelector::changed.
597 (hildon_picker_button_selector_selection_changed): Update the button
598 value if the selection change was not triggered by the
601 (hildon_picker_button_set_selector): connect to
602 HildonTouchSelector::changed.
604 Fixes: NB#89650 (Picker button is not updated, when selection in
605 selector has changed)
607 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
609 * src/hildon-picker-dialog.c
610 (hildon_picker_dialog_realize): Removed as not required
611 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
612 * src/hildon-picker-button.c
613 (_current_selector_empty): New function, checks if the selector is empty
614 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
615 if the current selector is empty, in order to avoid to show the dialog
616 close the dialog in this case (and shows a g_warning).
618 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
620 2008-10-09 Alejandro G. Castro <alex@igalia.com>
622 * src/hildon-pannable-area.c,
623 (hildon_pannable_area_scroll): Added clause to stop movement when
624 the child of pannable is smaller than one page.
625 (hildon_pannable_area_scroll_to): Added conditions to avoid
626 starting the scrolling movement if the child is smaller than one
627 page, the complete child is in the screen, we do not have to move.
629 Fixes: NB#89632 (Picker button selection doesn't change on first click)
631 2008-10-09 Alberto Garcia <agarcia@igalia.com>
633 * src/hildon-app-menu.c: Removed the 'columns' property, as now
634 this is managed automatically by the widget when the size of the
637 2008-10-09 Alberto Garcia <agarcia@igalia.com>
639 * src/hildon-picker-button.c
640 (hildon_picker_button_set_done_button_text): Make a copy of the
641 text, and free the previous value.
643 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
645 * src/hildon-touch-selector-entry.c:
646 (hildon_touch_selector_entry_print_func): Return the selected row's
647 text if the entry is empty.
649 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
652 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-touch-selector-entry.c: Minor docs fixes.
656 2008-10-09 Alberto Garcia <agarcia@igalia.com>
659 * src/hildon-check-button.h
660 * src/hildon-check-button.c
661 * examples/hildon-check-button-example.c:
662 HildonCheckButton is now a new widget. 'toggled' signal added.
664 2008-10-08 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-program-private.h
667 * src/hildon-program.c (hildon_program_init)
668 (hildon_program_finalize): Removed unused variables group_leader
669 and name from HildonProgramPrivate.
671 2008-10-08 Alberto Garcia <agarcia@igalia.com>
673 * src/hildon-check-button.c (hildon_check_button_set_active)
674 (hildon_check_button_get_active, hildon_check_button_new): Use
675 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
677 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
679 * src/hildon-touch-selector.h
680 (hildon_touch_selector_set_column_attributes): added deprecation
681 guard HILDON_DISABLE_DEPRECATED
682 * src/hildon-time-selector.c
683 (hildon_time_selector_set_time)
684 (hildon_time_selector_get_time): Fixed a typo on documentation
685 * src/hildon-touch-selector.c: update HildonTouchSelector and
686 HildonTouchSelectorColumn documentation
687 * src/hildon-touch-selector-entry.c: update "text-column" property
689 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
690 to be added to the general documentation.
692 2008-10-08 Alejandro G. Castro <alex@igalia.com>
694 * examples/hildon-pannable-area-example-4.c,
696 * examples/hildon-pannable-area-example.c,
697 (main): Modified the code in order to use the container add, with
698 viewport treeviews could have problems if they are really big.
700 2008-10-06 Alejandro G. Castro <alex@igalia.com>
702 * src/hildon-weekday-picker.c,
703 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
704 the agreement regarding deprecation in the library.
706 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
708 * examples/hildon-picker-button-multicolumn-example.c:
709 (main): Use custom "done" button text.
711 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
712 (hildon_picker_button_set_property),
713 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
714 (hildon_picker_button_init),
715 (+hildon_picker_button_get_done_button_text),
716 (+hildon_picker_button_set_done_button_text): New methods to customize
717 the "done" button label in the launched HildonPickerDialog. Also,
720 * src/hildon-picker-button.h: add the public API.
722 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
724 * src/hildon-date-selector.h:
725 * src/hildon-picker-dialog.h:
726 * src/hildon-time-selector.h:
727 * src/hildon-touch-selector-column.h:
728 * src/hildon-touch-selector.h:
730 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
731 declarations. Fixes gtk-doc warnings.
733 2008-10-06 Alberto Garcia <agarcia@igalia.com>
735 * src/hildon-picker-dialog.h
736 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
737 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
739 Fixes: NB#89329 (selectors in picker dialog are not visible when a
740 long text is set as label for done button)
742 2008-10-06 Alberto Garcia <agarcia@igalia.com>
744 * src/hildon-dialog.c (hildon_dialog_add_button):
745 Set fixed width to all buttons in the HildonDialog.
747 2008-10-06 Alberto Garcia <agarcia@igalia.com>
749 Patch contributed by Daniel Borgmann (danielb@openismus.com)
751 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
752 Set widget name using class name plus "-finger" or "-thumb".
754 2008-10-03 Alberto Garcia <agarcia@igalia.com>
756 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
757 'clicked' when the state of the button is manually changed.
759 2008-10-02 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-app-menu.c (hildon_app_menu_realize)
762 (hildon_app_menu_unrealize, hildon_app_menu_init)
763 (hildon_app_menu_class_init, item_visibility_changed):
764 Change the menu layout when the size of the screen changes.
765 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
766 Show warning only when changing the number of colums using the
769 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
771 * debian/compat: Set to 5
772 * debian/control: Update dependencies.
773 * debian/libhildon1-dbg.install: Remove.
774 * debian/libhildon1-dev.install: Update according to cdbs paths.
775 * debian/libhildon1.install: Update according to cdbs paths.
776 * debian/rules: Switch to cdbs.
778 2008-10-01 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
781 'item' variable renamed to 'filter'
783 2008-10-01 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-app-menu.c (hildon_app_menu_insert)
786 (hildon_app_menu_add_filter, remove_item_from_list)
787 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
788 Don't leak hidden items when the menu is destroyed.
790 2008-10-01 Alberto Garcia <agarcia@igalia.com>
792 * src/hildon-app-menu.c (hildon_app_menu_insert)
793 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
794 (hildon_app_menu_set_columns, item_visibility_changed)
795 (filter_visibility_changed, hildon_app_menu_repack_filters)
796 (hildon_app_menu_repack_items):
797 Repack items and filters separately.
799 Don't repack all items, change only the ones that are needed to
802 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
804 * src/Makefile.am: added hildon-touch-selector-column.h
806 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
808 * src/hildon-touch-selector.c: added the property "text-column" to the
809 class HildonTouchSelectorColumn, and related get/set functions
810 (_default_printf_func): updated to use "text-column" property
811 * src/hildon-touch-selector-entry.c: mark as deprecated the property
812 "text-column" in his documentation, as this is now included on
813 HildonTouchSelectorColumn. The get/set_property can still be used,
814 working as a wrapper to the concrete column "text-column" property
815 (_text_column_modified): callback added in order to handle the signal
816 "notify::text-column" of the concrete HildonTouchSelectorColumn
817 (hildon_touch_selector_entry_get_text_column)
818 (hildon_touch_selector_entry_set_text_column): Added documentation, and
819 modified in order to use the HildonTouchSelectorColumn "text-column"
821 * src/hildon-time-selector.c:
822 * src/hildon-date-selector.c:
823 * examples/hildon-touch-selector-example.c
824 * examples/hildon-touch-selector-multi-cells-example.c
825 * examples/hildon-picker-button-multicolumn-example.c
826 Set the right value to "text-column" property on the creation of a new
827 column using hildon_touch_selector_append_column()
829 Fixes: NB#88644 (Hardcoded first column of the model as text column)
831 2008-09-30 Alberto Garcia <agarcia@igalia.com>
833 * src/hildon-app-menu.c
834 (hildon_app_menu_construct_child, hildon_app_menu_init): When
835 updating the layout of the menu, don't create all widgets again,
836 just repack the items in their new places.
838 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
840 * src/hildon-time-selector.c
841 (hildon_time_selector_get_time)
842 (hildon_time_selector_set_time)
843 Added documentation of these public methods
845 * src/hildon-date-button.h
846 * src/hildon-touch-selector-column.h
847 * src/hildon-time-button.h
848 * src/hildon-picker-dialog.h
849 * src/hildon-time-selector.h
850 * src/hildon-picker-button.h
851 * src/hildon-touch-selector.h
852 * src/hildon-time-picker.h
853 * src/hildon-date-selector.h
854 * src/hildon-touch-selector-entry.h
855 Modified in order to use hildon-widgets code style
857 2008-09-30 Alejandro G. Castro <alex@igalia.com>
859 Added deprecated support to the compilation process using
860 HILDON_DISABLE_DEPRECATED
862 * configure.ac: Added the --disable-deprecated to the configure
865 * src/hildon-weekday-picker.c:
866 * src/hildon-weekday-picker.h: Deprecated widget, example of how
867 to use the deprecated support. We will update the other deprecated
868 widgets status in a new patch.
870 2008-09-30 Alejandro G. Castro <alex@igalia.com>
872 * configure.ac: Fixed typo with fatal warnings support, the
873 variable name was not correct
875 2008-09-29 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-app-menu.c
878 * src/hildon-program.c: Update documentation.
880 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
882 * configure.ac: Post-release version bump.
884 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
889 * configure.ac: Pre-release version bump.
890 * debian/changelog: Updates.
892 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
894 * NEWS: Update news for previous releases.
896 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
898 * examples/hildon-touch-selector-multi-cells-example.c:
899 (create_selector): Update the example to use
900 hildon_touch_selector_append_column() with a NULL renderer and set
902 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
903 passed a NULL renderer. This is documented behavior now.
905 Allow passing a NULL renderer to hildon_touch_selector_append_column().
906 This must be used if the developer wants full control on the layout of
907 the renderers to be added to the column.
909 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
911 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-touch-selector.c: Documentation fixes.
915 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
917 * src/hildon-wizard-dialog-private.h: Remove image and box.
918 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
919 (hildon_wizard_dialog_set_property), (response): Completely remove
920 image/icon support, and the containers required for the layout.
922 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
924 2008-09-25 Alberto Garcia <agarcia@igalia.com>
926 * src/hildon-app-menu.c: Updated documentation.
928 * src/hildon-stackable-window.c
929 (hildon_stackable_window_set_main_menu): Unref the old menu after
932 2008-09-25 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-stackable-window.c
935 (hildon_stackable_window_set_main_menu): Unref the previous menu
936 instead of destroying it.
938 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
939 floating reference and set has_user_ref_count to FALSE to make
940 HildonAppMenu act like a normal ref-counted widget and not a
943 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
946 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
948 * src/hildon-touch-selector-column.h: new file
949 * src/hildon-touch-selector.h
950 * src/hildon-touch-selector.c
951 Implemented GtkCellLayout interface, in order to allow to configure
952 the cell layout on each individual selector column
953 (hildon_touch_selector_set_column_attributes): marked as deprecated
954 * examples/hildon-touch-selector-multi-cells-example.c
955 Example of how to use the GtkCellLayout interface on the selector
957 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
959 2008-09-24 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-app-menu.h
962 * src/hildon-app-menu.c
963 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
964 (hildon_app_menu_append, hildon_app_menu_prepend):
965 New methods to prepend, insert and move items in the menu.
967 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
969 * src/hildon-wizard-dialog.c:
971 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
973 (create_title): Update logical IDs and related code.
974 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
976 * src/hildon-wizard-dialog.h: Note that
977 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
978 point, as it is not used anymore.
980 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
982 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
985 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
986 shown. Do not display an icon in confirmation notes nor information
988 (hildon_note_set_button_text): Update logical ID for cancel button.
990 Fixes: NB#88850 (Update HildonNote button strings + signals)
992 2008-09-24 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-stackable-window.c
995 (hildon_stackable_window_set_main_menu): Fix compilation warning.
997 2008-09-24 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-app-menu-private.h
1000 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1001 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1002 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1003 temporary property 'columns' to change the number of columns.
1005 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1007 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1009 * examples/hildon-note-example.c: (on_information_clicked),
1010 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1011 debugging information.
1012 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1014 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1015 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1016 in order to close: this will be handled by the WM from now on.
1018 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1020 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1022 * src/hildon-app-menu-private.h
1023 * src/hildon-app-menu.c
1024 (hildon_app_menu_append, hildon_app_menu_add_filter)
1025 (button_visibility_changed, hildon_app_menu_apply_style)
1026 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1027 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1028 layout everytime a button (item or filter) is shown or hidden.
1030 * src/hildon-stackable-window.c
1031 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1034 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1036 * src/hildon-touch-selector.c:
1037 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1038 that the treeview inside the touch selector is in fremantle hildon mode
1039 * examples/hildon-date-button-example.c
1040 * examples/hildon-picker-button-multicolumn-example.c
1041 * examples/hildon-touch-selector-entry-example.c
1042 * examples/hildon-touch-selector-example.c
1043 * examples/hildon-time-button-example.c
1044 * examples/hildon-picker-button-example.c:
1045 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1047 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1049 * examples/hildon-text-view-example.c: (main): Remove the
1050 gtkrc bits, now handled by the theme.
1052 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1057 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1059 * po/Makefile.am: Install properly the mo files.
1060 * po/en_GB.po: Update translation, to ease testing purposes.
1062 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1064 * examples/hildon-picker-button-example.c: (main): Select an item
1065 in the selector before setting it to the button.
1067 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1069 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1070 Update button's value if the selector has an item active.
1072 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1073 'value' with the selector)
1075 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1077 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1078 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1079 (hildon_picker_button_class_init): Plug the finalize method.
1080 (hildon_picker_button_set_selector): If there's a previously set
1081 selector, unref'it before setting a new one.
1083 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1084 HildonTouchSelector)
1086 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-touch-selector-entry.c:
1089 (hildon_touch_selector_entry_changed): Check if there is no text
1090 selected before setting the entry text.
1093 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-touch-selector.h
1096 * src/hildon-touch-selector.c
1097 (hildon_touch_selector_get_active)
1098 (hildon_touch_selector_set_active): New methods to set/get the
1099 index of the selected item.
1101 * src/hildon-picker-button.h
1102 * src/hildon-picker-button.c
1103 (hildon_picker_button_get_active)
1104 (hildon_picker_button_set_active): New methods to set/get the
1105 index of the selected item.
1107 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1109 * configure.ac: post-release version bump.
1111 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: Pre-release version bump.
1116 * debian/changelog: Updates.
1117 * debian/control: Add myself as maintainer and depend on l10n
1120 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-window.c
1123 (hildon_window_set_main_menu)
1124 * src/hildon-stackable-window.c
1125 (hildon_stackable_window_set_main_menu):
1126 Updated documentation.
1128 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1130 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1131 Don't free selector->priv manually.
1134 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1137 (hildon_gtk_window_set_progress_indicator):
1138 * src/hildon-gtk.h: Added the new API
1139 hildon_gtk_window_set_progress_indicator, it changes the state of
1140 the window progress hint.
1142 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-button.c
1145 * src/hildon-stackable-window.c: Minor documentation updates.
1147 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-stackable-window.c: Updated documentation.
1151 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1153 * src/hildon-defines.h: Update margins definitions
1154 to the Fremantle sizes.
1157 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1159 * src/hildon-touch-selector.c,
1160 (_hildon_touch_selector_set_model): Cleaning the code after
1161 review, removed g_print and #if 0 from the code.
1163 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1165 * src/hildon-edit-toolbar.c: Update documentation.
1167 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1169 * src/hildon-check-button.h
1170 * src/hildon-check-button.c
1171 (hildon_check_button_set_label, hildon_check_button_get_label)
1172 * examples/hildon-check-button-example.c
1173 (button_clicked_cb):
1174 Removed deprecated methods.
1176 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-text-view.c:
1179 Add sample code to the documentation.
1181 * src/hildon-entry.h
1182 * src/hildon-text-view.h:
1183 Minor cosmetic changes.
1185 * src/hildon-entry.c:
1186 Add sample code to the documentation.
1187 (hildon_entry_init, hildon_entry_refresh_contents):
1188 Don't allow NULL values in the placeholder.
1190 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1192 * doc/hildon-docs.sgml
1194 * examples/Makefile.am
1195 * examples/hildon-text-view-example.c
1197 * src/hildon-text-view.c
1198 * src/hildon-text-view.h
1200 New HildonTextView widget, with example.
1202 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1204 * po/POTFILES.in: Add missing files with translatable strings.
1205 Partially fixes NB#88287.
1207 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1209 * examples/hildon-pannable-area-example-2.c: (main): No need to
1210 set the cellrenderer height inside hildon touch lists, the theme does
1213 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1215 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1216 they are integrated in the theme.
1218 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1220 * examples/hildon-entry-example.c: Update the example adding
1221 widgets to modify the text and the placeholder of the HildonEntry.
1223 * src/hildon-entry.c: Show the placeholder everytime the widget
1224 is empty and loses the focus.
1226 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1228 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1230 * src/hildon-pannable-area.c,
1231 (hildon_pannable_area_size_request): Fixed bug in height
1232 requisition, avoid increasing size and add border twice.
1234 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1236 * configure.ac: postrelease version bump.
1238 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1242 * configure.ac: Prerelease version bump.
1243 * debian/changelog: update.
1244 * debian/rules: make -dbg package contain useful debugging symbols.
1246 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-dialog.h
1249 * src/hildon-dialog.c
1250 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1251 New methods to add buttons with finger size.
1252 (hildon_dialog_new_with_buttons):
1253 Create buttons with finger size.
1255 * examples/hildon-dialog-example.c (main): Use HildonDialog
1256 methods to add buttons.
1258 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-entry.c: Updated HildonButton documentation.
1262 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1264 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1265 button value label with (FALSE, FALSE) to prevent NB#88126 from
1268 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1270 * examples/hildon-pannable-area-example.c,
1271 (main): Removed examples panning a vbox inside a pannable
1272 area. Check bug NB#87965
1274 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1276 Patch contributed by Kris Rietveld (kris@imendio.com)
1278 * src/hildon-pannable-area.c,
1279 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1280 get_size and get_position, this saves an X server roundtrip.
1282 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1284 * doc/hildon-docs.sgml
1286 * examples/Makefile.am
1287 * examples/hildon-entry-example.c
1289 * src/hildon-entry.c
1290 * src/hildon-entry.h
1292 New HildonEntry widget, with example.
1294 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-button.c (hildon_button_construct_child): Pack the
1297 image with expand == fill == FALSE. This is a workaround for a bug
1300 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1302 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1303 labels for the text column, to make it more look more dynamic.
1305 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1307 * src/hildon-time-selector.c
1308 Define gettext auxiliar macro N_
1309 (_create_minutes_model)
1310 (_create_hours_model)
1311 (_create_ampm_model): use of strftime in order to fill the model
1312 * src/hildon-date-selector.c
1313 (hildon_date_selector_finalize):
1314 (_locales_init): remove the logic related to get the name of the months
1315 using nl_langinfo, as it is not required anymore
1317 (_create_year_model)
1318 (_create_month_model)
1319 (_update_day_model): use of strftime in order to fill the model properly
1322 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-button.h
1325 * src/hildon-button.c (hildon_button_get_image): New method to
1328 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-touch-selector.c:
1331 (hildon_touch_selector_remove_column): Remove from the correct parent
1332 and also remove the list element and free it.
1335 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1337 * src/hildon-time-selector.c
1338 (_create_hours_model): change the range on 12h ampm format in order to use
1339 a 12-11 range instead of previous 01-12 range
1340 (hildon_time_selector_set_time): change the way to select the current time
1341 on 12h ampm format, due the change on the range
1342 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1345 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1347 * src/hildon-touch-selector.c
1348 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1349 in order to allow use this function on multiple row selection mode if
1350 the column is different that the first one
1353 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1355 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1356 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1358 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * src/hildon-date-selector.h: clean some comments, now on the .c
1361 * src/hildon-date-selector.c
1362 (hildon_date_selector_select_month): first implementation
1363 (hildon_date_selector_select_day): added documentation, reimplemented
1364 using hildon_date_selector_select_current_date to avoid repeat code
1367 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1369 Reviewed interaction logic based on device experiences, refactored
1372 * src/hildon-pannable-area.c,
1373 (hildon_pannable_area_class_init): Updated default vmax speed.
1374 (hildon_pannable_area_calculate_velocity): Added this function, it
1375 avoids duplicate valocity calculation. Adjusted calculation to
1376 avoid problems with zero dist events.
1378 (hildon_pannable_area_motion_notify_cb): Now we use the
1379 calculate_velocity function.
1381 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1383 * src/hildon-date-selector.c
1384 (hildon_date_selector_select_current_date): fix the day range check
1385 as it failed using the last day of the current month
1388 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1390 * src/hildon-touch-selector.c
1391 (hildon_touch_selector_get_num_columns): added a parameter validation
1394 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1396 * examples/Makefile.am
1397 * examples/hildon-edit-toolbar-example.c: Example of the
1398 HildonEditToolbar widget.
1400 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: postrelease version bump.
1404 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1408 * configure.ac: prerelease version bump.
1409 * debian/changelog: update.
1411 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1413 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1414 renderer to display stock icons in the touch list. Also, set the sizes
1415 to the recommended in the style guide.
1417 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1418 * src/hildon-touch-selector.h
1419 (hildon_touch_selector_set_active_iter): renamed, now is
1420 hildon_touch_selector_select_iter
1421 (hildon_touch_selector_get_active_iter): renamed, now is
1422 hildon_touch_selector_get_selected
1423 (hildon_touch_selector_unselect_iter): added
1424 * src/hildon-touch-selector.c
1425 Update after API modification (methods renamed)
1426 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1427 order to avoid problems selecting multiple elements on the column
1428 (hildon_touch_selector_unselect_iter): added the implementation
1429 * src/hildon-time-selector.c
1430 * src/hildon-date-selector.c
1431 * src/hildon-touch-selector-entry.c
1432 Update methods calls after hildon-touch-selector.h API modification (methods
1435 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-stackable-window.c
1438 (hildon_stackable_window_finalize): Call the parent class's finalize.
1440 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1442 * examples/hildon-touch-selector-example.c: (create_selector): Use
1443 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1446 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1448 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1449 set a cell background color, to respect theming.
1451 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1453 * doc/hildon-docs.sgml
1456 * src/hildon-edit-toolbar.c
1457 * src/hildon-edit-toolbar.h
1458 * src/hildon.h: New HildonEditToolbar widget.
1460 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1462 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1465 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1466 * src/hildon-touch-selector.c
1467 (_create_new_column): use g_object_set instead of two g_object_set_property
1469 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1470 * src/hildon-touch-selector.c
1471 (_create_new_column): use of hildon_gtk_tree_view_new to create
1472 the treeview, instead of use directly g_object_new
1473 (_create_new_column): update the property name "vindicator-mode" for the
1474 new one "vscrollbar-policy"
1475 * examples/hildon-date-button-example.c
1476 * examples/hildon-picker-button-multicolumn-example.c
1477 * examples/hildon-touch-selector-entry-example.c
1478 * examples/hildon-touch-selector-example.c
1479 * examples/hildon-time-button-example.c
1480 * examples/hildon-picker-button-example.c
1481 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1482 to all the treeviews inside a pannable area.
1484 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1486 * src/hildon-button.h
1487 * src/hildon-button.c (hildon_button_init)
1488 (hildon_button_set_arrangement, hildon_button_set_alignment)
1489 (hildon_button_set_title_alignment)
1490 (hildon_button_set_value_alignment)
1491 (hildon_button_set_image_alignment)
1492 (hildon_button_construct_child): New methods to set the alignment
1493 of the individual components of the button (title, value,
1494 image). Also, new method to alter the xscale and yscale properties
1495 of the GtkAlignment inside the button, so more complex layouts can
1498 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1500 * src/hildon-button.c (hildon_button_style_set)
1501 (hildon_button_class_init, hildon_button_set_arrangement)
1502 (hildon_button_construct_child): Apply style properties
1503 correctly. Use the 'image-spacing' style property too.
1505 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1507 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1508 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1511 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1513 * src/hildon-pannable-area.c,
1514 (hildon_pannable_area_size_request): Fixed problem with
1515 pannable-area size_request.
1517 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1519 Added management for the grab-focus to a child widget, like a
1520 range, we need to fade out the scrollbar when releasing.
1522 * src/hildon-pannable-area.c,
1523 (hildon_pannable_area_init): Connected the grab-focus signal to
1525 (hildon_pannable_area_grab_notify): Added this function in order
1526 to manage the situation when the grab-focus ends. We have to
1527 fade-out the scrollbar.
1529 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-app-menu.c: Minor documentation update.
1533 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-app-menu.c
1536 * examples/hildon-app-menu-example.c (create_menu): Update
1537 examples and documentation to explain how to connect callbacks.
1539 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1541 * examples/hildon-button-example.c
1542 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1543 hildon_stackable_window_new instead of gtk_window_new
1545 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1547 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1548 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1549 (hildon_pannable_area_set_property),
1550 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1551 (hildon_pannable_area_unrealize),
1552 (hildon_pannable_area_size_request),
1553 (hildon_pannable_area_size_allocate),
1554 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1555 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1556 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1557 (hildon_pannable_area_initial_effect),
1558 (hildon_pannable_area_redraw),
1559 (hildon_pannable_area_scroll_indicator_fade),
1560 (hildon_pannable_area_expose_event),
1561 (hildon_pannable_area_get_topmost), (synth_crossing),
1562 (hildon_pannable_area_button_press_cb),
1563 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1564 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1565 (hildon_pannable_area_motion_notify_cb),
1566 (hildon_pannable_area_button_release_cb),
1567 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1568 (hildon_pannable_area_remove),
1569 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1570 chage the code layout to a more GtkWidget like. Review the use of
1573 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1575 * examples/hildon-pannable-area-example-4.c,
1576 (main): Modified the name of the hindicator_mode to
1579 * src/hildon-pannable-area.c,
1580 (hildon_pannable_area_class_init),
1581 (hildon_pannable_area_motion_notify_cb),
1582 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1583 we have reduced the amount of signals and managed reviewed its
1584 rationale. Changed the default decelerate value.
1586 (hildon_pannable_area_add),
1587 (hildon_pannable_area_redraw): Refactored functions.
1589 (hildon_pannable_area_init),
1590 (hildon_pannable_area_get_property),
1591 (hildon_pannable_area_set_property):
1592 (hildon_pannable_draw_vscroll),
1593 (hildon_pannable_draw_hscroll),
1594 (hildon_pannable_area_initial_effect),
1595 (hildon_pannable_area_expose_event),
1596 (hildon_pannable_area_scroll),
1597 (hildon_pannable_area_button_press_cb),
1598 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1599 and vindicator_mode with hscrollbar_policy and
1600 vscrollbar_policy. Replaced hscroll and vscroll with
1601 hscroll_visible and vscroll_visible.
1603 (hildon_pannable_area_refresh): Refactor the function, remove
1604 variables and check the calls to this function, added resize
1605 conditions in case the children change their layout.
1607 (hildon_pannable_area_size_request): Added more detailed
1608 size_request calculation.
1611 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1613 * src/hildon-color-chooser.c
1614 (init_borders): use the correct gtk_border_free instead of g_free, to
1615 avoid a crash when this widget is used (ie: the three color selection
1618 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1620 * src/hildon-check-button.c,
1621 (hildon_check_button_set_active): Fixed problem when setting the
1622 active value, the widget was not redrawn.
1624 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1626 * src/hildon-pannable-area.c,
1627 (hildon_pannable_area_refresh),
1628 (hildon_pannable_area_scroll),
1629 (hildon_pannable_area_motion_notify_cb): Small code style change.
1631 (hildon_pannable_area_class_init): Default initial_hint set to
1632 FALSE, it is not in the specs.
1634 (hildon_pannable_area_initial_effect),
1635 (hildon_pannable_area_expose_event),
1636 (hildon_pannable_area_map),
1637 (hildon_pannable_area_init): Moved the launching point of the
1638 initial effect, it was in map but the sizes where not correct in
1639 that method so we do not know if we have the reproduce it. Now it
1640 is placed in the expose_event method and uses a variable to
1641 reproduce it just once.
1643 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1645 * src/hildon-pannable-area.c,
1646 (hildon_pannable_draw_vscroll),
1647 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1648 position allowed for the scrollbars.
1650 (hildon_pannable_area_size_allocate): Small style change.
1652 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1654 * src/hildon-pannable-area.c,
1655 (hildon_pannable_area_scroll_indicator_fade),
1656 (hildon_pannable_area_button_press_cb),
1657 (hildon_pannable_area_button_release_cb),
1658 (hildon_pannable_area_scroll_cb),
1659 (hildon_pannable_area_expose_event),
1660 (hildon_pannable_area_init): Added the define parameter
1661 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1662 and refactor the fade variable.
1664 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1666 * src/hildon-pannable-area.c,
1667 (hildon_pannable_area_redraw),
1668 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1669 lines, we were reimplemeting the redraw code.
1671 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1673 * src/hildon-pannable-area.c,
1674 (hildon_pannable_area_scroll_cb),
1675 (hildon_pannable_area_realize),
1676 (hildon_pannable_area_class_init): Added scroll_event management
1677 for pannable area, now we can scroll the usual desktop method.
1679 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1680 initialization of the parameters should depend on idle_id.
1682 (hildon_pannable_area_init),
1683 (hildon_pannable_area_map): Small code style modifications
1685 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1687 * src/hildon-pannable-area.c
1688 (hildon_pannable_area_button_press_cb),
1689 (hildon_pannable_area_motion_notify_cb),
1690 (hildon_pannable_area_button_release_cb),
1691 (hildon_pannable_area_size_allocate),
1692 (hildon_pannable_area_scroll_to): Improved the timeouts
1693 management, we avoid creating them each time.
1695 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1697 * src/hildon-pannable-area.c:
1698 (hildon_pannable_area_refresh),
1699 (hildon_pannable_area_motion_notify_cb),
1700 (hildon_pannable_area_class_init):
1701 * src/hildon-pannable-area.h:
1702 * src/hildon-touch-selector.c
1703 (_create_new_column):
1704 * examples/hildon-pannable-area-example-4.c:
1705 (horizontal_movement),
1706 (vertical_movement),
1708 Replaced the names of enums in the HildonPannableArea:
1709 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1710 HILDON_MOVEMENT_MODE_*
1711 - HILDON_PANNABLE_AREA_MOV_* ->
1713 - Removed HildonPannableAreaIndicatorMode, now we
1716 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1718 * examples/hildon-pannable-area-touch-grid-example.c
1719 * examples/hildon-pannable-area-touch-list-example.c: Fix
1720 compilation warnings.
1722 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-gtk.c (hildon_gtk_button_new)
1725 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1726 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1727 images overriding the value of the "gtk-button-images" setting.
1729 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1731 * src/hildon-check-button.c (hildon_check_button_new):
1732 Instead of using a custom container, display the label and the
1733 checkbox using the standard GtkButton API.
1735 * examples/hildon-check-button-example.c (main): Don't use
1736 hildon_check_button_set_label() anymore
1738 * src/hildon-check-button.h
1739 * src/hildon-check-button.c
1740 (hildon_check_button_set_label, hildon_check_button_get_label):
1741 Set as deprecated, now we're using gtk_button_{get,set}_label()
1743 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1745 * src/hildon-pannable-area.c,
1746 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1747 GtkTreeview first line we detected it after the inclusion of the
1748 GtkWindowImpl in gtk+. We now check if the window is visible, not
1749 just if the pointer is over the window.
1750 (hildon_pannable_axis_scroll),
1751 (hildon_pannable_area_expose_event): Small style changes.
1753 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-button.c: Update documentation.
1757 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1759 * examples/hildon-button-example.c: Add a switch to show images in
1762 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1764 * doc/hildon-docs.sgml: Some docs reorganization.
1766 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1768 * examples/hildon-pannable-area-touch-list-example.c
1770 * examples/hildon-pannable-area-touch-grid-example.c
1771 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1772 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1773 Fix memory leak when setting the tree model.
1775 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1779 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1781 * doc/hildon.types: Remove duplicated hildon_window_get_type
1782 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1783 documentation comment.
1785 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1787 * doc/Makefile.am: Complete list of private headers.
1789 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1791 * doc/hildon-docs.sgml
1792 * src/hildon-app-menu.c
1793 * src/hildon-bread-crumb.c
1794 * src/hildon-button.c
1796 * src/hildon-program.c
1797 * src/hildon-stackable-window.c
1798 * src/hildon-window.c: Lots of documentation updates.
1800 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1802 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1804 * configure.ac: Require Gtk+ 2.12.9 at least
1806 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1808 * src/hildon-pannable-area.c
1809 (hildon_pannable_area_scroll_indicator_fade),
1810 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1811 to protect the return of this timeout callbacks, avoiding deadlocks.
1813 2008-08-12 Christian Dywan <christian@imendio.com>
1816 * src/hildon-*.h: Ensure a consistent include order,
1817 include <gtk/gtk.h> instead of particular files and
1818 only include the topmost header in the gtk stack. See NB #39857
1820 2008-08-12 Christian Dywan <christian@imendio.com>
1822 * src/hildon-picker-dialog.c
1823 * src/hildon-touch-selector.c: Fix warnings about unused and
1824 uninitialized variables.
1826 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1828 * examples/Makefile.am
1829 * examples/hildon-check-button-example.c: Example of the hildon
1832 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1834 * src/hildon-window.h
1835 * src/hildon-window.c (hildon_window_class_init)
1836 (hildon_window_unset_program): Don't make
1837 hildon_window_unset_program a virtual function anymore.
1839 * src/hildon-stackable-window.c: Update documentation
1841 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1844 * doc/hildon-docs.sgml
1845 * doc/visual_index.xml
1846 * src/hildon-defines.c
1848 * src/hildon-helper.c
1849 * src/hildon-range-editor.c: Lots of documentation fixes.
1851 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1853 * examples/hildon-picker-button-multicolumn-example.c
1854 (create_touch_selector): Fix compilation warning.
1856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1859 (hildon_pannable_area_button_release_cb)
1860 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1862 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1864 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1867 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-bread-crumb-trail.h
1870 * src/hildon-date-editor.c
1871 * src/hildon-date-selector.c
1872 * src/hildon-pannable-area.c
1873 * src/hildon-picker-dialog.c
1874 * src/hildon-time-selector.c
1875 * src/hildon-touch-selector-entry.c
1876 * src/hildon-touch-selector.c
1877 * src/hildon-touch-selector.h: Misc documentation fixes
1879 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1881 * examples/hildon-date-editor-example.c (main): Updated date
1884 * examples/hildon-note-example.c (on_confirmation_clicked):
1885 Updated confirmation note example.
1887 * src/hildon-date-editor.c
1888 * src/hildon-note.c: Updated sample programs in documentation.
1891 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-date-button.h:
1894 * src/hildon-picker-button.h:
1895 * src/hildon-time-button.c:
1896 * src/hildon-time-button.h:
1898 Some declarations changes to allow gtk-doc to document the widgets
1901 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-date-button.c: Document the widget.
1904 * src/hildon-time-button.c: Document the widget.
1906 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-picker-button.c: Document the widget.
1909 * src/hildon-touch-selector-entry.c: Document the widget.
1911 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1913 * doc/hildon-docs.sgml
1916 * src/hildon-check-button.h
1917 * src/hildon-check-button.c: New functions to create the Hildon
1921 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1923 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-button.h
1926 * src/hildon-button.c
1927 (hildon_button_add_title_size_group)
1928 (hildon_button_add_value_size_group)
1929 (hildon_button_add_image_size_group)
1930 (hildon_button_add_size_groups): New functions to set size groups
1931 for the button labels and image.
1932 (hildon_button_new_full): Removed
1934 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1936 * src/hildon-time-selector.c
1937 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1938 in order to avoid a crash if gconf is not available
1940 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-button.c (hildon_button_set_arrangement)
1943 (hildon_button_construct_child): Don't construct the button child
1944 before setting the arrangement.
1946 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-program-private.h
1949 * src/hildon-program.c
1950 * src/hildon-program.h
1951 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1952 (hildon_program_peek_window_stack)
1953 (hildon_program_pop_window_stack)
1954 (hildon_program_go_to_root_window): HildonProgram now has a
1955 separate list for stackable windows. Functions are provided to
1956 manage that list with a stack-like API.
1958 * src/hildon-stackable-window.c: Stackable window management is
1959 now much simpler with the new HildonProgram API. Windows no
1960 longer need to be manually added to the program, they're
1961 automatically pushed to the top of the stack when shown.
1963 * examples/hildon-stackable-window-example.c: Updated example to
1964 reflect the API changes.
1966 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1968 * src/hildon-touch-selector.c: Comment out unimplemented
1969 hildon_touch_selector_insert_column() to avoid a compile warning.
1971 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1974 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1975 (hildon_touch_selector_set_column_selection_mode),
1976 (_hildon_touch_selector_set_model),
1977 (hildon_touch_selector_set_model):
1979 Complete review of HildonTouchSelector documentation.
1981 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1983 * doc/hildon-docs.sgml
1987 * src/hildon-gtk.c: Convenience functions for standard Gtk
1988 widgets, used to easily perform frequent operations.
1990 * src/hildon-button-helpers.h
1991 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1993 * src/hildon-helper.h
1994 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1995 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1997 * src/hildon-button.h
1998 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2000 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-button.c (hildon_button_init)
2003 (hildon_button_set_arrangement, hildon_button_construct_child):
2004 Pack the image and the labels inside the same GtkAlignment so
2005 gtk_button_set_alignment() can be used
2007 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2009 * src/hildon-button.h
2010 * src/hildon-button.c
2011 (hildon_button_init, hildon_button_set_image)
2012 (hildon_button_set_image_position)
2013 (hildon_button_construct_child): New functions to add an image to
2016 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-date-button.c
2019 * src/hildon-picker-button.c
2020 * src/hildon-time-button.c
2021 * src/hildon-button.c:
2022 (hildon_button_class_init): "size-flags" renamed to "size"
2023 (hildon_button_set_title): Hide the title label if set to NULL.
2025 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2027 HildonButtonFlags split into HildonButtonArrangement (to set the
2028 button layout) and HildonSizeType (which can be used for any
2031 * src/hildon-button.h
2032 * src/hildon-button.c
2033 (hildon_button_class_init)
2034 (hildon_button_set_arrangement)
2035 (hildon_button_set_property): New "size-flags"
2036 property. "arrangement-flags" renamed to "arrangement".
2037 (hildon_button_new, hildon_button_new_with_text)
2038 (hildon_button_new_full): Constructors updated to reflect type changes.
2040 * src/hildon-helper.h
2041 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2042 to set the size of a widget.
2046 * src/hildon-button-helpers.c
2047 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2049 * src/hildon-date-button.c
2050 * src/hildon-date-button.h
2051 * src/hildon-picker-button.c
2052 * src/hildon-picker-button.h
2053 * src/hildon-time-button.c
2054 * src/hildon-time-button.h: Updated widgets to reflect
2055 HildonButton API changes.
2057 * examples/hildon-button-example.c
2058 * examples/hildon-date-button-example.c
2059 * examples/hildon-picker-button-example.c
2060 * examples/hildon-picker-button-multicolumn-example.c
2061 * examples/hildon-time-button-example.c
2062 * examples/hildon-touch-selector-entry-example.c
2063 * examples/hildon-touch-selector-example.c: Updated examples to
2064 reflect HildonButton API changes.
2066 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2068 * doc/hildon-docs.sgml:
2070 * examples/Makefile.am:
2071 * examples/hildon-touch-selector-entry-example.c:
2073 * src/hildon-touch-selector-entry.c:
2074 * src/hildon-touch-selector-entry.h:
2077 Moved HildonTouchSelectorEntry from sandbox. Added its
2078 documentation and examples.
2080 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-touch-selector.h:
2083 * examples/hildon-picker-button-multicolumn-example.c:
2084 (hildon_touch_selector_append_text_column): Add a gboolean
2085 parameter to determine if text must be centered in the column.
2087 * src/hildon-date-selector.c: (hildon_date_selector_init):
2088 * src/hildon-time-selector.c: (hildon_time_selector_init):
2089 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2090 (create_touch_selector): Update widgets and example to reflect
2093 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-touch-selector.c:
2096 (hildon_touch_selector_set_active_iter): Set also the cursor in
2099 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2101 * doc/hildon-docs.sgml
2104 * src/hildon-toggle-button.c
2105 * src/hildon-toggle-button.h
2106 * src/hildon.h: Removed HildonToggleButton widget, a derived
2107 class is not necessary for this.
2109 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_area_realize),
2113 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2116 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2118 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2119 "done" button the default widget for the dialog.
2121 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2123 * src/hildon-touch-selector.c:
2124 (hildon_touch_selector_class_init),
2125 (hildon_touch_selector_get_property),
2126 (_hildon_touch_selector_set_model),
2127 (_hildon_touch_selector_has_multiple_selection),
2128 (hildon_touch_selector_has_multiple_selection):
2129 Add a "has-multiple-selection" property with a virtual
2130 has_multiple_selection() method to allow derived classes to
2131 override the default value for it. See the method and property
2132 documentation for details.
2134 * src/hildon-touch-selector.h: Add the new API.
2136 * src/hildon-picker-dialog.c: (requires_done_button): Call
2137 hildon_touch_selector_has_multiple_selection() instead of
2138 determining the need for a button itself.
2140 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2142 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2143 (_hildon_touch_selector_set_model),
2144 (hildon_touch_selector_set_model): Move working code to
2145 _hildon_touch_selector_set_mode(). Call the class method instead.
2147 * src/hildon-touch-selector.h: Add (*set_model) to
2148 HildonTouchSelectorClass.
2150 Make hildon_touch_selector_set_model() a virtual method, so that
2151 derived classes can extend it and do fancy stuff with the model.
2153 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2155 * configure.ac: Set back the tarname in AC_INIT to hildon.
2157 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2161 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2162 instead of libesd (NB#86876). Volume handling is still an open issue.
2164 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2167 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2169 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2170 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2171 derived class to ease placement of an entry widget in
2172 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2173 end, where the selector columns are packed now.
2175 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-picker-button.c: Removed the simple _text() API.
2178 * src/hildon-picker-button.h: Likewise.
2180 * src/hildon-touch-selector.h:
2181 * src/hildon-touch-selector.c:
2182 (hildon_touch_selector_new_text),
2183 (hildon_touch_selector_append_text),
2184 (hildon_touch_selector_prepend_text),
2185 (hildon_touch_selector_insert_text):
2187 Moved the simple _text() API from HildonPickerButton to
2188 HildonTouchPicker, to provide better escalability and not to tie
2189 that API to HildonPickerButton.
2191 * examples/hildon-picker-button-example.c: (main): Example updated.
2193 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-button.c: Updated documentation.
2197 * examples/hildon-button-example.c: Add the posibility to create
2198 the buttons using horizontal layout for title and value.
2200 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2202 * src/hildon-app-menu-private.h
2203 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2204 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2205 GtkSizeGroup for the filters, use the 'homogeneous' property of
2208 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2210 * examples/hildon-button-example.c: Updated example.
2212 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2214 * doc/hildon-docs.sgml:
2217 Update documentation.
2219 * examples/Makefile.am: Update renamed examples.
2221 * examples/hildon-picker-button-multicolumn-example.c:
2222 (create_touch_selector), (main): Update after the rename.
2224 * examples/hildon-touch-picker-example.c: Removed.
2225 * examples/hildon-touch-selector-example.c: (value_changed),
2226 (create_selector), (get_visible_content), (main): Renamed from
2227 hildon-touch-picker-example.c
2229 * src/Makefile.am: Updated renamed files.
2231 * src/hildon-date-button.c: (hildon_date_button_init),
2232 (hildon_date_button_get_date), (hildon_date_button_set_date):
2233 * src/hildon-date-selector.c: (hildon_date_selector_init),
2234 (_custom_print_func), (_update_day_model),
2235 (_manage_selector_change_cb),
2236 (hildon_date_selector_select_current_date),
2237 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2238 * src/hildon-date-selector.h:
2239 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2240 (hildon_picker_button_set_property),
2241 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2242 (hildon_picker_button_init), (hildon_picker_button_new_text),
2243 (hildon_picker_button_append_text),
2244 (hildon_picker_button_prepend_text),
2245 (hildon_picker_button_insert_text),
2246 (hildon_picker_button_set_selector),
2247 (hildon_picker_button_get_selector):
2248 * src/hildon-picker-button.h:
2249 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2250 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2251 (_update_title_on_selector_changed_cb), (requires_done_button),
2252 (_hildon_picker_dialog_set_selector),
2253 (hildon_picker_dialog_set_selector),
2254 (hildon_picker_dialog_get_selector):
2255 * src/hildon-picker-dialog.h:
2256 * src/hildon-time-button.c: (hildon_time_button_init),
2257 (hildon_time_button_get_time), (hildon_time_button_set_time):
2258 * src/hildon-time-selector.c: (hildon_time_selector_init),
2259 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2260 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2261 * src/hildon-time-selector.h:
2264 Massive code updates after the rename.
2266 * src/hildon-touch-picker.c: Removed.
2267 * src/hildon-touch-picker.h: Removed.
2269 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2270 (hildon_touch_selector_init), (hildon_touch_selector_map),
2271 (hildon_touch_selector_remove), (_default_print_func),
2272 (_selection_changed_cb), (_create_new_column),
2273 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2274 (hildon_touch_selector_append_text_column),
2275 (hildon_touch_selector_remove_column),
2276 (hildon_touch_selector_set_column_attributes),
2277 (hildon_touch_selector_insert_column),
2278 (hildon_touch_selector_get_num_columns),
2279 (hildon_touch_selector_get_column_selection_mode),
2280 (hildon_touch_selector_set_column_selection_mode),
2281 (hildon_touch_selector_set_print_func),
2282 (hildon_touch_selector_get_print_func),
2283 (hildon_touch_selector_get_active_iter),
2284 (hildon_touch_selector_set_active_iter),
2285 (hildon_touch_selector_get_selected_rows),
2286 (hildon_touch_selector_get_model),
2287 (hildon_touch_selector_set_model),
2288 (hildon_touch_selector_get_current_text),
2289 (_hildon_touch_selector_center_on_selected_items):
2290 * src/hildon-touch-selector.h: Renamed from
2291 hildon-touch-picker.[ch]
2293 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2294 references, code examples, and related documentation.
2296 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2298 * doc/hildon-docs.sgml
2301 * src/hildon-toggle-button.c
2302 * src/hildon-toggle-button.h
2303 * src/hildon.h: New HildonToggleButton widget.
2305 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-button.c: Add API documentation.
2308 (hildon_button_set_size_groups): Check input parameters
2310 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2312 * src/hildon-pannable-area.c
2313 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2314 effect after reaching the movement thredshold. This way we start
2315 using the distance after passing the thredshold.
2317 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2319 * src/hildon-button.c: (hildon_button_set_property): Use the
2320 appropriate g_value_get_flags() method.
2322 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2324 * doc/hildon-docs.sgml:
2327 Add the touch pickers, picker dialogs, and picker button widgets
2328 to the documentation.
2330 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-button.c: (hildon_button_set_property),
2333 (hildon_button_class_init): Make "arrangement-flags" a proper
2334 G_TYPE_FLAGS derived property.
2336 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2338 * examples/Makefile.am: Add below examples.
2339 * examples/hildon-date-button-example.c:
2340 * examples/hildon-picker-button-example.c:
2341 * examples/hildon-picker-button-multicolumn-example.c:
2342 * examples/hildon-time-button-example.c:
2343 * examples/hildon-touch-picker-example.c:
2345 Add examples for the recently added touch pickers,
2346 picker dialogs, and picker button widgets.
2348 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-button.c: Add some API documentation
2352 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-button.h
2355 * src/hildon-button.c
2357 (hildon_button_new_with_text): New constructor to create a button
2358 with no text at all.
2359 (hildon_button_init, hildon_button_set_arrangement)
2360 (hildon_button_set_title, hildon_button_set_value)
2361 (hildon_button_set_text)
2362 (hildon_button_construct_child): Hide the value when it's not used
2363 so the rest of the text is properly aligned.
2364 Allow creating buttons with arbitrary widgets inside (not just
2365 title/value labels).
2367 * examples/hildon-button-example.c (vertical_buttons_window)
2368 (horizontal_buttons_window): Update example to use new API.
2370 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/Makefile.am: Added HildonTimeButton.
2373 * src/hildon-time-button.c: Added missing LGPL header.
2374 * src/hildon-time-button.h: Added missing LGPL header.
2375 * src/hildon.h: Add hildon-time-button.h
2377 Copied HildonTimeButton from sandbox to trunk. Future work on this
2378 widget must take place in trunk.
2380 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/Makefile.am: Added HildonDateButton.
2383 * src/hildon-date-button.c: Update includes.
2384 * src/hildon.h: Add hildon-date-button.h
2386 Copied HildonDateButton from sandbox to trunk. Future work on this
2387 widget must take place in trunk.
2389 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/Makefile.am: Added HildonPickerButton.
2392 * src/hildon-picker-button.h: Update includes.
2393 * src/hildon.h: Add hildon-picker-button.h
2395 Copied HildonPickerButton from sandbox to trunk. Future work on
2396 this widget must take place in trunk.
2398 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/Makefile.am: Added HildonPickerDialog.
2401 * src/hildon-picker-dialog.c: Update includes.
2402 * src/hildon.h: Add hildon-picker-dialog.h
2404 Copied HildonPickerDialog from sandbox to trunk. Future work
2405 on this widget must take place in trunk.
2407 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2409 * src/Makefile.am: Added HildonTimeSelector.
2410 * src/hildon.h: Add hildon-time-selector.h
2412 Copied HildonTimeSelector widget from sandbox to trunk. Future
2413 work on this widget must happen in trunk.
2415 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/Makefile.am: Added HildonDateSelector.
2418 * src/hildon.h: Add hildon-date-selector.h
2420 Copied HildonDateSelector widget from sandbox to trunk. Future
2421 work on this widget must happen in trunk.
2423 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/Makefile.am: Added HildonTouchPicker.
2426 * src/hildon-touch-picker.c: Update includes.
2427 * src/hildon.h: Add hildon-touch-picker.h
2429 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2430 on this widget must happen in trunk.
2432 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2434 * src/hildon-pannable-area.c:
2435 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2437 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2439 * examples/hildon-app-menu-example.c (main): Let the window
2442 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2444 * src/hildon-pannable-area.c
2445 (hildon_pannable_area_class_init): Set the min value of the
2446 overshoot properties to zero, which points out that not
2447 overshooting allowed.
2449 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2451 Modified the procedure to get the widget at a point inside the
2452 pannable area when using the movement type signals. Now the user
2453 has to call a function to get the child, that way we just
2454 calculate the child in case the user really want to use it and not
2457 * src/hildon-marshalers.list: Modified the marshallers, now we do
2458 not have the widget as a parameter.
2460 * src/hildon-pannable-area.c
2461 (hildon_pannable_area_motion_notify_cb),
2462 (hildon_pannable_area_class_init),
2463 (hildon_pannable_get_child_widget_at): Removed the widget
2464 parameter from the signal callback. We have also refactored the
2465 emission of the signals.
2467 * src/hildon-pannable-area.h: Added a new method to the API to
2468 calculate a widget at a point inside the pannable area,
2469 hildon_pannable_get_child_widget_at.
2471 * examples/hildon-pannable-area-example-4.c
2472 (horizontal_movement): Modified the example to use the new API,
2473 added condition to control which widget is under the event. This
2474 way we can avoid scrolling laterally over other widgets.
2476 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2478 * src/hildon-pannable-area.c
2479 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2480 modes, we stop getting the pointer events due to returning the
2481 callback without properly calling the get pointer again. Fixed
2482 also an error using the hscroll and vscroll.
2484 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2486 * src/hildon-app-menu-private.h
2487 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2488 (hildon_app_menu_button_release, hildon_app_menu_init)
2489 (hildon_app_menu_class_init): Don't hide the menu on button
2490 release if the user didn't press outside first.
2492 * src/hildon-window.h
2493 * src/hildon-window.c (hildon_window_toggle_menu)
2494 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2495 hildon_window_toggle_menu a virtual function for the stackable
2496 window to override it.
2498 * src/hildon-stackable-window.h
2499 * src/hildon-stackable-window-private.h
2500 * src/hildon-stackable-window.c
2501 (hildon_stackable_window_realize)
2502 (hildon_stackable_window_finalize)
2503 (hildon_stackable_window_class_init)
2504 (hildon_stackable_window_init)
2505 (hildon_stackable_window_set_main_menu): New function to set the
2506 app menu of a HildonStackableWindow.
2508 * examples/hildon-app-menu-example.c: Remove the button to show
2509 the app menu, now it'll be shown when clicking on the title bar
2512 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2515 set the widget name if the arrangement flags do not specify
2518 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-button.c: (hildon_button_set_property),
2521 (hildon_button_class_init), (hildon_button_new_full),
2522 (hildon_button_set_arrangement): Added "arrangement-flags"
2525 Make the HildonButtonFlags a construction-only property, to allow
2526 subclasses to set them properly.
2528 2008-07-21 Tim Janik <timj@imendio.com>
2530 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2531 insertion position after backspace, so additional digits are appended,
2534 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2536 * src/hildon-pannable-area.c,
2537 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2538 TODO list, it was complete and removed the g_debug and g_print
2541 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2543 Added the movement modes to the hildon-pannable-area, with this
2544 modes the developers can control in which directions the widget
2545 can scroll. They can also connect to signals in order to do
2546 something when that happens, allowing applications scroll. There
2547 is an example uploaded showing how to use it.
2549 * examples/Makefile.am:
2550 * examples/hildon-pannable-area-example-4.c: Added this example of
2551 an application using the modes.
2553 * src/hildon-marshalers.list: Added a new marshaller for the new
2556 * src/hildon-pannable-area.h: Added new enumerations and flags in
2557 order to control the movement modes and the new signals to warn
2558 about the movements in the area.
2560 * src/hildon-pannable-area.c:
2561 (hildon_pannable_axis_scroll),
2562 (hildon_pannable_area_scroll),
2563 (hildon_pannable_area_motion_notify_cb),
2564 (hildon_pannable_area_get_property),
2565 (hildon_pannable_area_set_property),
2566 (hildon_pannable_area_map),
2567 (hildon_pannable_area_class_init),
2568 (hildon_pannable_area_init),
2569 (hildon_pannable_area_jump_to): Added the modes to control the
2570 movement in the widget. We have added properties to control it,
2571 signals to warn about the movements and refactored some code.
2573 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2575 Changes required in order to allow vfast_factor set to zero to
2578 * src/hildon-pannable-area.c:
2579 (hildon_pannable_area_button_press_cb): Changed the condition, it
2580 is required for not allowing click when vfast_factor is zero.
2581 (hildon_pannable_area_timeout): Initialized velocity variables
2582 when we stop moving, it was less than 1 but not zero and we need
2583 to check zero in some situations.
2584 (hildon_pannable_area_class_init): Changed the default value of
2585 the speed factor, now the button_press is just sent in case the
2586 speed is 2 per cent of the max speed.
2587 (hildon_pannable_area_init): Initialization with 0.
2589 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2591 * src/hildon-pannable-area.c,
2592 (hildon_pannable_area_get_topmost): replaced
2593 gdk_window_get_children with gdk_window_peek_children, this way we
2594 do not have to free the list because it is not a copy.
2596 (hildon_pannable_axis_scroll),
2597 (hildon_pannable_area_scroll),
2598 (hildon_pannable_area_timeout),
2599 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2600 two parameters that were only used inside the
2601 hildon_pannable_area_scroll function.
2603 * examples/hildon-pannable-area-example.c,
2604 (get_sawtooth_label): Fixed small memory leak.
2606 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2608 More checks for the case where the overshoot is bigger than the
2611 * src/hildon-pannable-area.c:
2612 (hildon_pannable_draw_vscroll),
2613 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2614 to draw the slider of the scrollbar under the other scrollbar.
2615 (hildon_pannable_area_expose_event): added new checks to control
2616 the drawing of the overshooting area rectangle, in case it is too
2617 big for the area of the widget.
2618 (hildon_pannable_area_size_allocate): add more checks to avoid
2619 setting a position to the child widget outside the area.
2621 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2623 * src/hildon-pannable-area.c
2624 (hildon_pannable_area_size_allocate): Added conditions to control
2625 when overshooting is bigger than the allocated space for the
2626 children, this avoids negative allocations.
2628 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2630 * doc/hildon-docs.sgml
2632 * examples/Makefile.am
2633 * examples/hildon-button-example.c
2635 * src/hildon-button.c
2636 * src/hildon-button.h
2637 * src/hildon.h: Initial version of the new HildonButton widget,
2640 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2642 * src/hildon-pannable-area.c:
2643 (hildon_pannable_area_button_press_cb),
2644 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2645 (hildon_pannable_area_motion_notify_cb),
2646 (hildon_pannable_area_button_release_cb),
2647 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2648 (hildon_pannable_area_jump_to_child):
2650 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2652 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2654 * examples/Makefile.am
2655 * examples/hildon-pannable-area-touch-grid-example.c
2656 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2657 the Hildon Touch List and Hildon Touch Grid using the
2658 HildonPannableArea widget.
2660 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2662 * src/hildon-pannable-area.c,
2663 (hildon_pannable_area_button_press_cb),
2664 (hildon_pannable_area_refresh),
2665 (hildon_pannable_area_scroll),
2666 (hildon_pannable_area_motion_notify_cb),
2667 (hildon_pannable_area_button_release_cb),
2668 (hildon_pannable_area_expose_event),
2669 (hildon_pannable_area_add),
2670 (hildon_pannable_area_remove),
2671 (hildon_pannable_area_realize),
2672 (hildon_pannable_area_size_allocate),
2673 (hildon_pannable_area_class_init),
2674 (hildon_pannable_area_init),
2675 (hildon_pannable_area_scroll_to_child),
2676 (hildon_pannable_area_jump_to_child): Fixed the problem of
2677 removing the child from the GtkBin, we have rearranged the widget
2678 hierarchy, now there is no GtkAlignment which was not doing
2679 anything interesting but breaking some of the assumptions of
2680 GtkContainer. Now developers if they want to add a GtkAlignment
2681 they could, but it is not inside the area.
2683 We had to review the whole allocation/expose process, now it is
2684 improved and we save at least three signals which would be saving
2685 some time when rendering the widget. The allocation of the
2686 scrollbars is now made in the allocate method as usual.
2688 We have also added some conditions in order to control when there
2689 is no child of the pannable area. Maybe we will need more work
2692 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2694 * src/hildon-pannable-area.c,
2695 (hildon_pannable_area_dispose): Released the fade-out timeout when
2696 disposing the widget.
2698 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2700 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2701 zero, we are going to use that property in order to deactivate the
2703 (hildon_pannable_axis_scroll),
2704 (hildon_pannable_area_size_allocate): Added conditions to control
2705 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2706 call, now it is called in all situations and we can remove calls
2707 in the allocate method.
2708 (hildon_pannable_area_map): Control the situation when
2709 overshoot_max is zero, we do not need the timeout.
2710 (hildon_pannable_area_class_init): Added documentation in order to
2711 point out that setting zero to overshoot_max means deactivate
2714 NOTE: removed trailing whitespaces from my previous comments of
2717 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-pannable-area.c
2720 (hildon_pannable_area_get_property),
2721 (hildon_pannable_area_set_property),
2722 (hildon_pannable_area_map),
2723 (hildon_pannable_area_class_init),
2724 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2725 to cause the widget give a hint about its panning abilities upon
2728 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-pannable-area.c: Several documentation improvements.
2732 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2734 * src/hildon-program.c
2735 * src/hildon-stackable-window.c: Update documentation.
2737 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-stackable-window.c (get_previous_window_if_last):
2740 Renamed get_last_window()
2741 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2742 (hildon_stackable_window_unset_program):
2744 (get_previous_window_if_last):
2745 Detect if the window hasn't been added to a HildonProgram.
2747 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2749 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-pannable-area.c
2752 (hildon_pannable_area_button_press_cb),
2753 (hildon_pannable_axis_scroll),
2754 (hildon_pannable_area_scroll),
2755 (hildon_pannable_area_timeout),
2756 (hildon_pannable_calculate_vel_factor),
2757 (hildon_pannable_area_get_property),
2758 (hildon_pannable_area_set_property),
2759 (hildon_pannable_area_class_init),
2760 (hildon_pannable_area_init),
2761 (hildon_pannable_area_scroll_to),
2762 (hildon_pannable_area_jump_to),
2763 (hildon_pannable_area_scroll_to_child),
2764 (hildon_pannable_area_jump_to_child):
2765 * src/hildon-pannable-area.h: Added the new API functions:
2766 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2767 hildon_pannable_area_scroll_to_child,
2768 hildon_pannable_area_jump_to_child
2771 * examples/Makefile.am
2772 * examples/hildon-pannable-area-example-2.c
2773 * examples/hildon-pannable-area-example-3.c: Added these two new
2774 examples in order to test and show how the new APIs work.
2776 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2778 * examples/hildon-stackable-window-example.c (new_window):
2779 * src/Makefile.am (noinst_HEADERS):
2780 * src/hildon-program.c (hildon_program_go_to_root_window):
2781 * src/hildon-program.h:
2782 * src/hildon-stackable-window-private.h:
2783 * src/hildon-stackable-window.c:
2784 * src/hildon-stackable-window.h:
2785 Create hildon-stackable-window-private.h
2786 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2788 * examples/hildon-app-menu-example.c (create_menu):
2789 * examples/hildon-hvolumebar-insensitive-example.c (main):
2790 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2791 * examples/hildon-toolbar-seekbar-example.c (main):
2792 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2793 * src/hildon-banner.c (hildon_banner_set_property):
2794 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2795 Fix compilation warnings
2797 * src/hildon-window.c:
2800 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-stackable-window.c
2803 (hildon_stackable_window_unset_program):
2804 Calculate correctly whether to show the previous window if the
2805 last one is removed from the stack.
2806 (hildon_stackable_window_go_to_root_window):
2807 Send delete events starting from the topmost window.
2808 Stop if one of the windows is not destroyed.
2810 (hildon_stackable_window_delete_event)
2811 (hildon_stackable_window_class_init):
2812 Ignore the delete event if the window is not the topmost one.
2814 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2816 * src/hildon-pannable-area.c
2817 (hildon_pannable_area_expose_event): Fixed a problem when
2818 selecting the background color of the scrollbars.
2820 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2822 * examples/hildon-stackable-window-example.c
2823 * src/hildon-stackable-window.c
2824 * src/hildon-stackable-window.h
2825 hildon_stackable_window_go_home() renamed to
2826 hildon_stackable_window_go_to_root_window()
2827 Send delete events to windows rather than closing them with
2828 gtk_widget_destroy()
2830 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-pannable-area.c
2833 (hildon_pannable_area_button_release_cb): Fix overshooting in
2836 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-pannable-area.c
2839 (hildon_pannable_area_init): Initially show the scroll indicators.
2840 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2842 Add initial effect showing the widget is pannable.
2844 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-pannable-area.c
2847 (hildon_pannable_area_class_init)
2848 (hildon_pannable_area_set_property)
2849 (hildon_pannable_area_get_property)
2850 (hildon_pannable_area_button_press_cb):
2851 New 'velocity_fast_factor' property to decide which velocity is
2854 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-pannable-area.c
2857 (hildon_pannable_draw_hscroll)
2858 (hildon_pannable_draw_vscroll):
2859 Use float variables to calculate the size of the scrollbars to
2860 avoid error propagation and resizing during scrolling.
2862 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-pannable-area.c
2865 (hildon_pannable_draw_vscroll)
2866 (hildon_pannable_draw_hscroll):
2867 Define a minimum size for the scroll bars
2869 * src/hildon-stackable-window.c
2870 (hildon_stackable_window_go_home): Fix compilation warning
2871 (get_last_window): Minor optimizations
2872 (hildon_stackable_window_class_init): Fix initialization of
2875 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-stackable-window.c: Fixed typos in doc
2879 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-pannable-area.c
2882 (hildon_pannable_area_scroll):
2883 Calculate here whether we need to scroll instead of using the booleans
2884 that tell us whether to /draw/ the scrolling bars.
2886 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-app-menu.h
2890 * src/hildon-app-menu.c
2891 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2892 multiple filter groups related code and API. Now we support only
2894 * examples/hildon-app-menu-example.c:
2896 Update to reflect API changes.
2898 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-stackable-window.c
2901 (hildon_stackable_window_class_init):
2902 Add hildon_stackable_window_realize.
2903 (hildon_stackable_window_realize):
2904 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2905 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2906 to apply theming and behavior specific to HildonStackableWindow
2909 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-note.c (hildon_note_button_release):
2912 Close information notes also when tapping on them
2914 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2916 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2917 ELASTICITY, refactor and review, fix some issues with drawing
2920 * src/hildon-pannable-area.c:
2921 (hildon_pannable_area_button_press_cb): removed the conditions to
2922 avoid clicks when overshooting. It is not required
2924 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2925 define. Refatored and reviewed the code, now we do not need to
2926 manage velocity in motion_notify.
2928 (hildon_pannable_area_motion_notify_cb): We have moved the code
2929 that controls the area_scroll to the axis_scroll function and get
2930 rid of duplicated code.
2932 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2934 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2936 (hildon_pannable_draw_vscroll),
2937 (hildon_pannable_draw_hscroll): Fixed the problems with the
2938 scrollbar drawing, now we do not use two surfaces, it is easier
2939 and saves resources.
2941 (hildon_pannable_area_get_property): Style modification.
2943 (hildon_pannable_area_class_init): Changed some default values.
2945 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2947 * src/hildon-stackable-window.c: Fix some typos in the
2950 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-dialog.c:
2953 Change indentation style
2956 (hildon_note_button_release):
2957 Use root coordinates to check if the release event happened
2960 * src/hildon-app-menu.c
2961 (hildon_app_menu_button_release):
2962 Remove unnecessary check
2964 * examples/hildon-app-menu-example.c
2966 Add cast to fix warning
2968 * src/hildon-app-menu.c
2969 (hildon_app_menu_class_init):
2970 New inner-border style property.
2971 Set all default spacings to 16
2972 (hildon_app_menu_init):
2973 Use vertical-spacing to set the space between filter buttons and
2974 regular menu buttons.
2975 Set the default container border using the inner-border value.
2977 * examples/hildon-app-menu-example.c
2979 Don't set the menu border explicitly, now we have the inner-border
2980 style property for that.
2982 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-app-menu.c (hildon_app_menu_init):
2985 Make the window modal
2987 * src/hildon-note.c (hildon_note_map)
2988 * src/hildon-app-menu.c (hildon_app_menu_map):
2989 Destroy the grab window if we're unable to grab the pointer
2991 * src/hildon-app-menu-private.h
2992 * src/hildon-app-menu.c
2993 (hildon_app_menu_init, hildon_app_menu_finalize)
2994 (hildon_app_menu_map, hildon_app_menu_unmap)
2995 (hildon_app_menu_button_release)
2996 (grab_transfer_window_get):
2997 Bring back the grab window
2998 (hildon_app_menu_realize):
2999 Decorate the window, set WM hint for Matchbox
3001 * src/hildon-note.c (hildon_note_realize):
3002 * src/hildon-banner.c (hildon_banner_realize):
3003 Add WM hints for Matchbox
3005 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-app-menu-private.h
3008 * src/hildon-app-menu.c
3009 (hildon_app_menu_init, hildon_app_menu_finalize)
3010 (hildon_app_menu_map, hildon_app_menu_unmap)
3011 (hildon_app_menu_button_release):
3012 Remove the grab window, it's not needed anymore
3014 * src/hildon-program.c
3015 Fixed typo in documentation
3017 * src/hildon-app-menu.h
3018 * src/hildon-app-menu.c
3019 * examples/hildon-app-menu-example.c
3020 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3022 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3025 Added new transfer_window and close_if_pressed_outside private
3027 (hildon_note_rebuild):
3028 Don't add a cancel button to the information note. It will be
3029 closed when tapping outside
3030 Remove the comment about the OK button in the documentation
3031 (hildon_note_realize):
3032 Set the notification type hint
3033 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3034 Grab/ungrab pointer and keyboard if the note has to be closed when
3036 (hildon_note_button_release):
3037 Close the note when tapping outside (if applicable)
3039 * src/hildon-app-menu.c
3040 Grab/ungrab pointer and keyboard on map/unmap
3041 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3042 Close the menu on button release, not button press
3044 * src/hildon-banner.c
3045 (hildon_banner_set_property)
3046 (hildon_banner_check_position):
3047 Make the banner use the full width of the screen
3048 (hildon_banner_show_information)
3049 (hildon_banner_show_information_with_markup):
3050 Don't display an icon by default
3052 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3054 Added fading scrollbars and adapted all the overshooting code to
3055 horizontal scrolling. We have also fixed bugs with overshooting
3056 and current fading implementation.
3058 * src/hildon-pannable-area.c
3059 (hildon_pannable_area_scroll_indicator_fade): Time out function
3060 used to change the transparency of the scrollbars.
3062 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3063 control and fixed a problem with fading, we now remove the fade
3064 timeout before adding a new one.
3066 (hildon_pannable_axis_scroll):
3067 (hildon_pannable_area_scroll):
3068 (hildon_pannable_area_timeout): Added this functions so we can use
3069 the scroll code both for vertical and horizontal.
3071 (hildon_pannable_area_motion_notify_cb):
3072 (hildon_pannable_area_button_release_cb): Added the horizontal
3073 scrolling control, fixed a problem with the overshooting timeout.
3075 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3076 painting of the scrolls.
3078 (hildon_pannable_draw_vscroll):
3079 (hildon_pannable_draw_hscroll):
3080 (hildon_pannable_area_expose_event):
3081 Draw both scrollbars and rectangles in the overshooting area.
3083 (hildon_pannable_area_get_property):
3084 (hildon_pannable_area_set_property):
3085 Modified the overshoot property to overshoot_max
3087 (hildon_pannable_area_map):
3088 Replaced the comments symbols.
3090 (hildon_pannable_area_size_allocate):
3091 (hildon_pannable_area_class_init):
3092 (hildon_pannable_area_init): Added horizontal scroll, fading
3093 effect properties, fixed a problem when overshooting in the bottom
3096 * examples/hildon-pannable-area-example.c:
3097 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3098 looks better in the example.
3100 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-window.c
3103 * src/hildon-window.h
3104 (hildon_window_class_init)
3105 (hildon_window_unset_program)
3106 (hildon_window_unset_program_real):
3107 Make unset_program a virtual function
3109 * src/hildon-stackable-window.c
3110 * src/hildon-stackable-window.h
3111 Added hildon_stackable_window_go_home()
3113 * examples/Makefile.am
3114 * examples/hildon-stackable-window-example.c
3115 HildonStackableWindow example
3117 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3119 * hildon-pannable-area.c: Added the overshoot property and removed
3120 the OVERSHOOT define. Fixed an indent style error.
3121 (hildon_pannable_area_motion_notify_cb):
3122 (hildon_pannable_area_get_property):
3123 (hildon_pannable_area_set_property): Add overshoot property.
3125 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3128 (hildon_pannable_area_class_init): Installed the new property.
3130 * hildon-pannable-area-example.c: Added a sawtooth function, this
3131 way it is easier to check the movement in the pannable.
3132 (get_sawtooth_label): Added this function.
3133 (main): Now we get the labels from the new get_sawtooth_label
3136 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3138 * src/hildon-app-menu.h
3139 * src/hildon-app-menu.c
3140 Renamed API variables for consistency
3142 (hildon_app_menu_popup): Use also the default window size to
3143 decide where to place the menu
3145 (hildon_app_menu_init, hildon_app_menu_class_init): New
3146 external-border style property
3148 2008-05-26 Michael Natterer <mitch@imendio.com>
3150 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3151 widget_class->tap_and_hold_setup signal slot doesn't exist any
3152 longer, stop overriding it.
3154 (hildon_time_editor_init): g_signal_connect() to the
3155 tap-and-hold-setup signal instead.
3157 (hildon_time_editor_entry_keypress): add cast to fix warning.
3159 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3161 * doc/hildon-docs.sgml
3163 * examples/Makefile.am
3164 * examples/hildon-app-menu-example.c
3166 * src/hildon-app-menu-private.h
3167 * src/hildon-app-menu.c
3168 * src/hildon-app-menu.h
3170 New HildonAppMenu widget
3172 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3174 Rearranged the inheritance of the pannable area, now it inherits
3175 from GtkBin. This will allow us to control the event_window and
3176 the allocation process of the widget, required for some effects.
3178 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3179 GtkBin structures. * src/hildon-pannable-area.c: Added the
3180 event_window variable.
3181 (hildon_pannable_area_button_press_cb):
3182 (hildon_pannable_area_button_release_cb):
3183 (hildon_pannable_area_motion_notify_cb):
3184 Changed the signature of the method, now we override the event
3185 callback instead of connecting to the signal.
3187 (hildon_pannable_area_realize):
3188 (hildon_pannable_area_unrealize):
3189 (hildon_pannable_area_map):
3190 (hildon_pannable_area_unmap):
3191 (hildon_pannable_area_size_allocate):
3192 Added functions to control the widget construction. We add a
3193 INPUT_ONLY window and we put it over the widgets inside the
3194 container, this event_window handles the events.
3196 (hildon_pannable_area_class_init):
3197 Replaced the signal connections with overrides of the event
3200 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3202 Bouncing effect added when touching the borders, you can change
3203 the elasticity of the border changing the ELASTICITY define.
3205 * src/hildon-pannable-area.c: Added ELASTICITY define.
3206 (hildon_pannable_area_timeout): Added inverse velocity when
3207 touching the border of the child widget, that causes a bounce.
3209 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3211 Improved performance, we now do not go to the X server in order to
3212 get the list of window children. Apparently the effect is the
3213 same, we have to be careful and check if this breaks something in
3216 * src/hildon-pannable-area.c:
3217 (get_ordered_children): Removed this function.
3218 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3219 the children windows function with gdk_window_get_children.
3221 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3223 * src/hildon-pannable-area.c:
3224 (hildon_pannable_area_dispose): Fixed a crash when closing the
3225 window and kinetics is activated.
3227 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-pannable-area.h
3230 * src/hildon-pannable-area.c
3231 Changed indentation style to meet the one used in Hildon
3233 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3235 Reviewed the interaction of the AUTO mode, now we use the time
3236 attribute of the events and calculate the velocity in the motion,
3237 doing a gimp like calculation. The velocity is calculated in each
3238 motion event using the last velocity and the current one, the
3239 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3241 * src/hildon-pannable-area.c: Replaced the time based algorithm
3243 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3244 timeout for the AUTO mode when we are still moving the cursor. We
3245 added also the velocity calculation in this function.
3246 (hildon_pannable_area_button_release_cb): launch the timeout in
3247 case we are in AUTO mode. There are still some constants here that
3248 come from the old implementation that should be reviewed and
3251 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3253 * doc/hildon-docs.sgml
3256 * src/hildon-stackable-window.c
3257 * src/hildon-stackable-window.h
3259 New HildonStackableWindow widget
3261 * examples/hildon-dialog-example.c
3262 * examples/hildon-pannable-area-example.c
3265 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-dialog.c
3268 (hildon_dialog_new_with_buttons): New constructor.
3270 * examples/hildon-dialog-example.c
3271 (main): Update the example to use the new
3272 hildon_dialog_new_with_buttons().
3274 * examples/hildon-pannable-area-example.c
3275 (main): Update example.
3277 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3279 * doc/hildon-docs.sgml
3281 Added HildonPannableArea to the documentation.
3283 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3285 * doc/visual_index.xml
3286 Fix reference to HildonLoginDialog in documentation
3288 * doc/hildon-docs.sgml
3290 * examples/Makefile.am
3291 * examples/hildon-dialog-example.c
3293 * src/hildon-dialog.c
3294 * src/hildon-dialog.h
3296 New HildonDialog widget.
3298 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-pannable-area.c
3301 Merge latest changes (r4318, r4342) from libmokoui trunk
3303 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3305 * examples/Makefile.am
3306 * examples/hildon-pannable-area-example.c
3308 * src/hildon-pannable-area.c
3309 * src/hildon-pannable-area.h
3311 New HildonPannableArea widget.
3313 2008-04-15 18:05:19 <timj@imendio.com>
3315 * src/hildon-banner.c: revert the recent change, that introduced
3316 gtk_window_present() calls. this reopens:
3317 Bug 78481 - [freetest] information banners are hidden under browser menu
3318 But resolves another variant of:
3319 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3321 2008-04-15 13:21:13 <timj@imendio.com>
3323 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3324 recreated its layout, spotted by Kris. this fixes all remaining
3325 artefacts and stability issues with the banner code. in particular:
3326 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3328 2008-04-14 16:52:59 <timj@imendio.com>
3330 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3331 operating on unrealized widgets, fixes:
3332 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3334 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3336 2008-04-09 Kristian Rietveld <kris@imendio.com>
3338 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3339 makes banner disappear.
3340 Fixes: NB#79182: info banner flickering with certain message lengts.
3342 * src/hildon-banner.c (hildon_banner_constructor),
3343 (hildon_banner_init), (hildon_banner_set_text),
3344 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3345 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3346 FALSE, reset size requests of label and banner,
3347 (force_to_wrap_truncated): when the text is too wide, always enforce
3348 the maximum possible width instead of recalculating it from the
3349 layout; enforce the maximum banner height of 3 lines,
3350 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3351 nicer wrapping and no truncated chars if space gets tight.
3353 * src/hildon-banner-private.h: add has_been_wrapped and
3354 has_been_truncated fields.
3356 2008-04-07 Sven Herzberg <sven@imendio.com>
3358 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3359 local values in hildon_date_editor_size_allocate
3361 * src/hildon-date-editor.c: moved the real allocation code into the
3364 2008-04-07 Sven Herzberg <sven@imendio.com>
3366 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3367 local values in hildon_date_editor_size_allocate
3369 * src/hildon-date-editor.c: merged the two if() branches together
3371 2008-04-07 Sven Herzberg <sven@imendio.com>
3373 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3374 local values in hildon_date_editor_size_allocate
3376 * src/hildon-date-editor.c: changed the arguments of the if()
3379 2008-04-07 Sven Herzberg <sven@imendio.com>
3381 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3382 local values in hildon_date_editor_size_allocate
3384 * src/hildon-date-editor.c: split the calculation of the allocation
3385 from the real allocation
3387 2008-03-27 Michael Natterer <mitch@imendio.com>
3389 Fixes: NB#81696: The passcode is not overwritten even after
3392 * src/hildon-code-dialog.c
3393 (hildon_code_dialog_button_clicked)
3394 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3395 because that doesn't overwrite selected text. Instead, emit the
3396 "commit" signal on the entry's im_context so the entry's normal
3397 insert logic is triggered. Set the cursor to the end of the entry
3398 after each insert operation so that we *only* insert in the middle
3399 of the text if something was selected.
3401 2008-03-27 Michael Natterer <mitch@imendio.com>
3403 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3404 selector cannot be opened
3406 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3407 when the popup color selector is created. Please connect to this
3408 signal in order to set the dialog's help ID.
3410 2008-03-25 Sven Herzberg <sven@imendio.com>
3412 Fixes: MB#1212: Hide info banners (infoprints) on click
3414 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3415 extracted the close event simulation into an extra function
3416 (hildon_banner_button_press_event): simulate a close event and destroy
3417 the widget if the event wasn't handled
3418 (hildon_banner_class_init): added the button_press_event handler
3419 (hildon_banner_init): added button-press events to the widget
3421 2008-03-25 Sven Herzberg <sven@imendio.com>
3423 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3424 Patch from: Mohammad Anwari <mdamt@maemo.org>
3426 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3427 instead of the right in RTL mode
3428 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3429 breadcrumb button list in RTL mode
3430 * src/hildon-caption.c: mirror the appearance of the caption widget in
3432 * src/hildon-date-editor.c: mirror appearance of the date editor in
3434 * src/hildon-time-editor.c: mirror appearance of the time editor in
3436 * src/hildon-window.c: fix the position of the popup in RTL mode
3438 2008-03-25 Sven Herzberg <sven@imendio.com>
3440 Amendment to the fix of NB#22072. Fix compilation.
3442 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3444 2008-03-19 Sven Herzberg <sven@imendio.com>
3446 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3449 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3450 timeout id properly when the timeout will disappear this leaves no
3451 artifacts around in the destroy(); there will only be the timeout
3452 created by hildon_banner_ensure_timeout() and adding a new timeout
3453 will also work if the timeout gets removed because the timeout_handler
3456 2008-03-19 Michael Natterer <mitch@imendio.com>
3458 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3460 * src/hildon-volumebar.c
3461 * src/hildon-vvolumebar.c
3462 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3463 the widget becomes focussable at all.
3465 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3466 set the focus to wither the mute button or the volumebar.
3468 Remove own "can-focus" property and instead listen to
3469 notify::can-focus in order to update the widget's state.
3471 Implement GtkWidget::focus() and make sure we can also *leave* the
3472 widget, not only enter it, depending on volumebar orientation and
3473 requested focus direction.
3475 Clean up set_mute() to cooperate nicely with all the above.
3477 2008-03-04 Michael Natterer <mitch@imendio.com>
3479 Fixes: NB#78481: information banners are hidden under browser menu
3481 * src/hildon-banner.c: call gtk_window_present() on the banners so
3482 they are risen if they are already visible.
3484 2008-03-03 Sven Herzberg <sven@imendio.com>
3486 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3488 * examples/hildon-window-menu-example.c: (main): extended the window
3489 menu example to serve as a testcase for automatically added
3490 accelerator groups, too
3491 * src/hildon-window.c: (hildon_window_add_accel_group),
3492 (hildon_window_set_menu): added patch by Tommi Komulainen
3494 2008-03-03 Sven Herzberg <sven@imendio.com>
3496 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3498 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3499 knowledge about the border allocators used within GTK+
3501 2008-02-26 Sven Herzberg <sven@imendio.com>
3503 Fixes: MB#2981: Build with asserts broken
3505 * src/hildon-date-editor.c,
3506 * src/hildon-number-editor.c,
3507 * src/hildon-time-editor.c,
3508 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3509 the proper GType instance check
3511 2008-02-25 Sven Herzberg <sven@imendio.com>
3513 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3515 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3516 * examples/hildon-window-menu-example.c: (main): explicitly show
3518 * src/hildon-window.c:
3519 (hildon_window_set_main_menu): moved most of the code from set_menu()
3520 to this place; skipped the call to gtk_widget_show_all(); also didn't
3521 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3522 (hildon_window_set_menu): removed most of the code, just keep the
3523 questionable gtk_widget_show_all()
3524 * src/hildon-window.h: added the new function and deprecate the old
3527 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3533 * debian/changelog: Updating.
3535 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3538 * pkgconfig/Makefile.am:
3539 * pkgconfig/hildon.pc.in:
3542 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3543 use newly created API_MAJOR_VERSION.
3545 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3551 * debian/changelog: Updating.
3553 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3555 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3557 Add outer_border style property, we use it but don't define it (!).
3561 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3563 * examples/hildon-bread-crumb-trail-example.c (main):
3567 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3569 Fix logic for the bread crumb trail node removal.
3573 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3579 * debian/changelog: Updating.
3581 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3583 Patch by Alejandro to get/set passwords dialogs accesibility.
3585 * hildon-1/src/hildon-get-password-dialog.c:
3586 * hildon-1/src/hildon-set-password-dialog.c:
3587 Set atk_set_name to the passwd entries in order to allow
3588 accessibility by name on this entries.
3590 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3595 * debian/control: Updating gtk dep.
3597 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3599 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3600 USE_MAEMO_GTK is enabled.
3602 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3604 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3605 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3607 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3613 * debian/changelog: Updating.
3615 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3617 * examples/Makefile.am:
3618 * examples/hildon-logical-color-example.c:
3619 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3620 applied + adding a test case. Fixes: NB#71660.
3622 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3624 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3625 to be visible, fixes warning on map for windows without toolbars.
3627 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3629 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3630 2.11.0, add a check for that besides the MAEMO_GTK check.
3632 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3638 * debian/changelog: Updating.
3640 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3642 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3643 visibility. Fixes: NB#70842 and MB#615.
3645 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3647 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3648 set the separator as no-show-all so it doesn't unintentionally appear when
3649 someone does a show_all.
3651 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3653 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3654 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3655 toplevel item. Fixes: NB#62031
3657 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3659 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3660 fix the name of the function in the docs.
3662 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3668 * debian/changelog: Updating.
3670 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3672 * examples/hildon-banner-long-example.c: Adding a test-case for long
3675 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3677 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3679 * src/hildon-color-chooser-dialog.c:
3680 * src/hildon-color-chooser.c:
3681 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3682 memory leaks in font selector and color selector. Fixes: NB#70499 and
3685 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3687 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3689 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3691 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3692 little bit bigger. Fixes: #NB63694.
3694 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3700 * debian/changelog: Updating.
3702 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3705 * doc/hildon-docs.sgml:
3706 * doc/images/bread-crumb-trail.png:
3707 * doc/images/calendar-popup.png:
3708 * doc/images/caption.png:
3709 * doc/images/code-dialog.png:
3710 * doc/images/color-button.png:
3711 * doc/images/color-chooser-dialog.png:
3712 * doc/images/color-chooser.png:
3713 * doc/images/controlbar.png:
3714 * doc/images/date-editor.png:
3715 * doc/images/font-selection-dialog.png:
3716 * doc/images/get-password-dialog.png:
3717 * doc/images/hvolumebar.png:
3718 * doc/images/login-dialog.png:
3719 * doc/images/note.png:
3720 * doc/images/number-editor.png:
3721 * doc/images/range-editor.png:
3722 * doc/images/seekbar.png:
3723 * doc/images/set-password-dialog.png:
3724 * doc/images/sort-dialog.png:
3725 * doc/images/time-editor.png:
3726 * doc/images/time-picker.png:
3727 * doc/images/vvolumebar.png:
3728 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3729 Adding the bread-crumb-trial and helpers to the documentation.
3731 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3733 * examples/hildon-find-toolbar-example.c:
3734 * src/hildon-find-toolbar.c:
3735 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3736 actually continue firing the other handlers if connected. Adding a new
3738 hildon_find_toolbar_get_last_index that gets the index of the most
3739 recently added (last) item. Fixes: NB#52301.
3741 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3743 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3744 behaviour. Fixes: NB#68610.
3746 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3748 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3751 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3753 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3754 when realizing the banner. Should make the infonbanner effect a bit more
3757 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3759 * src/hildon-volumebar.c:
3760 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3761 hildon_volumebar_set_range_insensitive_message and
3762 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3764 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3766 * src/hildon-window.c: Fixing the border freeing on destroy.
3768 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3770 * src/hildon-code-dialog-private.h:
3771 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3772 kw keyboard support in HildonCodeDialog.
3774 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3780 * debian/changelog: Updating.
3782 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3784 * src/hildon-date-editor.c:
3785 * src/hildon-number-editor.c:
3786 * src/hildon-private.c:
3787 * src/hildon-private.h:
3788 * src/hildon-time-editor.c:
3789 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3790 handling in subclassed composite widgets. Fixes: NB#66628.
3792 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3794 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3795 from destroy_ callback as it introduces problems in async dbus signal
3796 handlers. Fixes NB#66673.
3798 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3800 * examples/hildon-hvolumebar-example.c:
3801 * src/hildon-volumebar.c: Improving the focus handling in the
3802 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3803 set_property accessor so that "mute" property can be actually set. I'm
3804 scared that nobody noticed it's totally broken.
3806 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3808 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3811 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * src/hildon-calendar.c:
3814 * src/hildon-number-editor.c:
3815 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3816 matches the spec of 6 chars per second. Fixes: NB#60489.
3818 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3820 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3821 gtk_style_lookup_color sometime returns FALSE even though color was
3822 found and values were filled properly. Weird. Removing the warning for the
3825 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3827 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3828 expand vertically. Adding some extra space to the find toolbar buttons to
3829 make them thumbable. Fixes NB#66060.
3831 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3834 popup with "Ok" and "Cancel". Fixes NB#59299.
3836 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * src/hildon-calendar.c: Process all window updates before executing next
3839 timeout. Fixes: NB#54146.
3841 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3847 * debian/changelog: Updating.
3849 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3851 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3852 the client event and ignore it, since we use the delete event to close
3855 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3857 * src/hildon-helper.c: Remove the bogus warning about color not being
3858 found. Fixes NB#58352.
3860 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3862 * examples/Makefile.am:
3863 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3864 HildonSeekbar widget inside a toolbar.
3866 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3868 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3869 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3870 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3871 don't want to be closed by non-temporary windows on map.
3873 Also use G_DEFINE_TYPE instead of manually typed code.
3875 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3882 * debian/rules: Updating.
3884 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3886 * examples/Makefile.am:
3887 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3888 bug NB#61128. Strangely it works.
3890 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3892 * src/hildon-date-editor.c: When the date editor entry has been changed
3893 but the numbers of characters < max, turn off the skip validation flag.
3894 Prevents a situation when we enter first a valid year and later re-write
3895 it with an invalid one. Fixes NB#60154.
3897 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3899 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3900 code dialog. Fixes NB#64355.
3902 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3904 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3905 switching the page. Fixes NB#49374.
3907 * examples/Makefile.am:
3908 * examples/hildon-wizard-dialog-example.c: Adding an example for
3909 HildonWizardDialog that shows how to handle manual sensitivity setting on
3912 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3916 * src/hildon-version.h.in:
3917 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3919 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3921 * src/hildon-volumebar.c: Updating the docs.
3923 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3929 * debian/changelog: Updating.
3931 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3933 * src/hildon-find-toolbar.c:
3934 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3935 selected item: hildon_find_toolbar_set_active,
3936 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3937 hildon_find_toolbar_get_active_iter . They correspond to respective
3938 GtkComboBox functions.
3940 * examples/Makefile.am:
3941 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3944 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3946 * examples/Makefile.am:
3947 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3950 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3951 when font size > 32 and we pack a focusable widget inside. Actually using
3952 the default response would work too, but since we don't show default
3953 response state in any way (no theming) it would not be visible to the
3954 user. Fixes NB#63430.
3956 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3958 * src/hildon-date-editor.c: Adding the missing variable setter in the
3959 set_property handler. Fixes NB#54182.
3961 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3963 * src/hildon-window.h: Changing the long key press time from 1500ms to
3964 800ms as requested in NB#63700. I have a bad feeling about this, let's
3965 see... Fixes NB#63700.
3967 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3969 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3970 hildon_time_picker_map, hildon_time_picker_realize,
3971 hildon_time_picker_style_set): Split the contents of map to more
3972 appropriate functions; set window decorations on realize and update
3973 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3975 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3980 * debian/changelog: Updating.
3982 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3984 * src/Makefile.am: fixed installation of the header files
3986 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3992 * debian/changelog: Updating.
3994 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3996 * configure.ac: Removing some remaining of --enable-xan.
3998 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4000 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4001 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4003 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4004 2.10.12-osso6 because the move-focus signal needs to be available in
4007 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4009 * examples/Makefile.am:
4010 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4011 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4012 fine. Prolly NB#61128 is fixed now.
4014 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4016 * src/hildon-volumebar.c:
4017 * src/hildon-volumebar.h: Adding the
4018 hildon_volumebar_set_range_insensitive_message and
4019 hildon_volumebar_set_range_insensitive_messagef functions to set
4020 insensitive message on the slider of the volumebar. Fixes NB#61129.
4022 * examples/Makefile.am:
4023 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4024 test the new insensitive messsage functionality on HildonVolumebar.
4026 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4028 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4031 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4033 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4034 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4035 button on after clearing the trail.
4037 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4039 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4041 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4043 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4044 by splitting the installed headers in generated and non-generated groups. Use
4045 only the non-generated headers to create the hildon-enum-types.h file.
4047 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4049 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4051 * src/hildon-window.c: Hide the window before performing the destroy.
4052 Should make the app closing a little tiny bit more snappy.
4054 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4056 * src/hildon-seekbar.c: add gtkrange.h header
4057 * src/hildon-caption.c: remove unused variable
4059 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4061 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4064 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4070 * debian/changelog: Updating.
4072 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4074 * src/hildon-window.c (hildon_window_window_state_event,
4075 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4076 escape timeout on focus-out-event rather than notify::is-topmost; the
4077 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4079 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4081 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4082 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4084 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4086 * src/hildon-window: actually, you need to use the macro always, there's
4087 no private pointer in the instance structure. We should have cleaned this up
4088 when we had the chance...
4090 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4092 * src/hildon-window.c: do not get the private date from HildonWindow before
4093 it passes the g_return_if_fail check. Once it's passed the test, there's no
4094 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4095 if you are only going to access the data once. Whitespace cleanups.
4097 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4099 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4100 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4102 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4108 * debian/changelog: Updating.
4110 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * src/hildon-window.c: When destroying the window, remove (if exists) the
4113 escape timeout handler. Fixes #NB59276.
4115 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4117 * src/hildon-banner.c: When realizing the widget, set the window
4118 transiency. Setting the transiency in the gobject constructor is not
4119 good, as the widget is not realized at that point. Fixes: #NB56624.
4121 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4123 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4124 Add padding for future expansions.
4126 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4128 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4129 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4130 will fake an activation on the previous to the last item of the trail, so
4131 the effect can be overrided by the developer as usual.
4132 Also change the callback for the back button to do the same thing, so its
4133 effect can be overrided too. Fixes: NB#58982
4135 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4137 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4138 HildonCaption. Fixes NB#52379.
4140 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4142 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4143 the internal state of the trail after the user has had the chance of executing
4144 his handler for the signal. Specifically, it may happen that the activated button
4145 is removed and the user still lets the default handler run. This would segfault
4148 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4150 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4151 scrollbar to the preview dialog. Fixes NB#54147.
4153 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4155 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4156 max/min year properties can be altered, so the client can modify it
4157 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4159 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4161 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4162 hildonlike by default. Fixing a problem with disappearing arrows when
4163 scrolling through months and years. Fixes NB#54127.
4165 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * examples/hildon-date-editor-example.c: Adding error callback to the date
4170 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * configure.ac: Updating.
4178 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4180 * configure.ac: Adding a special '--enable-xan' configure option that
4181 turns off the -Werror compilation setting. Usefull for development.
4183 * src/hildon-calendar.c:
4184 * src/hildon-number-editor.c:
4185 * src/hildon-time-picker.c: Adding the 5* multiplier to
4188 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4190 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4191 instead of g_object_ref + gtk_object_sink.
4193 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4199 * debian/changelog: Updating.
4201 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4203 * src/hildon-color-chooser-dialog.c:
4204 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4205 straight from Tommi labs.
4207 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * examples/hildon-finger-example.c: Correcting the header file path.
4211 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4212 the changed signal. Fixes a small memory leak.
4214 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4218 * src/hildon-banner.c: Importing several usefull fixes from the
4219 ubuntu-mobile branch.
4221 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4223 * examples/Makefile.am:
4224 * examples/hildon-finger-example.c: Adding a finger-checking code
4227 * src/hildon-font-selection-dialog.c: Do not allocate the color
4228 structure using the g_new. Fixes NB#54061.
4230 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4232 * src/hildon-helper.c: Correcting tabs in file.
4234 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4236 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4237 control the visibility of the children.
4239 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4241 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4247 * debian/changelog: Updating.
4249 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4251 * src/hildon-bread-crumb-trail.c:
4252 (hildon_bread_crumb_trail_size_allocate):
4254 Make the back button always a square.
4256 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4258 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4259 from the .c file as it's a private file.
4261 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4263 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4264 uses slightly bigger height.
4266 * src/hildon-font-selection-dialog.c: Adding some checks before
4267 freeing memory in the font selection dialog.
4269 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4271 * src/hildon-font-selection-dialog.c: Adding a small check when
4274 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4275 buttons sensitivity on page switching.
4277 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4279 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4280 internal details of adding a bread crumb to the trail.
4282 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4288 * debian/changelog: Updating.
4290 * src/hildon-bread-crumb-trail.h:
4291 * src/hildon-bread-crumb.h: Changing the API guard to
4292 HILDON_ENABLE_UNSTABLE_API.
4294 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4302 * src/hildon-helper.h: Updating.
4304 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4312 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4316 * src/hildon-helper.h: Small fix to make the package actually compile.
4318 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4320 * src/hildon-bread-crumb-trail.h:
4321 * src/hildon-bread-crumb.h:
4323 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4324 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4326 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4328 * examples/hildon-bread-crumb-trail-example.c:
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:
4334 * src/hildon-marshalers.list:
4335 * src/hildon-bread-crumb-widget.c:
4336 * src/hildon-bread-crumb-widget.h:
4338 Slight change in the widget design. The bread crumb trail API is
4339 unchanged, but HildonBreadCrumb is now an interface. A *private*
4340 implementation, hildon-bread-crumb-widget, is provided and used
4341 internally by the trail for the push_text/push_icon functions.
4343 The generic push API is still available, so anyone can implement
4344 and use its own bread crumb widget.
4346 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4348 * debian/rules: Fixing the shlibs.
4350 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4352 * src/hildon-banner.c: Fixing a problem with timed banners having
4353 their parrent destroyed before they are.
4355 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4357 * src/hildon-bread-crumb.c:
4358 * src/hildon-bread-crumb.h:
4360 Make the get_natural_size function a vfunc.
4362 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4364 * src/hildon-bread-crumb.c:
4365 * src/hildon-bread-crumb-trail.c:
4369 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4376 * debian/changelog: Updating for release.
4378 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4380 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4381 don't leak the pango layout.
4383 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4386 * examples/hildon-bread-crumb-trail-example.c:
4390 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4392 * debian/changelog: Removing the bug-fixed entries that were actually
4393 resolved as WONTFIX.
4395 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4398 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4400 * src/hildon-bread-crumb-trail.c:
4401 * src/hildon-bread-crumb-trail.h:
4402 * src/hildon-bread-crumb.c:
4403 * src/hildon-bread-crumb.h:
4407 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4409 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4410 until it's passed the type check.
4412 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4414 * examples/hildon-bread-crumb-trail-example.c
4418 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4420 * examples/Makefile.am
4421 * examples/hildon-bread-crumb-trail-example.c
4423 * src/hildon-bread-crumb-trail.c
4424 * src/hildon-bread-crumb-trail.h
4425 * src/hildon-bread-crumb.c
4426 * src/hildon-bread-crumb.h
4428 New HildonBreadCrumbTrail widget.
4430 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4432 * src/hildon-range-editor.c (hildon_range_editor_init),
4433 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4434 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4435 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4436 hildon_time_editor_class_init, hildon_time_editor_init),
4437 src/hildon-get-password-dialog.c (invalid_input,
4438 hildon_get_password_set_property, hildon_get_password_get_property,
4439 create_contents, hildon_get_password_dialog_set_max_characters),
4440 src/hildon-set-password-dialog.c (create_contents),
4441 src/hildon-date-editor.c (hildon_date_editor_init),
4442 src/hildon-login-dialog.c (hildon_login_dialog_init),
4443 src/hildon-number-editor.c (hildon_number_editor_init),
4444 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4445 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4446 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4447 configure option and adding the respective checks in the code.
4448 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4449 hildon_calendar_drag_data_received): fixed some build warnings.
4451 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4453 * debian/changelog: A 1.0.0 release notes.