1 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_scroll_to),
5 (hildon_pannable_area_jump_to),
6 (hildon_pannable_area_scroll_to_child),
7 (hildon_pannable_area_jump_to_child): Replace the mapped
8 precondition of these functions with the realized, it is the
9 correct state of the widget in this case. Changed the
10 documentation according to this modification.
12 2008-10-30 Alejandro G. Castro <alex@igalia.com>
14 Added a new EXTRA_CFLAGS option to add the deprecated define to
15 the compilation command. This way we can avoid using the define in
16 the documentation compilation.
18 * configure.ac: Defined EXTRA_CFLAGS.
20 * examples/Makefile.am:
22 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
24 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
26 * src/hildon-picker-dialog.c:
27 Defined a utility macro with the desired touch selector height
28 Removed currently unused separator, and title_label variables from
30 (hildon_picker_dialog_init): Removed code related to the creation
31 of unused private variables title_label and separator.
32 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
33 to ensure correct visualization of the touch selector inside the dialog.
34 * src/hildon-touch-selector.c
35 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
36 ensure a concrete height of the widget.
38 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
43 Remove spurious whitespaces.
45 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
47 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
48 compilation warning after the cancel button removal.
50 2008-10-30 Alejandro G. Castro <alex@igalia.com>
52 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
54 * configure.ac: Added an AM_CONDITIONAL in order to use in the
55 Makefile.am, that way we can choose not to compile some examples
56 and tests of the deprecated widgets.
58 * examples/Makefile.am: Divided the sources in deprecated and
61 * src/Makefile.am: Added undef statement of the deprecated
62 symbol to the enums file generation process.
64 * src/hildon-color-chooser-dialog.c
65 * src/hildon-color-chooser-dialog.h
66 * src/hildon-color-button.c
67 * src/hildon-color-button.h
68 * src/hildon-color-chooser.c
69 * src/hildon-color-chooser.h
70 * src/hildon-controlbar.c
71 * src/hildon-controlbar.h
72 * src/hildon-date-editor.c
73 * src/hildon-date-editor.h
74 * src/hildon-hvolumebar.c
75 * src/hildon-hvolumebar.h
76 * src/hildon-private.c
77 * src/hildon-private.h
78 * src/hildon-range-editor.c
79 * src/hildon-range-editor.h
80 * src/hildon-seekbar.c
81 * src/hildon-seekbar.h
82 * src/hildon-time-editor.c
83 * src/hildon-time-editor.h
84 * src/hildon-time-picker.c
85 * src/hildon-time-picker.h
86 * src/hildon-volumebar.c
87 * src/hildon-volumebar.h
88 * src/hildon-vvolumebar.c
89 * src/hildon-vvolumebar.h
90 * src/hildon-bread-crumb-trail.h
91 * src/hildon-bread-crumb-trail.c
92 * src/hildon-calendar-popup.c
93 * src/hildon-calendar-popup.h
94 * src/hildon-weekday-picker.c:
95 * src/hildon-weekday-picker.h:
96 * src/hildon-bread-crumb-widget.c:
97 * src/hildon-bread-crumb-widget.h:
98 * src/hildon-bread-crumb.c:
99 * src/hildon-bread-crumb.h:
100 * src/hildon-calendar.c:
101 * src/hildon-calendar.h:
102 * src/hildon-caption.c:
103 * src/hildon-code-dialog.c:
104 * src/hildon-code-dialog.h:
105 * src/hildon-font-selection-dialog.c:
106 * src/hildon-font-selection-dialog.h:
107 * src/hildon-get-password-dialog.c:
108 * src/hildon-get-password-dialog.h:
109 * src/hildon-login-dialog.c:
110 * src/hildon-login-dialog.h:
111 * src/hildon-number-editor.c:
112 * src/hildon-number-editor.h:
113 * src/hildon-set-password-dialog.c:
114 * src/hildon-set-password-dialog.h:
115 * src/hildon-sort-dialog.c:
116 * src/hildon-sort-dialog.h: This is the list of deprecated
119 * src/hildon-touch-selector.c:
120 * src/hildon-window.c: Added undef statement to avoid compilation
123 * tests/Makefile.am: Divided the sources in deprecated and
126 * tests/check_test.c,
127 (configure_tests): Marked the deprecated code that was adding
128 suites with deprecated tests.
130 Fixes: NB#91135 (Deprecate legacy hildon widgets)
132 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
134 * src/hildon-touch-selector.c: (_default_print_func): Do not
135 duplicate a string returned by gtk_tree_model_get(), it is already
138 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
141 2008-10-28 Alejandro G. Castro <alex@igalia.com>
143 * src/hildon-pannable-area.c
144 (hildon_pannable_area_add_with_viewport): Reviewed the complete
145 method, it had problems when adding a widget with viewport the
146 second time. Now checks if it already has a viewport and uses it.
148 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
151 2008-10-28 Alejandro G. Castro <alex@igalia.com>
153 * src/hildon-pannable-area.c,
154 (hildon_pannable_area_scroll_to),
155 (hildon_pannable_area_jump_to),
156 (hildon_pannable_area_scroll_to_child),
157 (hildon_pannable_area_jump_to_child): Added a precondition to the
158 scroll and jump to functions: the widget must be mapped before we
159 can safely call these functions. We have also added documentation
160 to the functions to explain how to use them in this situation.
163 2008-10-28 Alejandro G. Castro <alex@igalia.com>
165 Reviewed the threading handling of the pannable widget, we have
166 used the gdk_threads_add_timeout function instead of the usual
167 glib handlers. This avoids some problems with the threads.
169 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
170 (hildon_pannable_area_initial_effect),
171 (hildon_pannable_area_scroll_indicator_fade),
172 (hildon_pannable_area_button_press_cb),
173 (hildon_pannable_area_timeout),
174 (hildon_pannable_area_motion_notify_cb),
175 (hildon_pannable_area_button_release_cb),
176 (hildon_pannable_area_scroll_cb),
177 (hildon_pannable_area_scroll_to): Removed the
178 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
179 gdk_threads_add_timeout.
181 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
183 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
188 * configure.ac: bump version
189 * debian/changelog: updates
191 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
194 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
195 * src/hildon-color-chooser-dialog.c:
196 (hildon_color_chooser_dialog_init):
197 * src/hildon-font-selection-dialog.c:
198 (hildon_font_selection_dialog_init):
199 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
201 Remove all cancel/close-like dialogs, as these are not going to be
204 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
206 * src/hildon-note.c: (hildon_note_rebuild),
207 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
210 Fixes: NB#90661 (Delete dialog is displayed without NO button)
212 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
214 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
215 sure all buttons are shown, even the Cancel/Close-like ones.
217 Fixes: NB#90861 (Custom Confirmation dialogs should be
218 protected from cancel button removal)
220 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
222 * debian/control: Change libhildon1-examples dependency from libhildon1
224 * debian/libhildon1-examples.install
226 * Makefile.am: Modified the final install directory for the examples on
227 package libhildon1-examples
228 * Makefile.static: Update clean target in order to remove all the binary
231 Changes suggested by Claudio after review new libhildon1-examples package
233 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
236 * src/hildon-touch-selector.c: Ditto.
238 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
240 * debian/control: Added new package libhildon1-examples, in order to pack
241 the current hildon examples as documentation
242 * debian/rules: Not to compress .c files, modify some includes on the
243 examples (as normally are compiled locally, but when installed it will
244 require to include the installed libhildon1 library), and rename
246 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
247 install all the example files on the new example package
248 * examples/Makefile.static: Added static makefile that can be used to
249 compile the examples, once installed the new example package
250 * examples: Most of the examples were modified in order to grant that
251 all use only '#include "hildon.h"', in order to be easy to prepare
252 it on the example package
254 2008-10-23 Alberto Garcia <agarcia@igalia.com>
257 * debian/libhildon1-dev.install
258 * debian/libhildon1-doc.install:
259 Move all gtk-doc files to a separate libhildon1-doc package.
261 2008-10-23 Daniel Borgmann <danielb@openismus.com>
263 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
265 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
267 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
269 * debian/rules: Fixed a error in order to avoid unnecessary calls
270 to autogen.sh on package building
272 2008-10-22 Alberto Garcia <agarcia@igalia.com>
274 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
276 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
278 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
281 2008-10-21 Alberto Garcia <agarcia@igalia.com>
283 * src/hildon-picker-button.c
284 (hildon_picker_button_finalize):
285 Free priv->done_button_text
287 * src/hildon-time-button.c
288 (hildon_time_button_set_time)
289 * src/hildon-picker-button.c
290 (hildon_picker_button_clicked)
291 (hildon_picker_button_selector_selection_changed)
292 (hildon_picker_button_set_selector)
293 * src/hildon-date-button.c
294 (hildon_date_button_set_date):
295 Free strings returned by hildon_touch_selector_get_current_text()
297 * src/hildon-button.c (hildon_button_construct_child):
298 Fix leaks in priv->image and priv->label_box
300 Fixes: NB#90535 (Memory leak in picker button)
302 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
304 * src/hildon-button.c: (hildon_button_get_property): Do not access
305 private elements directly, use getters instead.
307 2008-10-20 Alberto Garcia <agarcia@igalia.com>
309 * src/hildon-app-menu-private.h
310 * src/hildon-app-menu.c
311 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
312 Store the menu's parent window.
314 * src/hildon-stackable-window.c
315 (hildon_stackable_window_toggle_menu)
316 (hildon_stackable_window_finalize):
317 Set the menu's parent window when the menu is shown, unset it when
320 * src/hildon-app-menu.c
321 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
322 (hildon_app_menu_class_init):
323 Send unhandled keyboard accelerators to the parent window.
325 2008-10-20 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-stackable-window.c
328 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
330 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
332 * configure.ac: post release version bump
334 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
337 * configure.ac: Bump version
338 * debian/changelog: Updates
339 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
342 2008-10-20 Alberto Garcia <agarcia@igalia.com>
344 Patch contributed by Daniel Borgmann (danielb@openismus.com)
347 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
348 GtkMenu with Hildon style.
350 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-picker-button.c:
353 (hildon_picker_button_set_done_button_text): Set the dialog's
354 done button text here as well.
356 Fixes: NB#90232 (Picker button does not set the label on done button
359 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
361 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
364 2008-10-16 Alberto Garcia <agarcia@igalia.com>
366 * src/hildon-app-menu.c (hildon_app_menu_insert)
367 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
368 the HildonAppMenu to be activatable using keyboard accelerators
369 when the menu is not being shown.
371 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
373 2008-10-16 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-stackable-window.c
376 (hildon_stackable_window_show):
377 Don't hide old windows automatically when new windows are shown:
378 this is now a task for the window manager.
379 (hildon_stackable_window_class_init)
380 (hildon_stackable_window_hide):
381 Remove windows from the stack everytime they're hidden.
382 (hildon_stackable_window_realize):
383 Don't change the _NET_WM_WINDOW_TYPE property. Use
384 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
385 it as a stackable window.
387 * src/hildon-program.c
388 (hildon_program_pop_window_stack):
389 Just hide the window to remove it from the stack.
390 (hildon_program_go_to_root_window):
391 Don't call gtk_widget_show(), this is now a task for the window
394 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
396 2008-10-15 Alberto Garcia <agarcia@igalia.com>
398 * src/hildon-button.c
399 (hildon_button_construct_child):
400 Don't pack anything in the button until text or image are
401 set. This allows adding a custom child after creating the button
402 with hildon_button_new().
403 (hildon_button_finalize, hildon_button_class_init)
404 (hildon_button_init, hildon_button_set_arrangement): Destroy the
405 alignment and the label box even when they're not packed in the
408 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
410 * src/hildon-touch-selector.h:
411 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
412 currently the type definition was using GTK_TYPE_VBOX
413 * src/hildon-touch-selector.c:
414 Added some implementation notes in order to clarify that any other widget
415 added without the column related API will not be included on the
416 selection logic, and how the widget is freed, as some people ask about
418 (hildon_touch_selector_remove): Reimplemented in order to free properly
419 the column related data when you remove the private hbox.
420 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
421 to get a proper HildonTouchSelectorColumn documentation
423 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
425 * src/hildon-touch-selector-entry.c:
426 (hildon_touch_selector_entry_print_func): Return NULL if there is no
427 text in the GtkEntry and there is no item selected. Fixes a
430 2008-10-13 Alberto Garcia <agarcia@igalia.com>
432 * src/hildon-app-menu-private.h
433 * src/hildon-app-menu.[ch]
434 * src/hildon-button.[ch]
435 * src/hildon-check-button.[ch]
436 * src/hildon-entry.[ch]
437 * src/hildon-pannable-area.[ch]
438 * src/hildon-text-view.[ch]:
439 Added private field to the object's structure.
441 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
443 * configure.ac: post-release version bump
445 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
449 * configure.ac: pre-release version bump
451 * debian/changelog: updates.
453 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
455 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
456 Disconnect the handler for HildonTouchSelector::changed.
458 (hildon_picker_button_selector_selection_changed): Update the button
459 value if the selection change was not triggered by the
462 (hildon_picker_button_set_selector): connect to
463 HildonTouchSelector::changed.
465 Fixes: NB#89650 (Picker button is not updated, when selection in
466 selector has changed)
468 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
470 * src/hildon-picker-dialog.c
471 (hildon_picker_dialog_realize): Removed as not required
472 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
473 * src/hildon-picker-button.c
474 (_current_selector_empty): New function, checks if the selector is empty
475 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
476 if the current selector is empty, in order to avoid to show the dialog
477 close the dialog in this case (and shows a g_warning).
479 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
481 2008-10-09 Alejandro G. Castro <alex@igalia.com>
483 * src/hildon-pannable-area.c,
484 (hildon_pannable_area_scroll): Added clause to stop movement when
485 the child of pannable is smaller than one page.
486 (hildon_pannable_area_scroll_to): Added conditions to avoid
487 starting the scrolling movement if the child is smaller than one
488 page, the complete child is in the screen, we do not have to move.
490 Fixes: NB#89632 (Picker button selection doesn't change on first click)
492 2008-10-09 Alberto Garcia <agarcia@igalia.com>
494 * src/hildon-app-menu.c: Removed the 'columns' property, as now
495 this is managed automatically by the widget when the size of the
498 2008-10-09 Alberto Garcia <agarcia@igalia.com>
500 * src/hildon-picker-button.c
501 (hildon_picker_button_set_done_button_text): Make a copy of the
502 text, and free the previous value.
504 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
506 * src/hildon-touch-selector-entry.c:
507 (hildon_touch_selector_entry_print_func): Return the selected row's
508 text if the entry is empty.
510 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
513 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
515 * src/hildon-touch-selector-entry.c: Minor docs fixes.
517 2008-10-09 Alberto Garcia <agarcia@igalia.com>
520 * src/hildon-check-button.h
521 * src/hildon-check-button.c
522 * examples/hildon-check-button-example.c:
523 HildonCheckButton is now a new widget. 'toggled' signal added.
525 2008-10-08 Alberto Garcia <agarcia@igalia.com>
527 * src/hildon-program-private.h
528 * src/hildon-program.c (hildon_program_init)
529 (hildon_program_finalize): Removed unused variables group_leader
530 and name from HildonProgramPrivate.
532 2008-10-08 Alberto Garcia <agarcia@igalia.com>
534 * src/hildon-check-button.c (hildon_check_button_set_active)
535 (hildon_check_button_get_active, hildon_check_button_new): Use
536 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
538 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
540 * src/hildon-touch-selector.h
541 (hildon_touch_selector_set_column_attributes): added deprecation
542 guard HILDON_DISABLE_DEPRECATED
543 * src/hildon-time-selector.c
544 (hildon_time_selector_set_time)
545 (hildon_time_selector_get_time): Fixed a typo on documentation
546 * src/hildon-touch-selector.c: update HildonTouchSelector and
547 HildonTouchSelectorColumn documentation
548 * src/hildon-touch-selector-entry.c: update "text-column" property
550 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
551 to be added to the general documentation.
553 2008-10-08 Alejandro G. Castro <alex@igalia.com>
555 * examples/hildon-pannable-area-example-4.c,
557 * examples/hildon-pannable-area-example.c,
558 (main): Modified the code in order to use the container add, with
559 viewport treeviews could have problems if they are really big.
561 2008-10-06 Alejandro G. Castro <alex@igalia.com>
563 * src/hildon-weekday-picker.c,
564 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
565 the agreement regarding deprecation in the library.
567 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
569 * examples/hildon-picker-button-multicolumn-example.c:
570 (main): Use custom "done" button text.
572 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
573 (hildon_picker_button_set_property),
574 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
575 (hildon_picker_button_init),
576 (+hildon_picker_button_get_done_button_text),
577 (+hildon_picker_button_set_done_button_text): New methods to customize
578 the "done" button label in the launched HildonPickerDialog. Also,
581 * src/hildon-picker-button.h: add the public API.
583 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-date-selector.h:
586 * src/hildon-picker-dialog.h:
587 * src/hildon-time-selector.h:
588 * src/hildon-touch-selector-column.h:
589 * src/hildon-touch-selector.h:
591 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
592 declarations. Fixes gtk-doc warnings.
594 2008-10-06 Alberto Garcia <agarcia@igalia.com>
596 * src/hildon-picker-dialog.h
597 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
598 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
600 Fixes: NB#89329 (selectors in picker dialog are not visible when a
601 long text is set as label for done button)
603 2008-10-06 Alberto Garcia <agarcia@igalia.com>
605 * src/hildon-dialog.c (hildon_dialog_add_button):
606 Set fixed width to all buttons in the HildonDialog.
608 2008-10-06 Alberto Garcia <agarcia@igalia.com>
610 Patch contributed by Daniel Borgmann (danielb@openismus.com)
612 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
613 Set widget name using class name plus "-finger" or "-thumb".
615 2008-10-03 Alberto Garcia <agarcia@igalia.com>
617 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
618 'clicked' when the state of the button is manually changed.
620 2008-10-02 Alberto Garcia <agarcia@igalia.com>
622 * src/hildon-app-menu.c (hildon_app_menu_realize)
623 (hildon_app_menu_unrealize, hildon_app_menu_init)
624 (hildon_app_menu_class_init, item_visibility_changed):
625 Change the menu layout when the size of the screen changes.
626 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
627 Show warning only when changing the number of colums using the
630 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
632 * debian/compat: Set to 5
633 * debian/control: Update dependencies.
634 * debian/libhildon1-dbg.install: Remove.
635 * debian/libhildon1-dev.install: Update according to cdbs paths.
636 * debian/libhildon1.install: Update according to cdbs paths.
637 * debian/rules: Switch to cdbs.
639 2008-10-01 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
642 'item' variable renamed to 'filter'
644 2008-10-01 Alberto Garcia <agarcia@igalia.com>
646 * src/hildon-app-menu.c (hildon_app_menu_insert)
647 (hildon_app_menu_add_filter, remove_item_from_list)
648 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
649 Don't leak hidden items when the menu is destroyed.
651 2008-10-01 Alberto Garcia <agarcia@igalia.com>
653 * src/hildon-app-menu.c (hildon_app_menu_insert)
654 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
655 (hildon_app_menu_set_columns, item_visibility_changed)
656 (filter_visibility_changed, hildon_app_menu_repack_filters)
657 (hildon_app_menu_repack_items):
658 Repack items and filters separately.
660 Don't repack all items, change only the ones that are needed to
663 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
665 * src/Makefile.am: added hildon-touch-selector-column.h
667 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
669 * src/hildon-touch-selector.c: added the property "text-column" to the
670 class HildonTouchSelectorColumn, and related get/set functions
671 (_default_printf_func): updated to use "text-column" property
672 * src/hildon-touch-selector-entry.c: mark as deprecated the property
673 "text-column" in his documentation, as this is now included on
674 HildonTouchSelectorColumn. The get/set_property can still be used,
675 working as a wrapper to the concrete column "text-column" property
676 (_text_column_modified): callback added in order to handle the signal
677 "notify::text-column" of the concrete HildonTouchSelectorColumn
678 (hildon_touch_selector_entry_get_text_column)
679 (hildon_touch_selector_entry_set_text_column): Added documentation, and
680 modified in order to use the HildonTouchSelectorColumn "text-column"
682 * src/hildon-time-selector.c:
683 * src/hildon-date-selector.c:
684 * examples/hildon-touch-selector-example.c
685 * examples/hildon-touch-selector-multi-cells-example.c
686 * examples/hildon-picker-button-multicolumn-example.c
687 Set the right value to "text-column" property on the creation of a new
688 column using hildon_touch_selector_append_column()
690 Fixes: NB#88644 (Hardcoded first column of the model as text column)
692 2008-09-30 Alberto Garcia <agarcia@igalia.com>
694 * src/hildon-app-menu.c
695 (hildon_app_menu_construct_child, hildon_app_menu_init): When
696 updating the layout of the menu, don't create all widgets again,
697 just repack the items in their new places.
699 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
701 * src/hildon-time-selector.c
702 (hildon_time_selector_get_time)
703 (hildon_time_selector_set_time)
704 Added documentation of these public methods
706 * src/hildon-date-button.h
707 * src/hildon-touch-selector-column.h
708 * src/hildon-time-button.h
709 * src/hildon-picker-dialog.h
710 * src/hildon-time-selector.h
711 * src/hildon-picker-button.h
712 * src/hildon-touch-selector.h
713 * src/hildon-time-picker.h
714 * src/hildon-date-selector.h
715 * src/hildon-touch-selector-entry.h
716 Modified in order to use hildon-widgets code style
718 2008-09-30 Alejandro G. Castro <alex@igalia.com>
720 Added deprecated support to the compilation process using
721 HILDON_DISABLE_DEPRECATED
723 * configure.ac: Added the --disable-deprecated to the configure
726 * src/hildon-weekday-picker.c:
727 * src/hildon-weekday-picker.h: Deprecated widget, example of how
728 to use the deprecated support. We will update the other deprecated
729 widgets status in a new patch.
731 2008-09-30 Alejandro G. Castro <alex@igalia.com>
733 * configure.ac: Fixed typo with fatal warnings support, the
734 variable name was not correct
736 2008-09-29 Alberto Garcia <agarcia@igalia.com>
738 * src/hildon-app-menu.c
739 * src/hildon-program.c: Update documentation.
741 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
743 * configure.ac: Post-release version bump.
745 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
750 * configure.ac: Pre-release version bump.
751 * debian/changelog: Updates.
753 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
755 * NEWS: Update news for previous releases.
757 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
759 * examples/hildon-touch-selector-multi-cells-example.c:
760 (create_selector): Update the example to use
761 hildon_touch_selector_append_column() with a NULL renderer and set
763 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
764 passed a NULL renderer. This is documented behavior now.
766 Allow passing a NULL renderer to hildon_touch_selector_append_column().
767 This must be used if the developer wants full control on the layout of
768 the renderers to be added to the column.
770 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
772 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
774 * src/hildon-touch-selector.c: Documentation fixes.
776 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
778 * src/hildon-wizard-dialog-private.h: Remove image and box.
779 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
780 (hildon_wizard_dialog_set_property), (response): Completely remove
781 image/icon support, and the containers required for the layout.
783 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
785 2008-09-25 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-app-menu.c: Updated documentation.
789 * src/hildon-stackable-window.c
790 (hildon_stackable_window_set_main_menu): Unref the old menu after
793 2008-09-25 Alberto Garcia <agarcia@igalia.com>
795 * src/hildon-stackable-window.c
796 (hildon_stackable_window_set_main_menu): Unref the previous menu
797 instead of destroying it.
799 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
800 floating reference and set has_user_ref_count to FALSE to make
801 HildonAppMenu act like a normal ref-counted widget and not a
804 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
807 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
809 * src/hildon-touch-selector-column.h: new file
810 * src/hildon-touch-selector.h
811 * src/hildon-touch-selector.c
812 Implemented GtkCellLayout interface, in order to allow to configure
813 the cell layout on each individual selector column
814 (hildon_touch_selector_set_column_attributes): marked as deprecated
815 * examples/hildon-touch-selector-multi-cells-example.c
816 Example of how to use the GtkCellLayout interface on the selector
818 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
820 2008-09-24 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-app-menu.h
823 * src/hildon-app-menu.c
824 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
825 (hildon_app_menu_append, hildon_app_menu_prepend):
826 New methods to prepend, insert and move items in the menu.
828 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-wizard-dialog.c:
832 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
834 (create_title): Update logical IDs and related code.
835 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
837 * src/hildon-wizard-dialog.h: Note that
838 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
839 point, as it is not used anymore.
841 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
843 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
846 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
847 shown. Do not display an icon in confirmation notes nor information
849 (hildon_note_set_button_text): Update logical ID for cancel button.
851 Fixes: NB#88850 (Update HildonNote button strings + signals)
853 2008-09-24 Alberto Garcia <agarcia@igalia.com>
855 * src/hildon-stackable-window.c
856 (hildon_stackable_window_set_main_menu): Fix compilation warning.
858 2008-09-24 Alberto Garcia <agarcia@igalia.com>
860 * src/hildon-app-menu-private.h
861 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
862 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
863 (hildon_app_menu_init, hildon_app_menu_class_init): Added
864 temporary property 'columns' to change the number of columns.
866 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
868 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
870 * examples/hildon-note-example.c: (on_information_clicked),
871 (on_confirmation_clicked), (on_progress_clicked), (main): Add
872 debugging information.
873 * src/hildon-note-private.h: Remove close_if_pressed_outside,
875 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
876 (hildon_note_rebuild): Remove special handling of tapping outside/inside
877 in order to close: this will be handled by the WM from now on.
879 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
881 2008-09-24 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-app-menu-private.h
884 * src/hildon-app-menu.c
885 (hildon_app_menu_append, hildon_app_menu_add_filter)
886 (button_visibility_changed, hildon_app_menu_apply_style)
887 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
888 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
889 layout everytime a button (item or filter) is shown or hidden.
891 * src/hildon-stackable-window.c
892 (hildon_stackable_window_set_main_menu): Destroy the old menu when
895 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
897 * src/hildon-touch-selector.c:
898 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
899 that the treeview inside the touch selector is in fremantle hildon mode
900 * examples/hildon-date-button-example.c
901 * examples/hildon-picker-button-multicolumn-example.c
902 * examples/hildon-touch-selector-entry-example.c
903 * examples/hildon-touch-selector-example.c
904 * examples/hildon-time-button-example.c
905 * examples/hildon-picker-button-example.c:
906 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
908 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
910 * examples/hildon-text-view-example.c: (main): Remove the
911 gtkrc bits, now handled by the theme.
913 2008-09-22 Alberto Garcia <agarcia@igalia.com>
915 * src/hildon-picker-button.c (hildon_picker_button_set_active):
918 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
920 * po/Makefile.am: Install properly the mo files.
921 * po/en_GB.po: Update translation, to ease testing purposes.
923 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
925 * examples/hildon-picker-button-example.c: (main): Select an item
926 in the selector before setting it to the button.
928 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
931 Update button's value if the selector has an item active.
933 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
934 'value' with the selector)
936 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
938 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
939 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
940 (hildon_picker_button_class_init): Plug the finalize method.
941 (hildon_picker_button_set_selector): If there's a previously set
942 selector, unref'it before setting a new one.
944 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
947 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
949 * src/hildon-touch-selector-entry.c:
950 (hildon_touch_selector_entry_changed): Check if there is no text
951 selected before setting the entry text.
954 2008-09-15 Alberto Garcia <agarcia@igalia.com>
956 * src/hildon-touch-selector.h
957 * src/hildon-touch-selector.c
958 (hildon_touch_selector_get_active)
959 (hildon_touch_selector_set_active): New methods to set/get the
960 index of the selected item.
962 * src/hildon-picker-button.h
963 * src/hildon-picker-button.c
964 (hildon_picker_button_get_active)
965 (hildon_picker_button_set_active): New methods to set/get the
966 index of the selected item.
968 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
970 * configure.ac: post-release version bump.
972 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
976 * configure.ac: Pre-release version bump.
977 * debian/changelog: Updates.
978 * debian/control: Add myself as maintainer and depend on l10n
981 2008-09-15 Alberto Garcia <agarcia@igalia.com>
983 * src/hildon-window.c
984 (hildon_window_set_main_menu)
985 * src/hildon-stackable-window.c
986 (hildon_stackable_window_set_main_menu):
987 Updated documentation.
989 2008-09-15 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-date-selector.c (hildon_date_selector_finalize):
992 Don't free selector->priv manually.
995 2008-09-12 Alejandro G. Castro <alex@igalia.com>
998 (hildon_gtk_window_set_progress_indicator):
999 * src/hildon-gtk.h: Added the new API
1000 hildon_gtk_window_set_progress_indicator, it changes the state of
1001 the window progress hint.
1003 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-button.c
1006 * src/hildon-stackable-window.c: Minor documentation updates.
1008 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-stackable-window.c: Updated documentation.
1012 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1014 * src/hildon-defines.h: Update margins definitions
1015 to the Fremantle sizes.
1018 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1020 * src/hildon-touch-selector.c,
1021 (_hildon_touch_selector_set_model): Cleaning the code after
1022 review, removed g_print and #if 0 from the code.
1024 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1026 * src/hildon-edit-toolbar.c: Update documentation.
1028 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-check-button.h
1031 * src/hildon-check-button.c
1032 (hildon_check_button_set_label, hildon_check_button_get_label)
1033 * examples/hildon-check-button-example.c
1034 (button_clicked_cb):
1035 Removed deprecated methods.
1037 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-text-view.c:
1040 Add sample code to the documentation.
1042 * src/hildon-entry.h
1043 * src/hildon-text-view.h:
1044 Minor cosmetic changes.
1046 * src/hildon-entry.c:
1047 Add sample code to the documentation.
1048 (hildon_entry_init, hildon_entry_refresh_contents):
1049 Don't allow NULL values in the placeholder.
1051 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1053 * doc/hildon-docs.sgml
1055 * examples/Makefile.am
1056 * examples/hildon-text-view-example.c
1058 * src/hildon-text-view.c
1059 * src/hildon-text-view.h
1061 New HildonTextView widget, with example.
1063 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1065 * po/POTFILES.in: Add missing files with translatable strings.
1066 Partially fixes NB#88287.
1068 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1070 * examples/hildon-pannable-area-example-2.c: (main): No need to
1071 set the cellrenderer height inside hildon touch lists, the theme does
1074 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1076 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1077 they are integrated in the theme.
1079 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1081 * examples/hildon-entry-example.c: Update the example adding
1082 widgets to modify the text and the placeholder of the HildonEntry.
1084 * src/hildon-entry.c: Show the placeholder everytime the widget
1085 is empty and loses the focus.
1087 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1089 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_size_request): Fixed bug in height
1093 requisition, avoid increasing size and add border twice.
1095 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1097 * configure.ac: postrelease version bump.
1099 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1103 * configure.ac: Prerelease version bump.
1104 * debian/changelog: update.
1105 * debian/rules: make -dbg package contain useful debugging symbols.
1107 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1109 * src/hildon-dialog.h
1110 * src/hildon-dialog.c
1111 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1112 New methods to add buttons with finger size.
1113 (hildon_dialog_new_with_buttons):
1114 Create buttons with finger size.
1116 * examples/hildon-dialog-example.c (main): Use HildonDialog
1117 methods to add buttons.
1119 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-entry.c: Updated HildonButton documentation.
1123 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1125 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1126 button value label with (FALSE, FALSE) to prevent NB#88126 from
1129 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1131 * examples/hildon-pannable-area-example.c,
1132 (main): Removed examples panning a vbox inside a pannable
1133 area. Check bug NB#87965
1135 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1137 Patch contributed by Kris Rietveld (kris@imendio.com)
1139 * src/hildon-pannable-area.c,
1140 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1141 get_size and get_position, this saves an X server roundtrip.
1143 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1145 * doc/hildon-docs.sgml
1147 * examples/Makefile.am
1148 * examples/hildon-entry-example.c
1150 * src/hildon-entry.c
1151 * src/hildon-entry.h
1153 New HildonEntry widget, with example.
1155 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-button.c (hildon_button_construct_child): Pack the
1158 image with expand == fill == FALSE. This is a workaround for a bug
1161 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1163 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1164 labels for the text column, to make it more look more dynamic.
1166 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1168 * src/hildon-time-selector.c
1169 Define gettext auxiliar macro N_
1170 (_create_minutes_model)
1171 (_create_hours_model)
1172 (_create_ampm_model): use of strftime in order to fill the model
1173 * src/hildon-date-selector.c
1174 (hildon_date_selector_finalize):
1175 (_locales_init): remove the logic related to get the name of the months
1176 using nl_langinfo, as it is not required anymore
1178 (_create_year_model)
1179 (_create_month_model)
1180 (_update_day_model): use of strftime in order to fill the model properly
1183 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-button.h
1186 * src/hildon-button.c (hildon_button_get_image): New method to
1189 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1191 * src/hildon-touch-selector.c:
1192 (hildon_touch_selector_remove_column): Remove from the correct parent
1193 and also remove the list element and free it.
1196 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1198 * src/hildon-time-selector.c
1199 (_create_hours_model): change the range on 12h ampm format in order to use
1200 a 12-11 range instead of previous 01-12 range
1201 (hildon_time_selector_set_time): change the way to select the current time
1202 on 12h ampm format, due the change on the range
1203 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1206 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1208 * src/hildon-touch-selector.c
1209 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1210 in order to allow use this function on multiple row selection mode if
1211 the column is different that the first one
1214 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1217 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1219 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1221 * src/hildon-date-selector.h: clean some comments, now on the .c
1222 * src/hildon-date-selector.c
1223 (hildon_date_selector_select_month): first implementation
1224 (hildon_date_selector_select_day): added documentation, reimplemented
1225 using hildon_date_selector_select_current_date to avoid repeat code
1228 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1230 Reviewed interaction logic based on device experiences, refactored
1233 * src/hildon-pannable-area.c,
1234 (hildon_pannable_area_class_init): Updated default vmax speed.
1235 (hildon_pannable_area_calculate_velocity): Added this function, it
1236 avoids duplicate valocity calculation. Adjusted calculation to
1237 avoid problems with zero dist events.
1239 (hildon_pannable_area_motion_notify_cb): Now we use the
1240 calculate_velocity function.
1242 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1244 * src/hildon-date-selector.c
1245 (hildon_date_selector_select_current_date): fix the day range check
1246 as it failed using the last day of the current month
1249 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1251 * src/hildon-touch-selector.c
1252 (hildon_touch_selector_get_num_columns): added a parameter validation
1255 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1257 * examples/Makefile.am
1258 * examples/hildon-edit-toolbar-example.c: Example of the
1259 HildonEditToolbar widget.
1261 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1263 * configure.ac: postrelease version bump.
1265 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: prerelease version bump.
1270 * debian/changelog: update.
1272 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1274 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1275 renderer to display stock icons in the touch list. Also, set the sizes
1276 to the recommended in the style guide.
1278 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1279 * src/hildon-touch-selector.h
1280 (hildon_touch_selector_set_active_iter): renamed, now is
1281 hildon_touch_selector_select_iter
1282 (hildon_touch_selector_get_active_iter): renamed, now is
1283 hildon_touch_selector_get_selected
1284 (hildon_touch_selector_unselect_iter): added
1285 * src/hildon-touch-selector.c
1286 Update after API modification (methods renamed)
1287 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1288 order to avoid problems selecting multiple elements on the column
1289 (hildon_touch_selector_unselect_iter): added the implementation
1290 * src/hildon-time-selector.c
1291 * src/hildon-date-selector.c
1292 * src/hildon-touch-selector-entry.c
1293 Update methods calls after hildon-touch-selector.h API modification (methods
1296 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1298 * src/hildon-stackable-window.c
1299 (hildon_stackable_window_finalize): Call the parent class's finalize.
1301 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1303 * examples/hildon-touch-selector-example.c: (create_selector): Use
1304 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1307 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1309 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1310 set a cell background color, to respect theming.
1312 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1314 * doc/hildon-docs.sgml
1317 * src/hildon-edit-toolbar.c
1318 * src/hildon-edit-toolbar.h
1319 * src/hildon.h: New HildonEditToolbar widget.
1321 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1323 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1326 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1327 * src/hildon-touch-selector.c
1328 (_create_new_column): use g_object_set instead of two g_object_set_property
1330 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1331 * src/hildon-touch-selector.c
1332 (_create_new_column): use of hildon_gtk_tree_view_new to create
1333 the treeview, instead of use directly g_object_new
1334 (_create_new_column): update the property name "vindicator-mode" for the
1335 new one "vscrollbar-policy"
1336 * examples/hildon-date-button-example.c
1337 * examples/hildon-picker-button-multicolumn-example.c
1338 * examples/hildon-touch-selector-entry-example.c
1339 * examples/hildon-touch-selector-example.c
1340 * examples/hildon-time-button-example.c
1341 * examples/hildon-picker-button-example.c
1342 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1343 to all the treeviews inside a pannable area.
1345 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1347 * src/hildon-button.h
1348 * src/hildon-button.c (hildon_button_init)
1349 (hildon_button_set_arrangement, hildon_button_set_alignment)
1350 (hildon_button_set_title_alignment)
1351 (hildon_button_set_value_alignment)
1352 (hildon_button_set_image_alignment)
1353 (hildon_button_construct_child): New methods to set the alignment
1354 of the individual components of the button (title, value,
1355 image). Also, new method to alter the xscale and yscale properties
1356 of the GtkAlignment inside the button, so more complex layouts can
1359 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-button.c (hildon_button_style_set)
1362 (hildon_button_class_init, hildon_button_set_arrangement)
1363 (hildon_button_construct_child): Apply style properties
1364 correctly. Use the 'image-spacing' style property too.
1366 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1369 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1372 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1374 * src/hildon-pannable-area.c,
1375 (hildon_pannable_area_size_request): Fixed problem with
1376 pannable-area size_request.
1378 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1380 Added management for the grab-focus to a child widget, like a
1381 range, we need to fade out the scrollbar when releasing.
1383 * src/hildon-pannable-area.c,
1384 (hildon_pannable_area_init): Connected the grab-focus signal to
1386 (hildon_pannable_area_grab_notify): Added this function in order
1387 to manage the situation when the grab-focus ends. We have to
1388 fade-out the scrollbar.
1390 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-app-menu.c: Minor documentation update.
1394 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-app-menu.c
1397 * examples/hildon-app-menu-example.c (create_menu): Update
1398 examples and documentation to explain how to connect callbacks.
1400 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1402 * examples/hildon-button-example.c
1403 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1404 hildon_stackable_window_new instead of gtk_window_new
1406 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1408 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1409 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1410 (hildon_pannable_area_set_property),
1411 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1412 (hildon_pannable_area_unrealize),
1413 (hildon_pannable_area_size_request),
1414 (hildon_pannable_area_size_allocate),
1415 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1416 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1417 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1418 (hildon_pannable_area_initial_effect),
1419 (hildon_pannable_area_redraw),
1420 (hildon_pannable_area_scroll_indicator_fade),
1421 (hildon_pannable_area_expose_event),
1422 (hildon_pannable_area_get_topmost), (synth_crossing),
1423 (hildon_pannable_area_button_press_cb),
1424 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1425 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1426 (hildon_pannable_area_motion_notify_cb),
1427 (hildon_pannable_area_button_release_cb),
1428 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1429 (hildon_pannable_area_remove),
1430 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1431 chage the code layout to a more GtkWidget like. Review the use of
1434 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1436 * examples/hildon-pannable-area-example-4.c,
1437 (main): Modified the name of the hindicator_mode to
1440 * src/hildon-pannable-area.c,
1441 (hildon_pannable_area_class_init),
1442 (hildon_pannable_area_motion_notify_cb),
1443 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1444 we have reduced the amount of signals and managed reviewed its
1445 rationale. Changed the default decelerate value.
1447 (hildon_pannable_area_add),
1448 (hildon_pannable_area_redraw): Refactored functions.
1450 (hildon_pannable_area_init),
1451 (hildon_pannable_area_get_property),
1452 (hildon_pannable_area_set_property):
1453 (hildon_pannable_draw_vscroll),
1454 (hildon_pannable_draw_hscroll),
1455 (hildon_pannable_area_initial_effect),
1456 (hildon_pannable_area_expose_event),
1457 (hildon_pannable_area_scroll),
1458 (hildon_pannable_area_button_press_cb),
1459 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1460 and vindicator_mode with hscrollbar_policy and
1461 vscrollbar_policy. Replaced hscroll and vscroll with
1462 hscroll_visible and vscroll_visible.
1464 (hildon_pannable_area_refresh): Refactor the function, remove
1465 variables and check the calls to this function, added resize
1466 conditions in case the children change their layout.
1468 (hildon_pannable_area_size_request): Added more detailed
1469 size_request calculation.
1472 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1474 * src/hildon-color-chooser.c
1475 (init_borders): use the correct gtk_border_free instead of g_free, to
1476 avoid a crash when this widget is used (ie: the three color selection
1479 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1481 * src/hildon-check-button.c,
1482 (hildon_check_button_set_active): Fixed problem when setting the
1483 active value, the widget was not redrawn.
1485 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1487 * src/hildon-pannable-area.c,
1488 (hildon_pannable_area_refresh),
1489 (hildon_pannable_area_scroll),
1490 (hildon_pannable_area_motion_notify_cb): Small code style change.
1492 (hildon_pannable_area_class_init): Default initial_hint set to
1493 FALSE, it is not in the specs.
1495 (hildon_pannable_area_initial_effect),
1496 (hildon_pannable_area_expose_event),
1497 (hildon_pannable_area_map),
1498 (hildon_pannable_area_init): Moved the launching point of the
1499 initial effect, it was in map but the sizes where not correct in
1500 that method so we do not know if we have the reproduce it. Now it
1501 is placed in the expose_event method and uses a variable to
1502 reproduce it just once.
1504 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1506 * src/hildon-pannable-area.c,
1507 (hildon_pannable_draw_vscroll),
1508 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1509 position allowed for the scrollbars.
1511 (hildon_pannable_area_size_allocate): Small style change.
1513 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1515 * src/hildon-pannable-area.c,
1516 (hildon_pannable_area_scroll_indicator_fade),
1517 (hildon_pannable_area_button_press_cb),
1518 (hildon_pannable_area_button_release_cb),
1519 (hildon_pannable_area_scroll_cb),
1520 (hildon_pannable_area_expose_event),
1521 (hildon_pannable_area_init): Added the define parameter
1522 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1523 and refactor the fade variable.
1525 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1527 * src/hildon-pannable-area.c,
1528 (hildon_pannable_area_redraw),
1529 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1530 lines, we were reimplemeting the redraw code.
1532 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_area_scroll_cb),
1536 (hildon_pannable_area_realize),
1537 (hildon_pannable_area_class_init): Added scroll_event management
1538 for pannable area, now we can scroll the usual desktop method.
1540 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1541 initialization of the parameters should depend on idle_id.
1543 (hildon_pannable_area_init),
1544 (hildon_pannable_area_map): Small code style modifications
1546 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1548 * src/hildon-pannable-area.c
1549 (hildon_pannable_area_button_press_cb),
1550 (hildon_pannable_area_motion_notify_cb),
1551 (hildon_pannable_area_button_release_cb),
1552 (hildon_pannable_area_size_allocate),
1553 (hildon_pannable_area_scroll_to): Improved the timeouts
1554 management, we avoid creating them each time.
1556 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1558 * src/hildon-pannable-area.c:
1559 (hildon_pannable_area_refresh),
1560 (hildon_pannable_area_motion_notify_cb),
1561 (hildon_pannable_area_class_init):
1562 * src/hildon-pannable-area.h:
1563 * src/hildon-touch-selector.c
1564 (_create_new_column):
1565 * examples/hildon-pannable-area-example-4.c:
1566 (horizontal_movement),
1567 (vertical_movement),
1569 Replaced the names of enums in the HildonPannableArea:
1570 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1571 HILDON_MOVEMENT_MODE_*
1572 - HILDON_PANNABLE_AREA_MOV_* ->
1574 - Removed HildonPannableAreaIndicatorMode, now we
1577 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1579 * examples/hildon-pannable-area-touch-grid-example.c
1580 * examples/hildon-pannable-area-touch-list-example.c: Fix
1581 compilation warnings.
1583 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1585 * src/hildon-gtk.c (hildon_gtk_button_new)
1586 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1587 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1588 images overriding the value of the "gtk-button-images" setting.
1590 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-check-button.c (hildon_check_button_new):
1593 Instead of using a custom container, display the label and the
1594 checkbox using the standard GtkButton API.
1596 * examples/hildon-check-button-example.c (main): Don't use
1597 hildon_check_button_set_label() anymore
1599 * src/hildon-check-button.h
1600 * src/hildon-check-button.c
1601 (hildon_check_button_set_label, hildon_check_button_get_label):
1602 Set as deprecated, now we're using gtk_button_{get,set}_label()
1604 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1608 GtkTreeview first line we detected it after the inclusion of the
1609 GtkWindowImpl in gtk+. We now check if the window is visible, not
1610 just if the pointer is over the window.
1611 (hildon_pannable_axis_scroll),
1612 (hildon_pannable_area_expose_event): Small style changes.
1614 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-button.c: Update documentation.
1618 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1620 * examples/hildon-button-example.c: Add a switch to show images in
1623 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1625 * doc/hildon-docs.sgml: Some docs reorganization.
1627 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1629 * examples/hildon-pannable-area-touch-list-example.c
1631 * examples/hildon-pannable-area-touch-grid-example.c
1632 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1633 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1634 Fix memory leak when setting the tree model.
1636 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1640 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1642 * doc/hildon.types: Remove duplicated hildon_window_get_type
1643 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1644 documentation comment.
1646 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1648 * doc/Makefile.am: Complete list of private headers.
1650 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1652 * doc/hildon-docs.sgml
1653 * src/hildon-app-menu.c
1654 * src/hildon-bread-crumb.c
1655 * src/hildon-button.c
1657 * src/hildon-program.c
1658 * src/hildon-stackable-window.c
1659 * src/hildon-window.c: Lots of documentation updates.
1661 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1663 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1665 * configure.ac: Require Gtk+ 2.12.9 at least
1667 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1669 * src/hildon-pannable-area.c
1670 (hildon_pannable_area_scroll_indicator_fade),
1671 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1672 to protect the return of this timeout callbacks, avoiding deadlocks.
1674 2008-08-12 Christian Dywan <christian@imendio.com>
1677 * src/hildon-*.h: Ensure a consistent include order,
1678 include <gtk/gtk.h> instead of particular files and
1679 only include the topmost header in the gtk stack. See NB #39857
1681 2008-08-12 Christian Dywan <christian@imendio.com>
1683 * src/hildon-picker-dialog.c
1684 * src/hildon-touch-selector.c: Fix warnings about unused and
1685 uninitialized variables.
1687 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1689 * examples/Makefile.am
1690 * examples/hildon-check-button-example.c: Example of the hildon
1693 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-window.h
1696 * src/hildon-window.c (hildon_window_class_init)
1697 (hildon_window_unset_program): Don't make
1698 hildon_window_unset_program a virtual function anymore.
1700 * src/hildon-stackable-window.c: Update documentation
1702 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1705 * doc/hildon-docs.sgml
1706 * doc/visual_index.xml
1707 * src/hildon-defines.c
1709 * src/hildon-helper.c
1710 * src/hildon-range-editor.c: Lots of documentation fixes.
1712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1714 * examples/hildon-picker-button-multicolumn-example.c
1715 (create_touch_selector): Fix compilation warning.
1717 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1720 (hildon_pannable_area_button_release_cb)
1721 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1723 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1728 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-bread-crumb-trail.h
1731 * src/hildon-date-editor.c
1732 * src/hildon-date-selector.c
1733 * src/hildon-pannable-area.c
1734 * src/hildon-picker-dialog.c
1735 * src/hildon-time-selector.c
1736 * src/hildon-touch-selector-entry.c
1737 * src/hildon-touch-selector.c
1738 * src/hildon-touch-selector.h: Misc documentation fixes
1740 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1742 * examples/hildon-date-editor-example.c (main): Updated date
1745 * examples/hildon-note-example.c (on_confirmation_clicked):
1746 Updated confirmation note example.
1748 * src/hildon-date-editor.c
1749 * src/hildon-note.c: Updated sample programs in documentation.
1752 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-date-button.h:
1755 * src/hildon-picker-button.h:
1756 * src/hildon-time-button.c:
1757 * src/hildon-time-button.h:
1759 Some declarations changes to allow gtk-doc to document the widgets
1762 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-date-button.c: Document the widget.
1765 * src/hildon-time-button.c: Document the widget.
1767 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-picker-button.c: Document the widget.
1770 * src/hildon-touch-selector-entry.c: Document the widget.
1772 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1774 * doc/hildon-docs.sgml
1777 * src/hildon-check-button.h
1778 * src/hildon-check-button.c: New functions to create the Hildon
1782 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1784 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-button.h
1787 * src/hildon-button.c
1788 (hildon_button_add_title_size_group)
1789 (hildon_button_add_value_size_group)
1790 (hildon_button_add_image_size_group)
1791 (hildon_button_add_size_groups): New functions to set size groups
1792 for the button labels and image.
1793 (hildon_button_new_full): Removed
1795 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1797 * src/hildon-time-selector.c
1798 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1799 in order to avoid a crash if gconf is not available
1801 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-button.c (hildon_button_set_arrangement)
1804 (hildon_button_construct_child): Don't construct the button child
1805 before setting the arrangement.
1807 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1809 * src/hildon-program-private.h
1810 * src/hildon-program.c
1811 * src/hildon-program.h
1812 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1813 (hildon_program_peek_window_stack)
1814 (hildon_program_pop_window_stack)
1815 (hildon_program_go_to_root_window): HildonProgram now has a
1816 separate list for stackable windows. Functions are provided to
1817 manage that list with a stack-like API.
1819 * src/hildon-stackable-window.c: Stackable window management is
1820 now much simpler with the new HildonProgram API. Windows no
1821 longer need to be manually added to the program, they're
1822 automatically pushed to the top of the stack when shown.
1824 * examples/hildon-stackable-window-example.c: Updated example to
1825 reflect the API changes.
1827 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-touch-selector.c: Comment out unimplemented
1830 hildon_touch_selector_insert_column() to avoid a compile warning.
1832 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1835 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1836 (hildon_touch_selector_set_column_selection_mode),
1837 (_hildon_touch_selector_set_model),
1838 (hildon_touch_selector_set_model):
1840 Complete review of HildonTouchSelector documentation.
1842 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1844 * doc/hildon-docs.sgml
1848 * src/hildon-gtk.c: Convenience functions for standard Gtk
1849 widgets, used to easily perform frequent operations.
1851 * src/hildon-button-helpers.h
1852 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1854 * src/hildon-helper.h
1855 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1856 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1858 * src/hildon-button.h
1859 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1861 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-button.c (hildon_button_init)
1864 (hildon_button_set_arrangement, hildon_button_construct_child):
1865 Pack the image and the labels inside the same GtkAlignment so
1866 gtk_button_set_alignment() can be used
1868 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-button.h
1871 * src/hildon-button.c
1872 (hildon_button_init, hildon_button_set_image)
1873 (hildon_button_set_image_position)
1874 (hildon_button_construct_child): New functions to add an image to
1877 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-date-button.c
1880 * src/hildon-picker-button.c
1881 * src/hildon-time-button.c
1882 * src/hildon-button.c:
1883 (hildon_button_class_init): "size-flags" renamed to "size"
1884 (hildon_button_set_title): Hide the title label if set to NULL.
1886 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1888 HildonButtonFlags split into HildonButtonArrangement (to set the
1889 button layout) and HildonSizeType (which can be used for any
1892 * src/hildon-button.h
1893 * src/hildon-button.c
1894 (hildon_button_class_init)
1895 (hildon_button_set_arrangement)
1896 (hildon_button_set_property): New "size-flags"
1897 property. "arrangement-flags" renamed to "arrangement".
1898 (hildon_button_new, hildon_button_new_with_text)
1899 (hildon_button_new_full): Constructors updated to reflect type changes.
1901 * src/hildon-helper.h
1902 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1903 to set the size of a widget.
1907 * src/hildon-button-helpers.c
1908 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1910 * src/hildon-date-button.c
1911 * src/hildon-date-button.h
1912 * src/hildon-picker-button.c
1913 * src/hildon-picker-button.h
1914 * src/hildon-time-button.c
1915 * src/hildon-time-button.h: Updated widgets to reflect
1916 HildonButton API changes.
1918 * examples/hildon-button-example.c
1919 * examples/hildon-date-button-example.c
1920 * examples/hildon-picker-button-example.c
1921 * examples/hildon-picker-button-multicolumn-example.c
1922 * examples/hildon-time-button-example.c
1923 * examples/hildon-touch-selector-entry-example.c
1924 * examples/hildon-touch-selector-example.c: Updated examples to
1925 reflect HildonButton API changes.
1927 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1929 * doc/hildon-docs.sgml:
1931 * examples/Makefile.am:
1932 * examples/hildon-touch-selector-entry-example.c:
1934 * src/hildon-touch-selector-entry.c:
1935 * src/hildon-touch-selector-entry.h:
1938 Moved HildonTouchSelectorEntry from sandbox. Added its
1939 documentation and examples.
1941 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-touch-selector.h:
1944 * examples/hildon-picker-button-multicolumn-example.c:
1945 (hildon_touch_selector_append_text_column): Add a gboolean
1946 parameter to determine if text must be centered in the column.
1948 * src/hildon-date-selector.c: (hildon_date_selector_init):
1949 * src/hildon-time-selector.c: (hildon_time_selector_init):
1950 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1951 (create_touch_selector): Update widgets and example to reflect
1954 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1956 * src/hildon-touch-selector.c:
1957 (hildon_touch_selector_set_active_iter): Set also the cursor in
1960 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1962 * doc/hildon-docs.sgml
1965 * src/hildon-toggle-button.c
1966 * src/hildon-toggle-button.h
1967 * src/hildon.h: Removed HildonToggleButton widget, a derived
1968 class is not necessary for this.
1970 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1972 * src/hildon-pannable-area.c,
1973 (hildon_pannable_area_realize),
1974 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1977 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1979 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1980 "done" button the default widget for the dialog.
1982 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1984 * src/hildon-touch-selector.c:
1985 (hildon_touch_selector_class_init),
1986 (hildon_touch_selector_get_property),
1987 (_hildon_touch_selector_set_model),
1988 (_hildon_touch_selector_has_multiple_selection),
1989 (hildon_touch_selector_has_multiple_selection):
1990 Add a "has-multiple-selection" property with a virtual
1991 has_multiple_selection() method to allow derived classes to
1992 override the default value for it. See the method and property
1993 documentation for details.
1995 * src/hildon-touch-selector.h: Add the new API.
1997 * src/hildon-picker-dialog.c: (requires_done_button): Call
1998 hildon_touch_selector_has_multiple_selection() instead of
1999 determining the need for a button itself.
2001 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2004 (_hildon_touch_selector_set_model),
2005 (hildon_touch_selector_set_model): Move working code to
2006 _hildon_touch_selector_set_mode(). Call the class method instead.
2008 * src/hildon-touch-selector.h: Add (*set_model) to
2009 HildonTouchSelectorClass.
2011 Make hildon_touch_selector_set_model() a virtual method, so that
2012 derived classes can extend it and do fancy stuff with the model.
2014 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2016 * configure.ac: Set back the tarname in AC_INIT to hildon.
2018 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2022 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2023 instead of libesd (NB#86876). Volume handling is still an open issue.
2025 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2028 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2031 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2032 derived class to ease placement of an entry widget in
2033 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2034 end, where the selector columns are packed now.
2036 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-picker-button.c: Removed the simple _text() API.
2039 * src/hildon-picker-button.h: Likewise.
2041 * src/hildon-touch-selector.h:
2042 * src/hildon-touch-selector.c:
2043 (hildon_touch_selector_new_text),
2044 (hildon_touch_selector_append_text),
2045 (hildon_touch_selector_prepend_text),
2046 (hildon_touch_selector_insert_text):
2048 Moved the simple _text() API from HildonPickerButton to
2049 HildonTouchPicker, to provide better escalability and not to tie
2050 that API to HildonPickerButton.
2052 * examples/hildon-picker-button-example.c: (main): Example updated.
2054 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-button.c: Updated documentation.
2058 * examples/hildon-button-example.c: Add the posibility to create
2059 the buttons using horizontal layout for title and value.
2061 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-app-menu-private.h
2064 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2065 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2066 GtkSizeGroup for the filters, use the 'homogeneous' property of
2069 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2071 * examples/hildon-button-example.c: Updated example.
2073 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2075 * doc/hildon-docs.sgml:
2078 Update documentation.
2080 * examples/Makefile.am: Update renamed examples.
2082 * examples/hildon-picker-button-multicolumn-example.c:
2083 (create_touch_selector), (main): Update after the rename.
2085 * examples/hildon-touch-picker-example.c: Removed.
2086 * examples/hildon-touch-selector-example.c: (value_changed),
2087 (create_selector), (get_visible_content), (main): Renamed from
2088 hildon-touch-picker-example.c
2090 * src/Makefile.am: Updated renamed files.
2092 * src/hildon-date-button.c: (hildon_date_button_init),
2093 (hildon_date_button_get_date), (hildon_date_button_set_date):
2094 * src/hildon-date-selector.c: (hildon_date_selector_init),
2095 (_custom_print_func), (_update_day_model),
2096 (_manage_selector_change_cb),
2097 (hildon_date_selector_select_current_date),
2098 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2099 * src/hildon-date-selector.h:
2100 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2101 (hildon_picker_button_set_property),
2102 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2103 (hildon_picker_button_init), (hildon_picker_button_new_text),
2104 (hildon_picker_button_append_text),
2105 (hildon_picker_button_prepend_text),
2106 (hildon_picker_button_insert_text),
2107 (hildon_picker_button_set_selector),
2108 (hildon_picker_button_get_selector):
2109 * src/hildon-picker-button.h:
2110 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2111 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2112 (_update_title_on_selector_changed_cb), (requires_done_button),
2113 (_hildon_picker_dialog_set_selector),
2114 (hildon_picker_dialog_set_selector),
2115 (hildon_picker_dialog_get_selector):
2116 * src/hildon-picker-dialog.h:
2117 * src/hildon-time-button.c: (hildon_time_button_init),
2118 (hildon_time_button_get_time), (hildon_time_button_set_time):
2119 * src/hildon-time-selector.c: (hildon_time_selector_init),
2120 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2121 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2122 * src/hildon-time-selector.h:
2125 Massive code updates after the rename.
2127 * src/hildon-touch-picker.c: Removed.
2128 * src/hildon-touch-picker.h: Removed.
2130 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2131 (hildon_touch_selector_init), (hildon_touch_selector_map),
2132 (hildon_touch_selector_remove), (_default_print_func),
2133 (_selection_changed_cb), (_create_new_column),
2134 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2135 (hildon_touch_selector_append_text_column),
2136 (hildon_touch_selector_remove_column),
2137 (hildon_touch_selector_set_column_attributes),
2138 (hildon_touch_selector_insert_column),
2139 (hildon_touch_selector_get_num_columns),
2140 (hildon_touch_selector_get_column_selection_mode),
2141 (hildon_touch_selector_set_column_selection_mode),
2142 (hildon_touch_selector_set_print_func),
2143 (hildon_touch_selector_get_print_func),
2144 (hildon_touch_selector_get_active_iter),
2145 (hildon_touch_selector_set_active_iter),
2146 (hildon_touch_selector_get_selected_rows),
2147 (hildon_touch_selector_get_model),
2148 (hildon_touch_selector_set_model),
2149 (hildon_touch_selector_get_current_text),
2150 (_hildon_touch_selector_center_on_selected_items):
2151 * src/hildon-touch-selector.h: Renamed from
2152 hildon-touch-picker.[ch]
2154 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2155 references, code examples, and related documentation.
2157 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2159 * doc/hildon-docs.sgml
2162 * src/hildon-toggle-button.c
2163 * src/hildon-toggle-button.h
2164 * src/hildon.h: New HildonToggleButton widget.
2166 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-button.c: Add API documentation.
2169 (hildon_button_set_size_groups): Check input parameters
2171 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c
2174 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2175 effect after reaching the movement thredshold. This way we start
2176 using the distance after passing the thredshold.
2178 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2180 * src/hildon-button.c: (hildon_button_set_property): Use the
2181 appropriate g_value_get_flags() method.
2183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2185 * doc/hildon-docs.sgml:
2188 Add the touch pickers, picker dialogs, and picker button widgets
2189 to the documentation.
2191 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-button.c: (hildon_button_set_property),
2194 (hildon_button_class_init): Make "arrangement-flags" a proper
2195 G_TYPE_FLAGS derived property.
2197 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2199 * examples/Makefile.am: Add below examples.
2200 * examples/hildon-date-button-example.c:
2201 * examples/hildon-picker-button-example.c:
2202 * examples/hildon-picker-button-multicolumn-example.c:
2203 * examples/hildon-time-button-example.c:
2204 * examples/hildon-touch-picker-example.c:
2206 Add examples for the recently added touch pickers,
2207 picker dialogs, and picker button widgets.
2209 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-button.c: Add some API documentation
2213 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-button.h
2216 * src/hildon-button.c
2218 (hildon_button_new_with_text): New constructor to create a button
2219 with no text at all.
2220 (hildon_button_init, hildon_button_set_arrangement)
2221 (hildon_button_set_title, hildon_button_set_value)
2222 (hildon_button_set_text)
2223 (hildon_button_construct_child): Hide the value when it's not used
2224 so the rest of the text is properly aligned.
2225 Allow creating buttons with arbitrary widgets inside (not just
2226 title/value labels).
2228 * examples/hildon-button-example.c (vertical_buttons_window)
2229 (horizontal_buttons_window): Update example to use new API.
2231 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/Makefile.am: Added HildonTimeButton.
2234 * src/hildon-time-button.c: Added missing LGPL header.
2235 * src/hildon-time-button.h: Added missing LGPL header.
2236 * src/hildon.h: Add hildon-time-button.h
2238 Copied HildonTimeButton from sandbox to trunk. Future work on this
2239 widget must take place in trunk.
2241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/Makefile.am: Added HildonDateButton.
2244 * src/hildon-date-button.c: Update includes.
2245 * src/hildon.h: Add hildon-date-button.h
2247 Copied HildonDateButton from sandbox to trunk. Future work on this
2248 widget must take place in trunk.
2250 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/Makefile.am: Added HildonPickerButton.
2253 * src/hildon-picker-button.h: Update includes.
2254 * src/hildon.h: Add hildon-picker-button.h
2256 Copied HildonPickerButton from sandbox to trunk. Future work on
2257 this widget must take place in trunk.
2259 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/Makefile.am: Added HildonPickerDialog.
2262 * src/hildon-picker-dialog.c: Update includes.
2263 * src/hildon.h: Add hildon-picker-dialog.h
2265 Copied HildonPickerDialog from sandbox to trunk. Future work
2266 on this widget must take place in trunk.
2268 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/Makefile.am: Added HildonTimeSelector.
2271 * src/hildon.h: Add hildon-time-selector.h
2273 Copied HildonTimeSelector widget from sandbox to trunk. Future
2274 work on this widget must happen in trunk.
2276 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/Makefile.am: Added HildonDateSelector.
2279 * src/hildon.h: Add hildon-date-selector.h
2281 Copied HildonDateSelector widget from sandbox to trunk. Future
2282 work on this widget must happen in trunk.
2284 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/Makefile.am: Added HildonTouchPicker.
2287 * src/hildon-touch-picker.c: Update includes.
2288 * src/hildon.h: Add hildon-touch-picker.h
2290 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2291 on this widget must happen in trunk.
2293 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-pannable-area.c:
2296 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2298 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2300 * examples/hildon-app-menu-example.c (main): Let the window
2303 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2305 * src/hildon-pannable-area.c
2306 (hildon_pannable_area_class_init): Set the min value of the
2307 overshoot properties to zero, which points out that not
2308 overshooting allowed.
2310 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2312 Modified the procedure to get the widget at a point inside the
2313 pannable area when using the movement type signals. Now the user
2314 has to call a function to get the child, that way we just
2315 calculate the child in case the user really want to use it and not
2318 * src/hildon-marshalers.list: Modified the marshallers, now we do
2319 not have the widget as a parameter.
2321 * src/hildon-pannable-area.c
2322 (hildon_pannable_area_motion_notify_cb),
2323 (hildon_pannable_area_class_init),
2324 (hildon_pannable_get_child_widget_at): Removed the widget
2325 parameter from the signal callback. We have also refactored the
2326 emission of the signals.
2328 * src/hildon-pannable-area.h: Added a new method to the API to
2329 calculate a widget at a point inside the pannable area,
2330 hildon_pannable_get_child_widget_at.
2332 * examples/hildon-pannable-area-example-4.c
2333 (horizontal_movement): Modified the example to use the new API,
2334 added condition to control which widget is under the event. This
2335 way we can avoid scrolling laterally over other widgets.
2337 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2339 * src/hildon-pannable-area.c
2340 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2341 modes, we stop getting the pointer events due to returning the
2342 callback without properly calling the get pointer again. Fixed
2343 also an error using the hscroll and vscroll.
2345 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2347 * src/hildon-app-menu-private.h
2348 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2349 (hildon_app_menu_button_release, hildon_app_menu_init)
2350 (hildon_app_menu_class_init): Don't hide the menu on button
2351 release if the user didn't press outside first.
2353 * src/hildon-window.h
2354 * src/hildon-window.c (hildon_window_toggle_menu)
2355 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2356 hildon_window_toggle_menu a virtual function for the stackable
2357 window to override it.
2359 * src/hildon-stackable-window.h
2360 * src/hildon-stackable-window-private.h
2361 * src/hildon-stackable-window.c
2362 (hildon_stackable_window_realize)
2363 (hildon_stackable_window_finalize)
2364 (hildon_stackable_window_class_init)
2365 (hildon_stackable_window_init)
2366 (hildon_stackable_window_set_main_menu): New function to set the
2367 app menu of a HildonStackableWindow.
2369 * examples/hildon-app-menu-example.c: Remove the button to show
2370 the app menu, now it'll be shown when clicking on the title bar
2373 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2376 set the widget name if the arrangement flags do not specify
2379 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-button.c: (hildon_button_set_property),
2382 (hildon_button_class_init), (hildon_button_new_full),
2383 (hildon_button_set_arrangement): Added "arrangement-flags"
2386 Make the HildonButtonFlags a construction-only property, to allow
2387 subclasses to set them properly.
2389 2008-07-21 Tim Janik <timj@imendio.com>
2391 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2392 insertion position after backspace, so additional digits are appended,
2395 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2397 * src/hildon-pannable-area.c,
2398 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2399 TODO list, it was complete and removed the g_debug and g_print
2402 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2404 Added the movement modes to the hildon-pannable-area, with this
2405 modes the developers can control in which directions the widget
2406 can scroll. They can also connect to signals in order to do
2407 something when that happens, allowing applications scroll. There
2408 is an example uploaded showing how to use it.
2410 * examples/Makefile.am:
2411 * examples/hildon-pannable-area-example-4.c: Added this example of
2412 an application using the modes.
2414 * src/hildon-marshalers.list: Added a new marshaller for the new
2417 * src/hildon-pannable-area.h: Added new enumerations and flags in
2418 order to control the movement modes and the new signals to warn
2419 about the movements in the area.
2421 * src/hildon-pannable-area.c:
2422 (hildon_pannable_axis_scroll),
2423 (hildon_pannable_area_scroll),
2424 (hildon_pannable_area_motion_notify_cb),
2425 (hildon_pannable_area_get_property),
2426 (hildon_pannable_area_set_property),
2427 (hildon_pannable_area_map),
2428 (hildon_pannable_area_class_init),
2429 (hildon_pannable_area_init),
2430 (hildon_pannable_area_jump_to): Added the modes to control the
2431 movement in the widget. We have added properties to control it,
2432 signals to warn about the movements and refactored some code.
2434 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2436 Changes required in order to allow vfast_factor set to zero to
2439 * src/hildon-pannable-area.c:
2440 (hildon_pannable_area_button_press_cb): Changed the condition, it
2441 is required for not allowing click when vfast_factor is zero.
2442 (hildon_pannable_area_timeout): Initialized velocity variables
2443 when we stop moving, it was less than 1 but not zero and we need
2444 to check zero in some situations.
2445 (hildon_pannable_area_class_init): Changed the default value of
2446 the speed factor, now the button_press is just sent in case the
2447 speed is 2 per cent of the max speed.
2448 (hildon_pannable_area_init): Initialization with 0.
2450 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2452 * src/hildon-pannable-area.c,
2453 (hildon_pannable_area_get_topmost): replaced
2454 gdk_window_get_children with gdk_window_peek_children, this way we
2455 do not have to free the list because it is not a copy.
2457 (hildon_pannable_axis_scroll),
2458 (hildon_pannable_area_scroll),
2459 (hildon_pannable_area_timeout),
2460 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2461 two parameters that were only used inside the
2462 hildon_pannable_area_scroll function.
2464 * examples/hildon-pannable-area-example.c,
2465 (get_sawtooth_label): Fixed small memory leak.
2467 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2469 More checks for the case where the overshoot is bigger than the
2472 * src/hildon-pannable-area.c:
2473 (hildon_pannable_draw_vscroll),
2474 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2475 to draw the slider of the scrollbar under the other scrollbar.
2476 (hildon_pannable_area_expose_event): added new checks to control
2477 the drawing of the overshooting area rectangle, in case it is too
2478 big for the area of the widget.
2479 (hildon_pannable_area_size_allocate): add more checks to avoid
2480 setting a position to the child widget outside the area.
2482 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2484 * src/hildon-pannable-area.c
2485 (hildon_pannable_area_size_allocate): Added conditions to control
2486 when overshooting is bigger than the allocated space for the
2487 children, this avoids negative allocations.
2489 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2491 * doc/hildon-docs.sgml
2493 * examples/Makefile.am
2494 * examples/hildon-button-example.c
2496 * src/hildon-button.c
2497 * src/hildon-button.h
2498 * src/hildon.h: Initial version of the new HildonButton widget,
2501 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-pannable-area.c:
2504 (hildon_pannable_area_button_press_cb),
2505 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2506 (hildon_pannable_area_motion_notify_cb),
2507 (hildon_pannable_area_button_release_cb),
2508 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2509 (hildon_pannable_area_jump_to_child):
2511 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2513 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2515 * examples/Makefile.am
2516 * examples/hildon-pannable-area-touch-grid-example.c
2517 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2518 the Hildon Touch List and Hildon Touch Grid using the
2519 HildonPannableArea widget.
2521 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2523 * src/hildon-pannable-area.c,
2524 (hildon_pannable_area_button_press_cb),
2525 (hildon_pannable_area_refresh),
2526 (hildon_pannable_area_scroll),
2527 (hildon_pannable_area_motion_notify_cb),
2528 (hildon_pannable_area_button_release_cb),
2529 (hildon_pannable_area_expose_event),
2530 (hildon_pannable_area_add),
2531 (hildon_pannable_area_remove),
2532 (hildon_pannable_area_realize),
2533 (hildon_pannable_area_size_allocate),
2534 (hildon_pannable_area_class_init),
2535 (hildon_pannable_area_init),
2536 (hildon_pannable_area_scroll_to_child),
2537 (hildon_pannable_area_jump_to_child): Fixed the problem of
2538 removing the child from the GtkBin, we have rearranged the widget
2539 hierarchy, now there is no GtkAlignment which was not doing
2540 anything interesting but breaking some of the assumptions of
2541 GtkContainer. Now developers if they want to add a GtkAlignment
2542 they could, but it is not inside the area.
2544 We had to review the whole allocation/expose process, now it is
2545 improved and we save at least three signals which would be saving
2546 some time when rendering the widget. The allocation of the
2547 scrollbars is now made in the allocate method as usual.
2549 We have also added some conditions in order to control when there
2550 is no child of the pannable area. Maybe we will need more work
2553 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_dispose): Released the fade-out timeout when
2557 disposing the widget.
2559 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2561 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2562 zero, we are going to use that property in order to deactivate the
2564 (hildon_pannable_axis_scroll),
2565 (hildon_pannable_area_size_allocate): Added conditions to control
2566 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2567 call, now it is called in all situations and we can remove calls
2568 in the allocate method.
2569 (hildon_pannable_area_map): Control the situation when
2570 overshoot_max is zero, we do not need the timeout.
2571 (hildon_pannable_area_class_init): Added documentation in order to
2572 point out that setting zero to overshoot_max means deactivate
2575 NOTE: removed trailing whitespaces from my previous comments of
2578 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-pannable-area.c
2581 (hildon_pannable_area_get_property),
2582 (hildon_pannable_area_set_property),
2583 (hildon_pannable_area_map),
2584 (hildon_pannable_area_class_init),
2585 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2586 to cause the widget give a hint about its panning abilities upon
2589 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-pannable-area.c: Several documentation improvements.
2593 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-program.c
2596 * src/hildon-stackable-window.c: Update documentation.
2598 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-stackable-window.c (get_previous_window_if_last):
2601 Renamed get_last_window()
2602 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2603 (hildon_stackable_window_unset_program):
2605 (get_previous_window_if_last):
2606 Detect if the window hasn't been added to a HildonProgram.
2608 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2610 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-pannable-area.c
2613 (hildon_pannable_area_button_press_cb),
2614 (hildon_pannable_axis_scroll),
2615 (hildon_pannable_area_scroll),
2616 (hildon_pannable_area_timeout),
2617 (hildon_pannable_calculate_vel_factor),
2618 (hildon_pannable_area_get_property),
2619 (hildon_pannable_area_set_property),
2620 (hildon_pannable_area_class_init),
2621 (hildon_pannable_area_init),
2622 (hildon_pannable_area_scroll_to),
2623 (hildon_pannable_area_jump_to),
2624 (hildon_pannable_area_scroll_to_child),
2625 (hildon_pannable_area_jump_to_child):
2626 * src/hildon-pannable-area.h: Added the new API functions:
2627 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2628 hildon_pannable_area_scroll_to_child,
2629 hildon_pannable_area_jump_to_child
2632 * examples/Makefile.am
2633 * examples/hildon-pannable-area-example-2.c
2634 * examples/hildon-pannable-area-example-3.c: Added these two new
2635 examples in order to test and show how the new APIs work.
2637 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2639 * examples/hildon-stackable-window-example.c (new_window):
2640 * src/Makefile.am (noinst_HEADERS):
2641 * src/hildon-program.c (hildon_program_go_to_root_window):
2642 * src/hildon-program.h:
2643 * src/hildon-stackable-window-private.h:
2644 * src/hildon-stackable-window.c:
2645 * src/hildon-stackable-window.h:
2646 Create hildon-stackable-window-private.h
2647 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2649 * examples/hildon-app-menu-example.c (create_menu):
2650 * examples/hildon-hvolumebar-insensitive-example.c (main):
2651 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2652 * examples/hildon-toolbar-seekbar-example.c (main):
2653 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2654 * src/hildon-banner.c (hildon_banner_set_property):
2655 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2656 Fix compilation warnings
2658 * src/hildon-window.c:
2661 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-stackable-window.c
2664 (hildon_stackable_window_unset_program):
2665 Calculate correctly whether to show the previous window if the
2666 last one is removed from the stack.
2667 (hildon_stackable_window_go_to_root_window):
2668 Send delete events starting from the topmost window.
2669 Stop if one of the windows is not destroyed.
2671 (hildon_stackable_window_delete_event)
2672 (hildon_stackable_window_class_init):
2673 Ignore the delete event if the window is not the topmost one.
2675 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2677 * src/hildon-pannable-area.c
2678 (hildon_pannable_area_expose_event): Fixed a problem when
2679 selecting the background color of the scrollbars.
2681 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2683 * examples/hildon-stackable-window-example.c
2684 * src/hildon-stackable-window.c
2685 * src/hildon-stackable-window.h
2686 hildon_stackable_window_go_home() renamed to
2687 hildon_stackable_window_go_to_root_window()
2688 Send delete events to windows rather than closing them with
2689 gtk_widget_destroy()
2691 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-pannable-area.c
2694 (hildon_pannable_area_button_release_cb): Fix overshooting in
2697 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-pannable-area.c
2700 (hildon_pannable_area_init): Initially show the scroll indicators.
2701 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2703 Add initial effect showing the widget is pannable.
2705 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-pannable-area.c
2708 (hildon_pannable_area_class_init)
2709 (hildon_pannable_area_set_property)
2710 (hildon_pannable_area_get_property)
2711 (hildon_pannable_area_button_press_cb):
2712 New 'velocity_fast_factor' property to decide which velocity is
2715 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-pannable-area.c
2718 (hildon_pannable_draw_hscroll)
2719 (hildon_pannable_draw_vscroll):
2720 Use float variables to calculate the size of the scrollbars to
2721 avoid error propagation and resizing during scrolling.
2723 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-pannable-area.c
2726 (hildon_pannable_draw_vscroll)
2727 (hildon_pannable_draw_hscroll):
2728 Define a minimum size for the scroll bars
2730 * src/hildon-stackable-window.c
2731 (hildon_stackable_window_go_home): Fix compilation warning
2732 (get_last_window): Minor optimizations
2733 (hildon_stackable_window_class_init): Fix initialization of
2736 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-stackable-window.c: Fixed typos in doc
2740 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2742 * src/hildon-pannable-area.c
2743 (hildon_pannable_area_scroll):
2744 Calculate here whether we need to scroll instead of using the booleans
2745 that tell us whether to /draw/ the scrolling bars.
2747 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/hildon-app-menu.h
2751 * src/hildon-app-menu.c
2752 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2753 multiple filter groups related code and API. Now we support only
2755 * examples/hildon-app-menu-example.c:
2757 Update to reflect API changes.
2759 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/hildon-stackable-window.c
2762 (hildon_stackable_window_class_init):
2763 Add hildon_stackable_window_realize.
2764 (hildon_stackable_window_realize):
2765 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2766 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2767 to apply theming and behavior specific to HildonStackableWindow
2770 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-note.c (hildon_note_button_release):
2773 Close information notes also when tapping on them
2775 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2777 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2778 ELASTICITY, refactor and review, fix some issues with drawing
2781 * src/hildon-pannable-area.c:
2782 (hildon_pannable_area_button_press_cb): removed the conditions to
2783 avoid clicks when overshooting. It is not required
2785 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2786 define. Refatored and reviewed the code, now we do not need to
2787 manage velocity in motion_notify.
2789 (hildon_pannable_area_motion_notify_cb): We have moved the code
2790 that controls the area_scroll to the axis_scroll function and get
2791 rid of duplicated code.
2793 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2795 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2797 (hildon_pannable_draw_vscroll),
2798 (hildon_pannable_draw_hscroll): Fixed the problems with the
2799 scrollbar drawing, now we do not use two surfaces, it is easier
2800 and saves resources.
2802 (hildon_pannable_area_get_property): Style modification.
2804 (hildon_pannable_area_class_init): Changed some default values.
2806 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2808 * src/hildon-stackable-window.c: Fix some typos in the
2811 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2813 * src/hildon-dialog.c:
2814 Change indentation style
2817 (hildon_note_button_release):
2818 Use root coordinates to check if the release event happened
2821 * src/hildon-app-menu.c
2822 (hildon_app_menu_button_release):
2823 Remove unnecessary check
2825 * examples/hildon-app-menu-example.c
2827 Add cast to fix warning
2829 * src/hildon-app-menu.c
2830 (hildon_app_menu_class_init):
2831 New inner-border style property.
2832 Set all default spacings to 16
2833 (hildon_app_menu_init):
2834 Use vertical-spacing to set the space between filter buttons and
2835 regular menu buttons.
2836 Set the default container border using the inner-border value.
2838 * examples/hildon-app-menu-example.c
2840 Don't set the menu border explicitly, now we have the inner-border
2841 style property for that.
2843 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-app-menu.c (hildon_app_menu_init):
2846 Make the window modal
2848 * src/hildon-note.c (hildon_note_map)
2849 * src/hildon-app-menu.c (hildon_app_menu_map):
2850 Destroy the grab window if we're unable to grab the pointer
2852 * src/hildon-app-menu-private.h
2853 * src/hildon-app-menu.c
2854 (hildon_app_menu_init, hildon_app_menu_finalize)
2855 (hildon_app_menu_map, hildon_app_menu_unmap)
2856 (hildon_app_menu_button_release)
2857 (grab_transfer_window_get):
2858 Bring back the grab window
2859 (hildon_app_menu_realize):
2860 Decorate the window, set WM hint for Matchbox
2862 * src/hildon-note.c (hildon_note_realize):
2863 * src/hildon-banner.c (hildon_banner_realize):
2864 Add WM hints for Matchbox
2866 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-app-menu-private.h
2869 * src/hildon-app-menu.c
2870 (hildon_app_menu_init, hildon_app_menu_finalize)
2871 (hildon_app_menu_map, hildon_app_menu_unmap)
2872 (hildon_app_menu_button_release):
2873 Remove the grab window, it's not needed anymore
2875 * src/hildon-program.c
2876 Fixed typo in documentation
2878 * src/hildon-app-menu.h
2879 * src/hildon-app-menu.c
2880 * examples/hildon-app-menu-example.c
2881 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2883 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2886 Added new transfer_window and close_if_pressed_outside private
2888 (hildon_note_rebuild):
2889 Don't add a cancel button to the information note. It will be
2890 closed when tapping outside
2891 Remove the comment about the OK button in the documentation
2892 (hildon_note_realize):
2893 Set the notification type hint
2894 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2895 Grab/ungrab pointer and keyboard if the note has to be closed when
2897 (hildon_note_button_release):
2898 Close the note when tapping outside (if applicable)
2900 * src/hildon-app-menu.c
2901 Grab/ungrab pointer and keyboard on map/unmap
2902 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2903 Close the menu on button release, not button press
2905 * src/hildon-banner.c
2906 (hildon_banner_set_property)
2907 (hildon_banner_check_position):
2908 Make the banner use the full width of the screen
2909 (hildon_banner_show_information)
2910 (hildon_banner_show_information_with_markup):
2911 Don't display an icon by default
2913 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2915 Added fading scrollbars and adapted all the overshooting code to
2916 horizontal scrolling. We have also fixed bugs with overshooting
2917 and current fading implementation.
2919 * src/hildon-pannable-area.c
2920 (hildon_pannable_area_scroll_indicator_fade): Time out function
2921 used to change the transparency of the scrollbars.
2923 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2924 control and fixed a problem with fading, we now remove the fade
2925 timeout before adding a new one.
2927 (hildon_pannable_axis_scroll):
2928 (hildon_pannable_area_scroll):
2929 (hildon_pannable_area_timeout): Added this functions so we can use
2930 the scroll code both for vertical and horizontal.
2932 (hildon_pannable_area_motion_notify_cb):
2933 (hildon_pannable_area_button_release_cb): Added the horizontal
2934 scrolling control, fixed a problem with the overshooting timeout.
2936 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2937 painting of the scrolls.
2939 (hildon_pannable_draw_vscroll):
2940 (hildon_pannable_draw_hscroll):
2941 (hildon_pannable_area_expose_event):
2942 Draw both scrollbars and rectangles in the overshooting area.
2944 (hildon_pannable_area_get_property):
2945 (hildon_pannable_area_set_property):
2946 Modified the overshoot property to overshoot_max
2948 (hildon_pannable_area_map):
2949 Replaced the comments symbols.
2951 (hildon_pannable_area_size_allocate):
2952 (hildon_pannable_area_class_init):
2953 (hildon_pannable_area_init): Added horizontal scroll, fading
2954 effect properties, fixed a problem when overshooting in the bottom
2957 * examples/hildon-pannable-area-example.c:
2958 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2959 looks better in the example.
2961 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2963 * src/hildon-window.c
2964 * src/hildon-window.h
2965 (hildon_window_class_init)
2966 (hildon_window_unset_program)
2967 (hildon_window_unset_program_real):
2968 Make unset_program a virtual function
2970 * src/hildon-stackable-window.c
2971 * src/hildon-stackable-window.h
2972 Added hildon_stackable_window_go_home()
2974 * examples/Makefile.am
2975 * examples/hildon-stackable-window-example.c
2976 HildonStackableWindow example
2978 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2980 * hildon-pannable-area.c: Added the overshoot property and removed
2981 the OVERSHOOT define. Fixed an indent style error.
2982 (hildon_pannable_area_motion_notify_cb):
2983 (hildon_pannable_area_get_property):
2984 (hildon_pannable_area_set_property): Add overshoot property.
2986 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2989 (hildon_pannable_area_class_init): Installed the new property.
2991 * hildon-pannable-area-example.c: Added a sawtooth function, this
2992 way it is easier to check the movement in the pannable.
2993 (get_sawtooth_label): Added this function.
2994 (main): Now we get the labels from the new get_sawtooth_label
2997 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-app-menu.h
3000 * src/hildon-app-menu.c
3001 Renamed API variables for consistency
3003 (hildon_app_menu_popup): Use also the default window size to
3004 decide where to place the menu
3006 (hildon_app_menu_init, hildon_app_menu_class_init): New
3007 external-border style property
3009 2008-05-26 Michael Natterer <mitch@imendio.com>
3011 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3012 widget_class->tap_and_hold_setup signal slot doesn't exist any
3013 longer, stop overriding it.
3015 (hildon_time_editor_init): g_signal_connect() to the
3016 tap-and-hold-setup signal instead.
3018 (hildon_time_editor_entry_keypress): add cast to fix warning.
3020 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3022 * doc/hildon-docs.sgml
3024 * examples/Makefile.am
3025 * examples/hildon-app-menu-example.c
3027 * src/hildon-app-menu-private.h
3028 * src/hildon-app-menu.c
3029 * src/hildon-app-menu.h
3031 New HildonAppMenu widget
3033 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3035 Rearranged the inheritance of the pannable area, now it inherits
3036 from GtkBin. This will allow us to control the event_window and
3037 the allocation process of the widget, required for some effects.
3039 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3040 GtkBin structures. * src/hildon-pannable-area.c: Added the
3041 event_window variable.
3042 (hildon_pannable_area_button_press_cb):
3043 (hildon_pannable_area_button_release_cb):
3044 (hildon_pannable_area_motion_notify_cb):
3045 Changed the signature of the method, now we override the event
3046 callback instead of connecting to the signal.
3048 (hildon_pannable_area_realize):
3049 (hildon_pannable_area_unrealize):
3050 (hildon_pannable_area_map):
3051 (hildon_pannable_area_unmap):
3052 (hildon_pannable_area_size_allocate):
3053 Added functions to control the widget construction. We add a
3054 INPUT_ONLY window and we put it over the widgets inside the
3055 container, this event_window handles the events.
3057 (hildon_pannable_area_class_init):
3058 Replaced the signal connections with overrides of the event
3061 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3063 Bouncing effect added when touching the borders, you can change
3064 the elasticity of the border changing the ELASTICITY define.
3066 * src/hildon-pannable-area.c: Added ELASTICITY define.
3067 (hildon_pannable_area_timeout): Added inverse velocity when
3068 touching the border of the child widget, that causes a bounce.
3070 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3072 Improved performance, we now do not go to the X server in order to
3073 get the list of window children. Apparently the effect is the
3074 same, we have to be careful and check if this breaks something in
3077 * src/hildon-pannable-area.c:
3078 (get_ordered_children): Removed this function.
3079 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3080 the children windows function with gdk_window_get_children.
3082 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3084 * src/hildon-pannable-area.c:
3085 (hildon_pannable_area_dispose): Fixed a crash when closing the
3086 window and kinetics is activated.
3088 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-pannable-area.h
3091 * src/hildon-pannable-area.c
3092 Changed indentation style to meet the one used in Hildon
3094 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3096 Reviewed the interaction of the AUTO mode, now we use the time
3097 attribute of the events and calculate the velocity in the motion,
3098 doing a gimp like calculation. The velocity is calculated in each
3099 motion event using the last velocity and the current one, the
3100 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3102 * src/hildon-pannable-area.c: Replaced the time based algorithm
3104 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3105 timeout for the AUTO mode when we are still moving the cursor. We
3106 added also the velocity calculation in this function.
3107 (hildon_pannable_area_button_release_cb): launch the timeout in
3108 case we are in AUTO mode. There are still some constants here that
3109 come from the old implementation that should be reviewed and
3112 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3114 * doc/hildon-docs.sgml
3117 * src/hildon-stackable-window.c
3118 * src/hildon-stackable-window.h
3120 New HildonStackableWindow widget
3122 * examples/hildon-dialog-example.c
3123 * examples/hildon-pannable-area-example.c
3126 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-dialog.c
3129 (hildon_dialog_new_with_buttons): New constructor.
3131 * examples/hildon-dialog-example.c
3132 (main): Update the example to use the new
3133 hildon_dialog_new_with_buttons().
3135 * examples/hildon-pannable-area-example.c
3136 (main): Update example.
3138 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3140 * doc/hildon-docs.sgml
3142 Added HildonPannableArea to the documentation.
3144 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3146 * doc/visual_index.xml
3147 Fix reference to HildonLoginDialog in documentation
3149 * doc/hildon-docs.sgml
3151 * examples/Makefile.am
3152 * examples/hildon-dialog-example.c
3154 * src/hildon-dialog.c
3155 * src/hildon-dialog.h
3157 New HildonDialog widget.
3159 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-pannable-area.c
3162 Merge latest changes (r4318, r4342) from libmokoui trunk
3164 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3166 * examples/Makefile.am
3167 * examples/hildon-pannable-area-example.c
3169 * src/hildon-pannable-area.c
3170 * src/hildon-pannable-area.h
3172 New HildonPannableArea widget.
3174 2008-04-15 18:05:19 <timj@imendio.com>
3176 * src/hildon-banner.c: revert the recent change, that introduced
3177 gtk_window_present() calls. this reopens:
3178 Bug 78481 - [freetest] information banners are hidden under browser menu
3179 But resolves another variant of:
3180 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3182 2008-04-15 13:21:13 <timj@imendio.com>
3184 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3185 recreated its layout, spotted by Kris. this fixes all remaining
3186 artefacts and stability issues with the banner code. in particular:
3187 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3189 2008-04-14 16:52:59 <timj@imendio.com>
3191 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3192 operating on unrealized widgets, fixes:
3193 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3195 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3197 2008-04-09 Kristian Rietveld <kris@imendio.com>
3199 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3200 makes banner disappear.
3201 Fixes: NB#79182: info banner flickering with certain message lengts.
3203 * src/hildon-banner.c (hildon_banner_constructor),
3204 (hildon_banner_init), (hildon_banner_set_text),
3205 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3206 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3207 FALSE, reset size requests of label and banner,
3208 (force_to_wrap_truncated): when the text is too wide, always enforce
3209 the maximum possible width instead of recalculating it from the
3210 layout; enforce the maximum banner height of 3 lines,
3211 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3212 nicer wrapping and no truncated chars if space gets tight.
3214 * src/hildon-banner-private.h: add has_been_wrapped and
3215 has_been_truncated fields.
3217 2008-04-07 Sven Herzberg <sven@imendio.com>
3219 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3220 local values in hildon_date_editor_size_allocate
3222 * src/hildon-date-editor.c: moved the real allocation code into the
3225 2008-04-07 Sven Herzberg <sven@imendio.com>
3227 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3228 local values in hildon_date_editor_size_allocate
3230 * src/hildon-date-editor.c: merged the two if() branches together
3232 2008-04-07 Sven Herzberg <sven@imendio.com>
3234 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3235 local values in hildon_date_editor_size_allocate
3237 * src/hildon-date-editor.c: changed the arguments of the if()
3240 2008-04-07 Sven Herzberg <sven@imendio.com>
3242 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3243 local values in hildon_date_editor_size_allocate
3245 * src/hildon-date-editor.c: split the calculation of the allocation
3246 from the real allocation
3248 2008-03-27 Michael Natterer <mitch@imendio.com>
3250 Fixes: NB#81696: The passcode is not overwritten even after
3253 * src/hildon-code-dialog.c
3254 (hildon_code_dialog_button_clicked)
3255 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3256 because that doesn't overwrite selected text. Instead, emit the
3257 "commit" signal on the entry's im_context so the entry's normal
3258 insert logic is triggered. Set the cursor to the end of the entry
3259 after each insert operation so that we *only* insert in the middle
3260 of the text if something was selected.
3262 2008-03-27 Michael Natterer <mitch@imendio.com>
3264 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3265 selector cannot be opened
3267 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3268 when the popup color selector is created. Please connect to this
3269 signal in order to set the dialog's help ID.
3271 2008-03-25 Sven Herzberg <sven@imendio.com>
3273 Fixes: MB#1212: Hide info banners (infoprints) on click
3275 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3276 extracted the close event simulation into an extra function
3277 (hildon_banner_button_press_event): simulate a close event and destroy
3278 the widget if the event wasn't handled
3279 (hildon_banner_class_init): added the button_press_event handler
3280 (hildon_banner_init): added button-press events to the widget
3282 2008-03-25 Sven Herzberg <sven@imendio.com>
3284 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3285 Patch from: Mohammad Anwari <mdamt@maemo.org>
3287 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3288 instead of the right in RTL mode
3289 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3290 breadcrumb button list in RTL mode
3291 * src/hildon-caption.c: mirror the appearance of the caption widget in
3293 * src/hildon-date-editor.c: mirror appearance of the date editor in
3295 * src/hildon-time-editor.c: mirror appearance of the time editor in
3297 * src/hildon-window.c: fix the position of the popup in RTL mode
3299 2008-03-25 Sven Herzberg <sven@imendio.com>
3301 Amendment to the fix of NB#22072. Fix compilation.
3303 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3305 2008-03-19 Sven Herzberg <sven@imendio.com>
3307 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3310 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3311 timeout id properly when the timeout will disappear this leaves no
3312 artifacts around in the destroy(); there will only be the timeout
3313 created by hildon_banner_ensure_timeout() and adding a new timeout
3314 will also work if the timeout gets removed because the timeout_handler
3317 2008-03-19 Michael Natterer <mitch@imendio.com>
3319 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3321 * src/hildon-volumebar.c
3322 * src/hildon-vvolumebar.c
3323 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3324 the widget becomes focussable at all.
3326 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3327 set the focus to wither the mute button or the volumebar.
3329 Remove own "can-focus" property and instead listen to
3330 notify::can-focus in order to update the widget's state.
3332 Implement GtkWidget::focus() and make sure we can also *leave* the
3333 widget, not only enter it, depending on volumebar orientation and
3334 requested focus direction.
3336 Clean up set_mute() to cooperate nicely with all the above.
3338 2008-03-04 Michael Natterer <mitch@imendio.com>
3340 Fixes: NB#78481: information banners are hidden under browser menu
3342 * src/hildon-banner.c: call gtk_window_present() on the banners so
3343 they are risen if they are already visible.
3345 2008-03-03 Sven Herzberg <sven@imendio.com>
3347 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3349 * examples/hildon-window-menu-example.c: (main): extended the window
3350 menu example to serve as a testcase for automatically added
3351 accelerator groups, too
3352 * src/hildon-window.c: (hildon_window_add_accel_group),
3353 (hildon_window_set_menu): added patch by Tommi Komulainen
3355 2008-03-03 Sven Herzberg <sven@imendio.com>
3357 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3359 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3360 knowledge about the border allocators used within GTK+
3362 2008-02-26 Sven Herzberg <sven@imendio.com>
3364 Fixes: MB#2981: Build with asserts broken
3366 * src/hildon-date-editor.c,
3367 * src/hildon-number-editor.c,
3368 * src/hildon-time-editor.c,
3369 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3370 the proper GType instance check
3372 2008-02-25 Sven Herzberg <sven@imendio.com>
3374 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3376 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3377 * examples/hildon-window-menu-example.c: (main): explicitly show
3379 * src/hildon-window.c:
3380 (hildon_window_set_main_menu): moved most of the code from set_menu()
3381 to this place; skipped the call to gtk_widget_show_all(); also didn't
3382 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3383 (hildon_window_set_menu): removed most of the code, just keep the
3384 questionable gtk_widget_show_all()
3385 * src/hildon-window.h: added the new function and deprecate the old
3388 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3394 * debian/changelog: Updating.
3396 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3399 * pkgconfig/Makefile.am:
3400 * pkgconfig/hildon.pc.in:
3403 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3404 use newly created API_MAJOR_VERSION.
3406 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3412 * debian/changelog: Updating.
3414 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3416 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3418 Add outer_border style property, we use it but don't define it (!).
3422 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3424 * examples/hildon-bread-crumb-trail-example.c (main):
3428 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3430 Fix logic for the bread crumb trail node removal.
3434 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3440 * debian/changelog: Updating.
3442 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3444 Patch by Alejandro to get/set passwords dialogs accesibility.
3446 * hildon-1/src/hildon-get-password-dialog.c:
3447 * hildon-1/src/hildon-set-password-dialog.c:
3448 Set atk_set_name to the passwd entries in order to allow
3449 accessibility by name on this entries.
3451 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3456 * debian/control: Updating gtk dep.
3458 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3460 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3461 USE_MAEMO_GTK is enabled.
3463 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3465 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3466 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3468 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3474 * debian/changelog: Updating.
3476 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3478 * examples/Makefile.am:
3479 * examples/hildon-logical-color-example.c:
3480 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3481 applied + adding a test case. Fixes: NB#71660.
3483 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3485 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3486 to be visible, fixes warning on map for windows without toolbars.
3488 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3490 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3491 2.11.0, add a check for that besides the MAEMO_GTK check.
3493 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3499 * debian/changelog: Updating.
3501 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3503 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3504 visibility. Fixes: NB#70842 and MB#615.
3506 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3508 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3509 set the separator as no-show-all so it doesn't unintentionally appear when
3510 someone does a show_all.
3512 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3514 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3515 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3516 toplevel item. Fixes: NB#62031
3518 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3520 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3521 fix the name of the function in the docs.
3523 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3529 * debian/changelog: Updating.
3531 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3533 * examples/hildon-banner-long-example.c: Adding a test-case for long
3536 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3538 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3540 * src/hildon-color-chooser-dialog.c:
3541 * src/hildon-color-chooser.c:
3542 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3543 memory leaks in font selector and color selector. Fixes: NB#70499 and
3546 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3548 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3550 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3552 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3553 little bit bigger. Fixes: #NB63694.
3555 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3561 * debian/changelog: Updating.
3563 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3566 * doc/hildon-docs.sgml:
3567 * doc/images/bread-crumb-trail.png:
3568 * doc/images/calendar-popup.png:
3569 * doc/images/caption.png:
3570 * doc/images/code-dialog.png:
3571 * doc/images/color-button.png:
3572 * doc/images/color-chooser-dialog.png:
3573 * doc/images/color-chooser.png:
3574 * doc/images/controlbar.png:
3575 * doc/images/date-editor.png:
3576 * doc/images/font-selection-dialog.png:
3577 * doc/images/get-password-dialog.png:
3578 * doc/images/hvolumebar.png:
3579 * doc/images/login-dialog.png:
3580 * doc/images/note.png:
3581 * doc/images/number-editor.png:
3582 * doc/images/range-editor.png:
3583 * doc/images/seekbar.png:
3584 * doc/images/set-password-dialog.png:
3585 * doc/images/sort-dialog.png:
3586 * doc/images/time-editor.png:
3587 * doc/images/time-picker.png:
3588 * doc/images/vvolumebar.png:
3589 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3590 Adding the bread-crumb-trial and helpers to the documentation.
3592 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3594 * examples/hildon-find-toolbar-example.c:
3595 * src/hildon-find-toolbar.c:
3596 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3597 actually continue firing the other handlers if connected. Adding a new
3599 hildon_find_toolbar_get_last_index that gets the index of the most
3600 recently added (last) item. Fixes: NB#52301.
3602 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3604 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3605 behaviour. Fixes: NB#68610.
3607 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3609 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3612 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3614 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3615 when realizing the banner. Should make the infonbanner effect a bit more
3618 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3620 * src/hildon-volumebar.c:
3621 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3622 hildon_volumebar_set_range_insensitive_message and
3623 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3625 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3627 * src/hildon-window.c: Fixing the border freeing on destroy.
3629 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3631 * src/hildon-code-dialog-private.h:
3632 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3633 kw keyboard support in HildonCodeDialog.
3635 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3641 * debian/changelog: Updating.
3643 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3645 * src/hildon-date-editor.c:
3646 * src/hildon-number-editor.c:
3647 * src/hildon-private.c:
3648 * src/hildon-private.h:
3649 * src/hildon-time-editor.c:
3650 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3651 handling in subclassed composite widgets. Fixes: NB#66628.
3653 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3655 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3656 from destroy_ callback as it introduces problems in async dbus signal
3657 handlers. Fixes NB#66673.
3659 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3661 * examples/hildon-hvolumebar-example.c:
3662 * src/hildon-volumebar.c: Improving the focus handling in the
3663 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3664 set_property accessor so that "mute" property can be actually set. I'm
3665 scared that nobody noticed it's totally broken.
3667 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3669 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3672 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3674 * src/hildon-calendar.c:
3675 * src/hildon-number-editor.c:
3676 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3677 matches the spec of 6 chars per second. Fixes: NB#60489.
3679 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3681 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3682 gtk_style_lookup_color sometime returns FALSE even though color was
3683 found and values were filled properly. Weird. Removing the warning for the
3686 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3688 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3689 expand vertically. Adding some extra space to the find toolbar buttons to
3690 make them thumbable. Fixes NB#66060.
3692 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3694 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3695 popup with "Ok" and "Cancel". Fixes NB#59299.
3697 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3699 * src/hildon-calendar.c: Process all window updates before executing next
3700 timeout. Fixes: NB#54146.
3702 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3708 * debian/changelog: Updating.
3710 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3712 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3713 the client event and ignore it, since we use the delete event to close
3716 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3718 * src/hildon-helper.c: Remove the bogus warning about color not being
3719 found. Fixes NB#58352.
3721 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3723 * examples/Makefile.am:
3724 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3725 HildonSeekbar widget inside a toolbar.
3727 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3729 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3730 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3731 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3732 don't want to be closed by non-temporary windows on map.
3734 Also use G_DEFINE_TYPE instead of manually typed code.
3736 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3743 * debian/rules: Updating.
3745 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3747 * examples/Makefile.am:
3748 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3749 bug NB#61128. Strangely it works.
3751 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3753 * src/hildon-date-editor.c: When the date editor entry has been changed
3754 but the numbers of characters < max, turn off the skip validation flag.
3755 Prevents a situation when we enter first a valid year and later re-write
3756 it with an invalid one. Fixes NB#60154.
3758 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3760 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3761 code dialog. Fixes NB#64355.
3763 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3765 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3766 switching the page. Fixes NB#49374.
3768 * examples/Makefile.am:
3769 * examples/hildon-wizard-dialog-example.c: Adding an example for
3770 HildonWizardDialog that shows how to handle manual sensitivity setting on
3773 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3777 * src/hildon-version.h.in:
3778 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3780 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3782 * src/hildon-volumebar.c: Updating the docs.
3784 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3790 * debian/changelog: Updating.
3792 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3794 * src/hildon-find-toolbar.c:
3795 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3796 selected item: hildon_find_toolbar_set_active,
3797 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3798 hildon_find_toolbar_get_active_iter . They correspond to respective
3799 GtkComboBox functions.
3801 * examples/Makefile.am:
3802 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3805 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3807 * examples/Makefile.am:
3808 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3811 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3812 when font size > 32 and we pack a focusable widget inside. Actually using
3813 the default response would work too, but since we don't show default
3814 response state in any way (no theming) it would not be visible to the
3815 user. Fixes NB#63430.
3817 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3819 * src/hildon-date-editor.c: Adding the missing variable setter in the
3820 set_property handler. Fixes NB#54182.
3822 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3824 * src/hildon-window.h: Changing the long key press time from 1500ms to
3825 800ms as requested in NB#63700. I have a bad feeling about this, let's
3826 see... Fixes NB#63700.
3828 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3830 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3831 hildon_time_picker_map, hildon_time_picker_realize,
3832 hildon_time_picker_style_set): Split the contents of map to more
3833 appropriate functions; set window decorations on realize and update
3834 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3836 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3841 * debian/changelog: Updating.
3843 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3845 * src/Makefile.am: fixed installation of the header files
3847 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3853 * debian/changelog: Updating.
3855 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3857 * configure.ac: Removing some remaining of --enable-xan.
3859 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3861 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3862 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3864 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3865 2.10.12-osso6 because the move-focus signal needs to be available in
3868 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3870 * examples/Makefile.am:
3871 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3872 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3873 fine. Prolly NB#61128 is fixed now.
3875 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3877 * src/hildon-volumebar.c:
3878 * src/hildon-volumebar.h: Adding the
3879 hildon_volumebar_set_range_insensitive_message and
3880 hildon_volumebar_set_range_insensitive_messagef functions to set
3881 insensitive message on the slider of the volumebar. Fixes NB#61129.
3883 * examples/Makefile.am:
3884 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3885 test the new insensitive messsage functionality on HildonVolumebar.
3887 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3889 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3892 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3894 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3895 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3896 button on after clearing the trail.
3898 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3900 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3902 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3904 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3905 by splitting the installed headers in generated and non-generated groups. Use
3906 only the non-generated headers to create the hildon-enum-types.h file.
3908 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3910 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3912 * src/hildon-window.c: Hide the window before performing the destroy.
3913 Should make the app closing a little tiny bit more snappy.
3915 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3917 * src/hildon-seekbar.c: add gtkrange.h header
3918 * src/hildon-caption.c: remove unused variable
3920 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3922 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3925 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3931 * debian/changelog: Updating.
3933 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3935 * src/hildon-window.c (hildon_window_window_state_event,
3936 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3937 escape timeout on focus-out-event rather than notify::is-topmost; the
3938 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3940 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3942 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3943 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3945 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3947 * src/hildon-window: actually, you need to use the macro always, there's
3948 no private pointer in the instance structure. We should have cleaned this up
3949 when we had the chance...
3951 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3953 * src/hildon-window.c: do not get the private date from HildonWindow before
3954 it passes the g_return_if_fail check. Once it's passed the test, there's no
3955 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3956 if you are only going to access the data once. Whitespace cleanups.
3958 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3960 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3961 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3963 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3969 * debian/changelog: Updating.
3971 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3973 * src/hildon-window.c: When destroying the window, remove (if exists) the
3974 escape timeout handler. Fixes #NB59276.
3976 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3978 * src/hildon-banner.c: When realizing the widget, set the window
3979 transiency. Setting the transiency in the gobject constructor is not
3980 good, as the widget is not realized at that point. Fixes: #NB56624.
3982 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3984 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3985 Add padding for future expansions.
3987 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3989 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3990 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3991 will fake an activation on the previous to the last item of the trail, so
3992 the effect can be overrided by the developer as usual.
3993 Also change the callback for the back button to do the same thing, so its
3994 effect can be overrided too. Fixes: NB#58982
3996 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3998 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3999 HildonCaption. Fixes NB#52379.
4001 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4003 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4004 the internal state of the trail after the user has had the chance of executing
4005 his handler for the signal. Specifically, it may happen that the activated button
4006 is removed and the user still lets the default handler run. This would segfault
4009 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4011 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4012 scrollbar to the preview dialog. Fixes NB#54147.
4014 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4016 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4017 max/min year properties can be altered, so the client can modify it
4018 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4020 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4022 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4023 hildonlike by default. Fixing a problem with disappearing arrows when
4024 scrolling through months and years. Fixes NB#54127.
4026 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4028 * examples/hildon-date-editor-example.c: Adding error callback to the date
4031 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4037 * configure.ac: Updating.
4039 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4041 * configure.ac: Adding a special '--enable-xan' configure option that
4042 turns off the -Werror compilation setting. Usefull for development.
4044 * src/hildon-calendar.c:
4045 * src/hildon-number-editor.c:
4046 * src/hildon-time-picker.c: Adding the 5* multiplier to
4049 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4051 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4052 instead of g_object_ref + gtk_object_sink.
4054 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4060 * debian/changelog: Updating.
4062 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4064 * src/hildon-color-chooser-dialog.c:
4065 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4066 straight from Tommi labs.
4068 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4070 * examples/hildon-finger-example.c: Correcting the header file path.
4072 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4073 the changed signal. Fixes a small memory leak.
4075 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4079 * src/hildon-banner.c: Importing several usefull fixes from the
4080 ubuntu-mobile branch.
4082 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4084 * examples/Makefile.am:
4085 * examples/hildon-finger-example.c: Adding a finger-checking code
4088 * src/hildon-font-selection-dialog.c: Do not allocate the color
4089 structure using the g_new. Fixes NB#54061.
4091 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4093 * src/hildon-helper.c: Correcting tabs in file.
4095 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4097 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4098 control the visibility of the children.
4100 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4102 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4108 * debian/changelog: Updating.
4110 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4112 * src/hildon-bread-crumb-trail.c:
4113 (hildon_bread_crumb_trail_size_allocate):
4115 Make the back button always a square.
4117 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4119 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4120 from the .c file as it's a private file.
4122 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4124 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4125 uses slightly bigger height.
4127 * src/hildon-font-selection-dialog.c: Adding some checks before
4128 freeing memory in the font selection dialog.
4130 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * src/hildon-font-selection-dialog.c: Adding a small check when
4135 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4136 buttons sensitivity on page switching.
4138 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4140 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4141 internal details of adding a bread crumb to the trail.
4143 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4149 * debian/changelog: Updating.
4151 * src/hildon-bread-crumb-trail.h:
4152 * src/hildon-bread-crumb.h: Changing the API guard to
4153 HILDON_ENABLE_UNSTABLE_API.
4155 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4163 * src/hildon-helper.h: Updating.
4165 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4173 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4177 * src/hildon-helper.h: Small fix to make the package actually compile.
4179 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4181 * src/hildon-bread-crumb-trail.h:
4182 * src/hildon-bread-crumb.h:
4184 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4185 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4187 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4189 * examples/hildon-bread-crumb-trail-example.c:
4191 * src/hildon-bread-crumb-trail.c:
4192 * src/hildon-bread-crumb-trail.h:
4193 * src/hildon-bread-crumb.c:
4194 * src/hildon-bread-crumb.h:
4195 * src/hildon-marshalers.list:
4196 * src/hildon-bread-crumb-widget.c:
4197 * src/hildon-bread-crumb-widget.h:
4199 Slight change in the widget design. The bread crumb trail API is
4200 unchanged, but HildonBreadCrumb is now an interface. A *private*
4201 implementation, hildon-bread-crumb-widget, is provided and used
4202 internally by the trail for the push_text/push_icon functions.
4204 The generic push API is still available, so anyone can implement
4205 and use its own bread crumb widget.
4207 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * debian/rules: Fixing the shlibs.
4211 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4213 * src/hildon-banner.c: Fixing a problem with timed banners having
4214 their parrent destroyed before they are.
4216 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4218 * src/hildon-bread-crumb.c:
4219 * src/hildon-bread-crumb.h:
4221 Make the get_natural_size function a vfunc.
4223 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4225 * src/hildon-bread-crumb.c:
4226 * src/hildon-bread-crumb-trail.c:
4230 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * debian/changelog: Updating for release.
4239 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4241 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4242 don't leak the pango layout.
4244 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4247 * examples/hildon-bread-crumb-trail-example.c:
4251 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4253 * debian/changelog: Removing the bug-fixed entries that were actually
4254 resolved as WONTFIX.
4256 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4259 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4261 * src/hildon-bread-crumb-trail.c:
4262 * src/hildon-bread-crumb-trail.h:
4263 * src/hildon-bread-crumb.c:
4264 * src/hildon-bread-crumb.h:
4268 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4270 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4271 until it's passed the type check.
4273 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4275 * examples/hildon-bread-crumb-trail-example.c
4279 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4281 * examples/Makefile.am
4282 * examples/hildon-bread-crumb-trail-example.c
4284 * src/hildon-bread-crumb-trail.c
4285 * src/hildon-bread-crumb-trail.h
4286 * src/hildon-bread-crumb.c
4287 * src/hildon-bread-crumb.h
4289 New HildonBreadCrumbTrail widget.
4291 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4293 * src/hildon-range-editor.c (hildon_range_editor_init),
4294 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4295 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4296 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4297 hildon_time_editor_class_init, hildon_time_editor_init),
4298 src/hildon-get-password-dialog.c (invalid_input,
4299 hildon_get_password_set_property, hildon_get_password_get_property,
4300 create_contents, hildon_get_password_dialog_set_max_characters),
4301 src/hildon-set-password-dialog.c (create_contents),
4302 src/hildon-date-editor.c (hildon_date_editor_init),
4303 src/hildon-login-dialog.c (hildon_login_dialog_init),
4304 src/hildon-number-editor.c (hildon_number_editor_init),
4305 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4306 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4307 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4308 configure option and adding the respective checks in the code.
4309 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4310 hildon_calendar_drag_data_received): fixed some build warnings.
4312 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4314 * debian/changelog: A 1.0.0 release notes.