1 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4 is shown in the cancel note.
6 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
8 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
9 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
10 (hildon_seekbar_init): Remove steppers, remove expose event.
11 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
13 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
15 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
18 label font to "SmallSystemFont" for vertically arranged buttons.
20 Fixes: NB#90662 (HildonButton "value" and "detail" text is
23 2008-10-31 Alberto Garcia <agarcia@igalia.com>
25 * src/hildon-check-button.c
26 (hildon_check_button_set_active, hildon_check_button_clicked):
27 Don't access private parts directly, use getters instead.
29 2008-10-31 Alberto Garcia <agarcia@igalia.com>
31 * src/hildon-check-button.c (hildon_check_button_new):
32 Align the contents of the check button to the left.
34 2008-10-30 Alejandro G. Castro <alex@igalia.com>
36 * src/hildon-pannable-area.c,
37 (hildon_pannable_area_scroll_to),
38 (hildon_pannable_area_jump_to),
39 (hildon_pannable_area_scroll_to_child),
40 (hildon_pannable_area_jump_to_child): Replace the mapped
41 precondition of these functions with the realized, it is the
42 correct state of the widget in this case. Changed the
43 documentation according to this modification.
45 2008-10-30 Alejandro G. Castro <alex@igalia.com>
47 Added a new EXTRA_CFLAGS option to add the deprecated define to
48 the compilation command. This way we can avoid using the define in
49 the documentation compilation.
51 * configure.ac: Defined EXTRA_CFLAGS.
53 * examples/Makefile.am:
55 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
57 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
59 * src/hildon-picker-dialog.c:
60 Defined a utility macro with the desired touch selector height
61 Removed currently unused separator, and title_label variables from
63 (hildon_picker_dialog_init): Removed code related to the creation
64 of unused private variables title_label and separator.
65 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
66 to ensure correct visualization of the touch selector inside the dialog.
67 * src/hildon-touch-selector.c
68 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
69 ensure a concrete height of the widget.
71 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
76 Remove spurious whitespaces.
78 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
80 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
81 compilation warning after the cancel button removal.
83 2008-10-30 Alejandro G. Castro <alex@igalia.com>
85 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
87 * configure.ac: Added an AM_CONDITIONAL in order to use in the
88 Makefile.am, that way we can choose not to compile some examples
89 and tests of the deprecated widgets.
91 * examples/Makefile.am: Divided the sources in deprecated and
94 * src/Makefile.am: Added undef statement of the deprecated
95 symbol to the enums file generation process.
97 * src/hildon-color-chooser-dialog.c
98 * src/hildon-color-chooser-dialog.h
99 * src/hildon-color-button.c
100 * src/hildon-color-button.h
101 * src/hildon-color-chooser.c
102 * src/hildon-color-chooser.h
103 * src/hildon-controlbar.c
104 * src/hildon-controlbar.h
105 * src/hildon-date-editor.c
106 * src/hildon-date-editor.h
107 * src/hildon-hvolumebar.c
108 * src/hildon-hvolumebar.h
109 * src/hildon-private.c
110 * src/hildon-private.h
111 * src/hildon-range-editor.c
112 * src/hildon-range-editor.h
113 * src/hildon-seekbar.c
114 * src/hildon-seekbar.h
115 * src/hildon-time-editor.c
116 * src/hildon-time-editor.h
117 * src/hildon-time-picker.c
118 * src/hildon-time-picker.h
119 * src/hildon-volumebar.c
120 * src/hildon-volumebar.h
121 * src/hildon-vvolumebar.c
122 * src/hildon-vvolumebar.h
123 * src/hildon-bread-crumb-trail.h
124 * src/hildon-bread-crumb-trail.c
125 * src/hildon-calendar-popup.c
126 * src/hildon-calendar-popup.h
127 * src/hildon-weekday-picker.c:
128 * src/hildon-weekday-picker.h:
129 * src/hildon-bread-crumb-widget.c:
130 * src/hildon-bread-crumb-widget.h:
131 * src/hildon-bread-crumb.c:
132 * src/hildon-bread-crumb.h:
133 * src/hildon-calendar.c:
134 * src/hildon-calendar.h:
135 * src/hildon-caption.c:
136 * src/hildon-code-dialog.c:
137 * src/hildon-code-dialog.h:
138 * src/hildon-font-selection-dialog.c:
139 * src/hildon-font-selection-dialog.h:
140 * src/hildon-get-password-dialog.c:
141 * src/hildon-get-password-dialog.h:
142 * src/hildon-login-dialog.c:
143 * src/hildon-login-dialog.h:
144 * src/hildon-number-editor.c:
145 * src/hildon-number-editor.h:
146 * src/hildon-set-password-dialog.c:
147 * src/hildon-set-password-dialog.h:
148 * src/hildon-sort-dialog.c:
149 * src/hildon-sort-dialog.h: This is the list of deprecated
152 * src/hildon-touch-selector.c:
153 * src/hildon-window.c: Added undef statement to avoid compilation
156 * tests/Makefile.am: Divided the sources in deprecated and
159 * tests/check_test.c,
160 (configure_tests): Marked the deprecated code that was adding
161 suites with deprecated tests.
163 Fixes: NB#91135 (Deprecate legacy hildon widgets)
165 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
167 * src/hildon-touch-selector.c: (_default_print_func): Do not
168 duplicate a string returned by gtk_tree_model_get(), it is already
171 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
174 2008-10-28 Alejandro G. Castro <alex@igalia.com>
176 * src/hildon-pannable-area.c
177 (hildon_pannable_area_add_with_viewport): Reviewed the complete
178 method, it had problems when adding a widget with viewport the
179 second time. Now checks if it already has a viewport and uses it.
181 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
184 2008-10-28 Alejandro G. Castro <alex@igalia.com>
186 * src/hildon-pannable-area.c,
187 (hildon_pannable_area_scroll_to),
188 (hildon_pannable_area_jump_to),
189 (hildon_pannable_area_scroll_to_child),
190 (hildon_pannable_area_jump_to_child): Added a precondition to the
191 scroll and jump to functions: the widget must be mapped before we
192 can safely call these functions. We have also added documentation
193 to the functions to explain how to use them in this situation.
196 2008-10-28 Alejandro G. Castro <alex@igalia.com>
198 Reviewed the threading handling of the pannable widget, we have
199 used the gdk_threads_add_timeout function instead of the usual
200 glib handlers. This avoids some problems with the threads.
202 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
203 (hildon_pannable_area_initial_effect),
204 (hildon_pannable_area_scroll_indicator_fade),
205 (hildon_pannable_area_button_press_cb),
206 (hildon_pannable_area_timeout),
207 (hildon_pannable_area_motion_notify_cb),
208 (hildon_pannable_area_button_release_cb),
209 (hildon_pannable_area_scroll_cb),
210 (hildon_pannable_area_scroll_to): Removed the
211 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
212 gdk_threads_add_timeout.
214 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
216 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: bump version
222 * debian/changelog: updates
224 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
226 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
227 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
228 * src/hildon-color-chooser-dialog.c:
229 (hildon_color_chooser_dialog_init):
230 * src/hildon-font-selection-dialog.c:
231 (hildon_font_selection_dialog_init):
232 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
234 Remove all cancel/close-like dialogs, as these are not going to be
237 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
239 * src/hildon-note.c: (hildon_note_rebuild),
240 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
243 Fixes: NB#90661 (Delete dialog is displayed without NO button)
245 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
247 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
248 sure all buttons are shown, even the Cancel/Close-like ones.
250 Fixes: NB#90861 (Custom Confirmation dialogs should be
251 protected from cancel button removal)
253 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
255 * debian/control: Change libhildon1-examples dependency from libhildon1
257 * debian/libhildon1-examples.install
259 * Makefile.am: Modified the final install directory for the examples on
260 package libhildon1-examples
261 * Makefile.static: Update clean target in order to remove all the binary
264 Changes suggested by Claudio after review new libhildon1-examples package
266 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
268 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
269 * src/hildon-touch-selector.c: Ditto.
271 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
273 * debian/control: Added new package libhildon1-examples, in order to pack
274 the current hildon examples as documentation
275 * debian/rules: Not to compress .c files, modify some includes on the
276 examples (as normally are compiled locally, but when installed it will
277 require to include the installed libhildon1 library), and rename
279 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
280 install all the example files on the new example package
281 * examples/Makefile.static: Added static makefile that can be used to
282 compile the examples, once installed the new example package
283 * examples: Most of the examples were modified in order to grant that
284 all use only '#include "hildon.h"', in order to be easy to prepare
285 it on the example package
287 2008-10-23 Alberto Garcia <agarcia@igalia.com>
290 * debian/libhildon1-dev.install
291 * debian/libhildon1-doc.install:
292 Move all gtk-doc files to a separate libhildon1-doc package.
294 2008-10-23 Daniel Borgmann <danielb@openismus.com>
296 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
298 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
300 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
302 * debian/rules: Fixed a error in order to avoid unnecessary calls
303 to autogen.sh on package building
305 2008-10-22 Alberto Garcia <agarcia@igalia.com>
307 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
309 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
311 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
314 2008-10-21 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-picker-button.c
317 (hildon_picker_button_finalize):
318 Free priv->done_button_text
320 * src/hildon-time-button.c
321 (hildon_time_button_set_time)
322 * src/hildon-picker-button.c
323 (hildon_picker_button_clicked)
324 (hildon_picker_button_selector_selection_changed)
325 (hildon_picker_button_set_selector)
326 * src/hildon-date-button.c
327 (hildon_date_button_set_date):
328 Free strings returned by hildon_touch_selector_get_current_text()
330 * src/hildon-button.c (hildon_button_construct_child):
331 Fix leaks in priv->image and priv->label_box
333 Fixes: NB#90535 (Memory leak in picker button)
335 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-button.c: (hildon_button_get_property): Do not access
338 private elements directly, use getters instead.
340 2008-10-20 Alberto Garcia <agarcia@igalia.com>
342 * src/hildon-app-menu-private.h
343 * src/hildon-app-menu.c
344 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
345 Store the menu's parent window.
347 * src/hildon-stackable-window.c
348 (hildon_stackable_window_toggle_menu)
349 (hildon_stackable_window_finalize):
350 Set the menu's parent window when the menu is shown, unset it when
353 * src/hildon-app-menu.c
354 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
355 (hildon_app_menu_class_init):
356 Send unhandled keyboard accelerators to the parent window.
358 2008-10-20 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-stackable-window.c
361 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
363 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
365 * configure.ac: post release version bump
367 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
370 * configure.ac: Bump version
371 * debian/changelog: Updates
372 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
375 2008-10-20 Alberto Garcia <agarcia@igalia.com>
377 Patch contributed by Daniel Borgmann (danielb@openismus.com)
380 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
381 GtkMenu with Hildon style.
383 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
385 * src/hildon-picker-button.c:
386 (hildon_picker_button_set_done_button_text): Set the dialog's
387 done button text here as well.
389 Fixes: NB#90232 (Picker button does not set the label on done button
392 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
394 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
397 2008-10-16 Alberto Garcia <agarcia@igalia.com>
399 * src/hildon-app-menu.c (hildon_app_menu_insert)
400 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
401 the HildonAppMenu to be activatable using keyboard accelerators
402 when the menu is not being shown.
404 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
406 2008-10-16 Alberto Garcia <agarcia@igalia.com>
408 * src/hildon-stackable-window.c
409 (hildon_stackable_window_show):
410 Don't hide old windows automatically when new windows are shown:
411 this is now a task for the window manager.
412 (hildon_stackable_window_class_init)
413 (hildon_stackable_window_hide):
414 Remove windows from the stack everytime they're hidden.
415 (hildon_stackable_window_realize):
416 Don't change the _NET_WM_WINDOW_TYPE property. Use
417 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
418 it as a stackable window.
420 * src/hildon-program.c
421 (hildon_program_pop_window_stack):
422 Just hide the window to remove it from the stack.
423 (hildon_program_go_to_root_window):
424 Don't call gtk_widget_show(), this is now a task for the window
427 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
429 2008-10-15 Alberto Garcia <agarcia@igalia.com>
431 * src/hildon-button.c
432 (hildon_button_construct_child):
433 Don't pack anything in the button until text or image are
434 set. This allows adding a custom child after creating the button
435 with hildon_button_new().
436 (hildon_button_finalize, hildon_button_class_init)
437 (hildon_button_init, hildon_button_set_arrangement): Destroy the
438 alignment and the label box even when they're not packed in the
441 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
443 * src/hildon-touch-selector.h:
444 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
445 currently the type definition was using GTK_TYPE_VBOX
446 * src/hildon-touch-selector.c:
447 Added some implementation notes in order to clarify that any other widget
448 added without the column related API will not be included on the
449 selection logic, and how the widget is freed, as some people ask about
451 (hildon_touch_selector_remove): Reimplemented in order to free properly
452 the column related data when you remove the private hbox.
453 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
454 to get a proper HildonTouchSelectorColumn documentation
456 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-touch-selector-entry.c:
459 (hildon_touch_selector_entry_print_func): Return NULL if there is no
460 text in the GtkEntry and there is no item selected. Fixes a
463 2008-10-13 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-app-menu-private.h
466 * src/hildon-app-menu.[ch]
467 * src/hildon-button.[ch]
468 * src/hildon-check-button.[ch]
469 * src/hildon-entry.[ch]
470 * src/hildon-pannable-area.[ch]
471 * src/hildon-text-view.[ch]:
472 Added private field to the object's structure.
474 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: post-release version bump
478 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: pre-release version bump
484 * debian/changelog: updates.
486 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
489 Disconnect the handler for HildonTouchSelector::changed.
491 (hildon_picker_button_selector_selection_changed): Update the button
492 value if the selection change was not triggered by the
495 (hildon_picker_button_set_selector): connect to
496 HildonTouchSelector::changed.
498 Fixes: NB#89650 (Picker button is not updated, when selection in
499 selector has changed)
501 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
503 * src/hildon-picker-dialog.c
504 (hildon_picker_dialog_realize): Removed as not required
505 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
506 * src/hildon-picker-button.c
507 (_current_selector_empty): New function, checks if the selector is empty
508 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
509 if the current selector is empty, in order to avoid to show the dialog
510 close the dialog in this case (and shows a g_warning).
512 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
514 2008-10-09 Alejandro G. Castro <alex@igalia.com>
516 * src/hildon-pannable-area.c,
517 (hildon_pannable_area_scroll): Added clause to stop movement when
518 the child of pannable is smaller than one page.
519 (hildon_pannable_area_scroll_to): Added conditions to avoid
520 starting the scrolling movement if the child is smaller than one
521 page, the complete child is in the screen, we do not have to move.
523 Fixes: NB#89632 (Picker button selection doesn't change on first click)
525 2008-10-09 Alberto Garcia <agarcia@igalia.com>
527 * src/hildon-app-menu.c: Removed the 'columns' property, as now
528 this is managed automatically by the widget when the size of the
531 2008-10-09 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-picker-button.c
534 (hildon_picker_button_set_done_button_text): Make a copy of the
535 text, and free the previous value.
537 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
539 * src/hildon-touch-selector-entry.c:
540 (hildon_touch_selector_entry_print_func): Return the selected row's
541 text if the entry is empty.
543 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
546 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
548 * src/hildon-touch-selector-entry.c: Minor docs fixes.
550 2008-10-09 Alberto Garcia <agarcia@igalia.com>
553 * src/hildon-check-button.h
554 * src/hildon-check-button.c
555 * examples/hildon-check-button-example.c:
556 HildonCheckButton is now a new widget. 'toggled' signal added.
558 2008-10-08 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-program-private.h
561 * src/hildon-program.c (hildon_program_init)
562 (hildon_program_finalize): Removed unused variables group_leader
563 and name from HildonProgramPrivate.
565 2008-10-08 Alberto Garcia <agarcia@igalia.com>
567 * src/hildon-check-button.c (hildon_check_button_set_active)
568 (hildon_check_button_get_active, hildon_check_button_new): Use
569 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
571 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
573 * src/hildon-touch-selector.h
574 (hildon_touch_selector_set_column_attributes): added deprecation
575 guard HILDON_DISABLE_DEPRECATED
576 * src/hildon-time-selector.c
577 (hildon_time_selector_set_time)
578 (hildon_time_selector_get_time): Fixed a typo on documentation
579 * src/hildon-touch-selector.c: update HildonTouchSelector and
580 HildonTouchSelectorColumn documentation
581 * src/hildon-touch-selector-entry.c: update "text-column" property
583 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
584 to be added to the general documentation.
586 2008-10-08 Alejandro G. Castro <alex@igalia.com>
588 * examples/hildon-pannable-area-example-4.c,
590 * examples/hildon-pannable-area-example.c,
591 (main): Modified the code in order to use the container add, with
592 viewport treeviews could have problems if they are really big.
594 2008-10-06 Alejandro G. Castro <alex@igalia.com>
596 * src/hildon-weekday-picker.c,
597 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
598 the agreement regarding deprecation in the library.
600 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
602 * examples/hildon-picker-button-multicolumn-example.c:
603 (main): Use custom "done" button text.
605 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
606 (hildon_picker_button_set_property),
607 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
608 (hildon_picker_button_init),
609 (+hildon_picker_button_get_done_button_text),
610 (+hildon_picker_button_set_done_button_text): New methods to customize
611 the "done" button label in the launched HildonPickerDialog. Also,
614 * src/hildon-picker-button.h: add the public API.
616 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
618 * src/hildon-date-selector.h:
619 * src/hildon-picker-dialog.h:
620 * src/hildon-time-selector.h:
621 * src/hildon-touch-selector-column.h:
622 * src/hildon-touch-selector.h:
624 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
625 declarations. Fixes gtk-doc warnings.
627 2008-10-06 Alberto Garcia <agarcia@igalia.com>
629 * src/hildon-picker-dialog.h
630 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
631 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
633 Fixes: NB#89329 (selectors in picker dialog are not visible when a
634 long text is set as label for done button)
636 2008-10-06 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-dialog.c (hildon_dialog_add_button):
639 Set fixed width to all buttons in the HildonDialog.
641 2008-10-06 Alberto Garcia <agarcia@igalia.com>
643 Patch contributed by Daniel Borgmann (danielb@openismus.com)
645 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
646 Set widget name using class name plus "-finger" or "-thumb".
648 2008-10-03 Alberto Garcia <agarcia@igalia.com>
650 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
651 'clicked' when the state of the button is manually changed.
653 2008-10-02 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-app-menu.c (hildon_app_menu_realize)
656 (hildon_app_menu_unrealize, hildon_app_menu_init)
657 (hildon_app_menu_class_init, item_visibility_changed):
658 Change the menu layout when the size of the screen changes.
659 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
660 Show warning only when changing the number of colums using the
663 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
665 * debian/compat: Set to 5
666 * debian/control: Update dependencies.
667 * debian/libhildon1-dbg.install: Remove.
668 * debian/libhildon1-dev.install: Update according to cdbs paths.
669 * debian/libhildon1.install: Update according to cdbs paths.
670 * debian/rules: Switch to cdbs.
672 2008-10-01 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
675 'item' variable renamed to 'filter'
677 2008-10-01 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-app-menu.c (hildon_app_menu_insert)
680 (hildon_app_menu_add_filter, remove_item_from_list)
681 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
682 Don't leak hidden items when the menu is destroyed.
684 2008-10-01 Alberto Garcia <agarcia@igalia.com>
686 * src/hildon-app-menu.c (hildon_app_menu_insert)
687 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
688 (hildon_app_menu_set_columns, item_visibility_changed)
689 (filter_visibility_changed, hildon_app_menu_repack_filters)
690 (hildon_app_menu_repack_items):
691 Repack items and filters separately.
693 Don't repack all items, change only the ones that are needed to
696 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
698 * src/Makefile.am: added hildon-touch-selector-column.h
700 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
702 * src/hildon-touch-selector.c: added the property "text-column" to the
703 class HildonTouchSelectorColumn, and related get/set functions
704 (_default_printf_func): updated to use "text-column" property
705 * src/hildon-touch-selector-entry.c: mark as deprecated the property
706 "text-column" in his documentation, as this is now included on
707 HildonTouchSelectorColumn. The get/set_property can still be used,
708 working as a wrapper to the concrete column "text-column" property
709 (_text_column_modified): callback added in order to handle the signal
710 "notify::text-column" of the concrete HildonTouchSelectorColumn
711 (hildon_touch_selector_entry_get_text_column)
712 (hildon_touch_selector_entry_set_text_column): Added documentation, and
713 modified in order to use the HildonTouchSelectorColumn "text-column"
715 * src/hildon-time-selector.c:
716 * src/hildon-date-selector.c:
717 * examples/hildon-touch-selector-example.c
718 * examples/hildon-touch-selector-multi-cells-example.c
719 * examples/hildon-picker-button-multicolumn-example.c
720 Set the right value to "text-column" property on the creation of a new
721 column using hildon_touch_selector_append_column()
723 Fixes: NB#88644 (Hardcoded first column of the model as text column)
725 2008-09-30 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-app-menu.c
728 (hildon_app_menu_construct_child, hildon_app_menu_init): When
729 updating the layout of the menu, don't create all widgets again,
730 just repack the items in their new places.
732 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
734 * src/hildon-time-selector.c
735 (hildon_time_selector_get_time)
736 (hildon_time_selector_set_time)
737 Added documentation of these public methods
739 * src/hildon-date-button.h
740 * src/hildon-touch-selector-column.h
741 * src/hildon-time-button.h
742 * src/hildon-picker-dialog.h
743 * src/hildon-time-selector.h
744 * src/hildon-picker-button.h
745 * src/hildon-touch-selector.h
746 * src/hildon-time-picker.h
747 * src/hildon-date-selector.h
748 * src/hildon-touch-selector-entry.h
749 Modified in order to use hildon-widgets code style
751 2008-09-30 Alejandro G. Castro <alex@igalia.com>
753 Added deprecated support to the compilation process using
754 HILDON_DISABLE_DEPRECATED
756 * configure.ac: Added the --disable-deprecated to the configure
759 * src/hildon-weekday-picker.c:
760 * src/hildon-weekday-picker.h: Deprecated widget, example of how
761 to use the deprecated support. We will update the other deprecated
762 widgets status in a new patch.
764 2008-09-30 Alejandro G. Castro <alex@igalia.com>
766 * configure.ac: Fixed typo with fatal warnings support, the
767 variable name was not correct
769 2008-09-29 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-app-menu.c
772 * src/hildon-program.c: Update documentation.
774 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
776 * configure.ac: Post-release version bump.
778 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
783 * configure.ac: Pre-release version bump.
784 * debian/changelog: Updates.
786 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
788 * NEWS: Update news for previous releases.
790 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
792 * examples/hildon-touch-selector-multi-cells-example.c:
793 (create_selector): Update the example to use
794 hildon_touch_selector_append_column() with a NULL renderer and set
796 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
797 passed a NULL renderer. This is documented behavior now.
799 Allow passing a NULL renderer to hildon_touch_selector_append_column().
800 This must be used if the developer wants full control on the layout of
801 the renderers to be added to the column.
803 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
805 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
807 * src/hildon-touch-selector.c: Documentation fixes.
809 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
811 * src/hildon-wizard-dialog-private.h: Remove image and box.
812 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
813 (hildon_wizard_dialog_set_property), (response): Completely remove
814 image/icon support, and the containers required for the layout.
816 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
818 2008-09-25 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-app-menu.c: Updated documentation.
822 * src/hildon-stackable-window.c
823 (hildon_stackable_window_set_main_menu): Unref the old menu after
826 2008-09-25 Alberto Garcia <agarcia@igalia.com>
828 * src/hildon-stackable-window.c
829 (hildon_stackable_window_set_main_menu): Unref the previous menu
830 instead of destroying it.
832 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
833 floating reference and set has_user_ref_count to FALSE to make
834 HildonAppMenu act like a normal ref-counted widget and not a
837 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
840 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
842 * src/hildon-touch-selector-column.h: new file
843 * src/hildon-touch-selector.h
844 * src/hildon-touch-selector.c
845 Implemented GtkCellLayout interface, in order to allow to configure
846 the cell layout on each individual selector column
847 (hildon_touch_selector_set_column_attributes): marked as deprecated
848 * examples/hildon-touch-selector-multi-cells-example.c
849 Example of how to use the GtkCellLayout interface on the selector
851 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
853 2008-09-24 Alberto Garcia <agarcia@igalia.com>
855 * src/hildon-app-menu.h
856 * src/hildon-app-menu.c
857 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
858 (hildon_app_menu_append, hildon_app_menu_prepend):
859 New methods to prepend, insert and move items in the menu.
861 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
863 * src/hildon-wizard-dialog.c:
865 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
867 (create_title): Update logical IDs and related code.
868 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
870 * src/hildon-wizard-dialog.h: Note that
871 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
872 point, as it is not used anymore.
874 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
876 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
879 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
880 shown. Do not display an icon in confirmation notes nor information
882 (hildon_note_set_button_text): Update logical ID for cancel button.
884 Fixes: NB#88850 (Update HildonNote button strings + signals)
886 2008-09-24 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-stackable-window.c
889 (hildon_stackable_window_set_main_menu): Fix compilation warning.
891 2008-09-24 Alberto Garcia <agarcia@igalia.com>
893 * src/hildon-app-menu-private.h
894 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
895 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
896 (hildon_app_menu_init, hildon_app_menu_class_init): Added
897 temporary property 'columns' to change the number of columns.
899 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
901 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
903 * examples/hildon-note-example.c: (on_information_clicked),
904 (on_confirmation_clicked), (on_progress_clicked), (main): Add
905 debugging information.
906 * src/hildon-note-private.h: Remove close_if_pressed_outside,
908 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
909 (hildon_note_rebuild): Remove special handling of tapping outside/inside
910 in order to close: this will be handled by the WM from now on.
912 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
914 2008-09-24 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-app-menu-private.h
917 * src/hildon-app-menu.c
918 (hildon_app_menu_append, hildon_app_menu_add_filter)
919 (button_visibility_changed, hildon_app_menu_apply_style)
920 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
921 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
922 layout everytime a button (item or filter) is shown or hidden.
924 * src/hildon-stackable-window.c
925 (hildon_stackable_window_set_main_menu): Destroy the old menu when
928 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
930 * src/hildon-touch-selector.c:
931 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
932 that the treeview inside the touch selector is in fremantle hildon mode
933 * examples/hildon-date-button-example.c
934 * examples/hildon-picker-button-multicolumn-example.c
935 * examples/hildon-touch-selector-entry-example.c
936 * examples/hildon-touch-selector-example.c
937 * examples/hildon-time-button-example.c
938 * examples/hildon-picker-button-example.c:
939 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
941 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
943 * examples/hildon-text-view-example.c: (main): Remove the
944 gtkrc bits, now handled by the theme.
946 2008-09-22 Alberto Garcia <agarcia@igalia.com>
948 * src/hildon-picker-button.c (hildon_picker_button_set_active):
951 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
953 * po/Makefile.am: Install properly the mo files.
954 * po/en_GB.po: Update translation, to ease testing purposes.
956 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
958 * examples/hildon-picker-button-example.c: (main): Select an item
959 in the selector before setting it to the button.
961 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
964 Update button's value if the selector has an item active.
966 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
967 'value' with the selector)
969 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
971 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
972 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
973 (hildon_picker_button_class_init): Plug the finalize method.
974 (hildon_picker_button_set_selector): If there's a previously set
975 selector, unref'it before setting a new one.
977 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
980 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
982 * src/hildon-touch-selector-entry.c:
983 (hildon_touch_selector_entry_changed): Check if there is no text
984 selected before setting the entry text.
987 2008-09-15 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-touch-selector.h
990 * src/hildon-touch-selector.c
991 (hildon_touch_selector_get_active)
992 (hildon_touch_selector_set_active): New methods to set/get the
993 index of the selected item.
995 * src/hildon-picker-button.h
996 * src/hildon-picker-button.c
997 (hildon_picker_button_get_active)
998 (hildon_picker_button_set_active): New methods to set/get the
999 index of the selected item.
1001 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1003 * configure.ac: post-release version bump.
1005 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1009 * configure.ac: Pre-release version bump.
1010 * debian/changelog: Updates.
1011 * debian/control: Add myself as maintainer and depend on l10n
1014 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1016 * src/hildon-window.c
1017 (hildon_window_set_main_menu)
1018 * src/hildon-stackable-window.c
1019 (hildon_stackable_window_set_main_menu):
1020 Updated documentation.
1022 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1025 Don't free selector->priv manually.
1028 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1031 (hildon_gtk_window_set_progress_indicator):
1032 * src/hildon-gtk.h: Added the new API
1033 hildon_gtk_window_set_progress_indicator, it changes the state of
1034 the window progress hint.
1036 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1038 * src/hildon-button.c
1039 * src/hildon-stackable-window.c: Minor documentation updates.
1041 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1043 * src/hildon-stackable-window.c: Updated documentation.
1045 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-defines.h: Update margins definitions
1048 to the Fremantle sizes.
1051 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1053 * src/hildon-touch-selector.c,
1054 (_hildon_touch_selector_set_model): Cleaning the code after
1055 review, removed g_print and #if 0 from the code.
1057 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-edit-toolbar.c: Update documentation.
1061 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-check-button.h
1064 * src/hildon-check-button.c
1065 (hildon_check_button_set_label, hildon_check_button_get_label)
1066 * examples/hildon-check-button-example.c
1067 (button_clicked_cb):
1068 Removed deprecated methods.
1070 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-text-view.c:
1073 Add sample code to the documentation.
1075 * src/hildon-entry.h
1076 * src/hildon-text-view.h:
1077 Minor cosmetic changes.
1079 * src/hildon-entry.c:
1080 Add sample code to the documentation.
1081 (hildon_entry_init, hildon_entry_refresh_contents):
1082 Don't allow NULL values in the placeholder.
1084 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1086 * doc/hildon-docs.sgml
1088 * examples/Makefile.am
1089 * examples/hildon-text-view-example.c
1091 * src/hildon-text-view.c
1092 * src/hildon-text-view.h
1094 New HildonTextView widget, with example.
1096 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1098 * po/POTFILES.in: Add missing files with translatable strings.
1099 Partially fixes NB#88287.
1101 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1103 * examples/hildon-pannable-area-example-2.c: (main): No need to
1104 set the cellrenderer height inside hildon touch lists, the theme does
1107 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1109 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1110 they are integrated in the theme.
1112 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1114 * examples/hildon-entry-example.c: Update the example adding
1115 widgets to modify the text and the placeholder of the HildonEntry.
1117 * src/hildon-entry.c: Show the placeholder everytime the widget
1118 is empty and loses the focus.
1120 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1122 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1124 * src/hildon-pannable-area.c,
1125 (hildon_pannable_area_size_request): Fixed bug in height
1126 requisition, avoid increasing size and add border twice.
1128 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1130 * configure.ac: postrelease version bump.
1132 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1136 * configure.ac: Prerelease version bump.
1137 * debian/changelog: update.
1138 * debian/rules: make -dbg package contain useful debugging symbols.
1140 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-dialog.h
1143 * src/hildon-dialog.c
1144 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1145 New methods to add buttons with finger size.
1146 (hildon_dialog_new_with_buttons):
1147 Create buttons with finger size.
1149 * examples/hildon-dialog-example.c (main): Use HildonDialog
1150 methods to add buttons.
1152 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-entry.c: Updated HildonButton documentation.
1156 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1159 button value label with (FALSE, FALSE) to prevent NB#88126 from
1162 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1164 * examples/hildon-pannable-area-example.c,
1165 (main): Removed examples panning a vbox inside a pannable
1166 area. Check bug NB#87965
1168 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1170 Patch contributed by Kris Rietveld (kris@imendio.com)
1172 * src/hildon-pannable-area.c,
1173 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1174 get_size and get_position, this saves an X server roundtrip.
1176 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1178 * doc/hildon-docs.sgml
1180 * examples/Makefile.am
1181 * examples/hildon-entry-example.c
1183 * src/hildon-entry.c
1184 * src/hildon-entry.h
1186 New HildonEntry widget, with example.
1188 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-button.c (hildon_button_construct_child): Pack the
1191 image with expand == fill == FALSE. This is a workaround for a bug
1194 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1196 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1197 labels for the text column, to make it more look more dynamic.
1199 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1201 * src/hildon-time-selector.c
1202 Define gettext auxiliar macro N_
1203 (_create_minutes_model)
1204 (_create_hours_model)
1205 (_create_ampm_model): use of strftime in order to fill the model
1206 * src/hildon-date-selector.c
1207 (hildon_date_selector_finalize):
1208 (_locales_init): remove the logic related to get the name of the months
1209 using nl_langinfo, as it is not required anymore
1211 (_create_year_model)
1212 (_create_month_model)
1213 (_update_day_model): use of strftime in order to fill the model properly
1216 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1218 * src/hildon-button.h
1219 * src/hildon-button.c (hildon_button_get_image): New method to
1222 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1224 * src/hildon-touch-selector.c:
1225 (hildon_touch_selector_remove_column): Remove from the correct parent
1226 and also remove the list element and free it.
1229 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1231 * src/hildon-time-selector.c
1232 (_create_hours_model): change the range on 12h ampm format in order to use
1233 a 12-11 range instead of previous 01-12 range
1234 (hildon_time_selector_set_time): change the way to select the current time
1235 on 12h ampm format, due the change on the range
1236 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1239 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1241 * src/hildon-touch-selector.c
1242 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1243 in order to allow use this function on multiple row selection mode if
1244 the column is different that the first one
1247 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1249 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1250 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1252 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1254 * src/hildon-date-selector.h: clean some comments, now on the .c
1255 * src/hildon-date-selector.c
1256 (hildon_date_selector_select_month): first implementation
1257 (hildon_date_selector_select_day): added documentation, reimplemented
1258 using hildon_date_selector_select_current_date to avoid repeat code
1261 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1263 Reviewed interaction logic based on device experiences, refactored
1266 * src/hildon-pannable-area.c,
1267 (hildon_pannable_area_class_init): Updated default vmax speed.
1268 (hildon_pannable_area_calculate_velocity): Added this function, it
1269 avoids duplicate valocity calculation. Adjusted calculation to
1270 avoid problems with zero dist events.
1272 (hildon_pannable_area_motion_notify_cb): Now we use the
1273 calculate_velocity function.
1275 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * src/hildon-date-selector.c
1278 (hildon_date_selector_select_current_date): fix the day range check
1279 as it failed using the last day of the current month
1282 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * src/hildon-touch-selector.c
1285 (hildon_touch_selector_get_num_columns): added a parameter validation
1288 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1290 * examples/Makefile.am
1291 * examples/hildon-edit-toolbar-example.c: Example of the
1292 HildonEditToolbar widget.
1294 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1296 * configure.ac: postrelease version bump.
1298 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1302 * configure.ac: prerelease version bump.
1303 * debian/changelog: update.
1305 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1307 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1308 renderer to display stock icons in the touch list. Also, set the sizes
1309 to the recommended in the style guide.
1311 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1312 * src/hildon-touch-selector.h
1313 (hildon_touch_selector_set_active_iter): renamed, now is
1314 hildon_touch_selector_select_iter
1315 (hildon_touch_selector_get_active_iter): renamed, now is
1316 hildon_touch_selector_get_selected
1317 (hildon_touch_selector_unselect_iter): added
1318 * src/hildon-touch-selector.c
1319 Update after API modification (methods renamed)
1320 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1321 order to avoid problems selecting multiple elements on the column
1322 (hildon_touch_selector_unselect_iter): added the implementation
1323 * src/hildon-time-selector.c
1324 * src/hildon-date-selector.c
1325 * src/hildon-touch-selector-entry.c
1326 Update methods calls after hildon-touch-selector.h API modification (methods
1329 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-stackable-window.c
1332 (hildon_stackable_window_finalize): Call the parent class's finalize.
1334 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1336 * examples/hildon-touch-selector-example.c: (create_selector): Use
1337 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1340 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1342 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1343 set a cell background color, to respect theming.
1345 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1347 * doc/hildon-docs.sgml
1350 * src/hildon-edit-toolbar.c
1351 * src/hildon-edit-toolbar.h
1352 * src/hildon.h: New HildonEditToolbar widget.
1354 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1356 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1359 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * src/hildon-touch-selector.c
1361 (_create_new_column): use g_object_set instead of two g_object_set_property
1363 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1364 * src/hildon-touch-selector.c
1365 (_create_new_column): use of hildon_gtk_tree_view_new to create
1366 the treeview, instead of use directly g_object_new
1367 (_create_new_column): update the property name "vindicator-mode" for the
1368 new one "vscrollbar-policy"
1369 * examples/hildon-date-button-example.c
1370 * examples/hildon-picker-button-multicolumn-example.c
1371 * examples/hildon-touch-selector-entry-example.c
1372 * examples/hildon-touch-selector-example.c
1373 * examples/hildon-time-button-example.c
1374 * examples/hildon-picker-button-example.c
1375 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1376 to all the treeviews inside a pannable area.
1378 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-button.h
1381 * src/hildon-button.c (hildon_button_init)
1382 (hildon_button_set_arrangement, hildon_button_set_alignment)
1383 (hildon_button_set_title_alignment)
1384 (hildon_button_set_value_alignment)
1385 (hildon_button_set_image_alignment)
1386 (hildon_button_construct_child): New methods to set the alignment
1387 of the individual components of the button (title, value,
1388 image). Also, new method to alter the xscale and yscale properties
1389 of the GtkAlignment inside the button, so more complex layouts can
1392 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1394 * src/hildon-button.c (hildon_button_style_set)
1395 (hildon_button_class_init, hildon_button_set_arrangement)
1396 (hildon_button_construct_child): Apply style properties
1397 correctly. Use the 'image-spacing' style property too.
1399 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1401 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1402 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1405 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1407 * src/hildon-pannable-area.c,
1408 (hildon_pannable_area_size_request): Fixed problem with
1409 pannable-area size_request.
1411 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1413 Added management for the grab-focus to a child widget, like a
1414 range, we need to fade out the scrollbar when releasing.
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_init): Connected the grab-focus signal to
1419 (hildon_pannable_area_grab_notify): Added this function in order
1420 to manage the situation when the grab-focus ends. We have to
1421 fade-out the scrollbar.
1423 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-app-menu.c: Minor documentation update.
1427 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-app-menu.c
1430 * examples/hildon-app-menu-example.c (create_menu): Update
1431 examples and documentation to explain how to connect callbacks.
1433 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1435 * examples/hildon-button-example.c
1436 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1437 hildon_stackable_window_new instead of gtk_window_new
1439 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1441 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1442 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1443 (hildon_pannable_area_set_property),
1444 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1445 (hildon_pannable_area_unrealize),
1446 (hildon_pannable_area_size_request),
1447 (hildon_pannable_area_size_allocate),
1448 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1449 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1450 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1451 (hildon_pannable_area_initial_effect),
1452 (hildon_pannable_area_redraw),
1453 (hildon_pannable_area_scroll_indicator_fade),
1454 (hildon_pannable_area_expose_event),
1455 (hildon_pannable_area_get_topmost), (synth_crossing),
1456 (hildon_pannable_area_button_press_cb),
1457 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1458 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1459 (hildon_pannable_area_motion_notify_cb),
1460 (hildon_pannable_area_button_release_cb),
1461 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1462 (hildon_pannable_area_remove),
1463 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1464 chage the code layout to a more GtkWidget like. Review the use of
1467 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1469 * examples/hildon-pannable-area-example-4.c,
1470 (main): Modified the name of the hindicator_mode to
1473 * src/hildon-pannable-area.c,
1474 (hildon_pannable_area_class_init),
1475 (hildon_pannable_area_motion_notify_cb),
1476 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1477 we have reduced the amount of signals and managed reviewed its
1478 rationale. Changed the default decelerate value.
1480 (hildon_pannable_area_add),
1481 (hildon_pannable_area_redraw): Refactored functions.
1483 (hildon_pannable_area_init),
1484 (hildon_pannable_area_get_property),
1485 (hildon_pannable_area_set_property):
1486 (hildon_pannable_draw_vscroll),
1487 (hildon_pannable_draw_hscroll),
1488 (hildon_pannable_area_initial_effect),
1489 (hildon_pannable_area_expose_event),
1490 (hildon_pannable_area_scroll),
1491 (hildon_pannable_area_button_press_cb),
1492 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1493 and vindicator_mode with hscrollbar_policy and
1494 vscrollbar_policy. Replaced hscroll and vscroll with
1495 hscroll_visible and vscroll_visible.
1497 (hildon_pannable_area_refresh): Refactor the function, remove
1498 variables and check the calls to this function, added resize
1499 conditions in case the children change their layout.
1501 (hildon_pannable_area_size_request): Added more detailed
1502 size_request calculation.
1505 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1507 * src/hildon-color-chooser.c
1508 (init_borders): use the correct gtk_border_free instead of g_free, to
1509 avoid a crash when this widget is used (ie: the three color selection
1512 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1514 * src/hildon-check-button.c,
1515 (hildon_check_button_set_active): Fixed problem when setting the
1516 active value, the widget was not redrawn.
1518 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1520 * src/hildon-pannable-area.c,
1521 (hildon_pannable_area_refresh),
1522 (hildon_pannable_area_scroll),
1523 (hildon_pannable_area_motion_notify_cb): Small code style change.
1525 (hildon_pannable_area_class_init): Default initial_hint set to
1526 FALSE, it is not in the specs.
1528 (hildon_pannable_area_initial_effect),
1529 (hildon_pannable_area_expose_event),
1530 (hildon_pannable_area_map),
1531 (hildon_pannable_area_init): Moved the launching point of the
1532 initial effect, it was in map but the sizes where not correct in
1533 that method so we do not know if we have the reproduce it. Now it
1534 is placed in the expose_event method and uses a variable to
1535 reproduce it just once.
1537 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1539 * src/hildon-pannable-area.c,
1540 (hildon_pannable_draw_vscroll),
1541 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1542 position allowed for the scrollbars.
1544 (hildon_pannable_area_size_allocate): Small style change.
1546 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1548 * src/hildon-pannable-area.c,
1549 (hildon_pannable_area_scroll_indicator_fade),
1550 (hildon_pannable_area_button_press_cb),
1551 (hildon_pannable_area_button_release_cb),
1552 (hildon_pannable_area_scroll_cb),
1553 (hildon_pannable_area_expose_event),
1554 (hildon_pannable_area_init): Added the define parameter
1555 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1556 and refactor the fade variable.
1558 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1560 * src/hildon-pannable-area.c,
1561 (hildon_pannable_area_redraw),
1562 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1563 lines, we were reimplemeting the redraw code.
1565 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c,
1568 (hildon_pannable_area_scroll_cb),
1569 (hildon_pannable_area_realize),
1570 (hildon_pannable_area_class_init): Added scroll_event management
1571 for pannable area, now we can scroll the usual desktop method.
1573 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1574 initialization of the parameters should depend on idle_id.
1576 (hildon_pannable_area_init),
1577 (hildon_pannable_area_map): Small code style modifications
1579 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1581 * src/hildon-pannable-area.c
1582 (hildon_pannable_area_button_press_cb),
1583 (hildon_pannable_area_motion_notify_cb),
1584 (hildon_pannable_area_button_release_cb),
1585 (hildon_pannable_area_size_allocate),
1586 (hildon_pannable_area_scroll_to): Improved the timeouts
1587 management, we avoid creating them each time.
1589 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1591 * src/hildon-pannable-area.c:
1592 (hildon_pannable_area_refresh),
1593 (hildon_pannable_area_motion_notify_cb),
1594 (hildon_pannable_area_class_init):
1595 * src/hildon-pannable-area.h:
1596 * src/hildon-touch-selector.c
1597 (_create_new_column):
1598 * examples/hildon-pannable-area-example-4.c:
1599 (horizontal_movement),
1600 (vertical_movement),
1602 Replaced the names of enums in the HildonPannableArea:
1603 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1604 HILDON_MOVEMENT_MODE_*
1605 - HILDON_PANNABLE_AREA_MOV_* ->
1607 - Removed HildonPannableAreaIndicatorMode, now we
1610 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1612 * examples/hildon-pannable-area-touch-grid-example.c
1613 * examples/hildon-pannable-area-touch-list-example.c: Fix
1614 compilation warnings.
1616 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-gtk.c (hildon_gtk_button_new)
1619 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1620 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1621 images overriding the value of the "gtk-button-images" setting.
1623 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1625 * src/hildon-check-button.c (hildon_check_button_new):
1626 Instead of using a custom container, display the label and the
1627 checkbox using the standard GtkButton API.
1629 * examples/hildon-check-button-example.c (main): Don't use
1630 hildon_check_button_set_label() anymore
1632 * src/hildon-check-button.h
1633 * src/hildon-check-button.c
1634 (hildon_check_button_set_label, hildon_check_button_get_label):
1635 Set as deprecated, now we're using gtk_button_{get,set}_label()
1637 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1641 GtkTreeview first line we detected it after the inclusion of the
1642 GtkWindowImpl in gtk+. We now check if the window is visible, not
1643 just if the pointer is over the window.
1644 (hildon_pannable_axis_scroll),
1645 (hildon_pannable_area_expose_event): Small style changes.
1647 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1649 * src/hildon-button.c: Update documentation.
1651 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1653 * examples/hildon-button-example.c: Add a switch to show images in
1656 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1658 * doc/hildon-docs.sgml: Some docs reorganization.
1660 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1662 * examples/hildon-pannable-area-touch-list-example.c
1664 * examples/hildon-pannable-area-touch-grid-example.c
1665 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1666 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1667 Fix memory leak when setting the tree model.
1669 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1673 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1675 * doc/hildon.types: Remove duplicated hildon_window_get_type
1676 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1677 documentation comment.
1679 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1681 * doc/Makefile.am: Complete list of private headers.
1683 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1685 * doc/hildon-docs.sgml
1686 * src/hildon-app-menu.c
1687 * src/hildon-bread-crumb.c
1688 * src/hildon-button.c
1690 * src/hildon-program.c
1691 * src/hildon-stackable-window.c
1692 * src/hildon-window.c: Lots of documentation updates.
1694 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1696 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1698 * configure.ac: Require Gtk+ 2.12.9 at least
1700 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1702 * src/hildon-pannable-area.c
1703 (hildon_pannable_area_scroll_indicator_fade),
1704 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1705 to protect the return of this timeout callbacks, avoiding deadlocks.
1707 2008-08-12 Christian Dywan <christian@imendio.com>
1710 * src/hildon-*.h: Ensure a consistent include order,
1711 include <gtk/gtk.h> instead of particular files and
1712 only include the topmost header in the gtk stack. See NB #39857
1714 2008-08-12 Christian Dywan <christian@imendio.com>
1716 * src/hildon-picker-dialog.c
1717 * src/hildon-touch-selector.c: Fix warnings about unused and
1718 uninitialized variables.
1720 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1722 * examples/Makefile.am
1723 * examples/hildon-check-button-example.c: Example of the hildon
1726 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-window.h
1729 * src/hildon-window.c (hildon_window_class_init)
1730 (hildon_window_unset_program): Don't make
1731 hildon_window_unset_program a virtual function anymore.
1733 * src/hildon-stackable-window.c: Update documentation
1735 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1738 * doc/hildon-docs.sgml
1739 * doc/visual_index.xml
1740 * src/hildon-defines.c
1742 * src/hildon-helper.c
1743 * src/hildon-range-editor.c: Lots of documentation fixes.
1745 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1747 * examples/hildon-picker-button-multicolumn-example.c
1748 (create_touch_selector): Fix compilation warning.
1750 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1753 (hildon_pannable_area_button_release_cb)
1754 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1761 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1763 * src/hildon-bread-crumb-trail.h
1764 * src/hildon-date-editor.c
1765 * src/hildon-date-selector.c
1766 * src/hildon-pannable-area.c
1767 * src/hildon-picker-dialog.c
1768 * src/hildon-time-selector.c
1769 * src/hildon-touch-selector-entry.c
1770 * src/hildon-touch-selector.c
1771 * src/hildon-touch-selector.h: Misc documentation fixes
1773 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1775 * examples/hildon-date-editor-example.c (main): Updated date
1778 * examples/hildon-note-example.c (on_confirmation_clicked):
1779 Updated confirmation note example.
1781 * src/hildon-date-editor.c
1782 * src/hildon-note.c: Updated sample programs in documentation.
1785 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1787 * src/hildon-date-button.h:
1788 * src/hildon-picker-button.h:
1789 * src/hildon-time-button.c:
1790 * src/hildon-time-button.h:
1792 Some declarations changes to allow gtk-doc to document the widgets
1795 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-date-button.c: Document the widget.
1798 * src/hildon-time-button.c: Document the widget.
1800 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-picker-button.c: Document the widget.
1803 * src/hildon-touch-selector-entry.c: Document the widget.
1805 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1807 * doc/hildon-docs.sgml
1810 * src/hildon-check-button.h
1811 * src/hildon-check-button.c: New functions to create the Hildon
1815 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1817 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-button.h
1820 * src/hildon-button.c
1821 (hildon_button_add_title_size_group)
1822 (hildon_button_add_value_size_group)
1823 (hildon_button_add_image_size_group)
1824 (hildon_button_add_size_groups): New functions to set size groups
1825 for the button labels and image.
1826 (hildon_button_new_full): Removed
1828 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1830 * src/hildon-time-selector.c
1831 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1832 in order to avoid a crash if gconf is not available
1834 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-button.c (hildon_button_set_arrangement)
1837 (hildon_button_construct_child): Don't construct the button child
1838 before setting the arrangement.
1840 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-program-private.h
1843 * src/hildon-program.c
1844 * src/hildon-program.h
1845 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1846 (hildon_program_peek_window_stack)
1847 (hildon_program_pop_window_stack)
1848 (hildon_program_go_to_root_window): HildonProgram now has a
1849 separate list for stackable windows. Functions are provided to
1850 manage that list with a stack-like API.
1852 * src/hildon-stackable-window.c: Stackable window management is
1853 now much simpler with the new HildonProgram API. Windows no
1854 longer need to be manually added to the program, they're
1855 automatically pushed to the top of the stack when shown.
1857 * examples/hildon-stackable-window-example.c: Updated example to
1858 reflect the API changes.
1860 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-touch-selector.c: Comment out unimplemented
1863 hildon_touch_selector_insert_column() to avoid a compile warning.
1865 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1868 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1869 (hildon_touch_selector_set_column_selection_mode),
1870 (_hildon_touch_selector_set_model),
1871 (hildon_touch_selector_set_model):
1873 Complete review of HildonTouchSelector documentation.
1875 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1877 * doc/hildon-docs.sgml
1881 * src/hildon-gtk.c: Convenience functions for standard Gtk
1882 widgets, used to easily perform frequent operations.
1884 * src/hildon-button-helpers.h
1885 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1887 * src/hildon-helper.h
1888 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1889 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1891 * src/hildon-button.h
1892 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1894 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-button.c (hildon_button_init)
1897 (hildon_button_set_arrangement, hildon_button_construct_child):
1898 Pack the image and the labels inside the same GtkAlignment so
1899 gtk_button_set_alignment() can be used
1901 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1903 * src/hildon-button.h
1904 * src/hildon-button.c
1905 (hildon_button_init, hildon_button_set_image)
1906 (hildon_button_set_image_position)
1907 (hildon_button_construct_child): New functions to add an image to
1910 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1912 * src/hildon-date-button.c
1913 * src/hildon-picker-button.c
1914 * src/hildon-time-button.c
1915 * src/hildon-button.c:
1916 (hildon_button_class_init): "size-flags" renamed to "size"
1917 (hildon_button_set_title): Hide the title label if set to NULL.
1919 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1921 HildonButtonFlags split into HildonButtonArrangement (to set the
1922 button layout) and HildonSizeType (which can be used for any
1925 * src/hildon-button.h
1926 * src/hildon-button.c
1927 (hildon_button_class_init)
1928 (hildon_button_set_arrangement)
1929 (hildon_button_set_property): New "size-flags"
1930 property. "arrangement-flags" renamed to "arrangement".
1931 (hildon_button_new, hildon_button_new_with_text)
1932 (hildon_button_new_full): Constructors updated to reflect type changes.
1934 * src/hildon-helper.h
1935 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1936 to set the size of a widget.
1940 * src/hildon-button-helpers.c
1941 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1943 * src/hildon-date-button.c
1944 * src/hildon-date-button.h
1945 * src/hildon-picker-button.c
1946 * src/hildon-picker-button.h
1947 * src/hildon-time-button.c
1948 * src/hildon-time-button.h: Updated widgets to reflect
1949 HildonButton API changes.
1951 * examples/hildon-button-example.c
1952 * examples/hildon-date-button-example.c
1953 * examples/hildon-picker-button-example.c
1954 * examples/hildon-picker-button-multicolumn-example.c
1955 * examples/hildon-time-button-example.c
1956 * examples/hildon-touch-selector-entry-example.c
1957 * examples/hildon-touch-selector-example.c: Updated examples to
1958 reflect HildonButton API changes.
1960 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1962 * doc/hildon-docs.sgml:
1964 * examples/Makefile.am:
1965 * examples/hildon-touch-selector-entry-example.c:
1967 * src/hildon-touch-selector-entry.c:
1968 * src/hildon-touch-selector-entry.h:
1971 Moved HildonTouchSelectorEntry from sandbox. Added its
1972 documentation and examples.
1974 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1976 * src/hildon-touch-selector.h:
1977 * examples/hildon-picker-button-multicolumn-example.c:
1978 (hildon_touch_selector_append_text_column): Add a gboolean
1979 parameter to determine if text must be centered in the column.
1981 * src/hildon-date-selector.c: (hildon_date_selector_init):
1982 * src/hildon-time-selector.c: (hildon_time_selector_init):
1983 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1984 (create_touch_selector): Update widgets and example to reflect
1987 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1989 * src/hildon-touch-selector.c:
1990 (hildon_touch_selector_set_active_iter): Set also the cursor in
1993 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1995 * doc/hildon-docs.sgml
1998 * src/hildon-toggle-button.c
1999 * src/hildon-toggle-button.h
2000 * src/hildon.h: Removed HildonToggleButton widget, a derived
2001 class is not necessary for this.
2003 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2005 * src/hildon-pannable-area.c,
2006 (hildon_pannable_area_realize),
2007 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2010 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2013 "done" button the default widget for the dialog.
2015 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector.c:
2018 (hildon_touch_selector_class_init),
2019 (hildon_touch_selector_get_property),
2020 (_hildon_touch_selector_set_model),
2021 (_hildon_touch_selector_has_multiple_selection),
2022 (hildon_touch_selector_has_multiple_selection):
2023 Add a "has-multiple-selection" property with a virtual
2024 has_multiple_selection() method to allow derived classes to
2025 override the default value for it. See the method and property
2026 documentation for details.
2028 * src/hildon-touch-selector.h: Add the new API.
2030 * src/hildon-picker-dialog.c: (requires_done_button): Call
2031 hildon_touch_selector_has_multiple_selection() instead of
2032 determining the need for a button itself.
2034 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2037 (_hildon_touch_selector_set_model),
2038 (hildon_touch_selector_set_model): Move working code to
2039 _hildon_touch_selector_set_mode(). Call the class method instead.
2041 * src/hildon-touch-selector.h: Add (*set_model) to
2042 HildonTouchSelectorClass.
2044 Make hildon_touch_selector_set_model() a virtual method, so that
2045 derived classes can extend it and do fancy stuff with the model.
2047 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2049 * configure.ac: Set back the tarname in AC_INIT to hildon.
2051 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2055 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2056 instead of libesd (NB#86876). Volume handling is still an open issue.
2058 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2061 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2064 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2065 derived class to ease placement of an entry widget in
2066 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2067 end, where the selector columns are packed now.
2069 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2071 * src/hildon-picker-button.c: Removed the simple _text() API.
2072 * src/hildon-picker-button.h: Likewise.
2074 * src/hildon-touch-selector.h:
2075 * src/hildon-touch-selector.c:
2076 (hildon_touch_selector_new_text),
2077 (hildon_touch_selector_append_text),
2078 (hildon_touch_selector_prepend_text),
2079 (hildon_touch_selector_insert_text):
2081 Moved the simple _text() API from HildonPickerButton to
2082 HildonTouchPicker, to provide better escalability and not to tie
2083 that API to HildonPickerButton.
2085 * examples/hildon-picker-button-example.c: (main): Example updated.
2087 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2089 * src/hildon-button.c: Updated documentation.
2091 * examples/hildon-button-example.c: Add the posibility to create
2092 the buttons using horizontal layout for title and value.
2094 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-app-menu-private.h
2097 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2098 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2099 GtkSizeGroup for the filters, use the 'homogeneous' property of
2102 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2104 * examples/hildon-button-example.c: Updated example.
2106 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2108 * doc/hildon-docs.sgml:
2111 Update documentation.
2113 * examples/Makefile.am: Update renamed examples.
2115 * examples/hildon-picker-button-multicolumn-example.c:
2116 (create_touch_selector), (main): Update after the rename.
2118 * examples/hildon-touch-picker-example.c: Removed.
2119 * examples/hildon-touch-selector-example.c: (value_changed),
2120 (create_selector), (get_visible_content), (main): Renamed from
2121 hildon-touch-picker-example.c
2123 * src/Makefile.am: Updated renamed files.
2125 * src/hildon-date-button.c: (hildon_date_button_init),
2126 (hildon_date_button_get_date), (hildon_date_button_set_date):
2127 * src/hildon-date-selector.c: (hildon_date_selector_init),
2128 (_custom_print_func), (_update_day_model),
2129 (_manage_selector_change_cb),
2130 (hildon_date_selector_select_current_date),
2131 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2132 * src/hildon-date-selector.h:
2133 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2134 (hildon_picker_button_set_property),
2135 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2136 (hildon_picker_button_init), (hildon_picker_button_new_text),
2137 (hildon_picker_button_append_text),
2138 (hildon_picker_button_prepend_text),
2139 (hildon_picker_button_insert_text),
2140 (hildon_picker_button_set_selector),
2141 (hildon_picker_button_get_selector):
2142 * src/hildon-picker-button.h:
2143 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2144 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2145 (_update_title_on_selector_changed_cb), (requires_done_button),
2146 (_hildon_picker_dialog_set_selector),
2147 (hildon_picker_dialog_set_selector),
2148 (hildon_picker_dialog_get_selector):
2149 * src/hildon-picker-dialog.h:
2150 * src/hildon-time-button.c: (hildon_time_button_init),
2151 (hildon_time_button_get_time), (hildon_time_button_set_time):
2152 * src/hildon-time-selector.c: (hildon_time_selector_init),
2153 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2154 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2155 * src/hildon-time-selector.h:
2158 Massive code updates after the rename.
2160 * src/hildon-touch-picker.c: Removed.
2161 * src/hildon-touch-picker.h: Removed.
2163 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2164 (hildon_touch_selector_init), (hildon_touch_selector_map),
2165 (hildon_touch_selector_remove), (_default_print_func),
2166 (_selection_changed_cb), (_create_new_column),
2167 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2168 (hildon_touch_selector_append_text_column),
2169 (hildon_touch_selector_remove_column),
2170 (hildon_touch_selector_set_column_attributes),
2171 (hildon_touch_selector_insert_column),
2172 (hildon_touch_selector_get_num_columns),
2173 (hildon_touch_selector_get_column_selection_mode),
2174 (hildon_touch_selector_set_column_selection_mode),
2175 (hildon_touch_selector_set_print_func),
2176 (hildon_touch_selector_get_print_func),
2177 (hildon_touch_selector_get_active_iter),
2178 (hildon_touch_selector_set_active_iter),
2179 (hildon_touch_selector_get_selected_rows),
2180 (hildon_touch_selector_get_model),
2181 (hildon_touch_selector_set_model),
2182 (hildon_touch_selector_get_current_text),
2183 (_hildon_touch_selector_center_on_selected_items):
2184 * src/hildon-touch-selector.h: Renamed from
2185 hildon-touch-picker.[ch]
2187 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2188 references, code examples, and related documentation.
2190 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2192 * doc/hildon-docs.sgml
2195 * src/hildon-toggle-button.c
2196 * src/hildon-toggle-button.h
2197 * src/hildon.h: New HildonToggleButton widget.
2199 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-button.c: Add API documentation.
2202 (hildon_button_set_size_groups): Check input parameters
2204 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2206 * src/hildon-pannable-area.c
2207 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2208 effect after reaching the movement thredshold. This way we start
2209 using the distance after passing the thredshold.
2211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2213 * src/hildon-button.c: (hildon_button_set_property): Use the
2214 appropriate g_value_get_flags() method.
2216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2218 * doc/hildon-docs.sgml:
2221 Add the touch pickers, picker dialogs, and picker button widgets
2222 to the documentation.
2224 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-button.c: (hildon_button_set_property),
2227 (hildon_button_class_init): Make "arrangement-flags" a proper
2228 G_TYPE_FLAGS derived property.
2230 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2232 * examples/Makefile.am: Add below examples.
2233 * examples/hildon-date-button-example.c:
2234 * examples/hildon-picker-button-example.c:
2235 * examples/hildon-picker-button-multicolumn-example.c:
2236 * examples/hildon-time-button-example.c:
2237 * examples/hildon-touch-picker-example.c:
2239 Add examples for the recently added touch pickers,
2240 picker dialogs, and picker button widgets.
2242 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2244 * src/hildon-button.c: Add some API documentation
2246 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-button.h
2249 * src/hildon-button.c
2251 (hildon_button_new_with_text): New constructor to create a button
2252 with no text at all.
2253 (hildon_button_init, hildon_button_set_arrangement)
2254 (hildon_button_set_title, hildon_button_set_value)
2255 (hildon_button_set_text)
2256 (hildon_button_construct_child): Hide the value when it's not used
2257 so the rest of the text is properly aligned.
2258 Allow creating buttons with arbitrary widgets inside (not just
2259 title/value labels).
2261 * examples/hildon-button-example.c (vertical_buttons_window)
2262 (horizontal_buttons_window): Update example to use new API.
2264 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2266 * src/Makefile.am: Added HildonTimeButton.
2267 * src/hildon-time-button.c: Added missing LGPL header.
2268 * src/hildon-time-button.h: Added missing LGPL header.
2269 * src/hildon.h: Add hildon-time-button.h
2271 Copied HildonTimeButton from sandbox to trunk. Future work on this
2272 widget must take place in trunk.
2274 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/Makefile.am: Added HildonDateButton.
2277 * src/hildon-date-button.c: Update includes.
2278 * src/hildon.h: Add hildon-date-button.h
2280 Copied HildonDateButton from sandbox to trunk. Future work on this
2281 widget must take place in trunk.
2283 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/Makefile.am: Added HildonPickerButton.
2286 * src/hildon-picker-button.h: Update includes.
2287 * src/hildon.h: Add hildon-picker-button.h
2289 Copied HildonPickerButton from sandbox to trunk. Future work on
2290 this widget must take place in trunk.
2292 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/Makefile.am: Added HildonPickerDialog.
2295 * src/hildon-picker-dialog.c: Update includes.
2296 * src/hildon.h: Add hildon-picker-dialog.h
2298 Copied HildonPickerDialog from sandbox to trunk. Future work
2299 on this widget must take place in trunk.
2301 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/Makefile.am: Added HildonTimeSelector.
2304 * src/hildon.h: Add hildon-time-selector.h
2306 Copied HildonTimeSelector widget from sandbox to trunk. Future
2307 work on this widget must happen in trunk.
2309 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2311 * src/Makefile.am: Added HildonDateSelector.
2312 * src/hildon.h: Add hildon-date-selector.h
2314 Copied HildonDateSelector widget from sandbox to trunk. Future
2315 work on this widget must happen in trunk.
2317 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2319 * src/Makefile.am: Added HildonTouchPicker.
2320 * src/hildon-touch-picker.c: Update includes.
2321 * src/hildon.h: Add hildon-touch-picker.h
2323 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2324 on this widget must happen in trunk.
2326 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-pannable-area.c:
2329 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2331 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2333 * examples/hildon-app-menu-example.c (main): Let the window
2336 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2338 * src/hildon-pannable-area.c
2339 (hildon_pannable_area_class_init): Set the min value of the
2340 overshoot properties to zero, which points out that not
2341 overshooting allowed.
2343 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2345 Modified the procedure to get the widget at a point inside the
2346 pannable area when using the movement type signals. Now the user
2347 has to call a function to get the child, that way we just
2348 calculate the child in case the user really want to use it and not
2351 * src/hildon-marshalers.list: Modified the marshallers, now we do
2352 not have the widget as a parameter.
2354 * src/hildon-pannable-area.c
2355 (hildon_pannable_area_motion_notify_cb),
2356 (hildon_pannable_area_class_init),
2357 (hildon_pannable_get_child_widget_at): Removed the widget
2358 parameter from the signal callback. We have also refactored the
2359 emission of the signals.
2361 * src/hildon-pannable-area.h: Added a new method to the API to
2362 calculate a widget at a point inside the pannable area,
2363 hildon_pannable_get_child_widget_at.
2365 * examples/hildon-pannable-area-example-4.c
2366 (horizontal_movement): Modified the example to use the new API,
2367 added condition to control which widget is under the event. This
2368 way we can avoid scrolling laterally over other widgets.
2370 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2372 * src/hildon-pannable-area.c
2373 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2374 modes, we stop getting the pointer events due to returning the
2375 callback without properly calling the get pointer again. Fixed
2376 also an error using the hscroll and vscroll.
2378 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2380 * src/hildon-app-menu-private.h
2381 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2382 (hildon_app_menu_button_release, hildon_app_menu_init)
2383 (hildon_app_menu_class_init): Don't hide the menu on button
2384 release if the user didn't press outside first.
2386 * src/hildon-window.h
2387 * src/hildon-window.c (hildon_window_toggle_menu)
2388 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2389 hildon_window_toggle_menu a virtual function for the stackable
2390 window to override it.
2392 * src/hildon-stackable-window.h
2393 * src/hildon-stackable-window-private.h
2394 * src/hildon-stackable-window.c
2395 (hildon_stackable_window_realize)
2396 (hildon_stackable_window_finalize)
2397 (hildon_stackable_window_class_init)
2398 (hildon_stackable_window_init)
2399 (hildon_stackable_window_set_main_menu): New function to set the
2400 app menu of a HildonStackableWindow.
2402 * examples/hildon-app-menu-example.c: Remove the button to show
2403 the app menu, now it'll be shown when clicking on the title bar
2406 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2409 set the widget name if the arrangement flags do not specify
2412 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-button.c: (hildon_button_set_property),
2415 (hildon_button_class_init), (hildon_button_new_full),
2416 (hildon_button_set_arrangement): Added "arrangement-flags"
2419 Make the HildonButtonFlags a construction-only property, to allow
2420 subclasses to set them properly.
2422 2008-07-21 Tim Janik <timj@imendio.com>
2424 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2425 insertion position after backspace, so additional digits are appended,
2428 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2430 * src/hildon-pannable-area.c,
2431 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2432 TODO list, it was complete and removed the g_debug and g_print
2435 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2437 Added the movement modes to the hildon-pannable-area, with this
2438 modes the developers can control in which directions the widget
2439 can scroll. They can also connect to signals in order to do
2440 something when that happens, allowing applications scroll. There
2441 is an example uploaded showing how to use it.
2443 * examples/Makefile.am:
2444 * examples/hildon-pannable-area-example-4.c: Added this example of
2445 an application using the modes.
2447 * src/hildon-marshalers.list: Added a new marshaller for the new
2450 * src/hildon-pannable-area.h: Added new enumerations and flags in
2451 order to control the movement modes and the new signals to warn
2452 about the movements in the area.
2454 * src/hildon-pannable-area.c:
2455 (hildon_pannable_axis_scroll),
2456 (hildon_pannable_area_scroll),
2457 (hildon_pannable_area_motion_notify_cb),
2458 (hildon_pannable_area_get_property),
2459 (hildon_pannable_area_set_property),
2460 (hildon_pannable_area_map),
2461 (hildon_pannable_area_class_init),
2462 (hildon_pannable_area_init),
2463 (hildon_pannable_area_jump_to): Added the modes to control the
2464 movement in the widget. We have added properties to control it,
2465 signals to warn about the movements and refactored some code.
2467 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2469 Changes required in order to allow vfast_factor set to zero to
2472 * src/hildon-pannable-area.c:
2473 (hildon_pannable_area_button_press_cb): Changed the condition, it
2474 is required for not allowing click when vfast_factor is zero.
2475 (hildon_pannable_area_timeout): Initialized velocity variables
2476 when we stop moving, it was less than 1 but not zero and we need
2477 to check zero in some situations.
2478 (hildon_pannable_area_class_init): Changed the default value of
2479 the speed factor, now the button_press is just sent in case the
2480 speed is 2 per cent of the max speed.
2481 (hildon_pannable_area_init): Initialization with 0.
2483 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2485 * src/hildon-pannable-area.c,
2486 (hildon_pannable_area_get_topmost): replaced
2487 gdk_window_get_children with gdk_window_peek_children, this way we
2488 do not have to free the list because it is not a copy.
2490 (hildon_pannable_axis_scroll),
2491 (hildon_pannable_area_scroll),
2492 (hildon_pannable_area_timeout),
2493 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2494 two parameters that were only used inside the
2495 hildon_pannable_area_scroll function.
2497 * examples/hildon-pannable-area-example.c,
2498 (get_sawtooth_label): Fixed small memory leak.
2500 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2502 More checks for the case where the overshoot is bigger than the
2505 * src/hildon-pannable-area.c:
2506 (hildon_pannable_draw_vscroll),
2507 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2508 to draw the slider of the scrollbar under the other scrollbar.
2509 (hildon_pannable_area_expose_event): added new checks to control
2510 the drawing of the overshooting area rectangle, in case it is too
2511 big for the area of the widget.
2512 (hildon_pannable_area_size_allocate): add more checks to avoid
2513 setting a position to the child widget outside the area.
2515 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2517 * src/hildon-pannable-area.c
2518 (hildon_pannable_area_size_allocate): Added conditions to control
2519 when overshooting is bigger than the allocated space for the
2520 children, this avoids negative allocations.
2522 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2524 * doc/hildon-docs.sgml
2526 * examples/Makefile.am
2527 * examples/hildon-button-example.c
2529 * src/hildon-button.c
2530 * src/hildon-button.h
2531 * src/hildon.h: Initial version of the new HildonButton widget,
2534 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-pannable-area.c:
2537 (hildon_pannable_area_button_press_cb),
2538 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2539 (hildon_pannable_area_motion_notify_cb),
2540 (hildon_pannable_area_button_release_cb),
2541 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2542 (hildon_pannable_area_jump_to_child):
2544 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2546 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2548 * examples/Makefile.am
2549 * examples/hildon-pannable-area-touch-grid-example.c
2550 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2551 the Hildon Touch List and Hildon Touch Grid using the
2552 HildonPannableArea widget.
2554 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2556 * src/hildon-pannable-area.c,
2557 (hildon_pannable_area_button_press_cb),
2558 (hildon_pannable_area_refresh),
2559 (hildon_pannable_area_scroll),
2560 (hildon_pannable_area_motion_notify_cb),
2561 (hildon_pannable_area_button_release_cb),
2562 (hildon_pannable_area_expose_event),
2563 (hildon_pannable_area_add),
2564 (hildon_pannable_area_remove),
2565 (hildon_pannable_area_realize),
2566 (hildon_pannable_area_size_allocate),
2567 (hildon_pannable_area_class_init),
2568 (hildon_pannable_area_init),
2569 (hildon_pannable_area_scroll_to_child),
2570 (hildon_pannable_area_jump_to_child): Fixed the problem of
2571 removing the child from the GtkBin, we have rearranged the widget
2572 hierarchy, now there is no GtkAlignment which was not doing
2573 anything interesting but breaking some of the assumptions of
2574 GtkContainer. Now developers if they want to add a GtkAlignment
2575 they could, but it is not inside the area.
2577 We had to review the whole allocation/expose process, now it is
2578 improved and we save at least three signals which would be saving
2579 some time when rendering the widget. The allocation of the
2580 scrollbars is now made in the allocate method as usual.
2582 We have also added some conditions in order to control when there
2583 is no child of the pannable area. Maybe we will need more work
2586 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2588 * src/hildon-pannable-area.c,
2589 (hildon_pannable_area_dispose): Released the fade-out timeout when
2590 disposing the widget.
2592 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2594 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2595 zero, we are going to use that property in order to deactivate the
2597 (hildon_pannable_axis_scroll),
2598 (hildon_pannable_area_size_allocate): Added conditions to control
2599 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2600 call, now it is called in all situations and we can remove calls
2601 in the allocate method.
2602 (hildon_pannable_area_map): Control the situation when
2603 overshoot_max is zero, we do not need the timeout.
2604 (hildon_pannable_area_class_init): Added documentation in order to
2605 point out that setting zero to overshoot_max means deactivate
2608 NOTE: removed trailing whitespaces from my previous comments of
2611 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2613 * src/hildon-pannable-area.c
2614 (hildon_pannable_area_get_property),
2615 (hildon_pannable_area_set_property),
2616 (hildon_pannable_area_map),
2617 (hildon_pannable_area_class_init),
2618 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2619 to cause the widget give a hint about its panning abilities upon
2622 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-pannable-area.c: Several documentation improvements.
2626 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-program.c
2629 * src/hildon-stackable-window.c: Update documentation.
2631 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-stackable-window.c (get_previous_window_if_last):
2634 Renamed get_last_window()
2635 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2636 (hildon_stackable_window_unset_program):
2638 (get_previous_window_if_last):
2639 Detect if the window hasn't been added to a HildonProgram.
2641 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2643 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-pannable-area.c
2646 (hildon_pannable_area_button_press_cb),
2647 (hildon_pannable_axis_scroll),
2648 (hildon_pannable_area_scroll),
2649 (hildon_pannable_area_timeout),
2650 (hildon_pannable_calculate_vel_factor),
2651 (hildon_pannable_area_get_property),
2652 (hildon_pannable_area_set_property),
2653 (hildon_pannable_area_class_init),
2654 (hildon_pannable_area_init),
2655 (hildon_pannable_area_scroll_to),
2656 (hildon_pannable_area_jump_to),
2657 (hildon_pannable_area_scroll_to_child),
2658 (hildon_pannable_area_jump_to_child):
2659 * src/hildon-pannable-area.h: Added the new API functions:
2660 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2661 hildon_pannable_area_scroll_to_child,
2662 hildon_pannable_area_jump_to_child
2665 * examples/Makefile.am
2666 * examples/hildon-pannable-area-example-2.c
2667 * examples/hildon-pannable-area-example-3.c: Added these two new
2668 examples in order to test and show how the new APIs work.
2670 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2672 * examples/hildon-stackable-window-example.c (new_window):
2673 * src/Makefile.am (noinst_HEADERS):
2674 * src/hildon-program.c (hildon_program_go_to_root_window):
2675 * src/hildon-program.h:
2676 * src/hildon-stackable-window-private.h:
2677 * src/hildon-stackable-window.c:
2678 * src/hildon-stackable-window.h:
2679 Create hildon-stackable-window-private.h
2680 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2682 * examples/hildon-app-menu-example.c (create_menu):
2683 * examples/hildon-hvolumebar-insensitive-example.c (main):
2684 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2685 * examples/hildon-toolbar-seekbar-example.c (main):
2686 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2687 * src/hildon-banner.c (hildon_banner_set_property):
2688 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2689 Fix compilation warnings
2691 * src/hildon-window.c:
2694 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2696 * src/hildon-stackable-window.c
2697 (hildon_stackable_window_unset_program):
2698 Calculate correctly whether to show the previous window if the
2699 last one is removed from the stack.
2700 (hildon_stackable_window_go_to_root_window):
2701 Send delete events starting from the topmost window.
2702 Stop if one of the windows is not destroyed.
2704 (hildon_stackable_window_delete_event)
2705 (hildon_stackable_window_class_init):
2706 Ignore the delete event if the window is not the topmost one.
2708 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2710 * src/hildon-pannable-area.c
2711 (hildon_pannable_area_expose_event): Fixed a problem when
2712 selecting the background color of the scrollbars.
2714 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2716 * examples/hildon-stackable-window-example.c
2717 * src/hildon-stackable-window.c
2718 * src/hildon-stackable-window.h
2719 hildon_stackable_window_go_home() renamed to
2720 hildon_stackable_window_go_to_root_window()
2721 Send delete events to windows rather than closing them with
2722 gtk_widget_destroy()
2724 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-pannable-area.c
2727 (hildon_pannable_area_button_release_cb): Fix overshooting in
2730 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/hildon-pannable-area.c
2733 (hildon_pannable_area_init): Initially show the scroll indicators.
2734 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2736 Add initial effect showing the widget is pannable.
2738 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-pannable-area.c
2741 (hildon_pannable_area_class_init)
2742 (hildon_pannable_area_set_property)
2743 (hildon_pannable_area_get_property)
2744 (hildon_pannable_area_button_press_cb):
2745 New 'velocity_fast_factor' property to decide which velocity is
2748 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-pannable-area.c
2751 (hildon_pannable_draw_hscroll)
2752 (hildon_pannable_draw_vscroll):
2753 Use float variables to calculate the size of the scrollbars to
2754 avoid error propagation and resizing during scrolling.
2756 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-pannable-area.c
2759 (hildon_pannable_draw_vscroll)
2760 (hildon_pannable_draw_hscroll):
2761 Define a minimum size for the scroll bars
2763 * src/hildon-stackable-window.c
2764 (hildon_stackable_window_go_home): Fix compilation warning
2765 (get_last_window): Minor optimizations
2766 (hildon_stackable_window_class_init): Fix initialization of
2769 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-stackable-window.c: Fixed typos in doc
2773 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-pannable-area.c
2776 (hildon_pannable_area_scroll):
2777 Calculate here whether we need to scroll instead of using the booleans
2778 that tell us whether to /draw/ the scrolling bars.
2780 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2782 * src/hildon-app-menu.h
2784 * src/hildon-app-menu.c
2785 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2786 multiple filter groups related code and API. Now we support only
2788 * examples/hildon-app-menu-example.c:
2790 Update to reflect API changes.
2792 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-stackable-window.c
2795 (hildon_stackable_window_class_init):
2796 Add hildon_stackable_window_realize.
2797 (hildon_stackable_window_realize):
2798 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2799 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2800 to apply theming and behavior specific to HildonStackableWindow
2803 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-note.c (hildon_note_button_release):
2806 Close information notes also when tapping on them
2808 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2810 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2811 ELASTICITY, refactor and review, fix some issues with drawing
2814 * src/hildon-pannable-area.c:
2815 (hildon_pannable_area_button_press_cb): removed the conditions to
2816 avoid clicks when overshooting. It is not required
2818 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2819 define. Refatored and reviewed the code, now we do not need to
2820 manage velocity in motion_notify.
2822 (hildon_pannable_area_motion_notify_cb): We have moved the code
2823 that controls the area_scroll to the axis_scroll function and get
2824 rid of duplicated code.
2826 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2828 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2830 (hildon_pannable_draw_vscroll),
2831 (hildon_pannable_draw_hscroll): Fixed the problems with the
2832 scrollbar drawing, now we do not use two surfaces, it is easier
2833 and saves resources.
2835 (hildon_pannable_area_get_property): Style modification.
2837 (hildon_pannable_area_class_init): Changed some default values.
2839 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-stackable-window.c: Fix some typos in the
2844 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-dialog.c:
2847 Change indentation style
2850 (hildon_note_button_release):
2851 Use root coordinates to check if the release event happened
2854 * src/hildon-app-menu.c
2855 (hildon_app_menu_button_release):
2856 Remove unnecessary check
2858 * examples/hildon-app-menu-example.c
2860 Add cast to fix warning
2862 * src/hildon-app-menu.c
2863 (hildon_app_menu_class_init):
2864 New inner-border style property.
2865 Set all default spacings to 16
2866 (hildon_app_menu_init):
2867 Use vertical-spacing to set the space between filter buttons and
2868 regular menu buttons.
2869 Set the default container border using the inner-border value.
2871 * examples/hildon-app-menu-example.c
2873 Don't set the menu border explicitly, now we have the inner-border
2874 style property for that.
2876 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-app-menu.c (hildon_app_menu_init):
2879 Make the window modal
2881 * src/hildon-note.c (hildon_note_map)
2882 * src/hildon-app-menu.c (hildon_app_menu_map):
2883 Destroy the grab window if we're unable to grab the pointer
2885 * src/hildon-app-menu-private.h
2886 * src/hildon-app-menu.c
2887 (hildon_app_menu_init, hildon_app_menu_finalize)
2888 (hildon_app_menu_map, hildon_app_menu_unmap)
2889 (hildon_app_menu_button_release)
2890 (grab_transfer_window_get):
2891 Bring back the grab window
2892 (hildon_app_menu_realize):
2893 Decorate the window, set WM hint for Matchbox
2895 * src/hildon-note.c (hildon_note_realize):
2896 * src/hildon-banner.c (hildon_banner_realize):
2897 Add WM hints for Matchbox
2899 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-app-menu-private.h
2902 * src/hildon-app-menu.c
2903 (hildon_app_menu_init, hildon_app_menu_finalize)
2904 (hildon_app_menu_map, hildon_app_menu_unmap)
2905 (hildon_app_menu_button_release):
2906 Remove the grab window, it's not needed anymore
2908 * src/hildon-program.c
2909 Fixed typo in documentation
2911 * src/hildon-app-menu.h
2912 * src/hildon-app-menu.c
2913 * examples/hildon-app-menu-example.c
2914 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2916 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2919 Added new transfer_window and close_if_pressed_outside private
2921 (hildon_note_rebuild):
2922 Don't add a cancel button to the information note. It will be
2923 closed when tapping outside
2924 Remove the comment about the OK button in the documentation
2925 (hildon_note_realize):
2926 Set the notification type hint
2927 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2928 Grab/ungrab pointer and keyboard if the note has to be closed when
2930 (hildon_note_button_release):
2931 Close the note when tapping outside (if applicable)
2933 * src/hildon-app-menu.c
2934 Grab/ungrab pointer and keyboard on map/unmap
2935 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2936 Close the menu on button release, not button press
2938 * src/hildon-banner.c
2939 (hildon_banner_set_property)
2940 (hildon_banner_check_position):
2941 Make the banner use the full width of the screen
2942 (hildon_banner_show_information)
2943 (hildon_banner_show_information_with_markup):
2944 Don't display an icon by default
2946 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2948 Added fading scrollbars and adapted all the overshooting code to
2949 horizontal scrolling. We have also fixed bugs with overshooting
2950 and current fading implementation.
2952 * src/hildon-pannable-area.c
2953 (hildon_pannable_area_scroll_indicator_fade): Time out function
2954 used to change the transparency of the scrollbars.
2956 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2957 control and fixed a problem with fading, we now remove the fade
2958 timeout before adding a new one.
2960 (hildon_pannable_axis_scroll):
2961 (hildon_pannable_area_scroll):
2962 (hildon_pannable_area_timeout): Added this functions so we can use
2963 the scroll code both for vertical and horizontal.
2965 (hildon_pannable_area_motion_notify_cb):
2966 (hildon_pannable_area_button_release_cb): Added the horizontal
2967 scrolling control, fixed a problem with the overshooting timeout.
2969 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2970 painting of the scrolls.
2972 (hildon_pannable_draw_vscroll):
2973 (hildon_pannable_draw_hscroll):
2974 (hildon_pannable_area_expose_event):
2975 Draw both scrollbars and rectangles in the overshooting area.
2977 (hildon_pannable_area_get_property):
2978 (hildon_pannable_area_set_property):
2979 Modified the overshoot property to overshoot_max
2981 (hildon_pannable_area_map):
2982 Replaced the comments symbols.
2984 (hildon_pannable_area_size_allocate):
2985 (hildon_pannable_area_class_init):
2986 (hildon_pannable_area_init): Added horizontal scroll, fading
2987 effect properties, fixed a problem when overshooting in the bottom
2990 * examples/hildon-pannable-area-example.c:
2991 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2992 looks better in the example.
2994 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2996 * src/hildon-window.c
2997 * src/hildon-window.h
2998 (hildon_window_class_init)
2999 (hildon_window_unset_program)
3000 (hildon_window_unset_program_real):
3001 Make unset_program a virtual function
3003 * src/hildon-stackable-window.c
3004 * src/hildon-stackable-window.h
3005 Added hildon_stackable_window_go_home()
3007 * examples/Makefile.am
3008 * examples/hildon-stackable-window-example.c
3009 HildonStackableWindow example
3011 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3013 * hildon-pannable-area.c: Added the overshoot property and removed
3014 the OVERSHOOT define. Fixed an indent style error.
3015 (hildon_pannable_area_motion_notify_cb):
3016 (hildon_pannable_area_get_property):
3017 (hildon_pannable_area_set_property): Add overshoot property.
3019 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3022 (hildon_pannable_area_class_init): Installed the new property.
3024 * hildon-pannable-area-example.c: Added a sawtooth function, this
3025 way it is easier to check the movement in the pannable.
3026 (get_sawtooth_label): Added this function.
3027 (main): Now we get the labels from the new get_sawtooth_label
3030 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-app-menu.h
3033 * src/hildon-app-menu.c
3034 Renamed API variables for consistency
3036 (hildon_app_menu_popup): Use also the default window size to
3037 decide where to place the menu
3039 (hildon_app_menu_init, hildon_app_menu_class_init): New
3040 external-border style property
3042 2008-05-26 Michael Natterer <mitch@imendio.com>
3044 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3045 widget_class->tap_and_hold_setup signal slot doesn't exist any
3046 longer, stop overriding it.
3048 (hildon_time_editor_init): g_signal_connect() to the
3049 tap-and-hold-setup signal instead.
3051 (hildon_time_editor_entry_keypress): add cast to fix warning.
3053 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3055 * doc/hildon-docs.sgml
3057 * examples/Makefile.am
3058 * examples/hildon-app-menu-example.c
3060 * src/hildon-app-menu-private.h
3061 * src/hildon-app-menu.c
3062 * src/hildon-app-menu.h
3064 New HildonAppMenu widget
3066 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3068 Rearranged the inheritance of the pannable area, now it inherits
3069 from GtkBin. This will allow us to control the event_window and
3070 the allocation process of the widget, required for some effects.
3072 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3073 GtkBin structures. * src/hildon-pannable-area.c: Added the
3074 event_window variable.
3075 (hildon_pannable_area_button_press_cb):
3076 (hildon_pannable_area_button_release_cb):
3077 (hildon_pannable_area_motion_notify_cb):
3078 Changed the signature of the method, now we override the event
3079 callback instead of connecting to the signal.
3081 (hildon_pannable_area_realize):
3082 (hildon_pannable_area_unrealize):
3083 (hildon_pannable_area_map):
3084 (hildon_pannable_area_unmap):
3085 (hildon_pannable_area_size_allocate):
3086 Added functions to control the widget construction. We add a
3087 INPUT_ONLY window and we put it over the widgets inside the
3088 container, this event_window handles the events.
3090 (hildon_pannable_area_class_init):
3091 Replaced the signal connections with overrides of the event
3094 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3096 Bouncing effect added when touching the borders, you can change
3097 the elasticity of the border changing the ELASTICITY define.
3099 * src/hildon-pannable-area.c: Added ELASTICITY define.
3100 (hildon_pannable_area_timeout): Added inverse velocity when
3101 touching the border of the child widget, that causes a bounce.
3103 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3105 Improved performance, we now do not go to the X server in order to
3106 get the list of window children. Apparently the effect is the
3107 same, we have to be careful and check if this breaks something in
3110 * src/hildon-pannable-area.c:
3111 (get_ordered_children): Removed this function.
3112 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3113 the children windows function with gdk_window_get_children.
3115 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c:
3118 (hildon_pannable_area_dispose): Fixed a crash when closing the
3119 window and kinetics is activated.
3121 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-pannable-area.h
3124 * src/hildon-pannable-area.c
3125 Changed indentation style to meet the one used in Hildon
3127 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3129 Reviewed the interaction of the AUTO mode, now we use the time
3130 attribute of the events and calculate the velocity in the motion,
3131 doing a gimp like calculation. The velocity is calculated in each
3132 motion event using the last velocity and the current one, the
3133 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3135 * src/hildon-pannable-area.c: Replaced the time based algorithm
3137 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3138 timeout for the AUTO mode when we are still moving the cursor. We
3139 added also the velocity calculation in this function.
3140 (hildon_pannable_area_button_release_cb): launch the timeout in
3141 case we are in AUTO mode. There are still some constants here that
3142 come from the old implementation that should be reviewed and
3145 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3147 * doc/hildon-docs.sgml
3150 * src/hildon-stackable-window.c
3151 * src/hildon-stackable-window.h
3153 New HildonStackableWindow widget
3155 * examples/hildon-dialog-example.c
3156 * examples/hildon-pannable-area-example.c
3159 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-dialog.c
3162 (hildon_dialog_new_with_buttons): New constructor.
3164 * examples/hildon-dialog-example.c
3165 (main): Update the example to use the new
3166 hildon_dialog_new_with_buttons().
3168 * examples/hildon-pannable-area-example.c
3169 (main): Update example.
3171 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3173 * doc/hildon-docs.sgml
3175 Added HildonPannableArea to the documentation.
3177 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3179 * doc/visual_index.xml
3180 Fix reference to HildonLoginDialog in documentation
3182 * doc/hildon-docs.sgml
3184 * examples/Makefile.am
3185 * examples/hildon-dialog-example.c
3187 * src/hildon-dialog.c
3188 * src/hildon-dialog.h
3190 New HildonDialog widget.
3192 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-pannable-area.c
3195 Merge latest changes (r4318, r4342) from libmokoui trunk
3197 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3199 * examples/Makefile.am
3200 * examples/hildon-pannable-area-example.c
3202 * src/hildon-pannable-area.c
3203 * src/hildon-pannable-area.h
3205 New HildonPannableArea widget.
3207 2008-04-15 18:05:19 <timj@imendio.com>
3209 * src/hildon-banner.c: revert the recent change, that introduced
3210 gtk_window_present() calls. this reopens:
3211 Bug 78481 - [freetest] information banners are hidden under browser menu
3212 But resolves another variant of:
3213 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3215 2008-04-15 13:21:13 <timj@imendio.com>
3217 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3218 recreated its layout, spotted by Kris. this fixes all remaining
3219 artefacts and stability issues with the banner code. in particular:
3220 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3222 2008-04-14 16:52:59 <timj@imendio.com>
3224 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3225 operating on unrealized widgets, fixes:
3226 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3228 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3230 2008-04-09 Kristian Rietveld <kris@imendio.com>
3232 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3233 makes banner disappear.
3234 Fixes: NB#79182: info banner flickering with certain message lengts.
3236 * src/hildon-banner.c (hildon_banner_constructor),
3237 (hildon_banner_init), (hildon_banner_set_text),
3238 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3239 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3240 FALSE, reset size requests of label and banner,
3241 (force_to_wrap_truncated): when the text is too wide, always enforce
3242 the maximum possible width instead of recalculating it from the
3243 layout; enforce the maximum banner height of 3 lines,
3244 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3245 nicer wrapping and no truncated chars if space gets tight.
3247 * src/hildon-banner-private.h: add has_been_wrapped and
3248 has_been_truncated fields.
3250 2008-04-07 Sven Herzberg <sven@imendio.com>
3252 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3253 local values in hildon_date_editor_size_allocate
3255 * src/hildon-date-editor.c: moved the real allocation code into the
3258 2008-04-07 Sven Herzberg <sven@imendio.com>
3260 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3261 local values in hildon_date_editor_size_allocate
3263 * src/hildon-date-editor.c: merged the two if() branches together
3265 2008-04-07 Sven Herzberg <sven@imendio.com>
3267 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3268 local values in hildon_date_editor_size_allocate
3270 * src/hildon-date-editor.c: changed the arguments of the if()
3273 2008-04-07 Sven Herzberg <sven@imendio.com>
3275 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3276 local values in hildon_date_editor_size_allocate
3278 * src/hildon-date-editor.c: split the calculation of the allocation
3279 from the real allocation
3281 2008-03-27 Michael Natterer <mitch@imendio.com>
3283 Fixes: NB#81696: The passcode is not overwritten even after
3286 * src/hildon-code-dialog.c
3287 (hildon_code_dialog_button_clicked)
3288 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3289 because that doesn't overwrite selected text. Instead, emit the
3290 "commit" signal on the entry's im_context so the entry's normal
3291 insert logic is triggered. Set the cursor to the end of the entry
3292 after each insert operation so that we *only* insert in the middle
3293 of the text if something was selected.
3295 2008-03-27 Michael Natterer <mitch@imendio.com>
3297 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3298 selector cannot be opened
3300 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3301 when the popup color selector is created. Please connect to this
3302 signal in order to set the dialog's help ID.
3304 2008-03-25 Sven Herzberg <sven@imendio.com>
3306 Fixes: MB#1212: Hide info banners (infoprints) on click
3308 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3309 extracted the close event simulation into an extra function
3310 (hildon_banner_button_press_event): simulate a close event and destroy
3311 the widget if the event wasn't handled
3312 (hildon_banner_class_init): added the button_press_event handler
3313 (hildon_banner_init): added button-press events to the widget
3315 2008-03-25 Sven Herzberg <sven@imendio.com>
3317 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3318 Patch from: Mohammad Anwari <mdamt@maemo.org>
3320 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3321 instead of the right in RTL mode
3322 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3323 breadcrumb button list in RTL mode
3324 * src/hildon-caption.c: mirror the appearance of the caption widget in
3326 * src/hildon-date-editor.c: mirror appearance of the date editor in
3328 * src/hildon-time-editor.c: mirror appearance of the time editor in
3330 * src/hildon-window.c: fix the position of the popup in RTL mode
3332 2008-03-25 Sven Herzberg <sven@imendio.com>
3334 Amendment to the fix of NB#22072. Fix compilation.
3336 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3338 2008-03-19 Sven Herzberg <sven@imendio.com>
3340 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3343 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3344 timeout id properly when the timeout will disappear this leaves no
3345 artifacts around in the destroy(); there will only be the timeout
3346 created by hildon_banner_ensure_timeout() and adding a new timeout
3347 will also work if the timeout gets removed because the timeout_handler
3350 2008-03-19 Michael Natterer <mitch@imendio.com>
3352 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3354 * src/hildon-volumebar.c
3355 * src/hildon-vvolumebar.c
3356 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3357 the widget becomes focussable at all.
3359 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3360 set the focus to wither the mute button or the volumebar.
3362 Remove own "can-focus" property and instead listen to
3363 notify::can-focus in order to update the widget's state.
3365 Implement GtkWidget::focus() and make sure we can also *leave* the
3366 widget, not only enter it, depending on volumebar orientation and
3367 requested focus direction.
3369 Clean up set_mute() to cooperate nicely with all the above.
3371 2008-03-04 Michael Natterer <mitch@imendio.com>
3373 Fixes: NB#78481: information banners are hidden under browser menu
3375 * src/hildon-banner.c: call gtk_window_present() on the banners so
3376 they are risen if they are already visible.
3378 2008-03-03 Sven Herzberg <sven@imendio.com>
3380 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3382 * examples/hildon-window-menu-example.c: (main): extended the window
3383 menu example to serve as a testcase for automatically added
3384 accelerator groups, too
3385 * src/hildon-window.c: (hildon_window_add_accel_group),
3386 (hildon_window_set_menu): added patch by Tommi Komulainen
3388 2008-03-03 Sven Herzberg <sven@imendio.com>
3390 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3392 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3393 knowledge about the border allocators used within GTK+
3395 2008-02-26 Sven Herzberg <sven@imendio.com>
3397 Fixes: MB#2981: Build with asserts broken
3399 * src/hildon-date-editor.c,
3400 * src/hildon-number-editor.c,
3401 * src/hildon-time-editor.c,
3402 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3403 the proper GType instance check
3405 2008-02-25 Sven Herzberg <sven@imendio.com>
3407 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3409 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3410 * examples/hildon-window-menu-example.c: (main): explicitly show
3412 * src/hildon-window.c:
3413 (hildon_window_set_main_menu): moved most of the code from set_menu()
3414 to this place; skipped the call to gtk_widget_show_all(); also didn't
3415 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3416 (hildon_window_set_menu): removed most of the code, just keep the
3417 questionable gtk_widget_show_all()
3418 * src/hildon-window.h: added the new function and deprecate the old
3421 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3427 * debian/changelog: Updating.
3429 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3432 * pkgconfig/Makefile.am:
3433 * pkgconfig/hildon.pc.in:
3436 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3437 use newly created API_MAJOR_VERSION.
3439 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3445 * debian/changelog: Updating.
3447 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3449 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3451 Add outer_border style property, we use it but don't define it (!).
3455 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3457 * examples/hildon-bread-crumb-trail-example.c (main):
3461 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3463 Fix logic for the bread crumb trail node removal.
3467 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3473 * debian/changelog: Updating.
3475 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3477 Patch by Alejandro to get/set passwords dialogs accesibility.
3479 * hildon-1/src/hildon-get-password-dialog.c:
3480 * hildon-1/src/hildon-set-password-dialog.c:
3481 Set atk_set_name to the passwd entries in order to allow
3482 accessibility by name on this entries.
3484 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3489 * debian/control: Updating gtk dep.
3491 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3493 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3494 USE_MAEMO_GTK is enabled.
3496 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3498 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3499 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3501 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3507 * debian/changelog: Updating.
3509 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3511 * examples/Makefile.am:
3512 * examples/hildon-logical-color-example.c:
3513 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3514 applied + adding a test case. Fixes: NB#71660.
3516 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3518 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3519 to be visible, fixes warning on map for windows without toolbars.
3521 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3523 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3524 2.11.0, add a check for that besides the MAEMO_GTK check.
3526 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3532 * debian/changelog: Updating.
3534 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3536 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3537 visibility. Fixes: NB#70842 and MB#615.
3539 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3541 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3542 set the separator as no-show-all so it doesn't unintentionally appear when
3543 someone does a show_all.
3545 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3547 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3548 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3549 toplevel item. Fixes: NB#62031
3551 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3553 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3554 fix the name of the function in the docs.
3556 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3562 * debian/changelog: Updating.
3564 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3566 * examples/hildon-banner-long-example.c: Adding a test-case for long
3569 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3571 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3573 * src/hildon-color-chooser-dialog.c:
3574 * src/hildon-color-chooser.c:
3575 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3576 memory leaks in font selector and color selector. Fixes: NB#70499 and
3579 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3581 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3583 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3585 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3586 little bit bigger. Fixes: #NB63694.
3588 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3594 * debian/changelog: Updating.
3596 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3599 * doc/hildon-docs.sgml:
3600 * doc/images/bread-crumb-trail.png:
3601 * doc/images/calendar-popup.png:
3602 * doc/images/caption.png:
3603 * doc/images/code-dialog.png:
3604 * doc/images/color-button.png:
3605 * doc/images/color-chooser-dialog.png:
3606 * doc/images/color-chooser.png:
3607 * doc/images/controlbar.png:
3608 * doc/images/date-editor.png:
3609 * doc/images/font-selection-dialog.png:
3610 * doc/images/get-password-dialog.png:
3611 * doc/images/hvolumebar.png:
3612 * doc/images/login-dialog.png:
3613 * doc/images/note.png:
3614 * doc/images/number-editor.png:
3615 * doc/images/range-editor.png:
3616 * doc/images/seekbar.png:
3617 * doc/images/set-password-dialog.png:
3618 * doc/images/sort-dialog.png:
3619 * doc/images/time-editor.png:
3620 * doc/images/time-picker.png:
3621 * doc/images/vvolumebar.png:
3622 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3623 Adding the bread-crumb-trial and helpers to the documentation.
3625 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3627 * examples/hildon-find-toolbar-example.c:
3628 * src/hildon-find-toolbar.c:
3629 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3630 actually continue firing the other handlers if connected. Adding a new
3632 hildon_find_toolbar_get_last_index that gets the index of the most
3633 recently added (last) item. Fixes: NB#52301.
3635 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3637 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3638 behaviour. Fixes: NB#68610.
3640 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3642 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3645 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3647 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3648 when realizing the banner. Should make the infonbanner effect a bit more
3651 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3653 * src/hildon-volumebar.c:
3654 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3655 hildon_volumebar_set_range_insensitive_message and
3656 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3658 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3660 * src/hildon-window.c: Fixing the border freeing on destroy.
3662 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3664 * src/hildon-code-dialog-private.h:
3665 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3666 kw keyboard support in HildonCodeDialog.
3668 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3674 * debian/changelog: Updating.
3676 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3678 * src/hildon-date-editor.c:
3679 * src/hildon-number-editor.c:
3680 * src/hildon-private.c:
3681 * src/hildon-private.h:
3682 * src/hildon-time-editor.c:
3683 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3684 handling in subclassed composite widgets. Fixes: NB#66628.
3686 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3688 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3689 from destroy_ callback as it introduces problems in async dbus signal
3690 handlers. Fixes NB#66673.
3692 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3694 * examples/hildon-hvolumebar-example.c:
3695 * src/hildon-volumebar.c: Improving the focus handling in the
3696 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3697 set_property accessor so that "mute" property can be actually set. I'm
3698 scared that nobody noticed it's totally broken.
3700 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3702 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3705 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3707 * src/hildon-calendar.c:
3708 * src/hildon-number-editor.c:
3709 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3710 matches the spec of 6 chars per second. Fixes: NB#60489.
3712 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3714 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3715 gtk_style_lookup_color sometime returns FALSE even though color was
3716 found and values were filled properly. Weird. Removing the warning for the
3719 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3721 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3722 expand vertically. Adding some extra space to the find toolbar buttons to
3723 make them thumbable. Fixes NB#66060.
3725 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3727 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3728 popup with "Ok" and "Cancel". Fixes NB#59299.
3730 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3732 * src/hildon-calendar.c: Process all window updates before executing next
3733 timeout. Fixes: NB#54146.
3735 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3741 * debian/changelog: Updating.
3743 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3745 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3746 the client event and ignore it, since we use the delete event to close
3749 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3751 * src/hildon-helper.c: Remove the bogus warning about color not being
3752 found. Fixes NB#58352.
3754 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3756 * examples/Makefile.am:
3757 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3758 HildonSeekbar widget inside a toolbar.
3760 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3762 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3763 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3764 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3765 don't want to be closed by non-temporary windows on map.
3767 Also use G_DEFINE_TYPE instead of manually typed code.
3769 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3776 * debian/rules: Updating.
3778 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3780 * examples/Makefile.am:
3781 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3782 bug NB#61128. Strangely it works.
3784 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3786 * src/hildon-date-editor.c: When the date editor entry has been changed
3787 but the numbers of characters < max, turn off the skip validation flag.
3788 Prevents a situation when we enter first a valid year and later re-write
3789 it with an invalid one. Fixes NB#60154.
3791 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3793 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3794 code dialog. Fixes NB#64355.
3796 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3798 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3799 switching the page. Fixes NB#49374.
3801 * examples/Makefile.am:
3802 * examples/hildon-wizard-dialog-example.c: Adding an example for
3803 HildonWizardDialog that shows how to handle manual sensitivity setting on
3806 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3810 * src/hildon-version.h.in:
3811 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3813 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3815 * src/hildon-volumebar.c: Updating the docs.
3817 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3823 * debian/changelog: Updating.
3825 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3827 * src/hildon-find-toolbar.c:
3828 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3829 selected item: hildon_find_toolbar_set_active,
3830 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3831 hildon_find_toolbar_get_active_iter . They correspond to respective
3832 GtkComboBox functions.
3834 * examples/Makefile.am:
3835 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3838 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3840 * examples/Makefile.am:
3841 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3844 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3845 when font size > 32 and we pack a focusable widget inside. Actually using
3846 the default response would work too, but since we don't show default
3847 response state in any way (no theming) it would not be visible to the
3848 user. Fixes NB#63430.
3850 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3852 * src/hildon-date-editor.c: Adding the missing variable setter in the
3853 set_property handler. Fixes NB#54182.
3855 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3857 * src/hildon-window.h: Changing the long key press time from 1500ms to
3858 800ms as requested in NB#63700. I have a bad feeling about this, let's
3859 see... Fixes NB#63700.
3861 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3863 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3864 hildon_time_picker_map, hildon_time_picker_realize,
3865 hildon_time_picker_style_set): Split the contents of map to more
3866 appropriate functions; set window decorations on realize and update
3867 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3869 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3874 * debian/changelog: Updating.
3876 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3878 * src/Makefile.am: fixed installation of the header files
3880 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3886 * debian/changelog: Updating.
3888 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3890 * configure.ac: Removing some remaining of --enable-xan.
3892 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3894 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3895 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3897 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3898 2.10.12-osso6 because the move-focus signal needs to be available in
3901 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3903 * examples/Makefile.am:
3904 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3905 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3906 fine. Prolly NB#61128 is fixed now.
3908 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3910 * src/hildon-volumebar.c:
3911 * src/hildon-volumebar.h: Adding the
3912 hildon_volumebar_set_range_insensitive_message and
3913 hildon_volumebar_set_range_insensitive_messagef functions to set
3914 insensitive message on the slider of the volumebar. Fixes NB#61129.
3916 * examples/Makefile.am:
3917 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3918 test the new insensitive messsage functionality on HildonVolumebar.
3920 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3922 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3925 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3927 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3928 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3929 button on after clearing the trail.
3931 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3933 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3935 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3937 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3938 by splitting the installed headers in generated and non-generated groups. Use
3939 only the non-generated headers to create the hildon-enum-types.h file.
3941 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3943 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3945 * src/hildon-window.c: Hide the window before performing the destroy.
3946 Should make the app closing a little tiny bit more snappy.
3948 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3950 * src/hildon-seekbar.c: add gtkrange.h header
3951 * src/hildon-caption.c: remove unused variable
3953 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3955 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3958 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3964 * debian/changelog: Updating.
3966 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3968 * src/hildon-window.c (hildon_window_window_state_event,
3969 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3970 escape timeout on focus-out-event rather than notify::is-topmost; the
3971 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3973 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3975 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3976 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3978 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3980 * src/hildon-window: actually, you need to use the macro always, there's
3981 no private pointer in the instance structure. We should have cleaned this up
3982 when we had the chance...
3984 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3986 * src/hildon-window.c: do not get the private date from HildonWindow before
3987 it passes the g_return_if_fail check. Once it's passed the test, there's no
3988 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3989 if you are only going to access the data once. Whitespace cleanups.
3991 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3993 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3994 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3996 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4002 * debian/changelog: Updating.
4004 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4006 * src/hildon-window.c: When destroying the window, remove (if exists) the
4007 escape timeout handler. Fixes #NB59276.
4009 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4011 * src/hildon-banner.c: When realizing the widget, set the window
4012 transiency. Setting the transiency in the gobject constructor is not
4013 good, as the widget is not realized at that point. Fixes: #NB56624.
4015 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4017 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4018 Add padding for future expansions.
4020 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4022 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4023 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4024 will fake an activation on the previous to the last item of the trail, so
4025 the effect can be overrided by the developer as usual.
4026 Also change the callback for the back button to do the same thing, so its
4027 effect can be overrided too. Fixes: NB#58982
4029 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4031 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4032 HildonCaption. Fixes NB#52379.
4034 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4036 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4037 the internal state of the trail after the user has had the chance of executing
4038 his handler for the signal. Specifically, it may happen that the activated button
4039 is removed and the user still lets the default handler run. This would segfault
4042 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4044 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4045 scrollbar to the preview dialog. Fixes NB#54147.
4047 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4049 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4050 max/min year properties can be altered, so the client can modify it
4051 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4053 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4055 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4056 hildonlike by default. Fixing a problem with disappearing arrows when
4057 scrolling through months and years. Fixes NB#54127.
4059 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4061 * examples/hildon-date-editor-example.c: Adding error callback to the date
4064 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4070 * configure.ac: Updating.
4072 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4074 * configure.ac: Adding a special '--enable-xan' configure option that
4075 turns off the -Werror compilation setting. Usefull for development.
4077 * src/hildon-calendar.c:
4078 * src/hildon-number-editor.c:
4079 * src/hildon-time-picker.c: Adding the 5* multiplier to
4082 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4084 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4085 instead of g_object_ref + gtk_object_sink.
4087 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4093 * debian/changelog: Updating.
4095 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4097 * src/hildon-color-chooser-dialog.c:
4098 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4099 straight from Tommi labs.
4101 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4103 * examples/hildon-finger-example.c: Correcting the header file path.
4105 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4106 the changed signal. Fixes a small memory leak.
4108 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * src/hildon-banner.c: Importing several usefull fixes from the
4113 ubuntu-mobile branch.
4115 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4117 * examples/Makefile.am:
4118 * examples/hildon-finger-example.c: Adding a finger-checking code
4121 * src/hildon-font-selection-dialog.c: Do not allocate the color
4122 structure using the g_new. Fixes NB#54061.
4124 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * src/hildon-helper.c: Correcting tabs in file.
4128 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4130 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4131 control the visibility of the children.
4133 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4135 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4141 * debian/changelog: Updating.
4143 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4145 * src/hildon-bread-crumb-trail.c:
4146 (hildon_bread_crumb_trail_size_allocate):
4148 Make the back button always a square.
4150 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4152 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4153 from the .c file as it's a private file.
4155 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4157 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4158 uses slightly bigger height.
4160 * src/hildon-font-selection-dialog.c: Adding some checks before
4161 freeing memory in the font selection dialog.
4163 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4165 * src/hildon-font-selection-dialog.c: Adding a small check when
4168 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4169 buttons sensitivity on page switching.
4171 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4173 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4174 internal details of adding a bread crumb to the trail.
4176 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4182 * debian/changelog: Updating.
4184 * src/hildon-bread-crumb-trail.h:
4185 * src/hildon-bread-crumb.h: Changing the API guard to
4186 HILDON_ENABLE_UNSTABLE_API.
4188 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-helper.h: Updating.
4198 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4206 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4210 * src/hildon-helper.h: Small fix to make the package actually compile.
4212 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4214 * src/hildon-bread-crumb-trail.h:
4215 * src/hildon-bread-crumb.h:
4217 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4218 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4220 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4222 * examples/hildon-bread-crumb-trail-example.c:
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:
4228 * src/hildon-marshalers.list:
4229 * src/hildon-bread-crumb-widget.c:
4230 * src/hildon-bread-crumb-widget.h:
4232 Slight change in the widget design. The bread crumb trail API is
4233 unchanged, but HildonBreadCrumb is now an interface. A *private*
4234 implementation, hildon-bread-crumb-widget, is provided and used
4235 internally by the trail for the push_text/push_icon functions.
4237 The generic push API is still available, so anyone can implement
4238 and use its own bread crumb widget.
4240 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4242 * debian/rules: Fixing the shlibs.
4244 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4246 * src/hildon-banner.c: Fixing a problem with timed banners having
4247 their parrent destroyed before they are.
4249 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4251 * src/hildon-bread-crumb.c:
4252 * src/hildon-bread-crumb.h:
4254 Make the get_natural_size function a vfunc.
4256 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4258 * src/hildon-bread-crumb.c:
4259 * src/hildon-bread-crumb-trail.c:
4263 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * debian/changelog: Updating for release.
4272 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4274 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4275 don't leak the pango layout.
4277 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4280 * examples/hildon-bread-crumb-trail-example.c:
4284 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4286 * debian/changelog: Removing the bug-fixed entries that were actually
4287 resolved as WONTFIX.
4289 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4292 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4294 * src/hildon-bread-crumb-trail.c:
4295 * src/hildon-bread-crumb-trail.h:
4296 * src/hildon-bread-crumb.c:
4297 * src/hildon-bread-crumb.h:
4301 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4303 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4304 until it's passed the type check.
4306 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4308 * examples/hildon-bread-crumb-trail-example.c
4312 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4314 * examples/Makefile.am
4315 * examples/hildon-bread-crumb-trail-example.c
4317 * src/hildon-bread-crumb-trail.c
4318 * src/hildon-bread-crumb-trail.h
4319 * src/hildon-bread-crumb.c
4320 * src/hildon-bread-crumb.h
4322 New HildonBreadCrumbTrail widget.
4324 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4326 * src/hildon-range-editor.c (hildon_range_editor_init),
4327 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4328 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4329 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4330 hildon_time_editor_class_init, hildon_time_editor_init),
4331 src/hildon-get-password-dialog.c (invalid_input,
4332 hildon_get_password_set_property, hildon_get_password_get_property,
4333 create_contents, hildon_get_password_dialog_set_max_characters),
4334 src/hildon-set-password-dialog.c (create_contents),
4335 src/hildon-date-editor.c (hildon_date_editor_init),
4336 src/hildon-login-dialog.c (hildon_login_dialog_init),
4337 src/hildon-number-editor.c (hildon_number_editor_init),
4338 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4339 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4340 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4341 configure option and adding the respective checks in the code.
4342 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4343 hildon_calendar_drag_data_received): fixed some build warnings.
4345 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4347 * debian/changelog: A 1.0.0 release notes.