1 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4 compilation warning after the cancel button removal.
6 2008-10-30 Alejandro G. Castro <alex@igalia.com>
8 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
10 * configure.ac: Added an AM_CONDITIONAL in order to use in the
11 Makefile.am, that way we can choose not to compile some examples
12 and tests of the deprecated widgets.
14 * examples/Makefile.am: Divided the sources in deprecated and
17 * src/Makefile.am: Added undef statement of the deprecated
18 symbol to the enums file generation process.
20 * src/hildon-color-chooser-dialog.c
21 * src/hildon-color-chooser-dialog.h
22 * src/hildon-color-button.c
23 * src/hildon-color-button.h
24 * src/hildon-color-chooser.c
25 * src/hildon-color-chooser.h
26 * src/hildon-controlbar.c
27 * src/hildon-controlbar.h
28 * src/hildon-date-editor.c
29 * src/hildon-date-editor.h
30 * src/hildon-hvolumebar.c
31 * src/hildon-hvolumebar.h
32 * src/hildon-private.c
33 * src/hildon-private.h
34 * src/hildon-range-editor.c
35 * src/hildon-range-editor.h
36 * src/hildon-seekbar.c
37 * src/hildon-seekbar.h
38 * src/hildon-time-editor.c
39 * src/hildon-time-editor.h
40 * src/hildon-time-picker.c
41 * src/hildon-time-picker.h
42 * src/hildon-volumebar.c
43 * src/hildon-volumebar.h
44 * src/hildon-vvolumebar.c
45 * src/hildon-vvolumebar.h
46 * src/hildon-bread-crumb-trail.h
47 * src/hildon-bread-crumb-trail.c
48 * src/hildon-calendar-popup.c
49 * src/hildon-calendar-popup.h
50 * src/hildon-weekday-picker.c:
51 * src/hildon-weekday-picker.h:
52 * src/hildon-bread-crumb-widget.c:
53 * src/hildon-bread-crumb-widget.h:
54 * src/hildon-bread-crumb.c:
55 * src/hildon-bread-crumb.h:
56 * src/hildon-calendar.c:
57 * src/hildon-calendar.h:
58 * src/hildon-caption.c:
59 * src/hildon-code-dialog.c:
60 * src/hildon-code-dialog.h:
61 * src/hildon-font-selection-dialog.c:
62 * src/hildon-font-selection-dialog.h:
63 * src/hildon-get-password-dialog.c:
64 * src/hildon-get-password-dialog.h:
65 * src/hildon-login-dialog.c:
66 * src/hildon-login-dialog.h:
67 * src/hildon-number-editor.c:
68 * src/hildon-number-editor.h:
69 * src/hildon-set-password-dialog.c:
70 * src/hildon-set-password-dialog.h:
71 * src/hildon-sort-dialog.c:
72 * src/hildon-sort-dialog.h: This is the list of deprecated
75 * src/hildon-touch-selector.c:
76 * src/hildon-window.c: Added undef statement to avoid compilation
79 * tests/Makefile.am: Divided the sources in deprecated and
83 (configure_tests): Marked the deprecated code that was adding
84 suites with deprecated tests.
86 Fixes: NB#91135 (Deprecate legacy hildon widgets)
88 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-touch-selector.c: (_default_print_func): Do not
91 duplicate a string returned by gtk_tree_model_get(), it is already
94 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
97 2008-10-28 Alejandro G. Castro <alex@igalia.com>
99 * src/hildon-pannable-area.c
100 (hildon_pannable_area_add_with_viewport): Reviewed the complete
101 method, it had problems when adding a widget with viewport the
102 second time. Now checks if it already has a viewport and uses it.
104 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
107 2008-10-28 Alejandro G. Castro <alex@igalia.com>
109 * src/hildon-pannable-area.c,
110 (hildon_pannable_area_scroll_to),
111 (hildon_pannable_area_jump_to),
112 (hildon_pannable_area_scroll_to_child),
113 (hildon_pannable_area_jump_to_child): Added a precondition to the
114 scroll and jump to functions: the widget must be mapped before we
115 can safely call these functions. We have also added documentation
116 to the functions to explain how to use them in this situation.
119 2008-10-28 Alejandro G. Castro <alex@igalia.com>
121 Reviewed the threading handling of the pannable widget, we have
122 used the gdk_threads_add_timeout function instead of the usual
123 glib handlers. This avoids some problems with the threads.
125 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
126 (hildon_pannable_area_initial_effect),
127 (hildon_pannable_area_scroll_indicator_fade),
128 (hildon_pannable_area_button_press_cb),
129 (hildon_pannable_area_timeout),
130 (hildon_pannable_area_motion_notify_cb),
131 (hildon_pannable_area_button_release_cb),
132 (hildon_pannable_area_scroll_cb),
133 (hildon_pannable_area_scroll_to): Removed the
134 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
135 gdk_threads_add_timeout.
137 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
139 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
144 * configure.ac: bump version
145 * debian/changelog: updates
147 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
149 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
150 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
151 * src/hildon-color-chooser-dialog.c:
152 (hildon_color_chooser_dialog_init):
153 * src/hildon-font-selection-dialog.c:
154 (hildon_font_selection_dialog_init):
155 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
157 Remove all cancel/close-like dialogs, as these are not going to be
160 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
162 * src/hildon-note.c: (hildon_note_rebuild),
163 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
166 Fixes: NB#90661 (Delete dialog is displayed without NO button)
168 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
170 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
171 sure all buttons are shown, even the Cancel/Close-like ones.
173 Fixes: NB#90861 (Custom Confirmation dialogs should be
174 protected from cancel button removal)
176 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
178 * debian/control: Change libhildon1-examples dependency from libhildon1
180 * debian/libhildon1-examples.install
182 * Makefile.am: Modified the final install directory for the examples on
183 package libhildon1-examples
184 * Makefile.static: Update clean target in order to remove all the binary
187 Changes suggested by Claudio after review new libhildon1-examples package
189 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
191 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
192 * src/hildon-touch-selector.c: Ditto.
194 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
196 * debian/control: Added new package libhildon1-examples, in order to pack
197 the current hildon examples as documentation
198 * debian/rules: Not to compress .c files, modify some includes on the
199 examples (as normally are compiled locally, but when installed it will
200 require to include the installed libhildon1 library), and rename
202 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
203 install all the example files on the new example package
204 * examples/Makefile.static: Added static makefile that can be used to
205 compile the examples, once installed the new example package
206 * examples: Most of the examples were modified in order to grant that
207 all use only '#include "hildon.h"', in order to be easy to prepare
208 it on the example package
210 2008-10-23 Alberto Garcia <agarcia@igalia.com>
213 * debian/libhildon1-dev.install
214 * debian/libhildon1-doc.install:
215 Move all gtk-doc files to a separate libhildon1-doc package.
217 2008-10-23 Daniel Borgmann <danielb@openismus.com>
219 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
221 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
223 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
225 * debian/rules: Fixed a error in order to avoid unnecessary calls
226 to autogen.sh on package building
228 2008-10-22 Alberto Garcia <agarcia@igalia.com>
230 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
232 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
234 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
237 2008-10-21 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-picker-button.c
240 (hildon_picker_button_finalize):
241 Free priv->done_button_text
243 * src/hildon-time-button.c
244 (hildon_time_button_set_time)
245 * src/hildon-picker-button.c
246 (hildon_picker_button_clicked)
247 (hildon_picker_button_selector_selection_changed)
248 (hildon_picker_button_set_selector)
249 * src/hildon-date-button.c
250 (hildon_date_button_set_date):
251 Free strings returned by hildon_touch_selector_get_current_text()
253 * src/hildon-button.c (hildon_button_construct_child):
254 Fix leaks in priv->image and priv->label_box
256 Fixes: NB#90535 (Memory leak in picker button)
258 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
260 * src/hildon-button.c: (hildon_button_get_property): Do not access
261 private elements directly, use getters instead.
263 2008-10-20 Alberto Garcia <agarcia@igalia.com>
265 * src/hildon-app-menu-private.h
266 * src/hildon-app-menu.c
267 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
268 Store the menu's parent window.
270 * src/hildon-stackable-window.c
271 (hildon_stackable_window_toggle_menu)
272 (hildon_stackable_window_finalize):
273 Set the menu's parent window when the menu is shown, unset it when
276 * src/hildon-app-menu.c
277 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
278 (hildon_app_menu_class_init):
279 Send unhandled keyboard accelerators to the parent window.
281 2008-10-20 Alberto Garcia <agarcia@igalia.com>
283 * src/hildon-stackable-window.c
284 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
286 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
288 * configure.ac: post release version bump
290 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
293 * configure.ac: Bump version
294 * debian/changelog: Updates
295 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
298 2008-10-20 Alberto Garcia <agarcia@igalia.com>
300 Patch contributed by Daniel Borgmann (danielb@openismus.com)
303 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
304 GtkMenu with Hildon style.
306 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
308 * src/hildon-picker-button.c:
309 (hildon_picker_button_set_done_button_text): Set the dialog's
310 done button text here as well.
312 Fixes: NB#90232 (Picker button does not set the label on done button
315 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
317 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
320 2008-10-16 Alberto Garcia <agarcia@igalia.com>
322 * src/hildon-app-menu.c (hildon_app_menu_insert)
323 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
324 the HildonAppMenu to be activatable using keyboard accelerators
325 when the menu is not being shown.
327 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
329 2008-10-16 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-stackable-window.c
332 (hildon_stackable_window_show):
333 Don't hide old windows automatically when new windows are shown:
334 this is now a task for the window manager.
335 (hildon_stackable_window_class_init)
336 (hildon_stackable_window_hide):
337 Remove windows from the stack everytime they're hidden.
338 (hildon_stackable_window_realize):
339 Don't change the _NET_WM_WINDOW_TYPE property. Use
340 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
341 it as a stackable window.
343 * src/hildon-program.c
344 (hildon_program_pop_window_stack):
345 Just hide the window to remove it from the stack.
346 (hildon_program_go_to_root_window):
347 Don't call gtk_widget_show(), this is now a task for the window
350 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
352 2008-10-15 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-button.c
355 (hildon_button_construct_child):
356 Don't pack anything in the button until text or image are
357 set. This allows adding a custom child after creating the button
358 with hildon_button_new().
359 (hildon_button_finalize, hildon_button_class_init)
360 (hildon_button_init, hildon_button_set_arrangement): Destroy the
361 alignment and the label box even when they're not packed in the
364 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
366 * src/hildon-touch-selector.h:
367 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
368 currently the type definition was using GTK_TYPE_VBOX
369 * src/hildon-touch-selector.c:
370 Added some implementation notes in order to clarify that any other widget
371 added without the column related API will not be included on the
372 selection logic, and how the widget is freed, as some people ask about
374 (hildon_touch_selector_remove): Reimplemented in order to free properly
375 the column related data when you remove the private hbox.
376 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
377 to get a proper HildonTouchSelectorColumn documentation
379 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
381 * src/hildon-touch-selector-entry.c:
382 (hildon_touch_selector_entry_print_func): Return NULL if there is no
383 text in the GtkEntry and there is no item selected. Fixes a
386 2008-10-13 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-app-menu-private.h
389 * src/hildon-app-menu.[ch]
390 * src/hildon-button.[ch]
391 * src/hildon-check-button.[ch]
392 * src/hildon-entry.[ch]
393 * src/hildon-pannable-area.[ch]
394 * src/hildon-text-view.[ch]:
395 Added private field to the object's structure.
397 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: post-release version bump
401 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
405 * configure.ac: pre-release version bump
407 * debian/changelog: updates.
409 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
412 Disconnect the handler for HildonTouchSelector::changed.
414 (hildon_picker_button_selector_selection_changed): Update the button
415 value if the selection change was not triggered by the
418 (hildon_picker_button_set_selector): connect to
419 HildonTouchSelector::changed.
421 Fixes: NB#89650 (Picker button is not updated, when selection in
422 selector has changed)
424 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
426 * src/hildon-picker-dialog.c
427 (hildon_picker_dialog_realize): Removed as not required
428 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
429 * src/hildon-picker-button.c
430 (_current_selector_empty): New function, checks if the selector is empty
431 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
432 if the current selector is empty, in order to avoid to show the dialog
433 close the dialog in this case (and shows a g_warning).
435 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
437 2008-10-09 Alejandro G. Castro <alex@igalia.com>
439 * src/hildon-pannable-area.c,
440 (hildon_pannable_area_scroll): Added clause to stop movement when
441 the child of pannable is smaller than one page.
442 (hildon_pannable_area_scroll_to): Added conditions to avoid
443 starting the scrolling movement if the child is smaller than one
444 page, the complete child is in the screen, we do not have to move.
446 Fixes: NB#89632 (Picker button selection doesn't change on first click)
448 2008-10-09 Alberto Garcia <agarcia@igalia.com>
450 * src/hildon-app-menu.c: Removed the 'columns' property, as now
451 this is managed automatically by the widget when the size of the
454 2008-10-09 Alberto Garcia <agarcia@igalia.com>
456 * src/hildon-picker-button.c
457 (hildon_picker_button_set_done_button_text): Make a copy of the
458 text, and free the previous value.
460 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
462 * src/hildon-touch-selector-entry.c:
463 (hildon_touch_selector_entry_print_func): Return the selected row's
464 text if the entry is empty.
466 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
469 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
471 * src/hildon-touch-selector-entry.c: Minor docs fixes.
473 2008-10-09 Alberto Garcia <agarcia@igalia.com>
476 * src/hildon-check-button.h
477 * src/hildon-check-button.c
478 * examples/hildon-check-button-example.c:
479 HildonCheckButton is now a new widget. 'toggled' signal added.
481 2008-10-08 Alberto Garcia <agarcia@igalia.com>
483 * src/hildon-program-private.h
484 * src/hildon-program.c (hildon_program_init)
485 (hildon_program_finalize): Removed unused variables group_leader
486 and name from HildonProgramPrivate.
488 2008-10-08 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-check-button.c (hildon_check_button_set_active)
491 (hildon_check_button_get_active, hildon_check_button_new): Use
492 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
494 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
496 * src/hildon-touch-selector.h
497 (hildon_touch_selector_set_column_attributes): added deprecation
498 guard HILDON_DISABLE_DEPRECATED
499 * src/hildon-time-selector.c
500 (hildon_time_selector_set_time)
501 (hildon_time_selector_get_time): Fixed a typo on documentation
502 * src/hildon-touch-selector.c: update HildonTouchSelector and
503 HildonTouchSelectorColumn documentation
504 * src/hildon-touch-selector-entry.c: update "text-column" property
506 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
507 to be added to the general documentation.
509 2008-10-08 Alejandro G. Castro <alex@igalia.com>
511 * examples/hildon-pannable-area-example-4.c,
513 * examples/hildon-pannable-area-example.c,
514 (main): Modified the code in order to use the container add, with
515 viewport treeviews could have problems if they are really big.
517 2008-10-06 Alejandro G. Castro <alex@igalia.com>
519 * src/hildon-weekday-picker.c,
520 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
521 the agreement regarding deprecation in the library.
523 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
525 * examples/hildon-picker-button-multicolumn-example.c:
526 (main): Use custom "done" button text.
528 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
529 (hildon_picker_button_set_property),
530 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
531 (hildon_picker_button_init),
532 (+hildon_picker_button_get_done_button_text),
533 (+hildon_picker_button_set_done_button_text): New methods to customize
534 the "done" button label in the launched HildonPickerDialog. Also,
537 * src/hildon-picker-button.h: add the public API.
539 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
541 * src/hildon-date-selector.h:
542 * src/hildon-picker-dialog.h:
543 * src/hildon-time-selector.h:
544 * src/hildon-touch-selector-column.h:
545 * src/hildon-touch-selector.h:
547 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
548 declarations. Fixes gtk-doc warnings.
550 2008-10-06 Alberto Garcia <agarcia@igalia.com>
552 * src/hildon-picker-dialog.h
553 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
554 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
556 Fixes: NB#89329 (selectors in picker dialog are not visible when a
557 long text is set as label for done button)
559 2008-10-06 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-dialog.c (hildon_dialog_add_button):
562 Set fixed width to all buttons in the HildonDialog.
564 2008-10-06 Alberto Garcia <agarcia@igalia.com>
566 Patch contributed by Daniel Borgmann (danielb@openismus.com)
568 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
569 Set widget name using class name plus "-finger" or "-thumb".
571 2008-10-03 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
574 'clicked' when the state of the button is manually changed.
576 2008-10-02 Alberto Garcia <agarcia@igalia.com>
578 * src/hildon-app-menu.c (hildon_app_menu_realize)
579 (hildon_app_menu_unrealize, hildon_app_menu_init)
580 (hildon_app_menu_class_init, item_visibility_changed):
581 Change the menu layout when the size of the screen changes.
582 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
583 Show warning only when changing the number of colums using the
586 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
588 * debian/compat: Set to 5
589 * debian/control: Update dependencies.
590 * debian/libhildon1-dbg.install: Remove.
591 * debian/libhildon1-dev.install: Update according to cdbs paths.
592 * debian/libhildon1.install: Update according to cdbs paths.
593 * debian/rules: Switch to cdbs.
595 2008-10-01 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
598 'item' variable renamed to 'filter'
600 2008-10-01 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-app-menu.c (hildon_app_menu_insert)
603 (hildon_app_menu_add_filter, remove_item_from_list)
604 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
605 Don't leak hidden items when the menu is destroyed.
607 2008-10-01 Alberto Garcia <agarcia@igalia.com>
609 * src/hildon-app-menu.c (hildon_app_menu_insert)
610 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
611 (hildon_app_menu_set_columns, item_visibility_changed)
612 (filter_visibility_changed, hildon_app_menu_repack_filters)
613 (hildon_app_menu_repack_items):
614 Repack items and filters separately.
616 Don't repack all items, change only the ones that are needed to
619 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
621 * src/Makefile.am: added hildon-touch-selector-column.h
623 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
625 * src/hildon-touch-selector.c: added the property "text-column" to the
626 class HildonTouchSelectorColumn, and related get/set functions
627 (_default_printf_func): updated to use "text-column" property
628 * src/hildon-touch-selector-entry.c: mark as deprecated the property
629 "text-column" in his documentation, as this is now included on
630 HildonTouchSelectorColumn. The get/set_property can still be used,
631 working as a wrapper to the concrete column "text-column" property
632 (_text_column_modified): callback added in order to handle the signal
633 "notify::text-column" of the concrete HildonTouchSelectorColumn
634 (hildon_touch_selector_entry_get_text_column)
635 (hildon_touch_selector_entry_set_text_column): Added documentation, and
636 modified in order to use the HildonTouchSelectorColumn "text-column"
638 * src/hildon-time-selector.c:
639 * src/hildon-date-selector.c:
640 * examples/hildon-touch-selector-example.c
641 * examples/hildon-touch-selector-multi-cells-example.c
642 * examples/hildon-picker-button-multicolumn-example.c
643 Set the right value to "text-column" property on the creation of a new
644 column using hildon_touch_selector_append_column()
646 Fixes: NB#88644 (Hardcoded first column of the model as text column)
648 2008-09-30 Alberto Garcia <agarcia@igalia.com>
650 * src/hildon-app-menu.c
651 (hildon_app_menu_construct_child, hildon_app_menu_init): When
652 updating the layout of the menu, don't create all widgets again,
653 just repack the items in their new places.
655 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
657 * src/hildon-time-selector.c
658 (hildon_time_selector_get_time)
659 (hildon_time_selector_set_time)
660 Added documentation of these public methods
662 * src/hildon-date-button.h
663 * src/hildon-touch-selector-column.h
664 * src/hildon-time-button.h
665 * src/hildon-picker-dialog.h
666 * src/hildon-time-selector.h
667 * src/hildon-picker-button.h
668 * src/hildon-touch-selector.h
669 * src/hildon-time-picker.h
670 * src/hildon-date-selector.h
671 * src/hildon-touch-selector-entry.h
672 Modified in order to use hildon-widgets code style
674 2008-09-30 Alejandro G. Castro <alex@igalia.com>
676 Added deprecated support to the compilation process using
677 HILDON_DISABLE_DEPRECATED
679 * configure.ac: Added the --disable-deprecated to the configure
682 * src/hildon-weekday-picker.c:
683 * src/hildon-weekday-picker.h: Deprecated widget, example of how
684 to use the deprecated support. We will update the other deprecated
685 widgets status in a new patch.
687 2008-09-30 Alejandro G. Castro <alex@igalia.com>
689 * configure.ac: Fixed typo with fatal warnings support, the
690 variable name was not correct
692 2008-09-29 Alberto Garcia <agarcia@igalia.com>
694 * src/hildon-app-menu.c
695 * src/hildon-program.c: Update documentation.
697 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Post-release version bump.
701 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
706 * configure.ac: Pre-release version bump.
707 * debian/changelog: Updates.
709 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
711 * NEWS: Update news for previous releases.
713 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
715 * examples/hildon-touch-selector-multi-cells-example.c:
716 (create_selector): Update the example to use
717 hildon_touch_selector_append_column() with a NULL renderer and set
719 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
720 passed a NULL renderer. This is documented behavior now.
722 Allow passing a NULL renderer to hildon_touch_selector_append_column().
723 This must be used if the developer wants full control on the layout of
724 the renderers to be added to the column.
726 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
728 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-touch-selector.c: Documentation fixes.
732 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-wizard-dialog-private.h: Remove image and box.
735 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
736 (hildon_wizard_dialog_set_property), (response): Completely remove
737 image/icon support, and the containers required for the layout.
739 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
741 2008-09-25 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-app-menu.c: Updated documentation.
745 * src/hildon-stackable-window.c
746 (hildon_stackable_window_set_main_menu): Unref the old menu after
749 2008-09-25 Alberto Garcia <agarcia@igalia.com>
751 * src/hildon-stackable-window.c
752 (hildon_stackable_window_set_main_menu): Unref the previous menu
753 instead of destroying it.
755 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
756 floating reference and set has_user_ref_count to FALSE to make
757 HildonAppMenu act like a normal ref-counted widget and not a
760 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
763 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
765 * src/hildon-touch-selector-column.h: new file
766 * src/hildon-touch-selector.h
767 * src/hildon-touch-selector.c
768 Implemented GtkCellLayout interface, in order to allow to configure
769 the cell layout on each individual selector column
770 (hildon_touch_selector_set_column_attributes): marked as deprecated
771 * examples/hildon-touch-selector-multi-cells-example.c
772 Example of how to use the GtkCellLayout interface on the selector
774 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
776 2008-09-24 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-app-menu.h
779 * src/hildon-app-menu.c
780 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
781 (hildon_app_menu_append, hildon_app_menu_prepend):
782 New methods to prepend, insert and move items in the menu.
784 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
786 * src/hildon-wizard-dialog.c:
788 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
790 (create_title): Update logical IDs and related code.
791 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
793 * src/hildon-wizard-dialog.h: Note that
794 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
795 point, as it is not used anymore.
797 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
799 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
802 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
803 shown. Do not display an icon in confirmation notes nor information
805 (hildon_note_set_button_text): Update logical ID for cancel button.
807 Fixes: NB#88850 (Update HildonNote button strings + signals)
809 2008-09-24 Alberto Garcia <agarcia@igalia.com>
811 * src/hildon-stackable-window.c
812 (hildon_stackable_window_set_main_menu): Fix compilation warning.
814 2008-09-24 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-app-menu-private.h
817 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
818 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
819 (hildon_app_menu_init, hildon_app_menu_class_init): Added
820 temporary property 'columns' to change the number of columns.
822 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
824 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
826 * examples/hildon-note-example.c: (on_information_clicked),
827 (on_confirmation_clicked), (on_progress_clicked), (main): Add
828 debugging information.
829 * src/hildon-note-private.h: Remove close_if_pressed_outside,
831 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
832 (hildon_note_rebuild): Remove special handling of tapping outside/inside
833 in order to close: this will be handled by the WM from now on.
835 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
837 2008-09-24 Alberto Garcia <agarcia@igalia.com>
839 * src/hildon-app-menu-private.h
840 * src/hildon-app-menu.c
841 (hildon_app_menu_append, hildon_app_menu_add_filter)
842 (button_visibility_changed, hildon_app_menu_apply_style)
843 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
844 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
845 layout everytime a button (item or filter) is shown or hidden.
847 * src/hildon-stackable-window.c
848 (hildon_stackable_window_set_main_menu): Destroy the old menu when
851 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
853 * src/hildon-touch-selector.c:
854 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
855 that the treeview inside the touch selector is in fremantle hildon mode
856 * examples/hildon-date-button-example.c
857 * examples/hildon-picker-button-multicolumn-example.c
858 * examples/hildon-touch-selector-entry-example.c
859 * examples/hildon-touch-selector-example.c
860 * examples/hildon-time-button-example.c
861 * examples/hildon-picker-button-example.c:
862 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
864 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
866 * examples/hildon-text-view-example.c: (main): Remove the
867 gtkrc bits, now handled by the theme.
869 2008-09-22 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-picker-button.c (hildon_picker_button_set_active):
874 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
876 * po/Makefile.am: Install properly the mo files.
877 * po/en_GB.po: Update translation, to ease testing purposes.
879 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
881 * examples/hildon-picker-button-example.c: (main): Select an item
882 in the selector before setting it to the button.
884 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
886 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
887 Update button's value if the selector has an item active.
889 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
890 'value' with the selector)
892 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
895 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
896 (hildon_picker_button_class_init): Plug the finalize method.
897 (hildon_picker_button_set_selector): If there's a previously set
898 selector, unref'it before setting a new one.
900 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
903 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-touch-selector-entry.c:
906 (hildon_touch_selector_entry_changed): Check if there is no text
907 selected before setting the entry text.
910 2008-09-15 Alberto Garcia <agarcia@igalia.com>
912 * src/hildon-touch-selector.h
913 * src/hildon-touch-selector.c
914 (hildon_touch_selector_get_active)
915 (hildon_touch_selector_set_active): New methods to set/get the
916 index of the selected item.
918 * src/hildon-picker-button.h
919 * src/hildon-picker-button.c
920 (hildon_picker_button_get_active)
921 (hildon_picker_button_set_active): New methods to set/get the
922 index of the selected item.
924 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
926 * configure.ac: post-release version bump.
928 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
932 * configure.ac: Pre-release version bump.
933 * debian/changelog: Updates.
934 * debian/control: Add myself as maintainer and depend on l10n
937 2008-09-15 Alberto Garcia <agarcia@igalia.com>
939 * src/hildon-window.c
940 (hildon_window_set_main_menu)
941 * src/hildon-stackable-window.c
942 (hildon_stackable_window_set_main_menu):
943 Updated documentation.
945 2008-09-15 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-date-selector.c (hildon_date_selector_finalize):
948 Don't free selector->priv manually.
951 2008-09-12 Alejandro G. Castro <alex@igalia.com>
954 (hildon_gtk_window_set_progress_indicator):
955 * src/hildon-gtk.h: Added the new API
956 hildon_gtk_window_set_progress_indicator, it changes the state of
957 the window progress hint.
959 2008-09-12 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-button.c
962 * src/hildon-stackable-window.c: Minor documentation updates.
964 2008-09-12 Alberto Garcia <agarcia@igalia.com>
966 * src/hildon-stackable-window.c: Updated documentation.
968 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
970 * src/hildon-defines.h: Update margins definitions
971 to the Fremantle sizes.
974 2008-09-12 Alejandro G. Castro <alex@igalia.com>
976 * src/hildon-touch-selector.c,
977 (_hildon_touch_selector_set_model): Cleaning the code after
978 review, removed g_print and #if 0 from the code.
980 2008-09-11 Alberto Garcia <agarcia@igalia.com>
982 * src/hildon-edit-toolbar.c: Update documentation.
984 2008-09-11 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-check-button.h
987 * src/hildon-check-button.c
988 (hildon_check_button_set_label, hildon_check_button_get_label)
989 * examples/hildon-check-button-example.c
991 Removed deprecated methods.
993 2008-09-11 Alberto Garcia <agarcia@igalia.com>
995 * src/hildon-text-view.c:
996 Add sample code to the documentation.
999 * src/hildon-text-view.h:
1000 Minor cosmetic changes.
1002 * src/hildon-entry.c:
1003 Add sample code to the documentation.
1004 (hildon_entry_init, hildon_entry_refresh_contents):
1005 Don't allow NULL values in the placeholder.
1007 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1009 * doc/hildon-docs.sgml
1011 * examples/Makefile.am
1012 * examples/hildon-text-view-example.c
1014 * src/hildon-text-view.c
1015 * src/hildon-text-view.h
1017 New HildonTextView widget, with example.
1019 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1021 * po/POTFILES.in: Add missing files with translatable strings.
1022 Partially fixes NB#88287.
1024 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1026 * examples/hildon-pannable-area-example-2.c: (main): No need to
1027 set the cellrenderer height inside hildon touch lists, the theme does
1030 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1032 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1033 they are integrated in the theme.
1035 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1037 * examples/hildon-entry-example.c: Update the example adding
1038 widgets to modify the text and the placeholder of the HildonEntry.
1040 * src/hildon-entry.c: Show the placeholder everytime the widget
1041 is empty and loses the focus.
1043 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1045 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1047 * src/hildon-pannable-area.c,
1048 (hildon_pannable_area_size_request): Fixed bug in height
1049 requisition, avoid increasing size and add border twice.
1051 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1053 * configure.ac: postrelease version bump.
1055 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1059 * configure.ac: Prerelease version bump.
1060 * debian/changelog: update.
1061 * debian/rules: make -dbg package contain useful debugging symbols.
1063 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1065 * src/hildon-dialog.h
1066 * src/hildon-dialog.c
1067 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1068 New methods to add buttons with finger size.
1069 (hildon_dialog_new_with_buttons):
1070 Create buttons with finger size.
1072 * examples/hildon-dialog-example.c (main): Use HildonDialog
1073 methods to add buttons.
1075 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1077 * src/hildon-entry.c: Updated HildonButton documentation.
1079 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1082 button value label with (FALSE, FALSE) to prevent NB#88126 from
1085 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1087 * examples/hildon-pannable-area-example.c,
1088 (main): Removed examples panning a vbox inside a pannable
1089 area. Check bug NB#87965
1091 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1093 Patch contributed by Kris Rietveld (kris@imendio.com)
1095 * src/hildon-pannable-area.c,
1096 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1097 get_size and get_position, this saves an X server roundtrip.
1099 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1101 * doc/hildon-docs.sgml
1103 * examples/Makefile.am
1104 * examples/hildon-entry-example.c
1106 * src/hildon-entry.c
1107 * src/hildon-entry.h
1109 New HildonEntry widget, with example.
1111 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1113 * src/hildon-button.c (hildon_button_construct_child): Pack the
1114 image with expand == fill == FALSE. This is a workaround for a bug
1117 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1119 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1120 labels for the text column, to make it more look more dynamic.
1122 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1124 * src/hildon-time-selector.c
1125 Define gettext auxiliar macro N_
1126 (_create_minutes_model)
1127 (_create_hours_model)
1128 (_create_ampm_model): use of strftime in order to fill the model
1129 * src/hildon-date-selector.c
1130 (hildon_date_selector_finalize):
1131 (_locales_init): remove the logic related to get the name of the months
1132 using nl_langinfo, as it is not required anymore
1134 (_create_year_model)
1135 (_create_month_model)
1136 (_update_day_model): use of strftime in order to fill the model properly
1139 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1141 * src/hildon-button.h
1142 * src/hildon-button.c (hildon_button_get_image): New method to
1145 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-touch-selector.c:
1148 (hildon_touch_selector_remove_column): Remove from the correct parent
1149 and also remove the list element and free it.
1152 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1154 * src/hildon-time-selector.c
1155 (_create_hours_model): change the range on 12h ampm format in order to use
1156 a 12-11 range instead of previous 01-12 range
1157 (hildon_time_selector_set_time): change the way to select the current time
1158 on 12h ampm format, due the change on the range
1159 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1162 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1164 * src/hildon-touch-selector.c
1165 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1166 in order to allow use this function on multiple row selection mode if
1167 the column is different that the first one
1170 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1172 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1173 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1175 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1177 * src/hildon-date-selector.h: clean some comments, now on the .c
1178 * src/hildon-date-selector.c
1179 (hildon_date_selector_select_month): first implementation
1180 (hildon_date_selector_select_day): added documentation, reimplemented
1181 using hildon_date_selector_select_current_date to avoid repeat code
1184 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1186 Reviewed interaction logic based on device experiences, refactored
1189 * src/hildon-pannable-area.c,
1190 (hildon_pannable_area_class_init): Updated default vmax speed.
1191 (hildon_pannable_area_calculate_velocity): Added this function, it
1192 avoids duplicate valocity calculation. Adjusted calculation to
1193 avoid problems with zero dist events.
1195 (hildon_pannable_area_motion_notify_cb): Now we use the
1196 calculate_velocity function.
1198 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1200 * src/hildon-date-selector.c
1201 (hildon_date_selector_select_current_date): fix the day range check
1202 as it failed using the last day of the current month
1205 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1207 * src/hildon-touch-selector.c
1208 (hildon_touch_selector_get_num_columns): added a parameter validation
1211 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1213 * examples/Makefile.am
1214 * examples/hildon-edit-toolbar-example.c: Example of the
1215 HildonEditToolbar widget.
1217 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1219 * configure.ac: postrelease version bump.
1221 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1225 * configure.ac: prerelease version bump.
1226 * debian/changelog: update.
1228 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1230 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1231 renderer to display stock icons in the touch list. Also, set the sizes
1232 to the recommended in the style guide.
1234 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1235 * src/hildon-touch-selector.h
1236 (hildon_touch_selector_set_active_iter): renamed, now is
1237 hildon_touch_selector_select_iter
1238 (hildon_touch_selector_get_active_iter): renamed, now is
1239 hildon_touch_selector_get_selected
1240 (hildon_touch_selector_unselect_iter): added
1241 * src/hildon-touch-selector.c
1242 Update after API modification (methods renamed)
1243 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1244 order to avoid problems selecting multiple elements on the column
1245 (hildon_touch_selector_unselect_iter): added the implementation
1246 * src/hildon-time-selector.c
1247 * src/hildon-date-selector.c
1248 * src/hildon-touch-selector-entry.c
1249 Update methods calls after hildon-touch-selector.h API modification (methods
1252 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1254 * src/hildon-stackable-window.c
1255 (hildon_stackable_window_finalize): Call the parent class's finalize.
1257 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1259 * examples/hildon-touch-selector-example.c: (create_selector): Use
1260 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1263 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1265 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1266 set a cell background color, to respect theming.
1268 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1270 * doc/hildon-docs.sgml
1273 * src/hildon-edit-toolbar.c
1274 * src/hildon-edit-toolbar.h
1275 * src/hildon.h: New HildonEditToolbar widget.
1277 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1279 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1282 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1283 * src/hildon-touch-selector.c
1284 (_create_new_column): use g_object_set instead of two g_object_set_property
1286 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1287 * src/hildon-touch-selector.c
1288 (_create_new_column): use of hildon_gtk_tree_view_new to create
1289 the treeview, instead of use directly g_object_new
1290 (_create_new_column): update the property name "vindicator-mode" for the
1291 new one "vscrollbar-policy"
1292 * examples/hildon-date-button-example.c
1293 * examples/hildon-picker-button-multicolumn-example.c
1294 * examples/hildon-touch-selector-entry-example.c
1295 * examples/hildon-touch-selector-example.c
1296 * examples/hildon-time-button-example.c
1297 * examples/hildon-picker-button-example.c
1298 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1299 to all the treeviews inside a pannable area.
1301 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-button.h
1304 * src/hildon-button.c (hildon_button_init)
1305 (hildon_button_set_arrangement, hildon_button_set_alignment)
1306 (hildon_button_set_title_alignment)
1307 (hildon_button_set_value_alignment)
1308 (hildon_button_set_image_alignment)
1309 (hildon_button_construct_child): New methods to set the alignment
1310 of the individual components of the button (title, value,
1311 image). Also, new method to alter the xscale and yscale properties
1312 of the GtkAlignment inside the button, so more complex layouts can
1315 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-button.c (hildon_button_style_set)
1318 (hildon_button_class_init, hildon_button_set_arrangement)
1319 (hildon_button_construct_child): Apply style properties
1320 correctly. Use the 'image-spacing' style property too.
1322 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1325 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1328 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1330 * src/hildon-pannable-area.c,
1331 (hildon_pannable_area_size_request): Fixed problem with
1332 pannable-area size_request.
1334 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1336 Added management for the grab-focus to a child widget, like a
1337 range, we need to fade out the scrollbar when releasing.
1339 * src/hildon-pannable-area.c,
1340 (hildon_pannable_area_init): Connected the grab-focus signal to
1342 (hildon_pannable_area_grab_notify): Added this function in order
1343 to manage the situation when the grab-focus ends. We have to
1344 fade-out the scrollbar.
1346 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-app-menu.c: Minor documentation update.
1350 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-app-menu.c
1353 * examples/hildon-app-menu-example.c (create_menu): Update
1354 examples and documentation to explain how to connect callbacks.
1356 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1358 * examples/hildon-button-example.c
1359 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1360 hildon_stackable_window_new instead of gtk_window_new
1362 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1364 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1365 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1366 (hildon_pannable_area_set_property),
1367 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1368 (hildon_pannable_area_unrealize),
1369 (hildon_pannable_area_size_request),
1370 (hildon_pannable_area_size_allocate),
1371 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1372 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1373 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1374 (hildon_pannable_area_initial_effect),
1375 (hildon_pannable_area_redraw),
1376 (hildon_pannable_area_scroll_indicator_fade),
1377 (hildon_pannable_area_expose_event),
1378 (hildon_pannable_area_get_topmost), (synth_crossing),
1379 (hildon_pannable_area_button_press_cb),
1380 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1381 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1382 (hildon_pannable_area_motion_notify_cb),
1383 (hildon_pannable_area_button_release_cb),
1384 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1385 (hildon_pannable_area_remove),
1386 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1387 chage the code layout to a more GtkWidget like. Review the use of
1390 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1392 * examples/hildon-pannable-area-example-4.c,
1393 (main): Modified the name of the hindicator_mode to
1396 * src/hildon-pannable-area.c,
1397 (hildon_pannable_area_class_init),
1398 (hildon_pannable_area_motion_notify_cb),
1399 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1400 we have reduced the amount of signals and managed reviewed its
1401 rationale. Changed the default decelerate value.
1403 (hildon_pannable_area_add),
1404 (hildon_pannable_area_redraw): Refactored functions.
1406 (hildon_pannable_area_init),
1407 (hildon_pannable_area_get_property),
1408 (hildon_pannable_area_set_property):
1409 (hildon_pannable_draw_vscroll),
1410 (hildon_pannable_draw_hscroll),
1411 (hildon_pannable_area_initial_effect),
1412 (hildon_pannable_area_expose_event),
1413 (hildon_pannable_area_scroll),
1414 (hildon_pannable_area_button_press_cb),
1415 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1416 and vindicator_mode with hscrollbar_policy and
1417 vscrollbar_policy. Replaced hscroll and vscroll with
1418 hscroll_visible and vscroll_visible.
1420 (hildon_pannable_area_refresh): Refactor the function, remove
1421 variables and check the calls to this function, added resize
1422 conditions in case the children change their layout.
1424 (hildon_pannable_area_size_request): Added more detailed
1425 size_request calculation.
1428 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1430 * src/hildon-color-chooser.c
1431 (init_borders): use the correct gtk_border_free instead of g_free, to
1432 avoid a crash when this widget is used (ie: the three color selection
1435 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1437 * src/hildon-check-button.c,
1438 (hildon_check_button_set_active): Fixed problem when setting the
1439 active value, the widget was not redrawn.
1441 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_refresh),
1445 (hildon_pannable_area_scroll),
1446 (hildon_pannable_area_motion_notify_cb): Small code style change.
1448 (hildon_pannable_area_class_init): Default initial_hint set to
1449 FALSE, it is not in the specs.
1451 (hildon_pannable_area_initial_effect),
1452 (hildon_pannable_area_expose_event),
1453 (hildon_pannable_area_map),
1454 (hildon_pannable_area_init): Moved the launching point of the
1455 initial effect, it was in map but the sizes where not correct in
1456 that method so we do not know if we have the reproduce it. Now it
1457 is placed in the expose_event method and uses a variable to
1458 reproduce it just once.
1460 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1462 * src/hildon-pannable-area.c,
1463 (hildon_pannable_draw_vscroll),
1464 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1465 position allowed for the scrollbars.
1467 (hildon_pannable_area_size_allocate): Small style change.
1469 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1471 * src/hildon-pannable-area.c,
1472 (hildon_pannable_area_scroll_indicator_fade),
1473 (hildon_pannable_area_button_press_cb),
1474 (hildon_pannable_area_button_release_cb),
1475 (hildon_pannable_area_scroll_cb),
1476 (hildon_pannable_area_expose_event),
1477 (hildon_pannable_area_init): Added the define parameter
1478 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1479 and refactor the fade variable.
1481 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1483 * src/hildon-pannable-area.c,
1484 (hildon_pannable_area_redraw),
1485 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1486 lines, we were reimplemeting the redraw code.
1488 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1490 * src/hildon-pannable-area.c,
1491 (hildon_pannable_area_scroll_cb),
1492 (hildon_pannable_area_realize),
1493 (hildon_pannable_area_class_init): Added scroll_event management
1494 for pannable area, now we can scroll the usual desktop method.
1496 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1497 initialization of the parameters should depend on idle_id.
1499 (hildon_pannable_area_init),
1500 (hildon_pannable_area_map): Small code style modifications
1502 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1504 * src/hildon-pannable-area.c
1505 (hildon_pannable_area_button_press_cb),
1506 (hildon_pannable_area_motion_notify_cb),
1507 (hildon_pannable_area_button_release_cb),
1508 (hildon_pannable_area_size_allocate),
1509 (hildon_pannable_area_scroll_to): Improved the timeouts
1510 management, we avoid creating them each time.
1512 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1514 * src/hildon-pannable-area.c:
1515 (hildon_pannable_area_refresh),
1516 (hildon_pannable_area_motion_notify_cb),
1517 (hildon_pannable_area_class_init):
1518 * src/hildon-pannable-area.h:
1519 * src/hildon-touch-selector.c
1520 (_create_new_column):
1521 * examples/hildon-pannable-area-example-4.c:
1522 (horizontal_movement),
1523 (vertical_movement),
1525 Replaced the names of enums in the HildonPannableArea:
1526 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1527 HILDON_MOVEMENT_MODE_*
1528 - HILDON_PANNABLE_AREA_MOV_* ->
1530 - Removed HildonPannableAreaIndicatorMode, now we
1533 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1535 * examples/hildon-pannable-area-touch-grid-example.c
1536 * examples/hildon-pannable-area-touch-list-example.c: Fix
1537 compilation warnings.
1539 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-gtk.c (hildon_gtk_button_new)
1542 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1543 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1544 images overriding the value of the "gtk-button-images" setting.
1546 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-check-button.c (hildon_check_button_new):
1549 Instead of using a custom container, display the label and the
1550 checkbox using the standard GtkButton API.
1552 * examples/hildon-check-button-example.c (main): Don't use
1553 hildon_check_button_set_label() anymore
1555 * src/hildon-check-button.h
1556 * src/hildon-check-button.c
1557 (hildon_check_button_set_label, hildon_check_button_get_label):
1558 Set as deprecated, now we're using gtk_button_{get,set}_label()
1560 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1562 * src/hildon-pannable-area.c,
1563 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1564 GtkTreeview first line we detected it after the inclusion of the
1565 GtkWindowImpl in gtk+. We now check if the window is visible, not
1566 just if the pointer is over the window.
1567 (hildon_pannable_axis_scroll),
1568 (hildon_pannable_area_expose_event): Small style changes.
1570 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-button.c: Update documentation.
1574 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1576 * examples/hildon-button-example.c: Add a switch to show images in
1579 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1581 * doc/hildon-docs.sgml: Some docs reorganization.
1583 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1585 * examples/hildon-pannable-area-touch-list-example.c
1587 * examples/hildon-pannable-area-touch-grid-example.c
1588 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1589 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1590 Fix memory leak when setting the tree model.
1592 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1596 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1598 * doc/hildon.types: Remove duplicated hildon_window_get_type
1599 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1600 documentation comment.
1602 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1604 * doc/Makefile.am: Complete list of private headers.
1606 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1608 * doc/hildon-docs.sgml
1609 * src/hildon-app-menu.c
1610 * src/hildon-bread-crumb.c
1611 * src/hildon-button.c
1613 * src/hildon-program.c
1614 * src/hildon-stackable-window.c
1615 * src/hildon-window.c: Lots of documentation updates.
1617 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1619 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1621 * configure.ac: Require Gtk+ 2.12.9 at least
1623 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c
1626 (hildon_pannable_area_scroll_indicator_fade),
1627 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1628 to protect the return of this timeout callbacks, avoiding deadlocks.
1630 2008-08-12 Christian Dywan <christian@imendio.com>
1633 * src/hildon-*.h: Ensure a consistent include order,
1634 include <gtk/gtk.h> instead of particular files and
1635 only include the topmost header in the gtk stack. See NB #39857
1637 2008-08-12 Christian Dywan <christian@imendio.com>
1639 * src/hildon-picker-dialog.c
1640 * src/hildon-touch-selector.c: Fix warnings about unused and
1641 uninitialized variables.
1643 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1645 * examples/Makefile.am
1646 * examples/hildon-check-button-example.c: Example of the hildon
1649 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-window.h
1652 * src/hildon-window.c (hildon_window_class_init)
1653 (hildon_window_unset_program): Don't make
1654 hildon_window_unset_program a virtual function anymore.
1656 * src/hildon-stackable-window.c: Update documentation
1658 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1661 * doc/hildon-docs.sgml
1662 * doc/visual_index.xml
1663 * src/hildon-defines.c
1665 * src/hildon-helper.c
1666 * src/hildon-range-editor.c: Lots of documentation fixes.
1668 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1670 * examples/hildon-picker-button-multicolumn-example.c
1671 (create_touch_selector): Fix compilation warning.
1673 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1675 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1676 (hildon_pannable_area_button_release_cb)
1677 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1679 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1681 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1684 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1686 * src/hildon-bread-crumb-trail.h
1687 * src/hildon-date-editor.c
1688 * src/hildon-date-selector.c
1689 * src/hildon-pannable-area.c
1690 * src/hildon-picker-dialog.c
1691 * src/hildon-time-selector.c
1692 * src/hildon-touch-selector-entry.c
1693 * src/hildon-touch-selector.c
1694 * src/hildon-touch-selector.h: Misc documentation fixes
1696 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1698 * examples/hildon-date-editor-example.c (main): Updated date
1701 * examples/hildon-note-example.c (on_confirmation_clicked):
1702 Updated confirmation note example.
1704 * src/hildon-date-editor.c
1705 * src/hildon-note.c: Updated sample programs in documentation.
1708 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-date-button.h:
1711 * src/hildon-picker-button.h:
1712 * src/hildon-time-button.c:
1713 * src/hildon-time-button.h:
1715 Some declarations changes to allow gtk-doc to document the widgets
1718 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-date-button.c: Document the widget.
1721 * src/hildon-time-button.c: Document the widget.
1723 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1725 * src/hildon-picker-button.c: Document the widget.
1726 * src/hildon-touch-selector-entry.c: Document the widget.
1728 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1730 * doc/hildon-docs.sgml
1733 * src/hildon-check-button.h
1734 * src/hildon-check-button.c: New functions to create the Hildon
1738 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1740 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-button.h
1743 * src/hildon-button.c
1744 (hildon_button_add_title_size_group)
1745 (hildon_button_add_value_size_group)
1746 (hildon_button_add_image_size_group)
1747 (hildon_button_add_size_groups): New functions to set size groups
1748 for the button labels and image.
1749 (hildon_button_new_full): Removed
1751 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1753 * src/hildon-time-selector.c
1754 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1755 in order to avoid a crash if gconf is not available
1757 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-button.c (hildon_button_set_arrangement)
1760 (hildon_button_construct_child): Don't construct the button child
1761 before setting the arrangement.
1763 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-program-private.h
1766 * src/hildon-program.c
1767 * src/hildon-program.h
1768 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1769 (hildon_program_peek_window_stack)
1770 (hildon_program_pop_window_stack)
1771 (hildon_program_go_to_root_window): HildonProgram now has a
1772 separate list for stackable windows. Functions are provided to
1773 manage that list with a stack-like API.
1775 * src/hildon-stackable-window.c: Stackable window management is
1776 now much simpler with the new HildonProgram API. Windows no
1777 longer need to be manually added to the program, they're
1778 automatically pushed to the top of the stack when shown.
1780 * examples/hildon-stackable-window-example.c: Updated example to
1781 reflect the API changes.
1783 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-touch-selector.c: Comment out unimplemented
1786 hildon_touch_selector_insert_column() to avoid a compile warning.
1788 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1791 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1792 (hildon_touch_selector_set_column_selection_mode),
1793 (_hildon_touch_selector_set_model),
1794 (hildon_touch_selector_set_model):
1796 Complete review of HildonTouchSelector documentation.
1798 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1800 * doc/hildon-docs.sgml
1804 * src/hildon-gtk.c: Convenience functions for standard Gtk
1805 widgets, used to easily perform frequent operations.
1807 * src/hildon-button-helpers.h
1808 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1810 * src/hildon-helper.h
1811 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1812 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1814 * src/hildon-button.h
1815 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1817 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-button.c (hildon_button_init)
1820 (hildon_button_set_arrangement, hildon_button_construct_child):
1821 Pack the image and the labels inside the same GtkAlignment so
1822 gtk_button_set_alignment() can be used
1824 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-button.h
1827 * src/hildon-button.c
1828 (hildon_button_init, hildon_button_set_image)
1829 (hildon_button_set_image_position)
1830 (hildon_button_construct_child): New functions to add an image to
1833 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1835 * src/hildon-date-button.c
1836 * src/hildon-picker-button.c
1837 * src/hildon-time-button.c
1838 * src/hildon-button.c:
1839 (hildon_button_class_init): "size-flags" renamed to "size"
1840 (hildon_button_set_title): Hide the title label if set to NULL.
1842 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1844 HildonButtonFlags split into HildonButtonArrangement (to set the
1845 button layout) and HildonSizeType (which can be used for any
1848 * src/hildon-button.h
1849 * src/hildon-button.c
1850 (hildon_button_class_init)
1851 (hildon_button_set_arrangement)
1852 (hildon_button_set_property): New "size-flags"
1853 property. "arrangement-flags" renamed to "arrangement".
1854 (hildon_button_new, hildon_button_new_with_text)
1855 (hildon_button_new_full): Constructors updated to reflect type changes.
1857 * src/hildon-helper.h
1858 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1859 to set the size of a widget.
1863 * src/hildon-button-helpers.c
1864 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1866 * src/hildon-date-button.c
1867 * src/hildon-date-button.h
1868 * src/hildon-picker-button.c
1869 * src/hildon-picker-button.h
1870 * src/hildon-time-button.c
1871 * src/hildon-time-button.h: Updated widgets to reflect
1872 HildonButton API changes.
1874 * examples/hildon-button-example.c
1875 * examples/hildon-date-button-example.c
1876 * examples/hildon-picker-button-example.c
1877 * examples/hildon-picker-button-multicolumn-example.c
1878 * examples/hildon-time-button-example.c
1879 * examples/hildon-touch-selector-entry-example.c
1880 * examples/hildon-touch-selector-example.c: Updated examples to
1881 reflect HildonButton API changes.
1883 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1885 * doc/hildon-docs.sgml:
1887 * examples/Makefile.am:
1888 * examples/hildon-touch-selector-entry-example.c:
1890 * src/hildon-touch-selector-entry.c:
1891 * src/hildon-touch-selector-entry.h:
1894 Moved HildonTouchSelectorEntry from sandbox. Added its
1895 documentation and examples.
1897 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-touch-selector.h:
1900 * examples/hildon-picker-button-multicolumn-example.c:
1901 (hildon_touch_selector_append_text_column): Add a gboolean
1902 parameter to determine if text must be centered in the column.
1904 * src/hildon-date-selector.c: (hildon_date_selector_init):
1905 * src/hildon-time-selector.c: (hildon_time_selector_init):
1906 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1907 (create_touch_selector): Update widgets and example to reflect
1910 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-touch-selector.c:
1913 (hildon_touch_selector_set_active_iter): Set also the cursor in
1916 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1918 * doc/hildon-docs.sgml
1921 * src/hildon-toggle-button.c
1922 * src/hildon-toggle-button.h
1923 * src/hildon.h: Removed HildonToggleButton widget, a derived
1924 class is not necessary for this.
1926 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1928 * src/hildon-pannable-area.c,
1929 (hildon_pannable_area_realize),
1930 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1933 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1936 "done" button the default widget for the dialog.
1938 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-touch-selector.c:
1941 (hildon_touch_selector_class_init),
1942 (hildon_touch_selector_get_property),
1943 (_hildon_touch_selector_set_model),
1944 (_hildon_touch_selector_has_multiple_selection),
1945 (hildon_touch_selector_has_multiple_selection):
1946 Add a "has-multiple-selection" property with a virtual
1947 has_multiple_selection() method to allow derived classes to
1948 override the default value for it. See the method and property
1949 documentation for details.
1951 * src/hildon-touch-selector.h: Add the new API.
1953 * src/hildon-picker-dialog.c: (requires_done_button): Call
1954 hildon_touch_selector_has_multiple_selection() instead of
1955 determining the need for a button itself.
1957 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1960 (_hildon_touch_selector_set_model),
1961 (hildon_touch_selector_set_model): Move working code to
1962 _hildon_touch_selector_set_mode(). Call the class method instead.
1964 * src/hildon-touch-selector.h: Add (*set_model) to
1965 HildonTouchSelectorClass.
1967 Make hildon_touch_selector_set_model() a virtual method, so that
1968 derived classes can extend it and do fancy stuff with the model.
1970 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: Set back the tarname in AC_INIT to hildon.
1974 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1978 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1979 instead of libesd (NB#86876). Volume handling is still an open issue.
1981 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1984 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1987 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1988 derived class to ease placement of an entry widget in
1989 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1990 end, where the selector columns are packed now.
1992 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-picker-button.c: Removed the simple _text() API.
1995 * src/hildon-picker-button.h: Likewise.
1997 * src/hildon-touch-selector.h:
1998 * src/hildon-touch-selector.c:
1999 (hildon_touch_selector_new_text),
2000 (hildon_touch_selector_append_text),
2001 (hildon_touch_selector_prepend_text),
2002 (hildon_touch_selector_insert_text):
2004 Moved the simple _text() API from HildonPickerButton to
2005 HildonTouchPicker, to provide better escalability and not to tie
2006 that API to HildonPickerButton.
2008 * examples/hildon-picker-button-example.c: (main): Example updated.
2010 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-button.c: Updated documentation.
2014 * examples/hildon-button-example.c: Add the posibility to create
2015 the buttons using horizontal layout for title and value.
2017 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-app-menu-private.h
2020 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2021 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2022 GtkSizeGroup for the filters, use the 'homogeneous' property of
2025 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2027 * examples/hildon-button-example.c: Updated example.
2029 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2031 * doc/hildon-docs.sgml:
2034 Update documentation.
2036 * examples/Makefile.am: Update renamed examples.
2038 * examples/hildon-picker-button-multicolumn-example.c:
2039 (create_touch_selector), (main): Update after the rename.
2041 * examples/hildon-touch-picker-example.c: Removed.
2042 * examples/hildon-touch-selector-example.c: (value_changed),
2043 (create_selector), (get_visible_content), (main): Renamed from
2044 hildon-touch-picker-example.c
2046 * src/Makefile.am: Updated renamed files.
2048 * src/hildon-date-button.c: (hildon_date_button_init),
2049 (hildon_date_button_get_date), (hildon_date_button_set_date):
2050 * src/hildon-date-selector.c: (hildon_date_selector_init),
2051 (_custom_print_func), (_update_day_model),
2052 (_manage_selector_change_cb),
2053 (hildon_date_selector_select_current_date),
2054 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2055 * src/hildon-date-selector.h:
2056 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2057 (hildon_picker_button_set_property),
2058 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2059 (hildon_picker_button_init), (hildon_picker_button_new_text),
2060 (hildon_picker_button_append_text),
2061 (hildon_picker_button_prepend_text),
2062 (hildon_picker_button_insert_text),
2063 (hildon_picker_button_set_selector),
2064 (hildon_picker_button_get_selector):
2065 * src/hildon-picker-button.h:
2066 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2067 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2068 (_update_title_on_selector_changed_cb), (requires_done_button),
2069 (_hildon_picker_dialog_set_selector),
2070 (hildon_picker_dialog_set_selector),
2071 (hildon_picker_dialog_get_selector):
2072 * src/hildon-picker-dialog.h:
2073 * src/hildon-time-button.c: (hildon_time_button_init),
2074 (hildon_time_button_get_time), (hildon_time_button_set_time):
2075 * src/hildon-time-selector.c: (hildon_time_selector_init),
2076 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2077 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2078 * src/hildon-time-selector.h:
2081 Massive code updates after the rename.
2083 * src/hildon-touch-picker.c: Removed.
2084 * src/hildon-touch-picker.h: Removed.
2086 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2087 (hildon_touch_selector_init), (hildon_touch_selector_map),
2088 (hildon_touch_selector_remove), (_default_print_func),
2089 (_selection_changed_cb), (_create_new_column),
2090 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2091 (hildon_touch_selector_append_text_column),
2092 (hildon_touch_selector_remove_column),
2093 (hildon_touch_selector_set_column_attributes),
2094 (hildon_touch_selector_insert_column),
2095 (hildon_touch_selector_get_num_columns),
2096 (hildon_touch_selector_get_column_selection_mode),
2097 (hildon_touch_selector_set_column_selection_mode),
2098 (hildon_touch_selector_set_print_func),
2099 (hildon_touch_selector_get_print_func),
2100 (hildon_touch_selector_get_active_iter),
2101 (hildon_touch_selector_set_active_iter),
2102 (hildon_touch_selector_get_selected_rows),
2103 (hildon_touch_selector_get_model),
2104 (hildon_touch_selector_set_model),
2105 (hildon_touch_selector_get_current_text),
2106 (_hildon_touch_selector_center_on_selected_items):
2107 * src/hildon-touch-selector.h: Renamed from
2108 hildon-touch-picker.[ch]
2110 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2111 references, code examples, and related documentation.
2113 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2115 * doc/hildon-docs.sgml
2118 * src/hildon-toggle-button.c
2119 * src/hildon-toggle-button.h
2120 * src/hildon.h: New HildonToggleButton widget.
2122 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-button.c: Add API documentation.
2125 (hildon_button_set_size_groups): Check input parameters
2127 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2129 * src/hildon-pannable-area.c
2130 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2131 effect after reaching the movement thredshold. This way we start
2132 using the distance after passing the thredshold.
2134 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2136 * src/hildon-button.c: (hildon_button_set_property): Use the
2137 appropriate g_value_get_flags() method.
2139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2141 * doc/hildon-docs.sgml:
2144 Add the touch pickers, picker dialogs, and picker button widgets
2145 to the documentation.
2147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2149 * src/hildon-button.c: (hildon_button_set_property),
2150 (hildon_button_class_init): Make "arrangement-flags" a proper
2151 G_TYPE_FLAGS derived property.
2153 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2155 * examples/Makefile.am: Add below examples.
2156 * examples/hildon-date-button-example.c:
2157 * examples/hildon-picker-button-example.c:
2158 * examples/hildon-picker-button-multicolumn-example.c:
2159 * examples/hildon-time-button-example.c:
2160 * examples/hildon-touch-picker-example.c:
2162 Add examples for the recently added touch pickers,
2163 picker dialogs, and picker button widgets.
2165 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2167 * src/hildon-button.c: Add some API documentation
2169 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-button.h
2172 * src/hildon-button.c
2174 (hildon_button_new_with_text): New constructor to create a button
2175 with no text at all.
2176 (hildon_button_init, hildon_button_set_arrangement)
2177 (hildon_button_set_title, hildon_button_set_value)
2178 (hildon_button_set_text)
2179 (hildon_button_construct_child): Hide the value when it's not used
2180 so the rest of the text is properly aligned.
2181 Allow creating buttons with arbitrary widgets inside (not just
2182 title/value labels).
2184 * examples/hildon-button-example.c (vertical_buttons_window)
2185 (horizontal_buttons_window): Update example to use new API.
2187 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2189 * src/Makefile.am: Added HildonTimeButton.
2190 * src/hildon-time-button.c: Added missing LGPL header.
2191 * src/hildon-time-button.h: Added missing LGPL header.
2192 * src/hildon.h: Add hildon-time-button.h
2194 Copied HildonTimeButton from sandbox to trunk. Future work on this
2195 widget must take place in trunk.
2197 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/Makefile.am: Added HildonDateButton.
2200 * src/hildon-date-button.c: Update includes.
2201 * src/hildon.h: Add hildon-date-button.h
2203 Copied HildonDateButton from sandbox to trunk. Future work on this
2204 widget must take place in trunk.
2206 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/Makefile.am: Added HildonPickerButton.
2209 * src/hildon-picker-button.h: Update includes.
2210 * src/hildon.h: Add hildon-picker-button.h
2212 Copied HildonPickerButton from sandbox to trunk. Future work on
2213 this widget must take place in trunk.
2215 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/Makefile.am: Added HildonPickerDialog.
2218 * src/hildon-picker-dialog.c: Update includes.
2219 * src/hildon.h: Add hildon-picker-dialog.h
2221 Copied HildonPickerDialog from sandbox to trunk. Future work
2222 on this widget must take place in trunk.
2224 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/Makefile.am: Added HildonTimeSelector.
2227 * src/hildon.h: Add hildon-time-selector.h
2229 Copied HildonTimeSelector widget from sandbox to trunk. Future
2230 work on this widget must happen in trunk.
2232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/Makefile.am: Added HildonDateSelector.
2235 * src/hildon.h: Add hildon-date-selector.h
2237 Copied HildonDateSelector widget from sandbox to trunk. Future
2238 work on this widget must happen in trunk.
2240 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2242 * src/Makefile.am: Added HildonTouchPicker.
2243 * src/hildon-touch-picker.c: Update includes.
2244 * src/hildon.h: Add hildon-touch-picker.h
2246 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2247 on this widget must happen in trunk.
2249 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-pannable-area.c:
2252 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2254 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2256 * examples/hildon-app-menu-example.c (main): Let the window
2259 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2261 * src/hildon-pannable-area.c
2262 (hildon_pannable_area_class_init): Set the min value of the
2263 overshoot properties to zero, which points out that not
2264 overshooting allowed.
2266 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2268 Modified the procedure to get the widget at a point inside the
2269 pannable area when using the movement type signals. Now the user
2270 has to call a function to get the child, that way we just
2271 calculate the child in case the user really want to use it and not
2274 * src/hildon-marshalers.list: Modified the marshallers, now we do
2275 not have the widget as a parameter.
2277 * src/hildon-pannable-area.c
2278 (hildon_pannable_area_motion_notify_cb),
2279 (hildon_pannable_area_class_init),
2280 (hildon_pannable_get_child_widget_at): Removed the widget
2281 parameter from the signal callback. We have also refactored the
2282 emission of the signals.
2284 * src/hildon-pannable-area.h: Added a new method to the API to
2285 calculate a widget at a point inside the pannable area,
2286 hildon_pannable_get_child_widget_at.
2288 * examples/hildon-pannable-area-example-4.c
2289 (horizontal_movement): Modified the example to use the new API,
2290 added condition to control which widget is under the event. This
2291 way we can avoid scrolling laterally over other widgets.
2293 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-pannable-area.c
2296 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2297 modes, we stop getting the pointer events due to returning the
2298 callback without properly calling the get pointer again. Fixed
2299 also an error using the hscroll and vscroll.
2301 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-app-menu-private.h
2304 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2305 (hildon_app_menu_button_release, hildon_app_menu_init)
2306 (hildon_app_menu_class_init): Don't hide the menu on button
2307 release if the user didn't press outside first.
2309 * src/hildon-window.h
2310 * src/hildon-window.c (hildon_window_toggle_menu)
2311 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2312 hildon_window_toggle_menu a virtual function for the stackable
2313 window to override it.
2315 * src/hildon-stackable-window.h
2316 * src/hildon-stackable-window-private.h
2317 * src/hildon-stackable-window.c
2318 (hildon_stackable_window_realize)
2319 (hildon_stackable_window_finalize)
2320 (hildon_stackable_window_class_init)
2321 (hildon_stackable_window_init)
2322 (hildon_stackable_window_set_main_menu): New function to set the
2323 app menu of a HildonStackableWindow.
2325 * examples/hildon-app-menu-example.c: Remove the button to show
2326 the app menu, now it'll be shown when clicking on the title bar
2329 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2332 set the widget name if the arrangement flags do not specify
2335 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2337 * src/hildon-button.c: (hildon_button_set_property),
2338 (hildon_button_class_init), (hildon_button_new_full),
2339 (hildon_button_set_arrangement): Added "arrangement-flags"
2342 Make the HildonButtonFlags a construction-only property, to allow
2343 subclasses to set them properly.
2345 2008-07-21 Tim Janik <timj@imendio.com>
2347 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2348 insertion position after backspace, so additional digits are appended,
2351 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2353 * src/hildon-pannable-area.c,
2354 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2355 TODO list, it was complete and removed the g_debug and g_print
2358 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2360 Added the movement modes to the hildon-pannable-area, with this
2361 modes the developers can control in which directions the widget
2362 can scroll. They can also connect to signals in order to do
2363 something when that happens, allowing applications scroll. There
2364 is an example uploaded showing how to use it.
2366 * examples/Makefile.am:
2367 * examples/hildon-pannable-area-example-4.c: Added this example of
2368 an application using the modes.
2370 * src/hildon-marshalers.list: Added a new marshaller for the new
2373 * src/hildon-pannable-area.h: Added new enumerations and flags in
2374 order to control the movement modes and the new signals to warn
2375 about the movements in the area.
2377 * src/hildon-pannable-area.c:
2378 (hildon_pannable_axis_scroll),
2379 (hildon_pannable_area_scroll),
2380 (hildon_pannable_area_motion_notify_cb),
2381 (hildon_pannable_area_get_property),
2382 (hildon_pannable_area_set_property),
2383 (hildon_pannable_area_map),
2384 (hildon_pannable_area_class_init),
2385 (hildon_pannable_area_init),
2386 (hildon_pannable_area_jump_to): Added the modes to control the
2387 movement in the widget. We have added properties to control it,
2388 signals to warn about the movements and refactored some code.
2390 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2392 Changes required in order to allow vfast_factor set to zero to
2395 * src/hildon-pannable-area.c:
2396 (hildon_pannable_area_button_press_cb): Changed the condition, it
2397 is required for not allowing click when vfast_factor is zero.
2398 (hildon_pannable_area_timeout): Initialized velocity variables
2399 when we stop moving, it was less than 1 but not zero and we need
2400 to check zero in some situations.
2401 (hildon_pannable_area_class_init): Changed the default value of
2402 the speed factor, now the button_press is just sent in case the
2403 speed is 2 per cent of the max speed.
2404 (hildon_pannable_area_init): Initialization with 0.
2406 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2408 * src/hildon-pannable-area.c,
2409 (hildon_pannable_area_get_topmost): replaced
2410 gdk_window_get_children with gdk_window_peek_children, this way we
2411 do not have to free the list because it is not a copy.
2413 (hildon_pannable_axis_scroll),
2414 (hildon_pannable_area_scroll),
2415 (hildon_pannable_area_timeout),
2416 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2417 two parameters that were only used inside the
2418 hildon_pannable_area_scroll function.
2420 * examples/hildon-pannable-area-example.c,
2421 (get_sawtooth_label): Fixed small memory leak.
2423 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2425 More checks for the case where the overshoot is bigger than the
2428 * src/hildon-pannable-area.c:
2429 (hildon_pannable_draw_vscroll),
2430 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2431 to draw the slider of the scrollbar under the other scrollbar.
2432 (hildon_pannable_area_expose_event): added new checks to control
2433 the drawing of the overshooting area rectangle, in case it is too
2434 big for the area of the widget.
2435 (hildon_pannable_area_size_allocate): add more checks to avoid
2436 setting a position to the child widget outside the area.
2438 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2440 * src/hildon-pannable-area.c
2441 (hildon_pannable_area_size_allocate): Added conditions to control
2442 when overshooting is bigger than the allocated space for the
2443 children, this avoids negative allocations.
2445 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2447 * doc/hildon-docs.sgml
2449 * examples/Makefile.am
2450 * examples/hildon-button-example.c
2452 * src/hildon-button.c
2453 * src/hildon-button.h
2454 * src/hildon.h: Initial version of the new HildonButton widget,
2457 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-pannable-area.c:
2460 (hildon_pannable_area_button_press_cb),
2461 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2462 (hildon_pannable_area_motion_notify_cb),
2463 (hildon_pannable_area_button_release_cb),
2464 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2465 (hildon_pannable_area_jump_to_child):
2467 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2469 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2471 * examples/Makefile.am
2472 * examples/hildon-pannable-area-touch-grid-example.c
2473 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2474 the Hildon Touch List and Hildon Touch Grid using the
2475 HildonPannableArea widget.
2477 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2479 * src/hildon-pannable-area.c,
2480 (hildon_pannable_area_button_press_cb),
2481 (hildon_pannable_area_refresh),
2482 (hildon_pannable_area_scroll),
2483 (hildon_pannable_area_motion_notify_cb),
2484 (hildon_pannable_area_button_release_cb),
2485 (hildon_pannable_area_expose_event),
2486 (hildon_pannable_area_add),
2487 (hildon_pannable_area_remove),
2488 (hildon_pannable_area_realize),
2489 (hildon_pannable_area_size_allocate),
2490 (hildon_pannable_area_class_init),
2491 (hildon_pannable_area_init),
2492 (hildon_pannable_area_scroll_to_child),
2493 (hildon_pannable_area_jump_to_child): Fixed the problem of
2494 removing the child from the GtkBin, we have rearranged the widget
2495 hierarchy, now there is no GtkAlignment which was not doing
2496 anything interesting but breaking some of the assumptions of
2497 GtkContainer. Now developers if they want to add a GtkAlignment
2498 they could, but it is not inside the area.
2500 We had to review the whole allocation/expose process, now it is
2501 improved and we save at least three signals which would be saving
2502 some time when rendering the widget. The allocation of the
2503 scrollbars is now made in the allocate method as usual.
2505 We have also added some conditions in order to control when there
2506 is no child of the pannable area. Maybe we will need more work
2509 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2511 * src/hildon-pannable-area.c,
2512 (hildon_pannable_area_dispose): Released the fade-out timeout when
2513 disposing the widget.
2515 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2517 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2518 zero, we are going to use that property in order to deactivate the
2520 (hildon_pannable_axis_scroll),
2521 (hildon_pannable_area_size_allocate): Added conditions to control
2522 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2523 call, now it is called in all situations and we can remove calls
2524 in the allocate method.
2525 (hildon_pannable_area_map): Control the situation when
2526 overshoot_max is zero, we do not need the timeout.
2527 (hildon_pannable_area_class_init): Added documentation in order to
2528 point out that setting zero to overshoot_max means deactivate
2531 NOTE: removed trailing whitespaces from my previous comments of
2534 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-pannable-area.c
2537 (hildon_pannable_area_get_property),
2538 (hildon_pannable_area_set_property),
2539 (hildon_pannable_area_map),
2540 (hildon_pannable_area_class_init),
2541 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2542 to cause the widget give a hint about its panning abilities upon
2545 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2547 * src/hildon-pannable-area.c: Several documentation improvements.
2549 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-program.c
2552 * src/hildon-stackable-window.c: Update documentation.
2554 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-stackable-window.c (get_previous_window_if_last):
2557 Renamed get_last_window()
2558 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2559 (hildon_stackable_window_unset_program):
2561 (get_previous_window_if_last):
2562 Detect if the window hasn't been added to a HildonProgram.
2564 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2566 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-pannable-area.c
2569 (hildon_pannable_area_button_press_cb),
2570 (hildon_pannable_axis_scroll),
2571 (hildon_pannable_area_scroll),
2572 (hildon_pannable_area_timeout),
2573 (hildon_pannable_calculate_vel_factor),
2574 (hildon_pannable_area_get_property),
2575 (hildon_pannable_area_set_property),
2576 (hildon_pannable_area_class_init),
2577 (hildon_pannable_area_init),
2578 (hildon_pannable_area_scroll_to),
2579 (hildon_pannable_area_jump_to),
2580 (hildon_pannable_area_scroll_to_child),
2581 (hildon_pannable_area_jump_to_child):
2582 * src/hildon-pannable-area.h: Added the new API functions:
2583 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2584 hildon_pannable_area_scroll_to_child,
2585 hildon_pannable_area_jump_to_child
2588 * examples/Makefile.am
2589 * examples/hildon-pannable-area-example-2.c
2590 * examples/hildon-pannable-area-example-3.c: Added these two new
2591 examples in order to test and show how the new APIs work.
2593 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2595 * examples/hildon-stackable-window-example.c (new_window):
2596 * src/Makefile.am (noinst_HEADERS):
2597 * src/hildon-program.c (hildon_program_go_to_root_window):
2598 * src/hildon-program.h:
2599 * src/hildon-stackable-window-private.h:
2600 * src/hildon-stackable-window.c:
2601 * src/hildon-stackable-window.h:
2602 Create hildon-stackable-window-private.h
2603 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2605 * examples/hildon-app-menu-example.c (create_menu):
2606 * examples/hildon-hvolumebar-insensitive-example.c (main):
2607 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2608 * examples/hildon-toolbar-seekbar-example.c (main):
2609 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2610 * src/hildon-banner.c (hildon_banner_set_property):
2611 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2612 Fix compilation warnings
2614 * src/hildon-window.c:
2617 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-stackable-window.c
2620 (hildon_stackable_window_unset_program):
2621 Calculate correctly whether to show the previous window if the
2622 last one is removed from the stack.
2623 (hildon_stackable_window_go_to_root_window):
2624 Send delete events starting from the topmost window.
2625 Stop if one of the windows is not destroyed.
2627 (hildon_stackable_window_delete_event)
2628 (hildon_stackable_window_class_init):
2629 Ignore the delete event if the window is not the topmost one.
2631 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c
2634 (hildon_pannable_area_expose_event): Fixed a problem when
2635 selecting the background color of the scrollbars.
2637 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2639 * examples/hildon-stackable-window-example.c
2640 * src/hildon-stackable-window.c
2641 * src/hildon-stackable-window.h
2642 hildon_stackable_window_go_home() renamed to
2643 hildon_stackable_window_go_to_root_window()
2644 Send delete events to windows rather than closing them with
2645 gtk_widget_destroy()
2647 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-pannable-area.c
2650 (hildon_pannable_area_button_release_cb): Fix overshooting in
2653 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-pannable-area.c
2656 (hildon_pannable_area_init): Initially show the scroll indicators.
2657 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2659 Add initial effect showing the widget is pannable.
2661 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-pannable-area.c
2664 (hildon_pannable_area_class_init)
2665 (hildon_pannable_area_set_property)
2666 (hildon_pannable_area_get_property)
2667 (hildon_pannable_area_button_press_cb):
2668 New 'velocity_fast_factor' property to decide which velocity is
2671 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-pannable-area.c
2674 (hildon_pannable_draw_hscroll)
2675 (hildon_pannable_draw_vscroll):
2676 Use float variables to calculate the size of the scrollbars to
2677 avoid error propagation and resizing during scrolling.
2679 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-pannable-area.c
2682 (hildon_pannable_draw_vscroll)
2683 (hildon_pannable_draw_hscroll):
2684 Define a minimum size for the scroll bars
2686 * src/hildon-stackable-window.c
2687 (hildon_stackable_window_go_home): Fix compilation warning
2688 (get_last_window): Minor optimizations
2689 (hildon_stackable_window_class_init): Fix initialization of
2692 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-stackable-window.c: Fixed typos in doc
2696 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-pannable-area.c
2699 (hildon_pannable_area_scroll):
2700 Calculate here whether we need to scroll instead of using the booleans
2701 that tell us whether to /draw/ the scrolling bars.
2703 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-app-menu.h
2707 * src/hildon-app-menu.c
2708 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2709 multiple filter groups related code and API. Now we support only
2711 * examples/hildon-app-menu-example.c:
2713 Update to reflect API changes.
2715 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-stackable-window.c
2718 (hildon_stackable_window_class_init):
2719 Add hildon_stackable_window_realize.
2720 (hildon_stackable_window_realize):
2721 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2722 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2723 to apply theming and behavior specific to HildonStackableWindow
2726 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-note.c (hildon_note_button_release):
2729 Close information notes also when tapping on them
2731 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2733 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2734 ELASTICITY, refactor and review, fix some issues with drawing
2737 * src/hildon-pannable-area.c:
2738 (hildon_pannable_area_button_press_cb): removed the conditions to
2739 avoid clicks when overshooting. It is not required
2741 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2742 define. Refatored and reviewed the code, now we do not need to
2743 manage velocity in motion_notify.
2745 (hildon_pannable_area_motion_notify_cb): We have moved the code
2746 that controls the area_scroll to the axis_scroll function and get
2747 rid of duplicated code.
2749 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2751 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2753 (hildon_pannable_draw_vscroll),
2754 (hildon_pannable_draw_hscroll): Fixed the problems with the
2755 scrollbar drawing, now we do not use two surfaces, it is easier
2756 and saves resources.
2758 (hildon_pannable_area_get_property): Style modification.
2760 (hildon_pannable_area_class_init): Changed some default values.
2762 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-stackable-window.c: Fix some typos in the
2767 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-dialog.c:
2770 Change indentation style
2773 (hildon_note_button_release):
2774 Use root coordinates to check if the release event happened
2777 * src/hildon-app-menu.c
2778 (hildon_app_menu_button_release):
2779 Remove unnecessary check
2781 * examples/hildon-app-menu-example.c
2783 Add cast to fix warning
2785 * src/hildon-app-menu.c
2786 (hildon_app_menu_class_init):
2787 New inner-border style property.
2788 Set all default spacings to 16
2789 (hildon_app_menu_init):
2790 Use vertical-spacing to set the space between filter buttons and
2791 regular menu buttons.
2792 Set the default container border using the inner-border value.
2794 * examples/hildon-app-menu-example.c
2796 Don't set the menu border explicitly, now we have the inner-border
2797 style property for that.
2799 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-app-menu.c (hildon_app_menu_init):
2802 Make the window modal
2804 * src/hildon-note.c (hildon_note_map)
2805 * src/hildon-app-menu.c (hildon_app_menu_map):
2806 Destroy the grab window if we're unable to grab the pointer
2808 * src/hildon-app-menu-private.h
2809 * src/hildon-app-menu.c
2810 (hildon_app_menu_init, hildon_app_menu_finalize)
2811 (hildon_app_menu_map, hildon_app_menu_unmap)
2812 (hildon_app_menu_button_release)
2813 (grab_transfer_window_get):
2814 Bring back the grab window
2815 (hildon_app_menu_realize):
2816 Decorate the window, set WM hint for Matchbox
2818 * src/hildon-note.c (hildon_note_realize):
2819 * src/hildon-banner.c (hildon_banner_realize):
2820 Add WM hints for Matchbox
2822 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-app-menu-private.h
2825 * src/hildon-app-menu.c
2826 (hildon_app_menu_init, hildon_app_menu_finalize)
2827 (hildon_app_menu_map, hildon_app_menu_unmap)
2828 (hildon_app_menu_button_release):
2829 Remove the grab window, it's not needed anymore
2831 * src/hildon-program.c
2832 Fixed typo in documentation
2834 * src/hildon-app-menu.h
2835 * src/hildon-app-menu.c
2836 * examples/hildon-app-menu-example.c
2837 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2839 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2842 Added new transfer_window and close_if_pressed_outside private
2844 (hildon_note_rebuild):
2845 Don't add a cancel button to the information note. It will be
2846 closed when tapping outside
2847 Remove the comment about the OK button in the documentation
2848 (hildon_note_realize):
2849 Set the notification type hint
2850 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2851 Grab/ungrab pointer and keyboard if the note has to be closed when
2853 (hildon_note_button_release):
2854 Close the note when tapping outside (if applicable)
2856 * src/hildon-app-menu.c
2857 Grab/ungrab pointer and keyboard on map/unmap
2858 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2859 Close the menu on button release, not button press
2861 * src/hildon-banner.c
2862 (hildon_banner_set_property)
2863 (hildon_banner_check_position):
2864 Make the banner use the full width of the screen
2865 (hildon_banner_show_information)
2866 (hildon_banner_show_information_with_markup):
2867 Don't display an icon by default
2869 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2871 Added fading scrollbars and adapted all the overshooting code to
2872 horizontal scrolling. We have also fixed bugs with overshooting
2873 and current fading implementation.
2875 * src/hildon-pannable-area.c
2876 (hildon_pannable_area_scroll_indicator_fade): Time out function
2877 used to change the transparency of the scrollbars.
2879 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2880 control and fixed a problem with fading, we now remove the fade
2881 timeout before adding a new one.
2883 (hildon_pannable_axis_scroll):
2884 (hildon_pannable_area_scroll):
2885 (hildon_pannable_area_timeout): Added this functions so we can use
2886 the scroll code both for vertical and horizontal.
2888 (hildon_pannable_area_motion_notify_cb):
2889 (hildon_pannable_area_button_release_cb): Added the horizontal
2890 scrolling control, fixed a problem with the overshooting timeout.
2892 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2893 painting of the scrolls.
2895 (hildon_pannable_draw_vscroll):
2896 (hildon_pannable_draw_hscroll):
2897 (hildon_pannable_area_expose_event):
2898 Draw both scrollbars and rectangles in the overshooting area.
2900 (hildon_pannable_area_get_property):
2901 (hildon_pannable_area_set_property):
2902 Modified the overshoot property to overshoot_max
2904 (hildon_pannable_area_map):
2905 Replaced the comments symbols.
2907 (hildon_pannable_area_size_allocate):
2908 (hildon_pannable_area_class_init):
2909 (hildon_pannable_area_init): Added horizontal scroll, fading
2910 effect properties, fixed a problem when overshooting in the bottom
2913 * examples/hildon-pannable-area-example.c:
2914 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2915 looks better in the example.
2917 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-window.c
2920 * src/hildon-window.h
2921 (hildon_window_class_init)
2922 (hildon_window_unset_program)
2923 (hildon_window_unset_program_real):
2924 Make unset_program a virtual function
2926 * src/hildon-stackable-window.c
2927 * src/hildon-stackable-window.h
2928 Added hildon_stackable_window_go_home()
2930 * examples/Makefile.am
2931 * examples/hildon-stackable-window-example.c
2932 HildonStackableWindow example
2934 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2936 * hildon-pannable-area.c: Added the overshoot property and removed
2937 the OVERSHOOT define. Fixed an indent style error.
2938 (hildon_pannable_area_motion_notify_cb):
2939 (hildon_pannable_area_get_property):
2940 (hildon_pannable_area_set_property): Add overshoot property.
2942 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2945 (hildon_pannable_area_class_init): Installed the new property.
2947 * hildon-pannable-area-example.c: Added a sawtooth function, this
2948 way it is easier to check the movement in the pannable.
2949 (get_sawtooth_label): Added this function.
2950 (main): Now we get the labels from the new get_sawtooth_label
2953 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-app-menu.h
2956 * src/hildon-app-menu.c
2957 Renamed API variables for consistency
2959 (hildon_app_menu_popup): Use also the default window size to
2960 decide where to place the menu
2962 (hildon_app_menu_init, hildon_app_menu_class_init): New
2963 external-border style property
2965 2008-05-26 Michael Natterer <mitch@imendio.com>
2967 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2968 widget_class->tap_and_hold_setup signal slot doesn't exist any
2969 longer, stop overriding it.
2971 (hildon_time_editor_init): g_signal_connect() to the
2972 tap-and-hold-setup signal instead.
2974 (hildon_time_editor_entry_keypress): add cast to fix warning.
2976 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2978 * doc/hildon-docs.sgml
2980 * examples/Makefile.am
2981 * examples/hildon-app-menu-example.c
2983 * src/hildon-app-menu-private.h
2984 * src/hildon-app-menu.c
2985 * src/hildon-app-menu.h
2987 New HildonAppMenu widget
2989 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2991 Rearranged the inheritance of the pannable area, now it inherits
2992 from GtkBin. This will allow us to control the event_window and
2993 the allocation process of the widget, required for some effects.
2995 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2996 GtkBin structures. * src/hildon-pannable-area.c: Added the
2997 event_window variable.
2998 (hildon_pannable_area_button_press_cb):
2999 (hildon_pannable_area_button_release_cb):
3000 (hildon_pannable_area_motion_notify_cb):
3001 Changed the signature of the method, now we override the event
3002 callback instead of connecting to the signal.
3004 (hildon_pannable_area_realize):
3005 (hildon_pannable_area_unrealize):
3006 (hildon_pannable_area_map):
3007 (hildon_pannable_area_unmap):
3008 (hildon_pannable_area_size_allocate):
3009 Added functions to control the widget construction. We add a
3010 INPUT_ONLY window and we put it over the widgets inside the
3011 container, this event_window handles the events.
3013 (hildon_pannable_area_class_init):
3014 Replaced the signal connections with overrides of the event
3017 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3019 Bouncing effect added when touching the borders, you can change
3020 the elasticity of the border changing the ELASTICITY define.
3022 * src/hildon-pannable-area.c: Added ELASTICITY define.
3023 (hildon_pannable_area_timeout): Added inverse velocity when
3024 touching the border of the child widget, that causes a bounce.
3026 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3028 Improved performance, we now do not go to the X server in order to
3029 get the list of window children. Apparently the effect is the
3030 same, we have to be careful and check if this breaks something in
3033 * src/hildon-pannable-area.c:
3034 (get_ordered_children): Removed this function.
3035 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3036 the children windows function with gdk_window_get_children.
3038 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3040 * src/hildon-pannable-area.c:
3041 (hildon_pannable_area_dispose): Fixed a crash when closing the
3042 window and kinetics is activated.
3044 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-pannable-area.h
3047 * src/hildon-pannable-area.c
3048 Changed indentation style to meet the one used in Hildon
3050 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3052 Reviewed the interaction of the AUTO mode, now we use the time
3053 attribute of the events and calculate the velocity in the motion,
3054 doing a gimp like calculation. The velocity is calculated in each
3055 motion event using the last velocity and the current one, the
3056 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3058 * src/hildon-pannable-area.c: Replaced the time based algorithm
3060 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3061 timeout for the AUTO mode when we are still moving the cursor. We
3062 added also the velocity calculation in this function.
3063 (hildon_pannable_area_button_release_cb): launch the timeout in
3064 case we are in AUTO mode. There are still some constants here that
3065 come from the old implementation that should be reviewed and
3068 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3070 * doc/hildon-docs.sgml
3073 * src/hildon-stackable-window.c
3074 * src/hildon-stackable-window.h
3076 New HildonStackableWindow widget
3078 * examples/hildon-dialog-example.c
3079 * examples/hildon-pannable-area-example.c
3082 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-dialog.c
3085 (hildon_dialog_new_with_buttons): New constructor.
3087 * examples/hildon-dialog-example.c
3088 (main): Update the example to use the new
3089 hildon_dialog_new_with_buttons().
3091 * examples/hildon-pannable-area-example.c
3092 (main): Update example.
3094 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3096 * doc/hildon-docs.sgml
3098 Added HildonPannableArea to the documentation.
3100 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3102 * doc/visual_index.xml
3103 Fix reference to HildonLoginDialog in documentation
3105 * doc/hildon-docs.sgml
3107 * examples/Makefile.am
3108 * examples/hildon-dialog-example.c
3110 * src/hildon-dialog.c
3111 * src/hildon-dialog.h
3113 New HildonDialog widget.
3115 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3117 * src/hildon-pannable-area.c
3118 Merge latest changes (r4318, r4342) from libmokoui trunk
3120 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3122 * examples/Makefile.am
3123 * examples/hildon-pannable-area-example.c
3125 * src/hildon-pannable-area.c
3126 * src/hildon-pannable-area.h
3128 New HildonPannableArea widget.
3130 2008-04-15 18:05:19 <timj@imendio.com>
3132 * src/hildon-banner.c: revert the recent change, that introduced
3133 gtk_window_present() calls. this reopens:
3134 Bug 78481 - [freetest] information banners are hidden under browser menu
3135 But resolves another variant of:
3136 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3138 2008-04-15 13:21:13 <timj@imendio.com>
3140 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3141 recreated its layout, spotted by Kris. this fixes all remaining
3142 artefacts and stability issues with the banner code. in particular:
3143 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3145 2008-04-14 16:52:59 <timj@imendio.com>
3147 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3148 operating on unrealized widgets, fixes:
3149 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3151 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3153 2008-04-09 Kristian Rietveld <kris@imendio.com>
3155 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3156 makes banner disappear.
3157 Fixes: NB#79182: info banner flickering with certain message lengts.
3159 * src/hildon-banner.c (hildon_banner_constructor),
3160 (hildon_banner_init), (hildon_banner_set_text),
3161 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3162 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3163 FALSE, reset size requests of label and banner,
3164 (force_to_wrap_truncated): when the text is too wide, always enforce
3165 the maximum possible width instead of recalculating it from the
3166 layout; enforce the maximum banner height of 3 lines,
3167 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3168 nicer wrapping and no truncated chars if space gets tight.
3170 * src/hildon-banner-private.h: add has_been_wrapped and
3171 has_been_truncated fields.
3173 2008-04-07 Sven Herzberg <sven@imendio.com>
3175 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3176 local values in hildon_date_editor_size_allocate
3178 * src/hildon-date-editor.c: moved the real allocation code into the
3181 2008-04-07 Sven Herzberg <sven@imendio.com>
3183 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3184 local values in hildon_date_editor_size_allocate
3186 * src/hildon-date-editor.c: merged the two if() branches together
3188 2008-04-07 Sven Herzberg <sven@imendio.com>
3190 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3191 local values in hildon_date_editor_size_allocate
3193 * src/hildon-date-editor.c: changed the arguments of the if()
3196 2008-04-07 Sven Herzberg <sven@imendio.com>
3198 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3199 local values in hildon_date_editor_size_allocate
3201 * src/hildon-date-editor.c: split the calculation of the allocation
3202 from the real allocation
3204 2008-03-27 Michael Natterer <mitch@imendio.com>
3206 Fixes: NB#81696: The passcode is not overwritten even after
3209 * src/hildon-code-dialog.c
3210 (hildon_code_dialog_button_clicked)
3211 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3212 because that doesn't overwrite selected text. Instead, emit the
3213 "commit" signal on the entry's im_context so the entry's normal
3214 insert logic is triggered. Set the cursor to the end of the entry
3215 after each insert operation so that we *only* insert in the middle
3216 of the text if something was selected.
3218 2008-03-27 Michael Natterer <mitch@imendio.com>
3220 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3221 selector cannot be opened
3223 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3224 when the popup color selector is created. Please connect to this
3225 signal in order to set the dialog's help ID.
3227 2008-03-25 Sven Herzberg <sven@imendio.com>
3229 Fixes: MB#1212: Hide info banners (infoprints) on click
3231 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3232 extracted the close event simulation into an extra function
3233 (hildon_banner_button_press_event): simulate a close event and destroy
3234 the widget if the event wasn't handled
3235 (hildon_banner_class_init): added the button_press_event handler
3236 (hildon_banner_init): added button-press events to the widget
3238 2008-03-25 Sven Herzberg <sven@imendio.com>
3240 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3241 Patch from: Mohammad Anwari <mdamt@maemo.org>
3243 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3244 instead of the right in RTL mode
3245 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3246 breadcrumb button list in RTL mode
3247 * src/hildon-caption.c: mirror the appearance of the caption widget in
3249 * src/hildon-date-editor.c: mirror appearance of the date editor in
3251 * src/hildon-time-editor.c: mirror appearance of the time editor in
3253 * src/hildon-window.c: fix the position of the popup in RTL mode
3255 2008-03-25 Sven Herzberg <sven@imendio.com>
3257 Amendment to the fix of NB#22072. Fix compilation.
3259 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3261 2008-03-19 Sven Herzberg <sven@imendio.com>
3263 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3266 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3267 timeout id properly when the timeout will disappear this leaves no
3268 artifacts around in the destroy(); there will only be the timeout
3269 created by hildon_banner_ensure_timeout() and adding a new timeout
3270 will also work if the timeout gets removed because the timeout_handler
3273 2008-03-19 Michael Natterer <mitch@imendio.com>
3275 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3277 * src/hildon-volumebar.c
3278 * src/hildon-vvolumebar.c
3279 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3280 the widget becomes focussable at all.
3282 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3283 set the focus to wither the mute button or the volumebar.
3285 Remove own "can-focus" property and instead listen to
3286 notify::can-focus in order to update the widget's state.
3288 Implement GtkWidget::focus() and make sure we can also *leave* the
3289 widget, not only enter it, depending on volumebar orientation and
3290 requested focus direction.
3292 Clean up set_mute() to cooperate nicely with all the above.
3294 2008-03-04 Michael Natterer <mitch@imendio.com>
3296 Fixes: NB#78481: information banners are hidden under browser menu
3298 * src/hildon-banner.c: call gtk_window_present() on the banners so
3299 they are risen if they are already visible.
3301 2008-03-03 Sven Herzberg <sven@imendio.com>
3303 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3305 * examples/hildon-window-menu-example.c: (main): extended the window
3306 menu example to serve as a testcase for automatically added
3307 accelerator groups, too
3308 * src/hildon-window.c: (hildon_window_add_accel_group),
3309 (hildon_window_set_menu): added patch by Tommi Komulainen
3311 2008-03-03 Sven Herzberg <sven@imendio.com>
3313 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3315 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3316 knowledge about the border allocators used within GTK+
3318 2008-02-26 Sven Herzberg <sven@imendio.com>
3320 Fixes: MB#2981: Build with asserts broken
3322 * src/hildon-date-editor.c,
3323 * src/hildon-number-editor.c,
3324 * src/hildon-time-editor.c,
3325 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3326 the proper GType instance check
3328 2008-02-25 Sven Herzberg <sven@imendio.com>
3330 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3332 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3333 * examples/hildon-window-menu-example.c: (main): explicitly show
3335 * src/hildon-window.c:
3336 (hildon_window_set_main_menu): moved most of the code from set_menu()
3337 to this place; skipped the call to gtk_widget_show_all(); also didn't
3338 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3339 (hildon_window_set_menu): removed most of the code, just keep the
3340 questionable gtk_widget_show_all()
3341 * src/hildon-window.h: added the new function and deprecate the old
3344 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3350 * debian/changelog: Updating.
3352 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3355 * pkgconfig/Makefile.am:
3356 * pkgconfig/hildon.pc.in:
3359 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3360 use newly created API_MAJOR_VERSION.
3362 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3368 * debian/changelog: Updating.
3370 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3372 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3374 Add outer_border style property, we use it but don't define it (!).
3378 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3380 * examples/hildon-bread-crumb-trail-example.c (main):
3384 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3386 Fix logic for the bread crumb trail node removal.
3390 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3396 * debian/changelog: Updating.
3398 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3400 Patch by Alejandro to get/set passwords dialogs accesibility.
3402 * hildon-1/src/hildon-get-password-dialog.c:
3403 * hildon-1/src/hildon-set-password-dialog.c:
3404 Set atk_set_name to the passwd entries in order to allow
3405 accessibility by name on this entries.
3407 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3412 * debian/control: Updating gtk dep.
3414 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3416 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3417 USE_MAEMO_GTK is enabled.
3419 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3421 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3422 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3424 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3430 * debian/changelog: Updating.
3432 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3434 * examples/Makefile.am:
3435 * examples/hildon-logical-color-example.c:
3436 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3437 applied + adding a test case. Fixes: NB#71660.
3439 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3441 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3442 to be visible, fixes warning on map for windows without toolbars.
3444 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3446 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3447 2.11.0, add a check for that besides the MAEMO_GTK check.
3449 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3455 * debian/changelog: Updating.
3457 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3459 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3460 visibility. Fixes: NB#70842 and MB#615.
3462 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3464 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3465 set the separator as no-show-all so it doesn't unintentionally appear when
3466 someone does a show_all.
3468 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3470 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3471 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3472 toplevel item. Fixes: NB#62031
3474 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3476 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3477 fix the name of the function in the docs.
3479 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3485 * debian/changelog: Updating.
3487 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3489 * examples/hildon-banner-long-example.c: Adding a test-case for long
3492 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3494 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3496 * src/hildon-color-chooser-dialog.c:
3497 * src/hildon-color-chooser.c:
3498 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3499 memory leaks in font selector and color selector. Fixes: NB#70499 and
3502 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3504 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3506 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3508 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3509 little bit bigger. Fixes: #NB63694.
3511 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3517 * debian/changelog: Updating.
3519 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3522 * doc/hildon-docs.sgml:
3523 * doc/images/bread-crumb-trail.png:
3524 * doc/images/calendar-popup.png:
3525 * doc/images/caption.png:
3526 * doc/images/code-dialog.png:
3527 * doc/images/color-button.png:
3528 * doc/images/color-chooser-dialog.png:
3529 * doc/images/color-chooser.png:
3530 * doc/images/controlbar.png:
3531 * doc/images/date-editor.png:
3532 * doc/images/font-selection-dialog.png:
3533 * doc/images/get-password-dialog.png:
3534 * doc/images/hvolumebar.png:
3535 * doc/images/login-dialog.png:
3536 * doc/images/note.png:
3537 * doc/images/number-editor.png:
3538 * doc/images/range-editor.png:
3539 * doc/images/seekbar.png:
3540 * doc/images/set-password-dialog.png:
3541 * doc/images/sort-dialog.png:
3542 * doc/images/time-editor.png:
3543 * doc/images/time-picker.png:
3544 * doc/images/vvolumebar.png:
3545 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3546 Adding the bread-crumb-trial and helpers to the documentation.
3548 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3550 * examples/hildon-find-toolbar-example.c:
3551 * src/hildon-find-toolbar.c:
3552 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3553 actually continue firing the other handlers if connected. Adding a new
3555 hildon_find_toolbar_get_last_index that gets the index of the most
3556 recently added (last) item. Fixes: NB#52301.
3558 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3560 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3561 behaviour. Fixes: NB#68610.
3563 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3565 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3568 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3570 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3571 when realizing the banner. Should make the infonbanner effect a bit more
3574 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3576 * src/hildon-volumebar.c:
3577 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3578 hildon_volumebar_set_range_insensitive_message and
3579 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3581 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3583 * src/hildon-window.c: Fixing the border freeing on destroy.
3585 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3587 * src/hildon-code-dialog-private.h:
3588 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3589 kw keyboard support in HildonCodeDialog.
3591 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3597 * debian/changelog: Updating.
3599 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3601 * src/hildon-date-editor.c:
3602 * src/hildon-number-editor.c:
3603 * src/hildon-private.c:
3604 * src/hildon-private.h:
3605 * src/hildon-time-editor.c:
3606 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3607 handling in subclassed composite widgets. Fixes: NB#66628.
3609 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3611 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3612 from destroy_ callback as it introduces problems in async dbus signal
3613 handlers. Fixes NB#66673.
3615 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3617 * examples/hildon-hvolumebar-example.c:
3618 * src/hildon-volumebar.c: Improving the focus handling in the
3619 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3620 set_property accessor so that "mute" property can be actually set. I'm
3621 scared that nobody noticed it's totally broken.
3623 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3625 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3628 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3630 * src/hildon-calendar.c:
3631 * src/hildon-number-editor.c:
3632 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3633 matches the spec of 6 chars per second. Fixes: NB#60489.
3635 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3637 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3638 gtk_style_lookup_color sometime returns FALSE even though color was
3639 found and values were filled properly. Weird. Removing the warning for the
3642 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3644 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3645 expand vertically. Adding some extra space to the find toolbar buttons to
3646 make them thumbable. Fixes NB#66060.
3648 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3650 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3651 popup with "Ok" and "Cancel". Fixes NB#59299.
3653 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3655 * src/hildon-calendar.c: Process all window updates before executing next
3656 timeout. Fixes: NB#54146.
3658 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3664 * debian/changelog: Updating.
3666 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3668 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3669 the client event and ignore it, since we use the delete event to close
3672 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3674 * src/hildon-helper.c: Remove the bogus warning about color not being
3675 found. Fixes NB#58352.
3677 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3679 * examples/Makefile.am:
3680 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3681 HildonSeekbar widget inside a toolbar.
3683 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3685 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3686 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3687 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3688 don't want to be closed by non-temporary windows on map.
3690 Also use G_DEFINE_TYPE instead of manually typed code.
3692 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3699 * debian/rules: Updating.
3701 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3703 * examples/Makefile.am:
3704 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3705 bug NB#61128. Strangely it works.
3707 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3709 * src/hildon-date-editor.c: When the date editor entry has been changed
3710 but the numbers of characters < max, turn off the skip validation flag.
3711 Prevents a situation when we enter first a valid year and later re-write
3712 it with an invalid one. Fixes NB#60154.
3714 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3716 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3717 code dialog. Fixes NB#64355.
3719 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3721 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3722 switching the page. Fixes NB#49374.
3724 * examples/Makefile.am:
3725 * examples/hildon-wizard-dialog-example.c: Adding an example for
3726 HildonWizardDialog that shows how to handle manual sensitivity setting on
3729 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3733 * src/hildon-version.h.in:
3734 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3736 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3738 * src/hildon-volumebar.c: Updating the docs.
3740 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3746 * debian/changelog: Updating.
3748 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3750 * src/hildon-find-toolbar.c:
3751 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3752 selected item: hildon_find_toolbar_set_active,
3753 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3754 hildon_find_toolbar_get_active_iter . They correspond to respective
3755 GtkComboBox functions.
3757 * examples/Makefile.am:
3758 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3761 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3763 * examples/Makefile.am:
3764 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3767 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3768 when font size > 32 and we pack a focusable widget inside. Actually using
3769 the default response would work too, but since we don't show default
3770 response state in any way (no theming) it would not be visible to the
3771 user. Fixes NB#63430.
3773 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3775 * src/hildon-date-editor.c: Adding the missing variable setter in the
3776 set_property handler. Fixes NB#54182.
3778 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3780 * src/hildon-window.h: Changing the long key press time from 1500ms to
3781 800ms as requested in NB#63700. I have a bad feeling about this, let's
3782 see... Fixes NB#63700.
3784 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3786 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3787 hildon_time_picker_map, hildon_time_picker_realize,
3788 hildon_time_picker_style_set): Split the contents of map to more
3789 appropriate functions; set window decorations on realize and update
3790 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3792 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3797 * debian/changelog: Updating.
3799 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3801 * src/Makefile.am: fixed installation of the header files
3803 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3809 * debian/changelog: Updating.
3811 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * configure.ac: Removing some remaining of --enable-xan.
3815 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3817 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3818 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3820 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3821 2.10.12-osso6 because the move-focus signal needs to be available in
3824 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3826 * examples/Makefile.am:
3827 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3828 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3829 fine. Prolly NB#61128 is fixed now.
3831 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 * src/hildon-volumebar.c:
3834 * src/hildon-volumebar.h: Adding the
3835 hildon_volumebar_set_range_insensitive_message and
3836 hildon_volumebar_set_range_insensitive_messagef functions to set
3837 insensitive message on the slider of the volumebar. Fixes NB#61129.
3839 * examples/Makefile.am:
3840 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3841 test the new insensitive messsage functionality on HildonVolumebar.
3843 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3845 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3848 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3850 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3851 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3852 button on after clearing the trail.
3854 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3856 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3858 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3860 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3861 by splitting the installed headers in generated and non-generated groups. Use
3862 only the non-generated headers to create the hildon-enum-types.h file.
3864 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3866 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3868 * src/hildon-window.c: Hide the window before performing the destroy.
3869 Should make the app closing a little tiny bit more snappy.
3871 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3873 * src/hildon-seekbar.c: add gtkrange.h header
3874 * src/hildon-caption.c: remove unused variable
3876 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3878 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3881 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3887 * debian/changelog: Updating.
3889 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3891 * src/hildon-window.c (hildon_window_window_state_event,
3892 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3893 escape timeout on focus-out-event rather than notify::is-topmost; the
3894 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3896 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3898 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3899 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3901 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3903 * src/hildon-window: actually, you need to use the macro always, there's
3904 no private pointer in the instance structure. We should have cleaned this up
3905 when we had the chance...
3907 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3909 * src/hildon-window.c: do not get the private date from HildonWindow before
3910 it passes the g_return_if_fail check. Once it's passed the test, there's no
3911 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3912 if you are only going to access the data once. Whitespace cleanups.
3914 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3916 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3917 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3919 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3925 * debian/changelog: Updating.
3927 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3929 * src/hildon-window.c: When destroying the window, remove (if exists) the
3930 escape timeout handler. Fixes #NB59276.
3932 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3934 * src/hildon-banner.c: When realizing the widget, set the window
3935 transiency. Setting the transiency in the gobject constructor is not
3936 good, as the widget is not realized at that point. Fixes: #NB56624.
3938 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3940 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3941 Add padding for future expansions.
3943 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3945 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3946 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3947 will fake an activation on the previous to the last item of the trail, so
3948 the effect can be overrided by the developer as usual.
3949 Also change the callback for the back button to do the same thing, so its
3950 effect can be overrided too. Fixes: NB#58982
3952 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3954 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3955 HildonCaption. Fixes NB#52379.
3957 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3959 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3960 the internal state of the trail after the user has had the chance of executing
3961 his handler for the signal. Specifically, it may happen that the activated button
3962 is removed and the user still lets the default handler run. This would segfault
3965 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3967 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3968 scrollbar to the preview dialog. Fixes NB#54147.
3970 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3972 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3973 max/min year properties can be altered, so the client can modify it
3974 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3976 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3978 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3979 hildonlike by default. Fixing a problem with disappearing arrows when
3980 scrolling through months and years. Fixes NB#54127.
3982 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3984 * examples/hildon-date-editor-example.c: Adding error callback to the date
3987 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3993 * configure.ac: Updating.
3995 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3997 * configure.ac: Adding a special '--enable-xan' configure option that
3998 turns off the -Werror compilation setting. Usefull for development.
4000 * src/hildon-calendar.c:
4001 * src/hildon-number-editor.c:
4002 * src/hildon-time-picker.c: Adding the 5* multiplier to
4005 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4007 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4008 instead of g_object_ref + gtk_object_sink.
4010 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4016 * debian/changelog: Updating.
4018 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4020 * src/hildon-color-chooser-dialog.c:
4021 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4022 straight from Tommi labs.
4024 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4026 * examples/hildon-finger-example.c: Correcting the header file path.
4028 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4029 the changed signal. Fixes a small memory leak.
4031 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4035 * src/hildon-banner.c: Importing several usefull fixes from the
4036 ubuntu-mobile branch.
4038 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4040 * examples/Makefile.am:
4041 * examples/hildon-finger-example.c: Adding a finger-checking code
4044 * src/hildon-font-selection-dialog.c: Do not allocate the color
4045 structure using the g_new. Fixes NB#54061.
4047 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4049 * src/hildon-helper.c: Correcting tabs in file.
4051 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4053 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4054 control the visibility of the children.
4056 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4058 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4064 * debian/changelog: Updating.
4066 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4068 * src/hildon-bread-crumb-trail.c:
4069 (hildon_bread_crumb_trail_size_allocate):
4071 Make the back button always a square.
4073 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4075 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4076 from the .c file as it's a private file.
4078 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4080 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4081 uses slightly bigger height.
4083 * src/hildon-font-selection-dialog.c: Adding some checks before
4084 freeing memory in the font selection dialog.
4086 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4088 * src/hildon-font-selection-dialog.c: Adding a small check when
4091 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4092 buttons sensitivity on page switching.
4094 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4096 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4097 internal details of adding a bread crumb to the trail.
4099 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4105 * debian/changelog: Updating.
4107 * src/hildon-bread-crumb-trail.h:
4108 * src/hildon-bread-crumb.h: Changing the API guard to
4109 HILDON_ENABLE_UNSTABLE_API.
4111 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4119 * src/hildon-helper.h: Updating.
4121 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4129 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4133 * src/hildon-helper.h: Small fix to make the package actually compile.
4135 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4137 * src/hildon-bread-crumb-trail.h:
4138 * src/hildon-bread-crumb.h:
4140 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4141 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4143 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4145 * examples/hildon-bread-crumb-trail-example.c:
4147 * src/hildon-bread-crumb-trail.c:
4148 * src/hildon-bread-crumb-trail.h:
4149 * src/hildon-bread-crumb.c:
4150 * src/hildon-bread-crumb.h:
4151 * src/hildon-marshalers.list:
4152 * src/hildon-bread-crumb-widget.c:
4153 * src/hildon-bread-crumb-widget.h:
4155 Slight change in the widget design. The bread crumb trail API is
4156 unchanged, but HildonBreadCrumb is now an interface. A *private*
4157 implementation, hildon-bread-crumb-widget, is provided and used
4158 internally by the trail for the push_text/push_icon functions.
4160 The generic push API is still available, so anyone can implement
4161 and use its own bread crumb widget.
4163 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4165 * debian/rules: Fixing the shlibs.
4167 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4169 * src/hildon-banner.c: Fixing a problem with timed banners having
4170 their parrent destroyed before they are.
4172 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4174 * src/hildon-bread-crumb.c:
4175 * src/hildon-bread-crumb.h:
4177 Make the get_natural_size function a vfunc.
4179 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4181 * src/hildon-bread-crumb.c:
4182 * src/hildon-bread-crumb-trail.c:
4186 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * debian/changelog: Updating for release.
4195 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4197 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4198 don't leak the pango layout.
4200 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4203 * examples/hildon-bread-crumb-trail-example.c:
4207 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * debian/changelog: Removing the bug-fixed entries that were actually
4210 resolved as WONTFIX.
4212 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4215 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4217 * src/hildon-bread-crumb-trail.c:
4218 * src/hildon-bread-crumb-trail.h:
4219 * src/hildon-bread-crumb.c:
4220 * src/hildon-bread-crumb.h:
4224 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4226 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4227 until it's passed the type check.
4229 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4231 * examples/hildon-bread-crumb-trail-example.c
4235 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4237 * examples/Makefile.am
4238 * examples/hildon-bread-crumb-trail-example.c
4240 * src/hildon-bread-crumb-trail.c
4241 * src/hildon-bread-crumb-trail.h
4242 * src/hildon-bread-crumb.c
4243 * src/hildon-bread-crumb.h
4245 New HildonBreadCrumbTrail widget.
4247 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4249 * src/hildon-range-editor.c (hildon_range_editor_init),
4250 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4251 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4252 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4253 hildon_time_editor_class_init, hildon_time_editor_init),
4254 src/hildon-get-password-dialog.c (invalid_input,
4255 hildon_get_password_set_property, hildon_get_password_get_property,
4256 create_contents, hildon_get_password_dialog_set_max_characters),
4257 src/hildon-set-password-dialog.c (create_contents),
4258 src/hildon-date-editor.c (hildon_date_editor_init),
4259 src/hildon-login-dialog.c (hildon_login_dialog_init),
4260 src/hildon-number-editor.c (hildon_number_editor_init),
4261 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4262 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4263 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4264 configure option and adding the respective checks in the code.
4265 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4266 hildon_calendar_drag_data_received): fixed some build warnings.
4268 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * debian/changelog: A 1.0.0 release notes.