1 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
6 Remove spurious whitespaces.
8 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
10 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
11 compilation warning after the cancel button removal.
13 2008-10-30 Alejandro G. Castro <alex@igalia.com>
15 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
17 * configure.ac: Added an AM_CONDITIONAL in order to use in the
18 Makefile.am, that way we can choose not to compile some examples
19 and tests of the deprecated widgets.
21 * examples/Makefile.am: Divided the sources in deprecated and
24 * src/Makefile.am: Added undef statement of the deprecated
25 symbol to the enums file generation process.
27 * src/hildon-color-chooser-dialog.c
28 * src/hildon-color-chooser-dialog.h
29 * src/hildon-color-button.c
30 * src/hildon-color-button.h
31 * src/hildon-color-chooser.c
32 * src/hildon-color-chooser.h
33 * src/hildon-controlbar.c
34 * src/hildon-controlbar.h
35 * src/hildon-date-editor.c
36 * src/hildon-date-editor.h
37 * src/hildon-hvolumebar.c
38 * src/hildon-hvolumebar.h
39 * src/hildon-private.c
40 * src/hildon-private.h
41 * src/hildon-range-editor.c
42 * src/hildon-range-editor.h
43 * src/hildon-seekbar.c
44 * src/hildon-seekbar.h
45 * src/hildon-time-editor.c
46 * src/hildon-time-editor.h
47 * src/hildon-time-picker.c
48 * src/hildon-time-picker.h
49 * src/hildon-volumebar.c
50 * src/hildon-volumebar.h
51 * src/hildon-vvolumebar.c
52 * src/hildon-vvolumebar.h
53 * src/hildon-bread-crumb-trail.h
54 * src/hildon-bread-crumb-trail.c
55 * src/hildon-calendar-popup.c
56 * src/hildon-calendar-popup.h
57 * src/hildon-weekday-picker.c:
58 * src/hildon-weekday-picker.h:
59 * src/hildon-bread-crumb-widget.c:
60 * src/hildon-bread-crumb-widget.h:
61 * src/hildon-bread-crumb.c:
62 * src/hildon-bread-crumb.h:
63 * src/hildon-calendar.c:
64 * src/hildon-calendar.h:
65 * src/hildon-caption.c:
66 * src/hildon-code-dialog.c:
67 * src/hildon-code-dialog.h:
68 * src/hildon-font-selection-dialog.c:
69 * src/hildon-font-selection-dialog.h:
70 * src/hildon-get-password-dialog.c:
71 * src/hildon-get-password-dialog.h:
72 * src/hildon-login-dialog.c:
73 * src/hildon-login-dialog.h:
74 * src/hildon-number-editor.c:
75 * src/hildon-number-editor.h:
76 * src/hildon-set-password-dialog.c:
77 * src/hildon-set-password-dialog.h:
78 * src/hildon-sort-dialog.c:
79 * src/hildon-sort-dialog.h: This is the list of deprecated
82 * src/hildon-touch-selector.c:
83 * src/hildon-window.c: Added undef statement to avoid compilation
86 * tests/Makefile.am: Divided the sources in deprecated and
90 (configure_tests): Marked the deprecated code that was adding
91 suites with deprecated tests.
93 Fixes: NB#91135 (Deprecate legacy hildon widgets)
95 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-touch-selector.c: (_default_print_func): Do not
98 duplicate a string returned by gtk_tree_model_get(), it is already
101 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
104 2008-10-28 Alejandro G. Castro <alex@igalia.com>
106 * src/hildon-pannable-area.c
107 (hildon_pannable_area_add_with_viewport): Reviewed the complete
108 method, it had problems when adding a widget with viewport the
109 second time. Now checks if it already has a viewport and uses it.
111 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
114 2008-10-28 Alejandro G. Castro <alex@igalia.com>
116 * src/hildon-pannable-area.c,
117 (hildon_pannable_area_scroll_to),
118 (hildon_pannable_area_jump_to),
119 (hildon_pannable_area_scroll_to_child),
120 (hildon_pannable_area_jump_to_child): Added a precondition to the
121 scroll and jump to functions: the widget must be mapped before we
122 can safely call these functions. We have also added documentation
123 to the functions to explain how to use them in this situation.
126 2008-10-28 Alejandro G. Castro <alex@igalia.com>
128 Reviewed the threading handling of the pannable widget, we have
129 used the gdk_threads_add_timeout function instead of the usual
130 glib handlers. This avoids some problems with the threads.
132 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
133 (hildon_pannable_area_initial_effect),
134 (hildon_pannable_area_scroll_indicator_fade),
135 (hildon_pannable_area_button_press_cb),
136 (hildon_pannable_area_timeout),
137 (hildon_pannable_area_motion_notify_cb),
138 (hildon_pannable_area_button_release_cb),
139 (hildon_pannable_area_scroll_cb),
140 (hildon_pannable_area_scroll_to): Removed the
141 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
142 gdk_threads_add_timeout.
144 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
146 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
151 * configure.ac: bump version
152 * debian/changelog: updates
154 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
156 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
157 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
158 * src/hildon-color-chooser-dialog.c:
159 (hildon_color_chooser_dialog_init):
160 * src/hildon-font-selection-dialog.c:
161 (hildon_font_selection_dialog_init):
162 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
164 Remove all cancel/close-like dialogs, as these are not going to be
167 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
169 * src/hildon-note.c: (hildon_note_rebuild),
170 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
173 Fixes: NB#90661 (Delete dialog is displayed without NO button)
175 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
177 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
178 sure all buttons are shown, even the Cancel/Close-like ones.
180 Fixes: NB#90861 (Custom Confirmation dialogs should be
181 protected from cancel button removal)
183 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
185 * debian/control: Change libhildon1-examples dependency from libhildon1
187 * debian/libhildon1-examples.install
189 * Makefile.am: Modified the final install directory for the examples on
190 package libhildon1-examples
191 * Makefile.static: Update clean target in order to remove all the binary
194 Changes suggested by Claudio after review new libhildon1-examples package
196 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
198 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
199 * src/hildon-touch-selector.c: Ditto.
201 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
203 * debian/control: Added new package libhildon1-examples, in order to pack
204 the current hildon examples as documentation
205 * debian/rules: Not to compress .c files, modify some includes on the
206 examples (as normally are compiled locally, but when installed it will
207 require to include the installed libhildon1 library), and rename
209 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
210 install all the example files on the new example package
211 * examples/Makefile.static: Added static makefile that can be used to
212 compile the examples, once installed the new example package
213 * examples: Most of the examples were modified in order to grant that
214 all use only '#include "hildon.h"', in order to be easy to prepare
215 it on the example package
217 2008-10-23 Alberto Garcia <agarcia@igalia.com>
220 * debian/libhildon1-dev.install
221 * debian/libhildon1-doc.install:
222 Move all gtk-doc files to a separate libhildon1-doc package.
224 2008-10-23 Daniel Borgmann <danielb@openismus.com>
226 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
228 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
230 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
232 * debian/rules: Fixed a error in order to avoid unnecessary calls
233 to autogen.sh on package building
235 2008-10-22 Alberto Garcia <agarcia@igalia.com>
237 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
239 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
241 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
244 2008-10-21 Alberto Garcia <agarcia@igalia.com>
246 * src/hildon-picker-button.c
247 (hildon_picker_button_finalize):
248 Free priv->done_button_text
250 * src/hildon-time-button.c
251 (hildon_time_button_set_time)
252 * src/hildon-picker-button.c
253 (hildon_picker_button_clicked)
254 (hildon_picker_button_selector_selection_changed)
255 (hildon_picker_button_set_selector)
256 * src/hildon-date-button.c
257 (hildon_date_button_set_date):
258 Free strings returned by hildon_touch_selector_get_current_text()
260 * src/hildon-button.c (hildon_button_construct_child):
261 Fix leaks in priv->image and priv->label_box
263 Fixes: NB#90535 (Memory leak in picker button)
265 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
267 * src/hildon-button.c: (hildon_button_get_property): Do not access
268 private elements directly, use getters instead.
270 2008-10-20 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-app-menu-private.h
273 * src/hildon-app-menu.c
274 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
275 Store the menu's parent window.
277 * src/hildon-stackable-window.c
278 (hildon_stackable_window_toggle_menu)
279 (hildon_stackable_window_finalize):
280 Set the menu's parent window when the menu is shown, unset it when
283 * src/hildon-app-menu.c
284 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
285 (hildon_app_menu_class_init):
286 Send unhandled keyboard accelerators to the parent window.
288 2008-10-20 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-stackable-window.c
291 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
293 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
295 * configure.ac: post release version bump
297 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
300 * configure.ac: Bump version
301 * debian/changelog: Updates
302 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
305 2008-10-20 Alberto Garcia <agarcia@igalia.com>
307 Patch contributed by Daniel Borgmann (danielb@openismus.com)
310 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
311 GtkMenu with Hildon style.
313 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
315 * src/hildon-picker-button.c:
316 (hildon_picker_button_set_done_button_text): Set the dialog's
317 done button text here as well.
319 Fixes: NB#90232 (Picker button does not set the label on done button
322 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
324 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
327 2008-10-16 Alberto Garcia <agarcia@igalia.com>
329 * src/hildon-app-menu.c (hildon_app_menu_insert)
330 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
331 the HildonAppMenu to be activatable using keyboard accelerators
332 when the menu is not being shown.
334 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
336 2008-10-16 Alberto Garcia <agarcia@igalia.com>
338 * src/hildon-stackable-window.c
339 (hildon_stackable_window_show):
340 Don't hide old windows automatically when new windows are shown:
341 this is now a task for the window manager.
342 (hildon_stackable_window_class_init)
343 (hildon_stackable_window_hide):
344 Remove windows from the stack everytime they're hidden.
345 (hildon_stackable_window_realize):
346 Don't change the _NET_WM_WINDOW_TYPE property. Use
347 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
348 it as a stackable window.
350 * src/hildon-program.c
351 (hildon_program_pop_window_stack):
352 Just hide the window to remove it from the stack.
353 (hildon_program_go_to_root_window):
354 Don't call gtk_widget_show(), this is now a task for the window
357 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
359 2008-10-15 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-button.c
362 (hildon_button_construct_child):
363 Don't pack anything in the button until text or image are
364 set. This allows adding a custom child after creating the button
365 with hildon_button_new().
366 (hildon_button_finalize, hildon_button_class_init)
367 (hildon_button_init, hildon_button_set_arrangement): Destroy the
368 alignment and the label box even when they're not packed in the
371 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
373 * src/hildon-touch-selector.h:
374 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
375 currently the type definition was using GTK_TYPE_VBOX
376 * src/hildon-touch-selector.c:
377 Added some implementation notes in order to clarify that any other widget
378 added without the column related API will not be included on the
379 selection logic, and how the widget is freed, as some people ask about
381 (hildon_touch_selector_remove): Reimplemented in order to free properly
382 the column related data when you remove the private hbox.
383 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
384 to get a proper HildonTouchSelectorColumn documentation
386 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
388 * src/hildon-touch-selector-entry.c:
389 (hildon_touch_selector_entry_print_func): Return NULL if there is no
390 text in the GtkEntry and there is no item selected. Fixes a
393 2008-10-13 Alberto Garcia <agarcia@igalia.com>
395 * src/hildon-app-menu-private.h
396 * src/hildon-app-menu.[ch]
397 * src/hildon-button.[ch]
398 * src/hildon-check-button.[ch]
399 * src/hildon-entry.[ch]
400 * src/hildon-pannable-area.[ch]
401 * src/hildon-text-view.[ch]:
402 Added private field to the object's structure.
404 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
406 * configure.ac: post-release version bump
408 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
412 * configure.ac: pre-release version bump
414 * debian/changelog: updates.
416 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
419 Disconnect the handler for HildonTouchSelector::changed.
421 (hildon_picker_button_selector_selection_changed): Update the button
422 value if the selection change was not triggered by the
425 (hildon_picker_button_set_selector): connect to
426 HildonTouchSelector::changed.
428 Fixes: NB#89650 (Picker button is not updated, when selection in
429 selector has changed)
431 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
433 * src/hildon-picker-dialog.c
434 (hildon_picker_dialog_realize): Removed as not required
435 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
436 * src/hildon-picker-button.c
437 (_current_selector_empty): New function, checks if the selector is empty
438 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
439 if the current selector is empty, in order to avoid to show the dialog
440 close the dialog in this case (and shows a g_warning).
442 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
444 2008-10-09 Alejandro G. Castro <alex@igalia.com>
446 * src/hildon-pannable-area.c,
447 (hildon_pannable_area_scroll): Added clause to stop movement when
448 the child of pannable is smaller than one page.
449 (hildon_pannable_area_scroll_to): Added conditions to avoid
450 starting the scrolling movement if the child is smaller than one
451 page, the complete child is in the screen, we do not have to move.
453 Fixes: NB#89632 (Picker button selection doesn't change on first click)
455 2008-10-09 Alberto Garcia <agarcia@igalia.com>
457 * src/hildon-app-menu.c: Removed the 'columns' property, as now
458 this is managed automatically by the widget when the size of the
461 2008-10-09 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-picker-button.c
464 (hildon_picker_button_set_done_button_text): Make a copy of the
465 text, and free the previous value.
467 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
469 * src/hildon-touch-selector-entry.c:
470 (hildon_touch_selector_entry_print_func): Return the selected row's
471 text if the entry is empty.
473 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
476 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
478 * src/hildon-touch-selector-entry.c: Minor docs fixes.
480 2008-10-09 Alberto Garcia <agarcia@igalia.com>
483 * src/hildon-check-button.h
484 * src/hildon-check-button.c
485 * examples/hildon-check-button-example.c:
486 HildonCheckButton is now a new widget. 'toggled' signal added.
488 2008-10-08 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-program-private.h
491 * src/hildon-program.c (hildon_program_init)
492 (hildon_program_finalize): Removed unused variables group_leader
493 and name from HildonProgramPrivate.
495 2008-10-08 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-check-button.c (hildon_check_button_set_active)
498 (hildon_check_button_get_active, hildon_check_button_new): Use
499 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
501 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
503 * src/hildon-touch-selector.h
504 (hildon_touch_selector_set_column_attributes): added deprecation
505 guard HILDON_DISABLE_DEPRECATED
506 * src/hildon-time-selector.c
507 (hildon_time_selector_set_time)
508 (hildon_time_selector_get_time): Fixed a typo on documentation
509 * src/hildon-touch-selector.c: update HildonTouchSelector and
510 HildonTouchSelectorColumn documentation
511 * src/hildon-touch-selector-entry.c: update "text-column" property
513 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
514 to be added to the general documentation.
516 2008-10-08 Alejandro G. Castro <alex@igalia.com>
518 * examples/hildon-pannable-area-example-4.c,
520 * examples/hildon-pannable-area-example.c,
521 (main): Modified the code in order to use the container add, with
522 viewport treeviews could have problems if they are really big.
524 2008-10-06 Alejandro G. Castro <alex@igalia.com>
526 * src/hildon-weekday-picker.c,
527 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
528 the agreement regarding deprecation in the library.
530 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
532 * examples/hildon-picker-button-multicolumn-example.c:
533 (main): Use custom "done" button text.
535 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
536 (hildon_picker_button_set_property),
537 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
538 (hildon_picker_button_init),
539 (+hildon_picker_button_get_done_button_text),
540 (+hildon_picker_button_set_done_button_text): New methods to customize
541 the "done" button label in the launched HildonPickerDialog. Also,
544 * src/hildon-picker-button.h: add the public API.
546 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
548 * src/hildon-date-selector.h:
549 * src/hildon-picker-dialog.h:
550 * src/hildon-time-selector.h:
551 * src/hildon-touch-selector-column.h:
552 * src/hildon-touch-selector.h:
554 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
555 declarations. Fixes gtk-doc warnings.
557 2008-10-06 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-picker-dialog.h
560 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
561 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
563 Fixes: NB#89329 (selectors in picker dialog are not visible when a
564 long text is set as label for done button)
566 2008-10-06 Alberto Garcia <agarcia@igalia.com>
568 * src/hildon-dialog.c (hildon_dialog_add_button):
569 Set fixed width to all buttons in the HildonDialog.
571 2008-10-06 Alberto Garcia <agarcia@igalia.com>
573 Patch contributed by Daniel Borgmann (danielb@openismus.com)
575 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
576 Set widget name using class name plus "-finger" or "-thumb".
578 2008-10-03 Alberto Garcia <agarcia@igalia.com>
580 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
581 'clicked' when the state of the button is manually changed.
583 2008-10-02 Alberto Garcia <agarcia@igalia.com>
585 * src/hildon-app-menu.c (hildon_app_menu_realize)
586 (hildon_app_menu_unrealize, hildon_app_menu_init)
587 (hildon_app_menu_class_init, item_visibility_changed):
588 Change the menu layout when the size of the screen changes.
589 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
590 Show warning only when changing the number of colums using the
593 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
595 * debian/compat: Set to 5
596 * debian/control: Update dependencies.
597 * debian/libhildon1-dbg.install: Remove.
598 * debian/libhildon1-dev.install: Update according to cdbs paths.
599 * debian/libhildon1.install: Update according to cdbs paths.
600 * debian/rules: Switch to cdbs.
602 2008-10-01 Alberto Garcia <agarcia@igalia.com>
604 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
605 'item' variable renamed to 'filter'
607 2008-10-01 Alberto Garcia <agarcia@igalia.com>
609 * src/hildon-app-menu.c (hildon_app_menu_insert)
610 (hildon_app_menu_add_filter, remove_item_from_list)
611 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
612 Don't leak hidden items when the menu is destroyed.
614 2008-10-01 Alberto Garcia <agarcia@igalia.com>
616 * src/hildon-app-menu.c (hildon_app_menu_insert)
617 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
618 (hildon_app_menu_set_columns, item_visibility_changed)
619 (filter_visibility_changed, hildon_app_menu_repack_filters)
620 (hildon_app_menu_repack_items):
621 Repack items and filters separately.
623 Don't repack all items, change only the ones that are needed to
626 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
628 * src/Makefile.am: added hildon-touch-selector-column.h
630 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
632 * src/hildon-touch-selector.c: added the property "text-column" to the
633 class HildonTouchSelectorColumn, and related get/set functions
634 (_default_printf_func): updated to use "text-column" property
635 * src/hildon-touch-selector-entry.c: mark as deprecated the property
636 "text-column" in his documentation, as this is now included on
637 HildonTouchSelectorColumn. The get/set_property can still be used,
638 working as a wrapper to the concrete column "text-column" property
639 (_text_column_modified): callback added in order to handle the signal
640 "notify::text-column" of the concrete HildonTouchSelectorColumn
641 (hildon_touch_selector_entry_get_text_column)
642 (hildon_touch_selector_entry_set_text_column): Added documentation, and
643 modified in order to use the HildonTouchSelectorColumn "text-column"
645 * src/hildon-time-selector.c:
646 * src/hildon-date-selector.c:
647 * examples/hildon-touch-selector-example.c
648 * examples/hildon-touch-selector-multi-cells-example.c
649 * examples/hildon-picker-button-multicolumn-example.c
650 Set the right value to "text-column" property on the creation of a new
651 column using hildon_touch_selector_append_column()
653 Fixes: NB#88644 (Hardcoded first column of the model as text column)
655 2008-09-30 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-app-menu.c
658 (hildon_app_menu_construct_child, hildon_app_menu_init): When
659 updating the layout of the menu, don't create all widgets again,
660 just repack the items in their new places.
662 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
664 * src/hildon-time-selector.c
665 (hildon_time_selector_get_time)
666 (hildon_time_selector_set_time)
667 Added documentation of these public methods
669 * src/hildon-date-button.h
670 * src/hildon-touch-selector-column.h
671 * src/hildon-time-button.h
672 * src/hildon-picker-dialog.h
673 * src/hildon-time-selector.h
674 * src/hildon-picker-button.h
675 * src/hildon-touch-selector.h
676 * src/hildon-time-picker.h
677 * src/hildon-date-selector.h
678 * src/hildon-touch-selector-entry.h
679 Modified in order to use hildon-widgets code style
681 2008-09-30 Alejandro G. Castro <alex@igalia.com>
683 Added deprecated support to the compilation process using
684 HILDON_DISABLE_DEPRECATED
686 * configure.ac: Added the --disable-deprecated to the configure
689 * src/hildon-weekday-picker.c:
690 * src/hildon-weekday-picker.h: Deprecated widget, example of how
691 to use the deprecated support. We will update the other deprecated
692 widgets status in a new patch.
694 2008-09-30 Alejandro G. Castro <alex@igalia.com>
696 * configure.ac: Fixed typo with fatal warnings support, the
697 variable name was not correct
699 2008-09-29 Alberto Garcia <agarcia@igalia.com>
701 * src/hildon-app-menu.c
702 * src/hildon-program.c: Update documentation.
704 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
706 * configure.ac: Post-release version bump.
708 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
713 * configure.ac: Pre-release version bump.
714 * debian/changelog: Updates.
716 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
718 * NEWS: Update news for previous releases.
720 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
722 * examples/hildon-touch-selector-multi-cells-example.c:
723 (create_selector): Update the example to use
724 hildon_touch_selector_append_column() with a NULL renderer and set
726 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
727 passed a NULL renderer. This is documented behavior now.
729 Allow passing a NULL renderer to hildon_touch_selector_append_column().
730 This must be used if the developer wants full control on the layout of
731 the renderers to be added to the column.
733 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
735 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
737 * src/hildon-touch-selector.c: Documentation fixes.
739 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
741 * src/hildon-wizard-dialog-private.h: Remove image and box.
742 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
743 (hildon_wizard_dialog_set_property), (response): Completely remove
744 image/icon support, and the containers required for the layout.
746 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
748 2008-09-25 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-app-menu.c: Updated documentation.
752 * src/hildon-stackable-window.c
753 (hildon_stackable_window_set_main_menu): Unref the old menu after
756 2008-09-25 Alberto Garcia <agarcia@igalia.com>
758 * src/hildon-stackable-window.c
759 (hildon_stackable_window_set_main_menu): Unref the previous menu
760 instead of destroying it.
762 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
763 floating reference and set has_user_ref_count to FALSE to make
764 HildonAppMenu act like a normal ref-counted widget and not a
767 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
770 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
772 * src/hildon-touch-selector-column.h: new file
773 * src/hildon-touch-selector.h
774 * src/hildon-touch-selector.c
775 Implemented GtkCellLayout interface, in order to allow to configure
776 the cell layout on each individual selector column
777 (hildon_touch_selector_set_column_attributes): marked as deprecated
778 * examples/hildon-touch-selector-multi-cells-example.c
779 Example of how to use the GtkCellLayout interface on the selector
781 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
783 2008-09-24 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-app-menu.h
786 * src/hildon-app-menu.c
787 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
788 (hildon_app_menu_append, hildon_app_menu_prepend):
789 New methods to prepend, insert and move items in the menu.
791 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
793 * src/hildon-wizard-dialog.c:
795 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
797 (create_title): Update logical IDs and related code.
798 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
800 * src/hildon-wizard-dialog.h: Note that
801 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
802 point, as it is not used anymore.
804 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
806 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
809 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
810 shown. Do not display an icon in confirmation notes nor information
812 (hildon_note_set_button_text): Update logical ID for cancel button.
814 Fixes: NB#88850 (Update HildonNote button strings + signals)
816 2008-09-24 Alberto Garcia <agarcia@igalia.com>
818 * src/hildon-stackable-window.c
819 (hildon_stackable_window_set_main_menu): Fix compilation warning.
821 2008-09-24 Alberto Garcia <agarcia@igalia.com>
823 * src/hildon-app-menu-private.h
824 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
825 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
826 (hildon_app_menu_init, hildon_app_menu_class_init): Added
827 temporary property 'columns' to change the number of columns.
829 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
831 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
833 * examples/hildon-note-example.c: (on_information_clicked),
834 (on_confirmation_clicked), (on_progress_clicked), (main): Add
835 debugging information.
836 * src/hildon-note-private.h: Remove close_if_pressed_outside,
838 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
839 (hildon_note_rebuild): Remove special handling of tapping outside/inside
840 in order to close: this will be handled by the WM from now on.
842 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
844 2008-09-24 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-app-menu-private.h
847 * src/hildon-app-menu.c
848 (hildon_app_menu_append, hildon_app_menu_add_filter)
849 (button_visibility_changed, hildon_app_menu_apply_style)
850 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
851 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
852 layout everytime a button (item or filter) is shown or hidden.
854 * src/hildon-stackable-window.c
855 (hildon_stackable_window_set_main_menu): Destroy the old menu when
858 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
860 * src/hildon-touch-selector.c:
861 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
862 that the treeview inside the touch selector is in fremantle hildon mode
863 * examples/hildon-date-button-example.c
864 * examples/hildon-picker-button-multicolumn-example.c
865 * examples/hildon-touch-selector-entry-example.c
866 * examples/hildon-touch-selector-example.c
867 * examples/hildon-time-button-example.c
868 * examples/hildon-picker-button-example.c:
869 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
871 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
873 * examples/hildon-text-view-example.c: (main): Remove the
874 gtkrc bits, now handled by the theme.
876 2008-09-22 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-picker-button.c (hildon_picker_button_set_active):
881 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
883 * po/Makefile.am: Install properly the mo files.
884 * po/en_GB.po: Update translation, to ease testing purposes.
886 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
888 * examples/hildon-picker-button-example.c: (main): Select an item
889 in the selector before setting it to the button.
891 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
893 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
894 Update button's value if the selector has an item active.
896 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
897 'value' with the selector)
899 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
901 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
902 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
903 (hildon_picker_button_class_init): Plug the finalize method.
904 (hildon_picker_button_set_selector): If there's a previously set
905 selector, unref'it before setting a new one.
907 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
910 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-touch-selector-entry.c:
913 (hildon_touch_selector_entry_changed): Check if there is no text
914 selected before setting the entry text.
917 2008-09-15 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-touch-selector.h
920 * src/hildon-touch-selector.c
921 (hildon_touch_selector_get_active)
922 (hildon_touch_selector_set_active): New methods to set/get the
923 index of the selected item.
925 * src/hildon-picker-button.h
926 * src/hildon-picker-button.c
927 (hildon_picker_button_get_active)
928 (hildon_picker_button_set_active): New methods to set/get the
929 index of the selected item.
931 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
933 * configure.ac: post-release version bump.
935 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
939 * configure.ac: Pre-release version bump.
940 * debian/changelog: Updates.
941 * debian/control: Add myself as maintainer and depend on l10n
944 2008-09-15 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-window.c
947 (hildon_window_set_main_menu)
948 * src/hildon-stackable-window.c
949 (hildon_stackable_window_set_main_menu):
950 Updated documentation.
952 2008-09-15 Alberto Garcia <agarcia@igalia.com>
954 * src/hildon-date-selector.c (hildon_date_selector_finalize):
955 Don't free selector->priv manually.
958 2008-09-12 Alejandro G. Castro <alex@igalia.com>
961 (hildon_gtk_window_set_progress_indicator):
962 * src/hildon-gtk.h: Added the new API
963 hildon_gtk_window_set_progress_indicator, it changes the state of
964 the window progress hint.
966 2008-09-12 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-button.c
969 * src/hildon-stackable-window.c: Minor documentation updates.
971 2008-09-12 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-stackable-window.c: Updated documentation.
975 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
977 * src/hildon-defines.h: Update margins definitions
978 to the Fremantle sizes.
981 2008-09-12 Alejandro G. Castro <alex@igalia.com>
983 * src/hildon-touch-selector.c,
984 (_hildon_touch_selector_set_model): Cleaning the code after
985 review, removed g_print and #if 0 from the code.
987 2008-09-11 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-edit-toolbar.c: Update documentation.
991 2008-09-11 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-check-button.h
994 * src/hildon-check-button.c
995 (hildon_check_button_set_label, hildon_check_button_get_label)
996 * examples/hildon-check-button-example.c
998 Removed deprecated methods.
1000 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-text-view.c:
1003 Add sample code to the documentation.
1005 * src/hildon-entry.h
1006 * src/hildon-text-view.h:
1007 Minor cosmetic changes.
1009 * src/hildon-entry.c:
1010 Add sample code to the documentation.
1011 (hildon_entry_init, hildon_entry_refresh_contents):
1012 Don't allow NULL values in the placeholder.
1014 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1016 * doc/hildon-docs.sgml
1018 * examples/Makefile.am
1019 * examples/hildon-text-view-example.c
1021 * src/hildon-text-view.c
1022 * src/hildon-text-view.h
1024 New HildonTextView widget, with example.
1026 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1028 * po/POTFILES.in: Add missing files with translatable strings.
1029 Partially fixes NB#88287.
1031 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1033 * examples/hildon-pannable-area-example-2.c: (main): No need to
1034 set the cellrenderer height inside hildon touch lists, the theme does
1037 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1039 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1040 they are integrated in the theme.
1042 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1044 * examples/hildon-entry-example.c: Update the example adding
1045 widgets to modify the text and the placeholder of the HildonEntry.
1047 * src/hildon-entry.c: Show the placeholder everytime the widget
1048 is empty and loses the focus.
1050 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1052 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1054 * src/hildon-pannable-area.c,
1055 (hildon_pannable_area_size_request): Fixed bug in height
1056 requisition, avoid increasing size and add border twice.
1058 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1060 * configure.ac: postrelease version bump.
1062 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1066 * configure.ac: Prerelease version bump.
1067 * debian/changelog: update.
1068 * debian/rules: make -dbg package contain useful debugging symbols.
1070 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-dialog.h
1073 * src/hildon-dialog.c
1074 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1075 New methods to add buttons with finger size.
1076 (hildon_dialog_new_with_buttons):
1077 Create buttons with finger size.
1079 * examples/hildon-dialog-example.c (main): Use HildonDialog
1080 methods to add buttons.
1082 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1084 * src/hildon-entry.c: Updated HildonButton documentation.
1086 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1089 button value label with (FALSE, FALSE) to prevent NB#88126 from
1092 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1094 * examples/hildon-pannable-area-example.c,
1095 (main): Removed examples panning a vbox inside a pannable
1096 area. Check bug NB#87965
1098 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1100 Patch contributed by Kris Rietveld (kris@imendio.com)
1102 * src/hildon-pannable-area.c,
1103 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1104 get_size and get_position, this saves an X server roundtrip.
1106 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1108 * doc/hildon-docs.sgml
1110 * examples/Makefile.am
1111 * examples/hildon-entry-example.c
1113 * src/hildon-entry.c
1114 * src/hildon-entry.h
1116 New HildonEntry widget, with example.
1118 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1120 * src/hildon-button.c (hildon_button_construct_child): Pack the
1121 image with expand == fill == FALSE. This is a workaround for a bug
1124 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1126 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1127 labels for the text column, to make it more look more dynamic.
1129 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1131 * src/hildon-time-selector.c
1132 Define gettext auxiliar macro N_
1133 (_create_minutes_model)
1134 (_create_hours_model)
1135 (_create_ampm_model): use of strftime in order to fill the model
1136 * src/hildon-date-selector.c
1137 (hildon_date_selector_finalize):
1138 (_locales_init): remove the logic related to get the name of the months
1139 using nl_langinfo, as it is not required anymore
1141 (_create_year_model)
1142 (_create_month_model)
1143 (_update_day_model): use of strftime in order to fill the model properly
1146 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1148 * src/hildon-button.h
1149 * src/hildon-button.c (hildon_button_get_image): New method to
1152 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1154 * src/hildon-touch-selector.c:
1155 (hildon_touch_selector_remove_column): Remove from the correct parent
1156 and also remove the list element and free it.
1159 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1161 * src/hildon-time-selector.c
1162 (_create_hours_model): change the range on 12h ampm format in order to use
1163 a 12-11 range instead of previous 01-12 range
1164 (hildon_time_selector_set_time): change the way to select the current time
1165 on 12h ampm format, due the change on the range
1166 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1169 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1171 * src/hildon-touch-selector.c
1172 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1173 in order to allow use this function on multiple row selection mode if
1174 the column is different that the first one
1177 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1179 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1180 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1182 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1184 * src/hildon-date-selector.h: clean some comments, now on the .c
1185 * src/hildon-date-selector.c
1186 (hildon_date_selector_select_month): first implementation
1187 (hildon_date_selector_select_day): added documentation, reimplemented
1188 using hildon_date_selector_select_current_date to avoid repeat code
1191 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1193 Reviewed interaction logic based on device experiences, refactored
1196 * src/hildon-pannable-area.c,
1197 (hildon_pannable_area_class_init): Updated default vmax speed.
1198 (hildon_pannable_area_calculate_velocity): Added this function, it
1199 avoids duplicate valocity calculation. Adjusted calculation to
1200 avoid problems with zero dist events.
1202 (hildon_pannable_area_motion_notify_cb): Now we use the
1203 calculate_velocity function.
1205 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1207 * src/hildon-date-selector.c
1208 (hildon_date_selector_select_current_date): fix the day range check
1209 as it failed using the last day of the current month
1212 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1214 * src/hildon-touch-selector.c
1215 (hildon_touch_selector_get_num_columns): added a parameter validation
1218 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1220 * examples/Makefile.am
1221 * examples/hildon-edit-toolbar-example.c: Example of the
1222 HildonEditToolbar widget.
1224 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1226 * configure.ac: postrelease version bump.
1228 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1232 * configure.ac: prerelease version bump.
1233 * debian/changelog: update.
1235 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1237 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1238 renderer to display stock icons in the touch list. Also, set the sizes
1239 to the recommended in the style guide.
1241 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1242 * src/hildon-touch-selector.h
1243 (hildon_touch_selector_set_active_iter): renamed, now is
1244 hildon_touch_selector_select_iter
1245 (hildon_touch_selector_get_active_iter): renamed, now is
1246 hildon_touch_selector_get_selected
1247 (hildon_touch_selector_unselect_iter): added
1248 * src/hildon-touch-selector.c
1249 Update after API modification (methods renamed)
1250 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1251 order to avoid problems selecting multiple elements on the column
1252 (hildon_touch_selector_unselect_iter): added the implementation
1253 * src/hildon-time-selector.c
1254 * src/hildon-date-selector.c
1255 * src/hildon-touch-selector-entry.c
1256 Update methods calls after hildon-touch-selector.h API modification (methods
1259 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-stackable-window.c
1262 (hildon_stackable_window_finalize): Call the parent class's finalize.
1264 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1266 * examples/hildon-touch-selector-example.c: (create_selector): Use
1267 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1270 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1272 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1273 set a cell background color, to respect theming.
1275 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1277 * doc/hildon-docs.sgml
1280 * src/hildon-edit-toolbar.c
1281 * src/hildon-edit-toolbar.h
1282 * src/hildon.h: New HildonEditToolbar widget.
1284 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1286 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1289 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1290 * src/hildon-touch-selector.c
1291 (_create_new_column): use g_object_set instead of two g_object_set_property
1293 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1294 * src/hildon-touch-selector.c
1295 (_create_new_column): use of hildon_gtk_tree_view_new to create
1296 the treeview, instead of use directly g_object_new
1297 (_create_new_column): update the property name "vindicator-mode" for the
1298 new one "vscrollbar-policy"
1299 * examples/hildon-date-button-example.c
1300 * examples/hildon-picker-button-multicolumn-example.c
1301 * examples/hildon-touch-selector-entry-example.c
1302 * examples/hildon-touch-selector-example.c
1303 * examples/hildon-time-button-example.c
1304 * examples/hildon-picker-button-example.c
1305 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1306 to all the treeviews inside a pannable area.
1308 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-button.h
1311 * src/hildon-button.c (hildon_button_init)
1312 (hildon_button_set_arrangement, hildon_button_set_alignment)
1313 (hildon_button_set_title_alignment)
1314 (hildon_button_set_value_alignment)
1315 (hildon_button_set_image_alignment)
1316 (hildon_button_construct_child): New methods to set the alignment
1317 of the individual components of the button (title, value,
1318 image). Also, new method to alter the xscale and yscale properties
1319 of the GtkAlignment inside the button, so more complex layouts can
1322 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-button.c (hildon_button_style_set)
1325 (hildon_button_class_init, hildon_button_set_arrangement)
1326 (hildon_button_construct_child): Apply style properties
1327 correctly. Use the 'image-spacing' style property too.
1329 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1332 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1335 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1337 * src/hildon-pannable-area.c,
1338 (hildon_pannable_area_size_request): Fixed problem with
1339 pannable-area size_request.
1341 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1343 Added management for the grab-focus to a child widget, like a
1344 range, we need to fade out the scrollbar when releasing.
1346 * src/hildon-pannable-area.c,
1347 (hildon_pannable_area_init): Connected the grab-focus signal to
1349 (hildon_pannable_area_grab_notify): Added this function in order
1350 to manage the situation when the grab-focus ends. We have to
1351 fade-out the scrollbar.
1353 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c: Minor documentation update.
1357 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-app-menu.c
1360 * examples/hildon-app-menu-example.c (create_menu): Update
1361 examples and documentation to explain how to connect callbacks.
1363 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1365 * examples/hildon-button-example.c
1366 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1367 hildon_stackable_window_new instead of gtk_window_new
1369 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1371 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1372 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1373 (hildon_pannable_area_set_property),
1374 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1375 (hildon_pannable_area_unrealize),
1376 (hildon_pannable_area_size_request),
1377 (hildon_pannable_area_size_allocate),
1378 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1379 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1380 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1381 (hildon_pannable_area_initial_effect),
1382 (hildon_pannable_area_redraw),
1383 (hildon_pannable_area_scroll_indicator_fade),
1384 (hildon_pannable_area_expose_event),
1385 (hildon_pannable_area_get_topmost), (synth_crossing),
1386 (hildon_pannable_area_button_press_cb),
1387 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1388 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1389 (hildon_pannable_area_motion_notify_cb),
1390 (hildon_pannable_area_button_release_cb),
1391 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1392 (hildon_pannable_area_remove),
1393 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1394 chage the code layout to a more GtkWidget like. Review the use of
1397 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1399 * examples/hildon-pannable-area-example-4.c,
1400 (main): Modified the name of the hindicator_mode to
1403 * src/hildon-pannable-area.c,
1404 (hildon_pannable_area_class_init),
1405 (hildon_pannable_area_motion_notify_cb),
1406 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1407 we have reduced the amount of signals and managed reviewed its
1408 rationale. Changed the default decelerate value.
1410 (hildon_pannable_area_add),
1411 (hildon_pannable_area_redraw): Refactored functions.
1413 (hildon_pannable_area_init),
1414 (hildon_pannable_area_get_property),
1415 (hildon_pannable_area_set_property):
1416 (hildon_pannable_draw_vscroll),
1417 (hildon_pannable_draw_hscroll),
1418 (hildon_pannable_area_initial_effect),
1419 (hildon_pannable_area_expose_event),
1420 (hildon_pannable_area_scroll),
1421 (hildon_pannable_area_button_press_cb),
1422 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1423 and vindicator_mode with hscrollbar_policy and
1424 vscrollbar_policy. Replaced hscroll and vscroll with
1425 hscroll_visible and vscroll_visible.
1427 (hildon_pannable_area_refresh): Refactor the function, remove
1428 variables and check the calls to this function, added resize
1429 conditions in case the children change their layout.
1431 (hildon_pannable_area_size_request): Added more detailed
1432 size_request calculation.
1435 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1437 * src/hildon-color-chooser.c
1438 (init_borders): use the correct gtk_border_free instead of g_free, to
1439 avoid a crash when this widget is used (ie: the three color selection
1442 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1444 * src/hildon-check-button.c,
1445 (hildon_check_button_set_active): Fixed problem when setting the
1446 active value, the widget was not redrawn.
1448 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1450 * src/hildon-pannable-area.c,
1451 (hildon_pannable_area_refresh),
1452 (hildon_pannable_area_scroll),
1453 (hildon_pannable_area_motion_notify_cb): Small code style change.
1455 (hildon_pannable_area_class_init): Default initial_hint set to
1456 FALSE, it is not in the specs.
1458 (hildon_pannable_area_initial_effect),
1459 (hildon_pannable_area_expose_event),
1460 (hildon_pannable_area_map),
1461 (hildon_pannable_area_init): Moved the launching point of the
1462 initial effect, it was in map but the sizes where not correct in
1463 that method so we do not know if we have the reproduce it. Now it
1464 is placed in the expose_event method and uses a variable to
1465 reproduce it just once.
1467 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1469 * src/hildon-pannable-area.c,
1470 (hildon_pannable_draw_vscroll),
1471 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1472 position allowed for the scrollbars.
1474 (hildon_pannable_area_size_allocate): Small style change.
1476 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1478 * src/hildon-pannable-area.c,
1479 (hildon_pannable_area_scroll_indicator_fade),
1480 (hildon_pannable_area_button_press_cb),
1481 (hildon_pannable_area_button_release_cb),
1482 (hildon_pannable_area_scroll_cb),
1483 (hildon_pannable_area_expose_event),
1484 (hildon_pannable_area_init): Added the define parameter
1485 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1486 and refactor the fade variable.
1488 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1490 * src/hildon-pannable-area.c,
1491 (hildon_pannable_area_redraw),
1492 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1493 lines, we were reimplemeting the redraw code.
1495 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1497 * src/hildon-pannable-area.c,
1498 (hildon_pannable_area_scroll_cb),
1499 (hildon_pannable_area_realize),
1500 (hildon_pannable_area_class_init): Added scroll_event management
1501 for pannable area, now we can scroll the usual desktop method.
1503 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1504 initialization of the parameters should depend on idle_id.
1506 (hildon_pannable_area_init),
1507 (hildon_pannable_area_map): Small code style modifications
1509 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1511 * src/hildon-pannable-area.c
1512 (hildon_pannable_area_button_press_cb),
1513 (hildon_pannable_area_motion_notify_cb),
1514 (hildon_pannable_area_button_release_cb),
1515 (hildon_pannable_area_size_allocate),
1516 (hildon_pannable_area_scroll_to): Improved the timeouts
1517 management, we avoid creating them each time.
1519 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1521 * src/hildon-pannable-area.c:
1522 (hildon_pannable_area_refresh),
1523 (hildon_pannable_area_motion_notify_cb),
1524 (hildon_pannable_area_class_init):
1525 * src/hildon-pannable-area.h:
1526 * src/hildon-touch-selector.c
1527 (_create_new_column):
1528 * examples/hildon-pannable-area-example-4.c:
1529 (horizontal_movement),
1530 (vertical_movement),
1532 Replaced the names of enums in the HildonPannableArea:
1533 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1534 HILDON_MOVEMENT_MODE_*
1535 - HILDON_PANNABLE_AREA_MOV_* ->
1537 - Removed HildonPannableAreaIndicatorMode, now we
1540 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1542 * examples/hildon-pannable-area-touch-grid-example.c
1543 * examples/hildon-pannable-area-touch-list-example.c: Fix
1544 compilation warnings.
1546 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-gtk.c (hildon_gtk_button_new)
1549 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1550 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1551 images overriding the value of the "gtk-button-images" setting.
1553 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-check-button.c (hildon_check_button_new):
1556 Instead of using a custom container, display the label and the
1557 checkbox using the standard GtkButton API.
1559 * examples/hildon-check-button-example.c (main): Don't use
1560 hildon_check_button_set_label() anymore
1562 * src/hildon-check-button.h
1563 * src/hildon-check-button.c
1564 (hildon_check_button_set_label, hildon_check_button_get_label):
1565 Set as deprecated, now we're using gtk_button_{get,set}_label()
1567 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1569 * src/hildon-pannable-area.c,
1570 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1571 GtkTreeview first line we detected it after the inclusion of the
1572 GtkWindowImpl in gtk+. We now check if the window is visible, not
1573 just if the pointer is over the window.
1574 (hildon_pannable_axis_scroll),
1575 (hildon_pannable_area_expose_event): Small style changes.
1577 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1579 * src/hildon-button.c: Update documentation.
1581 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1583 * examples/hildon-button-example.c: Add a switch to show images in
1586 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1588 * doc/hildon-docs.sgml: Some docs reorganization.
1590 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1592 * examples/hildon-pannable-area-touch-list-example.c
1594 * examples/hildon-pannable-area-touch-grid-example.c
1595 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1596 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1597 Fix memory leak when setting the tree model.
1599 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1603 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1605 * doc/hildon.types: Remove duplicated hildon_window_get_type
1606 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1607 documentation comment.
1609 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1611 * doc/Makefile.am: Complete list of private headers.
1613 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1615 * doc/hildon-docs.sgml
1616 * src/hildon-app-menu.c
1617 * src/hildon-bread-crumb.c
1618 * src/hildon-button.c
1620 * src/hildon-program.c
1621 * src/hildon-stackable-window.c
1622 * src/hildon-window.c: Lots of documentation updates.
1624 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1626 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1628 * configure.ac: Require Gtk+ 2.12.9 at least
1630 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1632 * src/hildon-pannable-area.c
1633 (hildon_pannable_area_scroll_indicator_fade),
1634 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1635 to protect the return of this timeout callbacks, avoiding deadlocks.
1637 2008-08-12 Christian Dywan <christian@imendio.com>
1640 * src/hildon-*.h: Ensure a consistent include order,
1641 include <gtk/gtk.h> instead of particular files and
1642 only include the topmost header in the gtk stack. See NB #39857
1644 2008-08-12 Christian Dywan <christian@imendio.com>
1646 * src/hildon-picker-dialog.c
1647 * src/hildon-touch-selector.c: Fix warnings about unused and
1648 uninitialized variables.
1650 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1652 * examples/Makefile.am
1653 * examples/hildon-check-button-example.c: Example of the hildon
1656 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-window.h
1659 * src/hildon-window.c (hildon_window_class_init)
1660 (hildon_window_unset_program): Don't make
1661 hildon_window_unset_program a virtual function anymore.
1663 * src/hildon-stackable-window.c: Update documentation
1665 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1668 * doc/hildon-docs.sgml
1669 * doc/visual_index.xml
1670 * src/hildon-defines.c
1672 * src/hildon-helper.c
1673 * src/hildon-range-editor.c: Lots of documentation fixes.
1675 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1677 * examples/hildon-picker-button-multicolumn-example.c
1678 (create_touch_selector): Fix compilation warning.
1680 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1682 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1683 (hildon_pannable_area_button_release_cb)
1684 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1686 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1691 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1693 * src/hildon-bread-crumb-trail.h
1694 * src/hildon-date-editor.c
1695 * src/hildon-date-selector.c
1696 * src/hildon-pannable-area.c
1697 * src/hildon-picker-dialog.c
1698 * src/hildon-time-selector.c
1699 * src/hildon-touch-selector-entry.c
1700 * src/hildon-touch-selector.c
1701 * src/hildon-touch-selector.h: Misc documentation fixes
1703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1705 * examples/hildon-date-editor-example.c (main): Updated date
1708 * examples/hildon-note-example.c (on_confirmation_clicked):
1709 Updated confirmation note example.
1711 * src/hildon-date-editor.c
1712 * src/hildon-note.c: Updated sample programs in documentation.
1715 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1717 * src/hildon-date-button.h:
1718 * src/hildon-picker-button.h:
1719 * src/hildon-time-button.c:
1720 * src/hildon-time-button.h:
1722 Some declarations changes to allow gtk-doc to document the widgets
1725 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-date-button.c: Document the widget.
1728 * src/hildon-time-button.c: Document the widget.
1730 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-picker-button.c: Document the widget.
1733 * src/hildon-touch-selector-entry.c: Document the widget.
1735 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1737 * doc/hildon-docs.sgml
1740 * src/hildon-check-button.h
1741 * src/hildon-check-button.c: New functions to create the Hildon
1745 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1747 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-button.h
1750 * src/hildon-button.c
1751 (hildon_button_add_title_size_group)
1752 (hildon_button_add_value_size_group)
1753 (hildon_button_add_image_size_group)
1754 (hildon_button_add_size_groups): New functions to set size groups
1755 for the button labels and image.
1756 (hildon_button_new_full): Removed
1758 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1760 * src/hildon-time-selector.c
1761 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1762 in order to avoid a crash if gconf is not available
1764 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-button.c (hildon_button_set_arrangement)
1767 (hildon_button_construct_child): Don't construct the button child
1768 before setting the arrangement.
1770 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-program-private.h
1773 * src/hildon-program.c
1774 * src/hildon-program.h
1775 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1776 (hildon_program_peek_window_stack)
1777 (hildon_program_pop_window_stack)
1778 (hildon_program_go_to_root_window): HildonProgram now has a
1779 separate list for stackable windows. Functions are provided to
1780 manage that list with a stack-like API.
1782 * src/hildon-stackable-window.c: Stackable window management is
1783 now much simpler with the new HildonProgram API. Windows no
1784 longer need to be manually added to the program, they're
1785 automatically pushed to the top of the stack when shown.
1787 * examples/hildon-stackable-window-example.c: Updated example to
1788 reflect the API changes.
1790 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-touch-selector.c: Comment out unimplemented
1793 hildon_touch_selector_insert_column() to avoid a compile warning.
1795 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1798 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1799 (hildon_touch_selector_set_column_selection_mode),
1800 (_hildon_touch_selector_set_model),
1801 (hildon_touch_selector_set_model):
1803 Complete review of HildonTouchSelector documentation.
1805 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1807 * doc/hildon-docs.sgml
1811 * src/hildon-gtk.c: Convenience functions for standard Gtk
1812 widgets, used to easily perform frequent operations.
1814 * src/hildon-button-helpers.h
1815 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1817 * src/hildon-helper.h
1818 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1819 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1821 * src/hildon-button.h
1822 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1824 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-button.c (hildon_button_init)
1827 (hildon_button_set_arrangement, hildon_button_construct_child):
1828 Pack the image and the labels inside the same GtkAlignment so
1829 gtk_button_set_alignment() can be used
1831 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1833 * src/hildon-button.h
1834 * src/hildon-button.c
1835 (hildon_button_init, hildon_button_set_image)
1836 (hildon_button_set_image_position)
1837 (hildon_button_construct_child): New functions to add an image to
1840 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-date-button.c
1843 * src/hildon-picker-button.c
1844 * src/hildon-time-button.c
1845 * src/hildon-button.c:
1846 (hildon_button_class_init): "size-flags" renamed to "size"
1847 (hildon_button_set_title): Hide the title label if set to NULL.
1849 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1851 HildonButtonFlags split into HildonButtonArrangement (to set the
1852 button layout) and HildonSizeType (which can be used for any
1855 * src/hildon-button.h
1856 * src/hildon-button.c
1857 (hildon_button_class_init)
1858 (hildon_button_set_arrangement)
1859 (hildon_button_set_property): New "size-flags"
1860 property. "arrangement-flags" renamed to "arrangement".
1861 (hildon_button_new, hildon_button_new_with_text)
1862 (hildon_button_new_full): Constructors updated to reflect type changes.
1864 * src/hildon-helper.h
1865 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1866 to set the size of a widget.
1870 * src/hildon-button-helpers.c
1871 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1873 * src/hildon-date-button.c
1874 * src/hildon-date-button.h
1875 * src/hildon-picker-button.c
1876 * src/hildon-picker-button.h
1877 * src/hildon-time-button.c
1878 * src/hildon-time-button.h: Updated widgets to reflect
1879 HildonButton API changes.
1881 * examples/hildon-button-example.c
1882 * examples/hildon-date-button-example.c
1883 * examples/hildon-picker-button-example.c
1884 * examples/hildon-picker-button-multicolumn-example.c
1885 * examples/hildon-time-button-example.c
1886 * examples/hildon-touch-selector-entry-example.c
1887 * examples/hildon-touch-selector-example.c: Updated examples to
1888 reflect HildonButton API changes.
1890 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1892 * doc/hildon-docs.sgml:
1894 * examples/Makefile.am:
1895 * examples/hildon-touch-selector-entry-example.c:
1897 * src/hildon-touch-selector-entry.c:
1898 * src/hildon-touch-selector-entry.h:
1901 Moved HildonTouchSelectorEntry from sandbox. Added its
1902 documentation and examples.
1904 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1906 * src/hildon-touch-selector.h:
1907 * examples/hildon-picker-button-multicolumn-example.c:
1908 (hildon_touch_selector_append_text_column): Add a gboolean
1909 parameter to determine if text must be centered in the column.
1911 * src/hildon-date-selector.c: (hildon_date_selector_init):
1912 * src/hildon-time-selector.c: (hildon_time_selector_init):
1913 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1914 (create_touch_selector): Update widgets and example to reflect
1917 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-touch-selector.c:
1920 (hildon_touch_selector_set_active_iter): Set also the cursor in
1923 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1925 * doc/hildon-docs.sgml
1928 * src/hildon-toggle-button.c
1929 * src/hildon-toggle-button.h
1930 * src/hildon.h: Removed HildonToggleButton widget, a derived
1931 class is not necessary for this.
1933 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1935 * src/hildon-pannable-area.c,
1936 (hildon_pannable_area_realize),
1937 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1940 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1943 "done" button the default widget for the dialog.
1945 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-touch-selector.c:
1948 (hildon_touch_selector_class_init),
1949 (hildon_touch_selector_get_property),
1950 (_hildon_touch_selector_set_model),
1951 (_hildon_touch_selector_has_multiple_selection),
1952 (hildon_touch_selector_has_multiple_selection):
1953 Add a "has-multiple-selection" property with a virtual
1954 has_multiple_selection() method to allow derived classes to
1955 override the default value for it. See the method and property
1956 documentation for details.
1958 * src/hildon-touch-selector.h: Add the new API.
1960 * src/hildon-picker-dialog.c: (requires_done_button): Call
1961 hildon_touch_selector_has_multiple_selection() instead of
1962 determining the need for a button itself.
1964 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1966 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1967 (_hildon_touch_selector_set_model),
1968 (hildon_touch_selector_set_model): Move working code to
1969 _hildon_touch_selector_set_mode(). Call the class method instead.
1971 * src/hildon-touch-selector.h: Add (*set_model) to
1972 HildonTouchSelectorClass.
1974 Make hildon_touch_selector_set_model() a virtual method, so that
1975 derived classes can extend it and do fancy stuff with the model.
1977 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1979 * configure.ac: Set back the tarname in AC_INIT to hildon.
1981 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1985 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1986 instead of libesd (NB#86876). Volume handling is still an open issue.
1988 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1991 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1993 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1994 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1995 derived class to ease placement of an entry widget in
1996 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1997 end, where the selector columns are packed now.
1999 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-picker-button.c: Removed the simple _text() API.
2002 * src/hildon-picker-button.h: Likewise.
2004 * src/hildon-touch-selector.h:
2005 * src/hildon-touch-selector.c:
2006 (hildon_touch_selector_new_text),
2007 (hildon_touch_selector_append_text),
2008 (hildon_touch_selector_prepend_text),
2009 (hildon_touch_selector_insert_text):
2011 Moved the simple _text() API from HildonPickerButton to
2012 HildonTouchPicker, to provide better escalability and not to tie
2013 that API to HildonPickerButton.
2015 * examples/hildon-picker-button-example.c: (main): Example updated.
2017 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-button.c: Updated documentation.
2021 * examples/hildon-button-example.c: Add the posibility to create
2022 the buttons using horizontal layout for title and value.
2024 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2026 * src/hildon-app-menu-private.h
2027 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2028 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2029 GtkSizeGroup for the filters, use the 'homogeneous' property of
2032 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2034 * examples/hildon-button-example.c: Updated example.
2036 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2038 * doc/hildon-docs.sgml:
2041 Update documentation.
2043 * examples/Makefile.am: Update renamed examples.
2045 * examples/hildon-picker-button-multicolumn-example.c:
2046 (create_touch_selector), (main): Update after the rename.
2048 * examples/hildon-touch-picker-example.c: Removed.
2049 * examples/hildon-touch-selector-example.c: (value_changed),
2050 (create_selector), (get_visible_content), (main): Renamed from
2051 hildon-touch-picker-example.c
2053 * src/Makefile.am: Updated renamed files.
2055 * src/hildon-date-button.c: (hildon_date_button_init),
2056 (hildon_date_button_get_date), (hildon_date_button_set_date):
2057 * src/hildon-date-selector.c: (hildon_date_selector_init),
2058 (_custom_print_func), (_update_day_model),
2059 (_manage_selector_change_cb),
2060 (hildon_date_selector_select_current_date),
2061 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2062 * src/hildon-date-selector.h:
2063 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2064 (hildon_picker_button_set_property),
2065 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2066 (hildon_picker_button_init), (hildon_picker_button_new_text),
2067 (hildon_picker_button_append_text),
2068 (hildon_picker_button_prepend_text),
2069 (hildon_picker_button_insert_text),
2070 (hildon_picker_button_set_selector),
2071 (hildon_picker_button_get_selector):
2072 * src/hildon-picker-button.h:
2073 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2074 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2075 (_update_title_on_selector_changed_cb), (requires_done_button),
2076 (_hildon_picker_dialog_set_selector),
2077 (hildon_picker_dialog_set_selector),
2078 (hildon_picker_dialog_get_selector):
2079 * src/hildon-picker-dialog.h:
2080 * src/hildon-time-button.c: (hildon_time_button_init),
2081 (hildon_time_button_get_time), (hildon_time_button_set_time):
2082 * src/hildon-time-selector.c: (hildon_time_selector_init),
2083 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2084 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2085 * src/hildon-time-selector.h:
2088 Massive code updates after the rename.
2090 * src/hildon-touch-picker.c: Removed.
2091 * src/hildon-touch-picker.h: Removed.
2093 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2094 (hildon_touch_selector_init), (hildon_touch_selector_map),
2095 (hildon_touch_selector_remove), (_default_print_func),
2096 (_selection_changed_cb), (_create_new_column),
2097 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2098 (hildon_touch_selector_append_text_column),
2099 (hildon_touch_selector_remove_column),
2100 (hildon_touch_selector_set_column_attributes),
2101 (hildon_touch_selector_insert_column),
2102 (hildon_touch_selector_get_num_columns),
2103 (hildon_touch_selector_get_column_selection_mode),
2104 (hildon_touch_selector_set_column_selection_mode),
2105 (hildon_touch_selector_set_print_func),
2106 (hildon_touch_selector_get_print_func),
2107 (hildon_touch_selector_get_active_iter),
2108 (hildon_touch_selector_set_active_iter),
2109 (hildon_touch_selector_get_selected_rows),
2110 (hildon_touch_selector_get_model),
2111 (hildon_touch_selector_set_model),
2112 (hildon_touch_selector_get_current_text),
2113 (_hildon_touch_selector_center_on_selected_items):
2114 * src/hildon-touch-selector.h: Renamed from
2115 hildon-touch-picker.[ch]
2117 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2118 references, code examples, and related documentation.
2120 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2122 * doc/hildon-docs.sgml
2125 * src/hildon-toggle-button.c
2126 * src/hildon-toggle-button.h
2127 * src/hildon.h: New HildonToggleButton widget.
2129 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-button.c: Add API documentation.
2132 (hildon_button_set_size_groups): Check input parameters
2134 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c
2137 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2138 effect after reaching the movement thredshold. This way we start
2139 using the distance after passing the thredshold.
2141 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-button.c: (hildon_button_set_property): Use the
2144 appropriate g_value_get_flags() method.
2146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2148 * doc/hildon-docs.sgml:
2151 Add the touch pickers, picker dialogs, and picker button widgets
2152 to the documentation.
2154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2156 * src/hildon-button.c: (hildon_button_set_property),
2157 (hildon_button_class_init): Make "arrangement-flags" a proper
2158 G_TYPE_FLAGS derived property.
2160 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2162 * examples/Makefile.am: Add below examples.
2163 * examples/hildon-date-button-example.c:
2164 * examples/hildon-picker-button-example.c:
2165 * examples/hildon-picker-button-multicolumn-example.c:
2166 * examples/hildon-time-button-example.c:
2167 * examples/hildon-touch-picker-example.c:
2169 Add examples for the recently added touch pickers,
2170 picker dialogs, and picker button widgets.
2172 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-button.c: Add some API documentation
2176 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-button.h
2179 * src/hildon-button.c
2181 (hildon_button_new_with_text): New constructor to create a button
2182 with no text at all.
2183 (hildon_button_init, hildon_button_set_arrangement)
2184 (hildon_button_set_title, hildon_button_set_value)
2185 (hildon_button_set_text)
2186 (hildon_button_construct_child): Hide the value when it's not used
2187 so the rest of the text is properly aligned.
2188 Allow creating buttons with arbitrary widgets inside (not just
2189 title/value labels).
2191 * examples/hildon-button-example.c (vertical_buttons_window)
2192 (horizontal_buttons_window): Update example to use new API.
2194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2196 * src/Makefile.am: Added HildonTimeButton.
2197 * src/hildon-time-button.c: Added missing LGPL header.
2198 * src/hildon-time-button.h: Added missing LGPL header.
2199 * src/hildon.h: Add hildon-time-button.h
2201 Copied HildonTimeButton from sandbox to trunk. Future work on this
2202 widget must take place in trunk.
2204 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/Makefile.am: Added HildonDateButton.
2207 * src/hildon-date-button.c: Update includes.
2208 * src/hildon.h: Add hildon-date-button.h
2210 Copied HildonDateButton from sandbox to trunk. Future work on this
2211 widget must take place in trunk.
2213 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/Makefile.am: Added HildonPickerButton.
2216 * src/hildon-picker-button.h: Update includes.
2217 * src/hildon.h: Add hildon-picker-button.h
2219 Copied HildonPickerButton from sandbox to trunk. Future work on
2220 this widget must take place in trunk.
2222 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2224 * src/Makefile.am: Added HildonPickerDialog.
2225 * src/hildon-picker-dialog.c: Update includes.
2226 * src/hildon.h: Add hildon-picker-dialog.h
2228 Copied HildonPickerDialog from sandbox to trunk. Future work
2229 on this widget must take place in trunk.
2231 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/Makefile.am: Added HildonTimeSelector.
2234 * src/hildon.h: Add hildon-time-selector.h
2236 Copied HildonTimeSelector widget from sandbox to trunk. Future
2237 work on this widget must happen in trunk.
2239 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/Makefile.am: Added HildonDateSelector.
2242 * src/hildon.h: Add hildon-date-selector.h
2244 Copied HildonDateSelector widget from sandbox to trunk. Future
2245 work on this widget must happen in trunk.
2247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/Makefile.am: Added HildonTouchPicker.
2250 * src/hildon-touch-picker.c: Update includes.
2251 * src/hildon.h: Add hildon-touch-picker.h
2253 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2254 on this widget must happen in trunk.
2256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-pannable-area.c:
2259 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2261 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2263 * examples/hildon-app-menu-example.c (main): Let the window
2266 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2268 * src/hildon-pannable-area.c
2269 (hildon_pannable_area_class_init): Set the min value of the
2270 overshoot properties to zero, which points out that not
2271 overshooting allowed.
2273 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2275 Modified the procedure to get the widget at a point inside the
2276 pannable area when using the movement type signals. Now the user
2277 has to call a function to get the child, that way we just
2278 calculate the child in case the user really want to use it and not
2281 * src/hildon-marshalers.list: Modified the marshallers, now we do
2282 not have the widget as a parameter.
2284 * src/hildon-pannable-area.c
2285 (hildon_pannable_area_motion_notify_cb),
2286 (hildon_pannable_area_class_init),
2287 (hildon_pannable_get_child_widget_at): Removed the widget
2288 parameter from the signal callback. We have also refactored the
2289 emission of the signals.
2291 * src/hildon-pannable-area.h: Added a new method to the API to
2292 calculate a widget at a point inside the pannable area,
2293 hildon_pannable_get_child_widget_at.
2295 * examples/hildon-pannable-area-example-4.c
2296 (horizontal_movement): Modified the example to use the new API,
2297 added condition to control which widget is under the event. This
2298 way we can avoid scrolling laterally over other widgets.
2300 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2302 * src/hildon-pannable-area.c
2303 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2304 modes, we stop getting the pointer events due to returning the
2305 callback without properly calling the get pointer again. Fixed
2306 also an error using the hscroll and vscroll.
2308 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2310 * src/hildon-app-menu-private.h
2311 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2312 (hildon_app_menu_button_release, hildon_app_menu_init)
2313 (hildon_app_menu_class_init): Don't hide the menu on button
2314 release if the user didn't press outside first.
2316 * src/hildon-window.h
2317 * src/hildon-window.c (hildon_window_toggle_menu)
2318 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2319 hildon_window_toggle_menu a virtual function for the stackable
2320 window to override it.
2322 * src/hildon-stackable-window.h
2323 * src/hildon-stackable-window-private.h
2324 * src/hildon-stackable-window.c
2325 (hildon_stackable_window_realize)
2326 (hildon_stackable_window_finalize)
2327 (hildon_stackable_window_class_init)
2328 (hildon_stackable_window_init)
2329 (hildon_stackable_window_set_main_menu): New function to set the
2330 app menu of a HildonStackableWindow.
2332 * examples/hildon-app-menu-example.c: Remove the button to show
2333 the app menu, now it'll be shown when clicking on the title bar
2336 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2339 set the widget name if the arrangement flags do not specify
2342 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-button.c: (hildon_button_set_property),
2345 (hildon_button_class_init), (hildon_button_new_full),
2346 (hildon_button_set_arrangement): Added "arrangement-flags"
2349 Make the HildonButtonFlags a construction-only property, to allow
2350 subclasses to set them properly.
2352 2008-07-21 Tim Janik <timj@imendio.com>
2354 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2355 insertion position after backspace, so additional digits are appended,
2358 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2360 * src/hildon-pannable-area.c,
2361 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2362 TODO list, it was complete and removed the g_debug and g_print
2365 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2367 Added the movement modes to the hildon-pannable-area, with this
2368 modes the developers can control in which directions the widget
2369 can scroll. They can also connect to signals in order to do
2370 something when that happens, allowing applications scroll. There
2371 is an example uploaded showing how to use it.
2373 * examples/Makefile.am:
2374 * examples/hildon-pannable-area-example-4.c: Added this example of
2375 an application using the modes.
2377 * src/hildon-marshalers.list: Added a new marshaller for the new
2380 * src/hildon-pannable-area.h: Added new enumerations and flags in
2381 order to control the movement modes and the new signals to warn
2382 about the movements in the area.
2384 * src/hildon-pannable-area.c:
2385 (hildon_pannable_axis_scroll),
2386 (hildon_pannable_area_scroll),
2387 (hildon_pannable_area_motion_notify_cb),
2388 (hildon_pannable_area_get_property),
2389 (hildon_pannable_area_set_property),
2390 (hildon_pannable_area_map),
2391 (hildon_pannable_area_class_init),
2392 (hildon_pannable_area_init),
2393 (hildon_pannable_area_jump_to): Added the modes to control the
2394 movement in the widget. We have added properties to control it,
2395 signals to warn about the movements and refactored some code.
2397 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2399 Changes required in order to allow vfast_factor set to zero to
2402 * src/hildon-pannable-area.c:
2403 (hildon_pannable_area_button_press_cb): Changed the condition, it
2404 is required for not allowing click when vfast_factor is zero.
2405 (hildon_pannable_area_timeout): Initialized velocity variables
2406 when we stop moving, it was less than 1 but not zero and we need
2407 to check zero in some situations.
2408 (hildon_pannable_area_class_init): Changed the default value of
2409 the speed factor, now the button_press is just sent in case the
2410 speed is 2 per cent of the max speed.
2411 (hildon_pannable_area_init): Initialization with 0.
2413 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2415 * src/hildon-pannable-area.c,
2416 (hildon_pannable_area_get_topmost): replaced
2417 gdk_window_get_children with gdk_window_peek_children, this way we
2418 do not have to free the list because it is not a copy.
2420 (hildon_pannable_axis_scroll),
2421 (hildon_pannable_area_scroll),
2422 (hildon_pannable_area_timeout),
2423 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2424 two parameters that were only used inside the
2425 hildon_pannable_area_scroll function.
2427 * examples/hildon-pannable-area-example.c,
2428 (get_sawtooth_label): Fixed small memory leak.
2430 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2432 More checks for the case where the overshoot is bigger than the
2435 * src/hildon-pannable-area.c:
2436 (hildon_pannable_draw_vscroll),
2437 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2438 to draw the slider of the scrollbar under the other scrollbar.
2439 (hildon_pannable_area_expose_event): added new checks to control
2440 the drawing of the overshooting area rectangle, in case it is too
2441 big for the area of the widget.
2442 (hildon_pannable_area_size_allocate): add more checks to avoid
2443 setting a position to the child widget outside the area.
2445 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2447 * src/hildon-pannable-area.c
2448 (hildon_pannable_area_size_allocate): Added conditions to control
2449 when overshooting is bigger than the allocated space for the
2450 children, this avoids negative allocations.
2452 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2454 * doc/hildon-docs.sgml
2456 * examples/Makefile.am
2457 * examples/hildon-button-example.c
2459 * src/hildon-button.c
2460 * src/hildon-button.h
2461 * src/hildon.h: Initial version of the new HildonButton widget,
2464 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-pannable-area.c:
2467 (hildon_pannable_area_button_press_cb),
2468 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2469 (hildon_pannable_area_motion_notify_cb),
2470 (hildon_pannable_area_button_release_cb),
2471 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2472 (hildon_pannable_area_jump_to_child):
2474 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2476 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2478 * examples/Makefile.am
2479 * examples/hildon-pannable-area-touch-grid-example.c
2480 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2481 the Hildon Touch List and Hildon Touch Grid using the
2482 HildonPannableArea widget.
2484 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2486 * src/hildon-pannable-area.c,
2487 (hildon_pannable_area_button_press_cb),
2488 (hildon_pannable_area_refresh),
2489 (hildon_pannable_area_scroll),
2490 (hildon_pannable_area_motion_notify_cb),
2491 (hildon_pannable_area_button_release_cb),
2492 (hildon_pannable_area_expose_event),
2493 (hildon_pannable_area_add),
2494 (hildon_pannable_area_remove),
2495 (hildon_pannable_area_realize),
2496 (hildon_pannable_area_size_allocate),
2497 (hildon_pannable_area_class_init),
2498 (hildon_pannable_area_init),
2499 (hildon_pannable_area_scroll_to_child),
2500 (hildon_pannable_area_jump_to_child): Fixed the problem of
2501 removing the child from the GtkBin, we have rearranged the widget
2502 hierarchy, now there is no GtkAlignment which was not doing
2503 anything interesting but breaking some of the assumptions of
2504 GtkContainer. Now developers if they want to add a GtkAlignment
2505 they could, but it is not inside the area.
2507 We had to review the whole allocation/expose process, now it is
2508 improved and we save at least three signals which would be saving
2509 some time when rendering the widget. The allocation of the
2510 scrollbars is now made in the allocate method as usual.
2512 We have also added some conditions in order to control when there
2513 is no child of the pannable area. Maybe we will need more work
2516 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2518 * src/hildon-pannable-area.c,
2519 (hildon_pannable_area_dispose): Released the fade-out timeout when
2520 disposing the widget.
2522 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2524 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2525 zero, we are going to use that property in order to deactivate the
2527 (hildon_pannable_axis_scroll),
2528 (hildon_pannable_area_size_allocate): Added conditions to control
2529 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2530 call, now it is called in all situations and we can remove calls
2531 in the allocate method.
2532 (hildon_pannable_area_map): Control the situation when
2533 overshoot_max is zero, we do not need the timeout.
2534 (hildon_pannable_area_class_init): Added documentation in order to
2535 point out that setting zero to overshoot_max means deactivate
2538 NOTE: removed trailing whitespaces from my previous comments of
2541 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-pannable-area.c
2544 (hildon_pannable_area_get_property),
2545 (hildon_pannable_area_set_property),
2546 (hildon_pannable_area_map),
2547 (hildon_pannable_area_class_init),
2548 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2549 to cause the widget give a hint about its panning abilities upon
2552 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2554 * src/hildon-pannable-area.c: Several documentation improvements.
2556 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2558 * src/hildon-program.c
2559 * src/hildon-stackable-window.c: Update documentation.
2561 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2563 * src/hildon-stackable-window.c (get_previous_window_if_last):
2564 Renamed get_last_window()
2565 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2566 (hildon_stackable_window_unset_program):
2568 (get_previous_window_if_last):
2569 Detect if the window hasn't been added to a HildonProgram.
2571 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2573 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-pannable-area.c
2576 (hildon_pannable_area_button_press_cb),
2577 (hildon_pannable_axis_scroll),
2578 (hildon_pannable_area_scroll),
2579 (hildon_pannable_area_timeout),
2580 (hildon_pannable_calculate_vel_factor),
2581 (hildon_pannable_area_get_property),
2582 (hildon_pannable_area_set_property),
2583 (hildon_pannable_area_class_init),
2584 (hildon_pannable_area_init),
2585 (hildon_pannable_area_scroll_to),
2586 (hildon_pannable_area_jump_to),
2587 (hildon_pannable_area_scroll_to_child),
2588 (hildon_pannable_area_jump_to_child):
2589 * src/hildon-pannable-area.h: Added the new API functions:
2590 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2591 hildon_pannable_area_scroll_to_child,
2592 hildon_pannable_area_jump_to_child
2595 * examples/Makefile.am
2596 * examples/hildon-pannable-area-example-2.c
2597 * examples/hildon-pannable-area-example-3.c: Added these two new
2598 examples in order to test and show how the new APIs work.
2600 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2602 * examples/hildon-stackable-window-example.c (new_window):
2603 * src/Makefile.am (noinst_HEADERS):
2604 * src/hildon-program.c (hildon_program_go_to_root_window):
2605 * src/hildon-program.h:
2606 * src/hildon-stackable-window-private.h:
2607 * src/hildon-stackable-window.c:
2608 * src/hildon-stackable-window.h:
2609 Create hildon-stackable-window-private.h
2610 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2612 * examples/hildon-app-menu-example.c (create_menu):
2613 * examples/hildon-hvolumebar-insensitive-example.c (main):
2614 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2615 * examples/hildon-toolbar-seekbar-example.c (main):
2616 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2617 * src/hildon-banner.c (hildon_banner_set_property):
2618 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2619 Fix compilation warnings
2621 * src/hildon-window.c:
2624 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-stackable-window.c
2627 (hildon_stackable_window_unset_program):
2628 Calculate correctly whether to show the previous window if the
2629 last one is removed from the stack.
2630 (hildon_stackable_window_go_to_root_window):
2631 Send delete events starting from the topmost window.
2632 Stop if one of the windows is not destroyed.
2634 (hildon_stackable_window_delete_event)
2635 (hildon_stackable_window_class_init):
2636 Ignore the delete event if the window is not the topmost one.
2638 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c
2641 (hildon_pannable_area_expose_event): Fixed a problem when
2642 selecting the background color of the scrollbars.
2644 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2646 * examples/hildon-stackable-window-example.c
2647 * src/hildon-stackable-window.c
2648 * src/hildon-stackable-window.h
2649 hildon_stackable_window_go_home() renamed to
2650 hildon_stackable_window_go_to_root_window()
2651 Send delete events to windows rather than closing them with
2652 gtk_widget_destroy()
2654 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-pannable-area.c
2657 (hildon_pannable_area_button_release_cb): Fix overshooting in
2660 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/hildon-pannable-area.c
2663 (hildon_pannable_area_init): Initially show the scroll indicators.
2664 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2666 Add initial effect showing the widget is pannable.
2668 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-pannable-area.c
2671 (hildon_pannable_area_class_init)
2672 (hildon_pannable_area_set_property)
2673 (hildon_pannable_area_get_property)
2674 (hildon_pannable_area_button_press_cb):
2675 New 'velocity_fast_factor' property to decide which velocity is
2678 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-pannable-area.c
2681 (hildon_pannable_draw_hscroll)
2682 (hildon_pannable_draw_vscroll):
2683 Use float variables to calculate the size of the scrollbars to
2684 avoid error propagation and resizing during scrolling.
2686 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2688 * src/hildon-pannable-area.c
2689 (hildon_pannable_draw_vscroll)
2690 (hildon_pannable_draw_hscroll):
2691 Define a minimum size for the scroll bars
2693 * src/hildon-stackable-window.c
2694 (hildon_stackable_window_go_home): Fix compilation warning
2695 (get_last_window): Minor optimizations
2696 (hildon_stackable_window_class_init): Fix initialization of
2699 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-stackable-window.c: Fixed typos in doc
2703 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-pannable-area.c
2706 (hildon_pannable_area_scroll):
2707 Calculate here whether we need to scroll instead of using the booleans
2708 that tell us whether to /draw/ the scrolling bars.
2710 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-app-menu.h
2714 * src/hildon-app-menu.c
2715 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2716 multiple filter groups related code and API. Now we support only
2718 * examples/hildon-app-menu-example.c:
2720 Update to reflect API changes.
2722 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-stackable-window.c
2725 (hildon_stackable_window_class_init):
2726 Add hildon_stackable_window_realize.
2727 (hildon_stackable_window_realize):
2728 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2729 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2730 to apply theming and behavior specific to HildonStackableWindow
2733 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-note.c (hildon_note_button_release):
2736 Close information notes also when tapping on them
2738 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2740 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2741 ELASTICITY, refactor and review, fix some issues with drawing
2744 * src/hildon-pannable-area.c:
2745 (hildon_pannable_area_button_press_cb): removed the conditions to
2746 avoid clicks when overshooting. It is not required
2748 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2749 define. Refatored and reviewed the code, now we do not need to
2750 manage velocity in motion_notify.
2752 (hildon_pannable_area_motion_notify_cb): We have moved the code
2753 that controls the area_scroll to the axis_scroll function and get
2754 rid of duplicated code.
2756 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2758 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2760 (hildon_pannable_draw_vscroll),
2761 (hildon_pannable_draw_hscroll): Fixed the problems with the
2762 scrollbar drawing, now we do not use two surfaces, it is easier
2763 and saves resources.
2765 (hildon_pannable_area_get_property): Style modification.
2767 (hildon_pannable_area_class_init): Changed some default values.
2769 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-stackable-window.c: Fix some typos in the
2774 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2776 * src/hildon-dialog.c:
2777 Change indentation style
2780 (hildon_note_button_release):
2781 Use root coordinates to check if the release event happened
2784 * src/hildon-app-menu.c
2785 (hildon_app_menu_button_release):
2786 Remove unnecessary check
2788 * examples/hildon-app-menu-example.c
2790 Add cast to fix warning
2792 * src/hildon-app-menu.c
2793 (hildon_app_menu_class_init):
2794 New inner-border style property.
2795 Set all default spacings to 16
2796 (hildon_app_menu_init):
2797 Use vertical-spacing to set the space between filter buttons and
2798 regular menu buttons.
2799 Set the default container border using the inner-border value.
2801 * examples/hildon-app-menu-example.c
2803 Don't set the menu border explicitly, now we have the inner-border
2804 style property for that.
2806 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-app-menu.c (hildon_app_menu_init):
2809 Make the window modal
2811 * src/hildon-note.c (hildon_note_map)
2812 * src/hildon-app-menu.c (hildon_app_menu_map):
2813 Destroy the grab window if we're unable to grab the pointer
2815 * src/hildon-app-menu-private.h
2816 * src/hildon-app-menu.c
2817 (hildon_app_menu_init, hildon_app_menu_finalize)
2818 (hildon_app_menu_map, hildon_app_menu_unmap)
2819 (hildon_app_menu_button_release)
2820 (grab_transfer_window_get):
2821 Bring back the grab window
2822 (hildon_app_menu_realize):
2823 Decorate the window, set WM hint for Matchbox
2825 * src/hildon-note.c (hildon_note_realize):
2826 * src/hildon-banner.c (hildon_banner_realize):
2827 Add WM hints for Matchbox
2829 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-app-menu-private.h
2832 * src/hildon-app-menu.c
2833 (hildon_app_menu_init, hildon_app_menu_finalize)
2834 (hildon_app_menu_map, hildon_app_menu_unmap)
2835 (hildon_app_menu_button_release):
2836 Remove the grab window, it's not needed anymore
2838 * src/hildon-program.c
2839 Fixed typo in documentation
2841 * src/hildon-app-menu.h
2842 * src/hildon-app-menu.c
2843 * examples/hildon-app-menu-example.c
2844 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2846 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2849 Added new transfer_window and close_if_pressed_outside private
2851 (hildon_note_rebuild):
2852 Don't add a cancel button to the information note. It will be
2853 closed when tapping outside
2854 Remove the comment about the OK button in the documentation
2855 (hildon_note_realize):
2856 Set the notification type hint
2857 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2858 Grab/ungrab pointer and keyboard if the note has to be closed when
2860 (hildon_note_button_release):
2861 Close the note when tapping outside (if applicable)
2863 * src/hildon-app-menu.c
2864 Grab/ungrab pointer and keyboard on map/unmap
2865 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2866 Close the menu on button release, not button press
2868 * src/hildon-banner.c
2869 (hildon_banner_set_property)
2870 (hildon_banner_check_position):
2871 Make the banner use the full width of the screen
2872 (hildon_banner_show_information)
2873 (hildon_banner_show_information_with_markup):
2874 Don't display an icon by default
2876 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2878 Added fading scrollbars and adapted all the overshooting code to
2879 horizontal scrolling. We have also fixed bugs with overshooting
2880 and current fading implementation.
2882 * src/hildon-pannable-area.c
2883 (hildon_pannable_area_scroll_indicator_fade): Time out function
2884 used to change the transparency of the scrollbars.
2886 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2887 control and fixed a problem with fading, we now remove the fade
2888 timeout before adding a new one.
2890 (hildon_pannable_axis_scroll):
2891 (hildon_pannable_area_scroll):
2892 (hildon_pannable_area_timeout): Added this functions so we can use
2893 the scroll code both for vertical and horizontal.
2895 (hildon_pannable_area_motion_notify_cb):
2896 (hildon_pannable_area_button_release_cb): Added the horizontal
2897 scrolling control, fixed a problem with the overshooting timeout.
2899 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2900 painting of the scrolls.
2902 (hildon_pannable_draw_vscroll):
2903 (hildon_pannable_draw_hscroll):
2904 (hildon_pannable_area_expose_event):
2905 Draw both scrollbars and rectangles in the overshooting area.
2907 (hildon_pannable_area_get_property):
2908 (hildon_pannable_area_set_property):
2909 Modified the overshoot property to overshoot_max
2911 (hildon_pannable_area_map):
2912 Replaced the comments symbols.
2914 (hildon_pannable_area_size_allocate):
2915 (hildon_pannable_area_class_init):
2916 (hildon_pannable_area_init): Added horizontal scroll, fading
2917 effect properties, fixed a problem when overshooting in the bottom
2920 * examples/hildon-pannable-area-example.c:
2921 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2922 looks better in the example.
2924 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-window.c
2927 * src/hildon-window.h
2928 (hildon_window_class_init)
2929 (hildon_window_unset_program)
2930 (hildon_window_unset_program_real):
2931 Make unset_program a virtual function
2933 * src/hildon-stackable-window.c
2934 * src/hildon-stackable-window.h
2935 Added hildon_stackable_window_go_home()
2937 * examples/Makefile.am
2938 * examples/hildon-stackable-window-example.c
2939 HildonStackableWindow example
2941 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2943 * hildon-pannable-area.c: Added the overshoot property and removed
2944 the OVERSHOOT define. Fixed an indent style error.
2945 (hildon_pannable_area_motion_notify_cb):
2946 (hildon_pannable_area_get_property):
2947 (hildon_pannable_area_set_property): Add overshoot property.
2949 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2952 (hildon_pannable_area_class_init): Installed the new property.
2954 * hildon-pannable-area-example.c: Added a sawtooth function, this
2955 way it is easier to check the movement in the pannable.
2956 (get_sawtooth_label): Added this function.
2957 (main): Now we get the labels from the new get_sawtooth_label
2960 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-app-menu.h
2963 * src/hildon-app-menu.c
2964 Renamed API variables for consistency
2966 (hildon_app_menu_popup): Use also the default window size to
2967 decide where to place the menu
2969 (hildon_app_menu_init, hildon_app_menu_class_init): New
2970 external-border style property
2972 2008-05-26 Michael Natterer <mitch@imendio.com>
2974 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2975 widget_class->tap_and_hold_setup signal slot doesn't exist any
2976 longer, stop overriding it.
2978 (hildon_time_editor_init): g_signal_connect() to the
2979 tap-and-hold-setup signal instead.
2981 (hildon_time_editor_entry_keypress): add cast to fix warning.
2983 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2985 * doc/hildon-docs.sgml
2987 * examples/Makefile.am
2988 * examples/hildon-app-menu-example.c
2990 * src/hildon-app-menu-private.h
2991 * src/hildon-app-menu.c
2992 * src/hildon-app-menu.h
2994 New HildonAppMenu widget
2996 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2998 Rearranged the inheritance of the pannable area, now it inherits
2999 from GtkBin. This will allow us to control the event_window and
3000 the allocation process of the widget, required for some effects.
3002 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3003 GtkBin structures. * src/hildon-pannable-area.c: Added the
3004 event_window variable.
3005 (hildon_pannable_area_button_press_cb):
3006 (hildon_pannable_area_button_release_cb):
3007 (hildon_pannable_area_motion_notify_cb):
3008 Changed the signature of the method, now we override the event
3009 callback instead of connecting to the signal.
3011 (hildon_pannable_area_realize):
3012 (hildon_pannable_area_unrealize):
3013 (hildon_pannable_area_map):
3014 (hildon_pannable_area_unmap):
3015 (hildon_pannable_area_size_allocate):
3016 Added functions to control the widget construction. We add a
3017 INPUT_ONLY window and we put it over the widgets inside the
3018 container, this event_window handles the events.
3020 (hildon_pannable_area_class_init):
3021 Replaced the signal connections with overrides of the event
3024 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3026 Bouncing effect added when touching the borders, you can change
3027 the elasticity of the border changing the ELASTICITY define.
3029 * src/hildon-pannable-area.c: Added ELASTICITY define.
3030 (hildon_pannable_area_timeout): Added inverse velocity when
3031 touching the border of the child widget, that causes a bounce.
3033 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3035 Improved performance, we now do not go to the X server in order to
3036 get the list of window children. Apparently the effect is the
3037 same, we have to be careful and check if this breaks something in
3040 * src/hildon-pannable-area.c:
3041 (get_ordered_children): Removed this function.
3042 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3043 the children windows function with gdk_window_get_children.
3045 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3047 * src/hildon-pannable-area.c:
3048 (hildon_pannable_area_dispose): Fixed a crash when closing the
3049 window and kinetics is activated.
3051 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-pannable-area.h
3054 * src/hildon-pannable-area.c
3055 Changed indentation style to meet the one used in Hildon
3057 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3059 Reviewed the interaction of the AUTO mode, now we use the time
3060 attribute of the events and calculate the velocity in the motion,
3061 doing a gimp like calculation. The velocity is calculated in each
3062 motion event using the last velocity and the current one, the
3063 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3065 * src/hildon-pannable-area.c: Replaced the time based algorithm
3067 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3068 timeout for the AUTO mode when we are still moving the cursor. We
3069 added also the velocity calculation in this function.
3070 (hildon_pannable_area_button_release_cb): launch the timeout in
3071 case we are in AUTO mode. There are still some constants here that
3072 come from the old implementation that should be reviewed and
3075 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3077 * doc/hildon-docs.sgml
3080 * src/hildon-stackable-window.c
3081 * src/hildon-stackable-window.h
3083 New HildonStackableWindow widget
3085 * examples/hildon-dialog-example.c
3086 * examples/hildon-pannable-area-example.c
3089 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-dialog.c
3092 (hildon_dialog_new_with_buttons): New constructor.
3094 * examples/hildon-dialog-example.c
3095 (main): Update the example to use the new
3096 hildon_dialog_new_with_buttons().
3098 * examples/hildon-pannable-area-example.c
3099 (main): Update example.
3101 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3103 * doc/hildon-docs.sgml
3105 Added HildonPannableArea to the documentation.
3107 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3109 * doc/visual_index.xml
3110 Fix reference to HildonLoginDialog in documentation
3112 * doc/hildon-docs.sgml
3114 * examples/Makefile.am
3115 * examples/hildon-dialog-example.c
3117 * src/hildon-dialog.c
3118 * src/hildon-dialog.h
3120 New HildonDialog widget.
3122 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3124 * src/hildon-pannable-area.c
3125 Merge latest changes (r4318, r4342) from libmokoui trunk
3127 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3129 * examples/Makefile.am
3130 * examples/hildon-pannable-area-example.c
3132 * src/hildon-pannable-area.c
3133 * src/hildon-pannable-area.h
3135 New HildonPannableArea widget.
3137 2008-04-15 18:05:19 <timj@imendio.com>
3139 * src/hildon-banner.c: revert the recent change, that introduced
3140 gtk_window_present() calls. this reopens:
3141 Bug 78481 - [freetest] information banners are hidden under browser menu
3142 But resolves another variant of:
3143 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3145 2008-04-15 13:21:13 <timj@imendio.com>
3147 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3148 recreated its layout, spotted by Kris. this fixes all remaining
3149 artefacts and stability issues with the banner code. in particular:
3150 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3152 2008-04-14 16:52:59 <timj@imendio.com>
3154 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3155 operating on unrealized widgets, fixes:
3156 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3158 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3160 2008-04-09 Kristian Rietveld <kris@imendio.com>
3162 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3163 makes banner disappear.
3164 Fixes: NB#79182: info banner flickering with certain message lengts.
3166 * src/hildon-banner.c (hildon_banner_constructor),
3167 (hildon_banner_init), (hildon_banner_set_text),
3168 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3169 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3170 FALSE, reset size requests of label and banner,
3171 (force_to_wrap_truncated): when the text is too wide, always enforce
3172 the maximum possible width instead of recalculating it from the
3173 layout; enforce the maximum banner height of 3 lines,
3174 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3175 nicer wrapping and no truncated chars if space gets tight.
3177 * src/hildon-banner-private.h: add has_been_wrapped and
3178 has_been_truncated fields.
3180 2008-04-07 Sven Herzberg <sven@imendio.com>
3182 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3183 local values in hildon_date_editor_size_allocate
3185 * src/hildon-date-editor.c: moved the real allocation code into the
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: merged the two if() branches together
3195 2008-04-07 Sven Herzberg <sven@imendio.com>
3197 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3198 local values in hildon_date_editor_size_allocate
3200 * src/hildon-date-editor.c: changed the arguments of the if()
3203 2008-04-07 Sven Herzberg <sven@imendio.com>
3205 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3206 local values in hildon_date_editor_size_allocate
3208 * src/hildon-date-editor.c: split the calculation of the allocation
3209 from the real allocation
3211 2008-03-27 Michael Natterer <mitch@imendio.com>
3213 Fixes: NB#81696: The passcode is not overwritten even after
3216 * src/hildon-code-dialog.c
3217 (hildon_code_dialog_button_clicked)
3218 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3219 because that doesn't overwrite selected text. Instead, emit the
3220 "commit" signal on the entry's im_context so the entry's normal
3221 insert logic is triggered. Set the cursor to the end of the entry
3222 after each insert operation so that we *only* insert in the middle
3223 of the text if something was selected.
3225 2008-03-27 Michael Natterer <mitch@imendio.com>
3227 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3228 selector cannot be opened
3230 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3231 when the popup color selector is created. Please connect to this
3232 signal in order to set the dialog's help ID.
3234 2008-03-25 Sven Herzberg <sven@imendio.com>
3236 Fixes: MB#1212: Hide info banners (infoprints) on click
3238 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3239 extracted the close event simulation into an extra function
3240 (hildon_banner_button_press_event): simulate a close event and destroy
3241 the widget if the event wasn't handled
3242 (hildon_banner_class_init): added the button_press_event handler
3243 (hildon_banner_init): added button-press events to the widget
3245 2008-03-25 Sven Herzberg <sven@imendio.com>
3247 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3248 Patch from: Mohammad Anwari <mdamt@maemo.org>
3250 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3251 instead of the right in RTL mode
3252 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3253 breadcrumb button list in RTL mode
3254 * src/hildon-caption.c: mirror the appearance of the caption widget in
3256 * src/hildon-date-editor.c: mirror appearance of the date editor in
3258 * src/hildon-time-editor.c: mirror appearance of the time editor in
3260 * src/hildon-window.c: fix the position of the popup in RTL mode
3262 2008-03-25 Sven Herzberg <sven@imendio.com>
3264 Amendment to the fix of NB#22072. Fix compilation.
3266 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3268 2008-03-19 Sven Herzberg <sven@imendio.com>
3270 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3273 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3274 timeout id properly when the timeout will disappear this leaves no
3275 artifacts around in the destroy(); there will only be the timeout
3276 created by hildon_banner_ensure_timeout() and adding a new timeout
3277 will also work if the timeout gets removed because the timeout_handler
3280 2008-03-19 Michael Natterer <mitch@imendio.com>
3282 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3284 * src/hildon-volumebar.c
3285 * src/hildon-vvolumebar.c
3286 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3287 the widget becomes focussable at all.
3289 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3290 set the focus to wither the mute button or the volumebar.
3292 Remove own "can-focus" property and instead listen to
3293 notify::can-focus in order to update the widget's state.
3295 Implement GtkWidget::focus() and make sure we can also *leave* the
3296 widget, not only enter it, depending on volumebar orientation and
3297 requested focus direction.
3299 Clean up set_mute() to cooperate nicely with all the above.
3301 2008-03-04 Michael Natterer <mitch@imendio.com>
3303 Fixes: NB#78481: information banners are hidden under browser menu
3305 * src/hildon-banner.c: call gtk_window_present() on the banners so
3306 they are risen if they are already visible.
3308 2008-03-03 Sven Herzberg <sven@imendio.com>
3310 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3312 * examples/hildon-window-menu-example.c: (main): extended the window
3313 menu example to serve as a testcase for automatically added
3314 accelerator groups, too
3315 * src/hildon-window.c: (hildon_window_add_accel_group),
3316 (hildon_window_set_menu): added patch by Tommi Komulainen
3318 2008-03-03 Sven Herzberg <sven@imendio.com>
3320 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3322 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3323 knowledge about the border allocators used within GTK+
3325 2008-02-26 Sven Herzberg <sven@imendio.com>
3327 Fixes: MB#2981: Build with asserts broken
3329 * src/hildon-date-editor.c,
3330 * src/hildon-number-editor.c,
3331 * src/hildon-time-editor.c,
3332 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3333 the proper GType instance check
3335 2008-02-25 Sven Herzberg <sven@imendio.com>
3337 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3339 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3340 * examples/hildon-window-menu-example.c: (main): explicitly show
3342 * src/hildon-window.c:
3343 (hildon_window_set_main_menu): moved most of the code from set_menu()
3344 to this place; skipped the call to gtk_widget_show_all(); also didn't
3345 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3346 (hildon_window_set_menu): removed most of the code, just keep the
3347 questionable gtk_widget_show_all()
3348 * src/hildon-window.h: added the new function and deprecate the old
3351 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3357 * debian/changelog: Updating.
3359 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3362 * pkgconfig/Makefile.am:
3363 * pkgconfig/hildon.pc.in:
3366 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3367 use newly created API_MAJOR_VERSION.
3369 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3375 * debian/changelog: Updating.
3377 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3379 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3381 Add outer_border style property, we use it but don't define it (!).
3385 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3387 * examples/hildon-bread-crumb-trail-example.c (main):
3391 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3393 Fix logic for the bread crumb trail node removal.
3397 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3403 * debian/changelog: Updating.
3405 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3407 Patch by Alejandro to get/set passwords dialogs accesibility.
3409 * hildon-1/src/hildon-get-password-dialog.c:
3410 * hildon-1/src/hildon-set-password-dialog.c:
3411 Set atk_set_name to the passwd entries in order to allow
3412 accessibility by name on this entries.
3414 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3419 * debian/control: Updating gtk dep.
3421 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3423 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3424 USE_MAEMO_GTK is enabled.
3426 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3428 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3429 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3431 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3437 * debian/changelog: Updating.
3439 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3441 * examples/Makefile.am:
3442 * examples/hildon-logical-color-example.c:
3443 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3444 applied + adding a test case. Fixes: NB#71660.
3446 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3448 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3449 to be visible, fixes warning on map for windows without toolbars.
3451 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3453 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3454 2.11.0, add a check for that besides the MAEMO_GTK check.
3456 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3462 * debian/changelog: Updating.
3464 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3466 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3467 visibility. Fixes: NB#70842 and MB#615.
3469 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3471 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3472 set the separator as no-show-all so it doesn't unintentionally appear when
3473 someone does a show_all.
3475 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3477 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3478 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3479 toplevel item. Fixes: NB#62031
3481 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3483 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3484 fix the name of the function in the docs.
3486 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3492 * debian/changelog: Updating.
3494 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3496 * examples/hildon-banner-long-example.c: Adding a test-case for long
3499 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3501 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3503 * src/hildon-color-chooser-dialog.c:
3504 * src/hildon-color-chooser.c:
3505 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3506 memory leaks in font selector and color selector. Fixes: NB#70499 and
3509 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3511 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3513 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3515 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3516 little bit bigger. Fixes: #NB63694.
3518 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3524 * debian/changelog: Updating.
3526 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3529 * doc/hildon-docs.sgml:
3530 * doc/images/bread-crumb-trail.png:
3531 * doc/images/calendar-popup.png:
3532 * doc/images/caption.png:
3533 * doc/images/code-dialog.png:
3534 * doc/images/color-button.png:
3535 * doc/images/color-chooser-dialog.png:
3536 * doc/images/color-chooser.png:
3537 * doc/images/controlbar.png:
3538 * doc/images/date-editor.png:
3539 * doc/images/font-selection-dialog.png:
3540 * doc/images/get-password-dialog.png:
3541 * doc/images/hvolumebar.png:
3542 * doc/images/login-dialog.png:
3543 * doc/images/note.png:
3544 * doc/images/number-editor.png:
3545 * doc/images/range-editor.png:
3546 * doc/images/seekbar.png:
3547 * doc/images/set-password-dialog.png:
3548 * doc/images/sort-dialog.png:
3549 * doc/images/time-editor.png:
3550 * doc/images/time-picker.png:
3551 * doc/images/vvolumebar.png:
3552 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3553 Adding the bread-crumb-trial and helpers to the documentation.
3555 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3557 * examples/hildon-find-toolbar-example.c:
3558 * src/hildon-find-toolbar.c:
3559 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3560 actually continue firing the other handlers if connected. Adding a new
3562 hildon_find_toolbar_get_last_index that gets the index of the most
3563 recently added (last) item. Fixes: NB#52301.
3565 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3567 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3568 behaviour. Fixes: NB#68610.
3570 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3572 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3575 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3577 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3578 when realizing the banner. Should make the infonbanner effect a bit more
3581 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3583 * src/hildon-volumebar.c:
3584 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3585 hildon_volumebar_set_range_insensitive_message and
3586 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3588 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3590 * src/hildon-window.c: Fixing the border freeing on destroy.
3592 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3594 * src/hildon-code-dialog-private.h:
3595 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3596 kw keyboard support in HildonCodeDialog.
3598 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3604 * debian/changelog: Updating.
3606 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3608 * src/hildon-date-editor.c:
3609 * src/hildon-number-editor.c:
3610 * src/hildon-private.c:
3611 * src/hildon-private.h:
3612 * src/hildon-time-editor.c:
3613 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3614 handling in subclassed composite widgets. Fixes: NB#66628.
3616 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3618 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3619 from destroy_ callback as it introduces problems in async dbus signal
3620 handlers. Fixes NB#66673.
3622 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3624 * examples/hildon-hvolumebar-example.c:
3625 * src/hildon-volumebar.c: Improving the focus handling in the
3626 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3627 set_property accessor so that "mute" property can be actually set. I'm
3628 scared that nobody noticed it's totally broken.
3630 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3632 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3635 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3637 * src/hildon-calendar.c:
3638 * src/hildon-number-editor.c:
3639 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3640 matches the spec of 6 chars per second. Fixes: NB#60489.
3642 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3644 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3645 gtk_style_lookup_color sometime returns FALSE even though color was
3646 found and values were filled properly. Weird. Removing the warning for the
3649 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3651 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3652 expand vertically. Adding some extra space to the find toolbar buttons to
3653 make them thumbable. Fixes NB#66060.
3655 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3657 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3658 popup with "Ok" and "Cancel". Fixes NB#59299.
3660 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3662 * src/hildon-calendar.c: Process all window updates before executing next
3663 timeout. Fixes: NB#54146.
3665 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3671 * debian/changelog: Updating.
3673 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3675 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3676 the client event and ignore it, since we use the delete event to close
3679 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3681 * src/hildon-helper.c: Remove the bogus warning about color not being
3682 found. Fixes NB#58352.
3684 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3686 * examples/Makefile.am:
3687 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3688 HildonSeekbar widget inside a toolbar.
3690 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3692 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3693 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3694 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3695 don't want to be closed by non-temporary windows on map.
3697 Also use G_DEFINE_TYPE instead of manually typed code.
3699 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3706 * debian/rules: Updating.
3708 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3710 * examples/Makefile.am:
3711 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3712 bug NB#61128. Strangely it works.
3714 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3716 * src/hildon-date-editor.c: When the date editor entry has been changed
3717 but the numbers of characters < max, turn off the skip validation flag.
3718 Prevents a situation when we enter first a valid year and later re-write
3719 it with an invalid one. Fixes NB#60154.
3721 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3723 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3724 code dialog. Fixes NB#64355.
3726 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3728 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3729 switching the page. Fixes NB#49374.
3731 * examples/Makefile.am:
3732 * examples/hildon-wizard-dialog-example.c: Adding an example for
3733 HildonWizardDialog that shows how to handle manual sensitivity setting on
3736 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3740 * src/hildon-version.h.in:
3741 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3743 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3745 * src/hildon-volumebar.c: Updating the docs.
3747 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3753 * debian/changelog: Updating.
3755 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3757 * src/hildon-find-toolbar.c:
3758 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3759 selected item: hildon_find_toolbar_set_active,
3760 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3761 hildon_find_toolbar_get_active_iter . They correspond to respective
3762 GtkComboBox functions.
3764 * examples/Makefile.am:
3765 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3768 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3770 * examples/Makefile.am:
3771 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3774 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3775 when font size > 32 and we pack a focusable widget inside. Actually using
3776 the default response would work too, but since we don't show default
3777 response state in any way (no theming) it would not be visible to the
3778 user. Fixes NB#63430.
3780 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3782 * src/hildon-date-editor.c: Adding the missing variable setter in the
3783 set_property handler. Fixes NB#54182.
3785 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3787 * src/hildon-window.h: Changing the long key press time from 1500ms to
3788 800ms as requested in NB#63700. I have a bad feeling about this, let's
3789 see... Fixes NB#63700.
3791 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3793 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3794 hildon_time_picker_map, hildon_time_picker_realize,
3795 hildon_time_picker_style_set): Split the contents of map to more
3796 appropriate functions; set window decorations on realize and update
3797 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3799 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3804 * debian/changelog: Updating.
3806 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3808 * src/Makefile.am: fixed installation of the header files
3810 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3816 * debian/changelog: Updating.
3818 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3820 * configure.ac: Removing some remaining of --enable-xan.
3822 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3824 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3825 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3827 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3828 2.10.12-osso6 because the move-focus signal needs to be available in
3831 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 * examples/Makefile.am:
3834 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3835 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3836 fine. Prolly NB#61128 is fixed now.
3838 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3840 * src/hildon-volumebar.c:
3841 * src/hildon-volumebar.h: Adding the
3842 hildon_volumebar_set_range_insensitive_message and
3843 hildon_volumebar_set_range_insensitive_messagef functions to set
3844 insensitive message on the slider of the volumebar. Fixes NB#61129.
3846 * examples/Makefile.am:
3847 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3848 test the new insensitive messsage functionality on HildonVolumebar.
3850 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3852 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3855 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3857 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3858 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3859 button on after clearing the trail.
3861 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3863 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3865 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3867 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3868 by splitting the installed headers in generated and non-generated groups. Use
3869 only the non-generated headers to create the hildon-enum-types.h file.
3871 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3873 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3875 * src/hildon-window.c: Hide the window before performing the destroy.
3876 Should make the app closing a little tiny bit more snappy.
3878 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3880 * src/hildon-seekbar.c: add gtkrange.h header
3881 * src/hildon-caption.c: remove unused variable
3883 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3885 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3888 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3894 * debian/changelog: Updating.
3896 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3898 * src/hildon-window.c (hildon_window_window_state_event,
3899 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3900 escape timeout on focus-out-event rather than notify::is-topmost; the
3901 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3903 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3905 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3906 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3908 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3910 * src/hildon-window: actually, you need to use the macro always, there's
3911 no private pointer in the instance structure. We should have cleaned this up
3912 when we had the chance...
3914 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3916 * src/hildon-window.c: do not get the private date from HildonWindow before
3917 it passes the g_return_if_fail check. Once it's passed the test, there's no
3918 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3919 if you are only going to access the data once. Whitespace cleanups.
3921 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3923 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3924 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3926 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3932 * debian/changelog: Updating.
3934 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3936 * src/hildon-window.c: When destroying the window, remove (if exists) the
3937 escape timeout handler. Fixes #NB59276.
3939 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3941 * src/hildon-banner.c: When realizing the widget, set the window
3942 transiency. Setting the transiency in the gobject constructor is not
3943 good, as the widget is not realized at that point. Fixes: #NB56624.
3945 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3947 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3948 Add padding for future expansions.
3950 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3952 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3953 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3954 will fake an activation on the previous to the last item of the trail, so
3955 the effect can be overrided by the developer as usual.
3956 Also change the callback for the back button to do the same thing, so its
3957 effect can be overrided too. Fixes: NB#58982
3959 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3961 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3962 HildonCaption. Fixes NB#52379.
3964 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3966 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3967 the internal state of the trail after the user has had the chance of executing
3968 his handler for the signal. Specifically, it may happen that the activated button
3969 is removed and the user still lets the default handler run. This would segfault
3972 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3974 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3975 scrollbar to the preview dialog. Fixes NB#54147.
3977 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3979 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3980 max/min year properties can be altered, so the client can modify it
3981 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3983 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3985 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3986 hildonlike by default. Fixing a problem with disappearing arrows when
3987 scrolling through months and years. Fixes NB#54127.
3989 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3991 * examples/hildon-date-editor-example.c: Adding error callback to the date
3994 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4000 * configure.ac: Updating.
4002 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * configure.ac: Adding a special '--enable-xan' configure option that
4005 turns off the -Werror compilation setting. Usefull for development.
4007 * src/hildon-calendar.c:
4008 * src/hildon-number-editor.c:
4009 * src/hildon-time-picker.c: Adding the 5* multiplier to
4012 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4014 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4015 instead of g_object_ref + gtk_object_sink.
4017 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4023 * debian/changelog: Updating.
4025 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4027 * src/hildon-color-chooser-dialog.c:
4028 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4029 straight from Tommi labs.
4031 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4033 * examples/hildon-finger-example.c: Correcting the header file path.
4035 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4036 the changed signal. Fixes a small memory leak.
4038 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4042 * src/hildon-banner.c: Importing several usefull fixes from the
4043 ubuntu-mobile branch.
4045 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * examples/Makefile.am:
4048 * examples/hildon-finger-example.c: Adding a finger-checking code
4051 * src/hildon-font-selection-dialog.c: Do not allocate the color
4052 structure using the g_new. Fixes NB#54061.
4054 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * src/hildon-helper.c: Correcting tabs in file.
4058 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4060 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4061 control the visibility of the children.
4063 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4065 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * debian/changelog: Updating.
4073 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4075 * src/hildon-bread-crumb-trail.c:
4076 (hildon_bread_crumb_trail_size_allocate):
4078 Make the back button always a square.
4080 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4082 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4083 from the .c file as it's a private file.
4085 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4087 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4088 uses slightly bigger height.
4090 * src/hildon-font-selection-dialog.c: Adding some checks before
4091 freeing memory in the font selection dialog.
4093 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * src/hildon-font-selection-dialog.c: Adding a small check when
4098 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4099 buttons sensitivity on page switching.
4101 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4103 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4104 internal details of adding a bread crumb to the trail.
4106 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * debian/changelog: Updating.
4114 * src/hildon-bread-crumb-trail.h:
4115 * src/hildon-bread-crumb.h: Changing the API guard to
4116 HILDON_ENABLE_UNSTABLE_API.
4118 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * src/hildon-helper.h: Updating.
4128 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4140 * src/hildon-helper.h: Small fix to make the package actually compile.
4142 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4144 * src/hildon-bread-crumb-trail.h:
4145 * src/hildon-bread-crumb.h:
4147 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4148 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4150 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4152 * examples/hildon-bread-crumb-trail-example.c:
4154 * src/hildon-bread-crumb-trail.c:
4155 * src/hildon-bread-crumb-trail.h:
4156 * src/hildon-bread-crumb.c:
4157 * src/hildon-bread-crumb.h:
4158 * src/hildon-marshalers.list:
4159 * src/hildon-bread-crumb-widget.c:
4160 * src/hildon-bread-crumb-widget.h:
4162 Slight change in the widget design. The bread crumb trail API is
4163 unchanged, but HildonBreadCrumb is now an interface. A *private*
4164 implementation, hildon-bread-crumb-widget, is provided and used
4165 internally by the trail for the push_text/push_icon functions.
4167 The generic push API is still available, so anyone can implement
4168 and use its own bread crumb widget.
4170 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4172 * debian/rules: Fixing the shlibs.
4174 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * src/hildon-banner.c: Fixing a problem with timed banners having
4177 their parrent destroyed before they are.
4179 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4181 * src/hildon-bread-crumb.c:
4182 * src/hildon-bread-crumb.h:
4184 Make the get_natural_size function a vfunc.
4186 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4188 * src/hildon-bread-crumb.c:
4189 * src/hildon-bread-crumb-trail.c:
4193 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4200 * debian/changelog: Updating for release.
4202 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4204 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4205 don't leak the pango layout.
4207 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4210 * examples/hildon-bread-crumb-trail-example.c:
4214 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4216 * debian/changelog: Removing the bug-fixed entries that were actually
4217 resolved as WONTFIX.
4219 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4222 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4224 * src/hildon-bread-crumb-trail.c:
4225 * src/hildon-bread-crumb-trail.h:
4226 * src/hildon-bread-crumb.c:
4227 * src/hildon-bread-crumb.h:
4231 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4233 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4234 until it's passed the type check.
4236 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4238 * examples/hildon-bread-crumb-trail-example.c
4242 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4244 * examples/Makefile.am
4245 * examples/hildon-bread-crumb-trail-example.c
4247 * src/hildon-bread-crumb-trail.c
4248 * src/hildon-bread-crumb-trail.h
4249 * src/hildon-bread-crumb.c
4250 * src/hildon-bread-crumb.h
4252 New HildonBreadCrumbTrail widget.
4254 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4256 * src/hildon-range-editor.c (hildon_range_editor_init),
4257 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4258 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4259 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4260 hildon_time_editor_class_init, hildon_time_editor_init),
4261 src/hildon-get-password-dialog.c (invalid_input,
4262 hildon_get_password_set_property, hildon_get_password_get_property,
4263 create_contents, hildon_get_password_dialog_set_max_characters),
4264 src/hildon-set-password-dialog.c (create_contents),
4265 src/hildon-date-editor.c (hildon_date_editor_init),
4266 src/hildon-login-dialog.c (hildon_login_dialog_init),
4267 src/hildon-number-editor.c (hildon_number_editor_init),
4268 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4269 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4270 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4271 configure option and adding the respective checks in the code.
4272 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4273 hildon_calendar_drag_data_received): fixed some build warnings.
4275 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4277 * debian/changelog: A 1.0.0 release notes.