1 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3 Reverting following commit:
5 2008-10-13 Alberto Garcia <agarcia@igalia.com>
7 * src/hildon-app-menu-private.h
8 * src/hildon-app-menu.[ch]
9 * src/hildon-button.[ch]
10 * src/hildon-check-button.[ch]
11 * src/hildon-entry.[ch]
12 * src/hildon-pannable-area.[ch]
13 * src/hildon-text-view.[ch]:
14 Added private field to the object's structure.
16 because it causes an ABI breakage. We will need to introduce these
17 changes later at some point. See NB#91636 for an extensive
18 explanation and status.
20 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
22 Patch contributed by Daniel Borgmann (danielb@openismus.com)
24 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
25 remove special cases that are no longer necessary.
27 Fixes: NB#91016 (Change toolbar sizes, simplification)
29 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
31 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
32 is shown in the cancel note.
34 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
36 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
37 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
38 (hildon_seekbar_init): Remove steppers, remove expose event.
39 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
41 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
43 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
45 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
46 label font to "SmallSystemFont" for vertically arranged buttons.
48 Fixes: NB#90662 (HildonButton "value" and "detail" text is
51 2008-10-31 Alberto Garcia <agarcia@igalia.com>
53 * src/hildon-check-button.c
54 (hildon_check_button_set_active, hildon_check_button_clicked):
55 Don't access private parts directly, use getters instead.
57 2008-10-31 Alberto Garcia <agarcia@igalia.com>
59 * src/hildon-check-button.c (hildon_check_button_new):
60 Align the contents of the check button to the left.
62 2008-10-30 Alejandro G. Castro <alex@igalia.com>
64 * src/hildon-pannable-area.c,
65 (hildon_pannable_area_scroll_to),
66 (hildon_pannable_area_jump_to),
67 (hildon_pannable_area_scroll_to_child),
68 (hildon_pannable_area_jump_to_child): Replace the mapped
69 precondition of these functions with the realized, it is the
70 correct state of the widget in this case. Changed the
71 documentation according to this modification.
73 2008-10-30 Alejandro G. Castro <alex@igalia.com>
75 Added a new EXTRA_CFLAGS option to add the deprecated define to
76 the compilation command. This way we can avoid using the define in
77 the documentation compilation.
79 * configure.ac: Defined EXTRA_CFLAGS.
81 * examples/Makefile.am:
83 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
85 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
87 * src/hildon-picker-dialog.c:
88 Defined a utility macro with the desired touch selector height
89 Removed currently unused separator, and title_label variables from
91 (hildon_picker_dialog_init): Removed code related to the creation
92 of unused private variables title_label and separator.
93 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
94 to ensure correct visualization of the touch selector inside the dialog.
95 * src/hildon-touch-selector.c
96 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
97 ensure a concrete height of the widget.
99 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
104 Remove spurious whitespaces.
106 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
109 compilation warning after the cancel button removal.
111 2008-10-30 Alejandro G. Castro <alex@igalia.com>
113 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
115 * configure.ac: Added an AM_CONDITIONAL in order to use in the
116 Makefile.am, that way we can choose not to compile some examples
117 and tests of the deprecated widgets.
119 * examples/Makefile.am: Divided the sources in deprecated and
122 * src/Makefile.am: Added undef statement of the deprecated
123 symbol to the enums file generation process.
125 * src/hildon-color-chooser-dialog.c
126 * src/hildon-color-chooser-dialog.h
127 * src/hildon-color-button.c
128 * src/hildon-color-button.h
129 * src/hildon-color-chooser.c
130 * src/hildon-color-chooser.h
131 * src/hildon-controlbar.c
132 * src/hildon-controlbar.h
133 * src/hildon-date-editor.c
134 * src/hildon-date-editor.h
135 * src/hildon-hvolumebar.c
136 * src/hildon-hvolumebar.h
137 * src/hildon-private.c
138 * src/hildon-private.h
139 * src/hildon-range-editor.c
140 * src/hildon-range-editor.h
141 * src/hildon-seekbar.c
142 * src/hildon-seekbar.h
143 * src/hildon-time-editor.c
144 * src/hildon-time-editor.h
145 * src/hildon-time-picker.c
146 * src/hildon-time-picker.h
147 * src/hildon-volumebar.c
148 * src/hildon-volumebar.h
149 * src/hildon-vvolumebar.c
150 * src/hildon-vvolumebar.h
151 * src/hildon-bread-crumb-trail.h
152 * src/hildon-bread-crumb-trail.c
153 * src/hildon-calendar-popup.c
154 * src/hildon-calendar-popup.h
155 * src/hildon-weekday-picker.c:
156 * src/hildon-weekday-picker.h:
157 * src/hildon-bread-crumb-widget.c:
158 * src/hildon-bread-crumb-widget.h:
159 * src/hildon-bread-crumb.c:
160 * src/hildon-bread-crumb.h:
161 * src/hildon-calendar.c:
162 * src/hildon-calendar.h:
163 * src/hildon-caption.c:
164 * src/hildon-code-dialog.c:
165 * src/hildon-code-dialog.h:
166 * src/hildon-font-selection-dialog.c:
167 * src/hildon-font-selection-dialog.h:
168 * src/hildon-get-password-dialog.c:
169 * src/hildon-get-password-dialog.h:
170 * src/hildon-login-dialog.c:
171 * src/hildon-login-dialog.h:
172 * src/hildon-number-editor.c:
173 * src/hildon-number-editor.h:
174 * src/hildon-set-password-dialog.c:
175 * src/hildon-set-password-dialog.h:
176 * src/hildon-sort-dialog.c:
177 * src/hildon-sort-dialog.h: This is the list of deprecated
180 * src/hildon-touch-selector.c:
181 * src/hildon-window.c: Added undef statement to avoid compilation
184 * tests/Makefile.am: Divided the sources in deprecated and
187 * tests/check_test.c,
188 (configure_tests): Marked the deprecated code that was adding
189 suites with deprecated tests.
191 Fixes: NB#91135 (Deprecate legacy hildon widgets)
193 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
195 * src/hildon-touch-selector.c: (_default_print_func): Do not
196 duplicate a string returned by gtk_tree_model_get(), it is already
199 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
202 2008-10-28 Alejandro G. Castro <alex@igalia.com>
204 * src/hildon-pannable-area.c
205 (hildon_pannable_area_add_with_viewport): Reviewed the complete
206 method, it had problems when adding a widget with viewport the
207 second time. Now checks if it already has a viewport and uses it.
209 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
212 2008-10-28 Alejandro G. Castro <alex@igalia.com>
214 * src/hildon-pannable-area.c,
215 (hildon_pannable_area_scroll_to),
216 (hildon_pannable_area_jump_to),
217 (hildon_pannable_area_scroll_to_child),
218 (hildon_pannable_area_jump_to_child): Added a precondition to the
219 scroll and jump to functions: the widget must be mapped before we
220 can safely call these functions. We have also added documentation
221 to the functions to explain how to use them in this situation.
224 2008-10-28 Alejandro G. Castro <alex@igalia.com>
226 Reviewed the threading handling of the pannable widget, we have
227 used the gdk_threads_add_timeout function instead of the usual
228 glib handlers. This avoids some problems with the threads.
230 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
231 (hildon_pannable_area_initial_effect),
232 (hildon_pannable_area_scroll_indicator_fade),
233 (hildon_pannable_area_button_press_cb),
234 (hildon_pannable_area_timeout),
235 (hildon_pannable_area_motion_notify_cb),
236 (hildon_pannable_area_button_release_cb),
237 (hildon_pannable_area_scroll_cb),
238 (hildon_pannable_area_scroll_to): Removed the
239 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
240 gdk_threads_add_timeout.
242 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
244 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: bump version
250 * debian/changelog: updates
252 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
254 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
255 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
256 * src/hildon-color-chooser-dialog.c:
257 (hildon_color_chooser_dialog_init):
258 * src/hildon-font-selection-dialog.c:
259 (hildon_font_selection_dialog_init):
260 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
262 Remove all cancel/close-like dialogs, as these are not going to be
265 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
267 * src/hildon-note.c: (hildon_note_rebuild),
268 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
271 Fixes: NB#90661 (Delete dialog is displayed without NO button)
273 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
275 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
276 sure all buttons are shown, even the Cancel/Close-like ones.
278 Fixes: NB#90861 (Custom Confirmation dialogs should be
279 protected from cancel button removal)
281 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
283 * debian/control: Change libhildon1-examples dependency from libhildon1
285 * debian/libhildon1-examples.install
287 * Makefile.am: Modified the final install directory for the examples on
288 package libhildon1-examples
289 * Makefile.static: Update clean target in order to remove all the binary
292 Changes suggested by Claudio after review new libhildon1-examples package
294 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
296 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
297 * src/hildon-touch-selector.c: Ditto.
299 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
301 * debian/control: Added new package libhildon1-examples, in order to pack
302 the current hildon examples as documentation
303 * debian/rules: Not to compress .c files, modify some includes on the
304 examples (as normally are compiled locally, but when installed it will
305 require to include the installed libhildon1 library), and rename
307 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
308 install all the example files on the new example package
309 * examples/Makefile.static: Added static makefile that can be used to
310 compile the examples, once installed the new example package
311 * examples: Most of the examples were modified in order to grant that
312 all use only '#include "hildon.h"', in order to be easy to prepare
313 it on the example package
315 2008-10-23 Alberto Garcia <agarcia@igalia.com>
318 * debian/libhildon1-dev.install
319 * debian/libhildon1-doc.install:
320 Move all gtk-doc files to a separate libhildon1-doc package.
322 2008-10-23 Daniel Borgmann <danielb@openismus.com>
324 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
326 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
328 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
330 * debian/rules: Fixed a error in order to avoid unnecessary calls
331 to autogen.sh on package building
333 2008-10-22 Alberto Garcia <agarcia@igalia.com>
335 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
337 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
339 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
342 2008-10-21 Alberto Garcia <agarcia@igalia.com>
344 * src/hildon-picker-button.c
345 (hildon_picker_button_finalize):
346 Free priv->done_button_text
348 * src/hildon-time-button.c
349 (hildon_time_button_set_time)
350 * src/hildon-picker-button.c
351 (hildon_picker_button_clicked)
352 (hildon_picker_button_selector_selection_changed)
353 (hildon_picker_button_set_selector)
354 * src/hildon-date-button.c
355 (hildon_date_button_set_date):
356 Free strings returned by hildon_touch_selector_get_current_text()
358 * src/hildon-button.c (hildon_button_construct_child):
359 Fix leaks in priv->image and priv->label_box
361 Fixes: NB#90535 (Memory leak in picker button)
363 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
365 * src/hildon-button.c: (hildon_button_get_property): Do not access
366 private elements directly, use getters instead.
368 2008-10-20 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-app-menu-private.h
371 * src/hildon-app-menu.c
372 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
373 Store the menu's parent window.
375 * src/hildon-stackable-window.c
376 (hildon_stackable_window_toggle_menu)
377 (hildon_stackable_window_finalize):
378 Set the menu's parent window when the menu is shown, unset it when
381 * src/hildon-app-menu.c
382 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
383 (hildon_app_menu_class_init):
384 Send unhandled keyboard accelerators to the parent window.
386 2008-10-20 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-stackable-window.c
389 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
391 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
393 * configure.ac: post release version bump
395 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
398 * configure.ac: Bump version
399 * debian/changelog: Updates
400 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
403 2008-10-20 Alberto Garcia <agarcia@igalia.com>
405 Patch contributed by Daniel Borgmann (danielb@openismus.com)
408 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
409 GtkMenu with Hildon style.
411 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
413 * src/hildon-picker-button.c:
414 (hildon_picker_button_set_done_button_text): Set the dialog's
415 done button text here as well.
417 Fixes: NB#90232 (Picker button does not set the label on done button
420 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
422 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
425 2008-10-16 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-app-menu.c (hildon_app_menu_insert)
428 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
429 the HildonAppMenu to be activatable using keyboard accelerators
430 when the menu is not being shown.
432 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
434 2008-10-16 Alberto Garcia <agarcia@igalia.com>
436 * src/hildon-stackable-window.c
437 (hildon_stackable_window_show):
438 Don't hide old windows automatically when new windows are shown:
439 this is now a task for the window manager.
440 (hildon_stackable_window_class_init)
441 (hildon_stackable_window_hide):
442 Remove windows from the stack everytime they're hidden.
443 (hildon_stackable_window_realize):
444 Don't change the _NET_WM_WINDOW_TYPE property. Use
445 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
446 it as a stackable window.
448 * src/hildon-program.c
449 (hildon_program_pop_window_stack):
450 Just hide the window to remove it from the stack.
451 (hildon_program_go_to_root_window):
452 Don't call gtk_widget_show(), this is now a task for the window
455 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
457 2008-10-15 Alberto Garcia <agarcia@igalia.com>
459 * src/hildon-button.c
460 (hildon_button_construct_child):
461 Don't pack anything in the button until text or image are
462 set. This allows adding a custom child after creating the button
463 with hildon_button_new().
464 (hildon_button_finalize, hildon_button_class_init)
465 (hildon_button_init, hildon_button_set_arrangement): Destroy the
466 alignment and the label box even when they're not packed in the
469 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
471 * src/hildon-touch-selector.h:
472 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
473 currently the type definition was using GTK_TYPE_VBOX
474 * src/hildon-touch-selector.c:
475 Added some implementation notes in order to clarify that any other widget
476 added without the column related API will not be included on the
477 selection logic, and how the widget is freed, as some people ask about
479 (hildon_touch_selector_remove): Reimplemented in order to free properly
480 the column related data when you remove the private hbox.
481 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
482 to get a proper HildonTouchSelectorColumn documentation
484 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
486 * src/hildon-touch-selector-entry.c:
487 (hildon_touch_selector_entry_print_func): Return NULL if there is no
488 text in the GtkEntry and there is no item selected. Fixes a
491 2008-10-13 Alberto Garcia <agarcia@igalia.com>
493 * src/hildon-app-menu-private.h
494 * src/hildon-app-menu.[ch]
495 * src/hildon-button.[ch]
496 * src/hildon-check-button.[ch]
497 * src/hildon-entry.[ch]
498 * src/hildon-pannable-area.[ch]
499 * src/hildon-text-view.[ch]:
500 Added private field to the object's structure.
502 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
504 * configure.ac: post-release version bump
506 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
510 * configure.ac: pre-release version bump
512 * debian/changelog: updates.
514 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
516 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
517 Disconnect the handler for HildonTouchSelector::changed.
519 (hildon_picker_button_selector_selection_changed): Update the button
520 value if the selection change was not triggered by the
523 (hildon_picker_button_set_selector): connect to
524 HildonTouchSelector::changed.
526 Fixes: NB#89650 (Picker button is not updated, when selection in
527 selector has changed)
529 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
531 * src/hildon-picker-dialog.c
532 (hildon_picker_dialog_realize): Removed as not required
533 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
534 * src/hildon-picker-button.c
535 (_current_selector_empty): New function, checks if the selector is empty
536 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
537 if the current selector is empty, in order to avoid to show the dialog
538 close the dialog in this case (and shows a g_warning).
540 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
542 2008-10-09 Alejandro G. Castro <alex@igalia.com>
544 * src/hildon-pannable-area.c,
545 (hildon_pannable_area_scroll): Added clause to stop movement when
546 the child of pannable is smaller than one page.
547 (hildon_pannable_area_scroll_to): Added conditions to avoid
548 starting the scrolling movement if the child is smaller than one
549 page, the complete child is in the screen, we do not have to move.
551 Fixes: NB#89632 (Picker button selection doesn't change on first click)
553 2008-10-09 Alberto Garcia <agarcia@igalia.com>
555 * src/hildon-app-menu.c: Removed the 'columns' property, as now
556 this is managed automatically by the widget when the size of the
559 2008-10-09 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-picker-button.c
562 (hildon_picker_button_set_done_button_text): Make a copy of the
563 text, and free the previous value.
565 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
567 * src/hildon-touch-selector-entry.c:
568 (hildon_touch_selector_entry_print_func): Return the selected row's
569 text if the entry is empty.
571 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
574 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
576 * src/hildon-touch-selector-entry.c: Minor docs fixes.
578 2008-10-09 Alberto Garcia <agarcia@igalia.com>
581 * src/hildon-check-button.h
582 * src/hildon-check-button.c
583 * examples/hildon-check-button-example.c:
584 HildonCheckButton is now a new widget. 'toggled' signal added.
586 2008-10-08 Alberto Garcia <agarcia@igalia.com>
588 * src/hildon-program-private.h
589 * src/hildon-program.c (hildon_program_init)
590 (hildon_program_finalize): Removed unused variables group_leader
591 and name from HildonProgramPrivate.
593 2008-10-08 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-check-button.c (hildon_check_button_set_active)
596 (hildon_check_button_get_active, hildon_check_button_new): Use
597 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
599 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
601 * src/hildon-touch-selector.h
602 (hildon_touch_selector_set_column_attributes): added deprecation
603 guard HILDON_DISABLE_DEPRECATED
604 * src/hildon-time-selector.c
605 (hildon_time_selector_set_time)
606 (hildon_time_selector_get_time): Fixed a typo on documentation
607 * src/hildon-touch-selector.c: update HildonTouchSelector and
608 HildonTouchSelectorColumn documentation
609 * src/hildon-touch-selector-entry.c: update "text-column" property
611 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
612 to be added to the general documentation.
614 2008-10-08 Alejandro G. Castro <alex@igalia.com>
616 * examples/hildon-pannable-area-example-4.c,
618 * examples/hildon-pannable-area-example.c,
619 (main): Modified the code in order to use the container add, with
620 viewport treeviews could have problems if they are really big.
622 2008-10-06 Alejandro G. Castro <alex@igalia.com>
624 * src/hildon-weekday-picker.c,
625 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
626 the agreement regarding deprecation in the library.
628 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
630 * examples/hildon-picker-button-multicolumn-example.c:
631 (main): Use custom "done" button text.
633 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
634 (hildon_picker_button_set_property),
635 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
636 (hildon_picker_button_init),
637 (+hildon_picker_button_get_done_button_text),
638 (+hildon_picker_button_set_done_button_text): New methods to customize
639 the "done" button label in the launched HildonPickerDialog. Also,
642 * src/hildon-picker-button.h: add the public API.
644 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-date-selector.h:
647 * src/hildon-picker-dialog.h:
648 * src/hildon-time-selector.h:
649 * src/hildon-touch-selector-column.h:
650 * src/hildon-touch-selector.h:
652 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
653 declarations. Fixes gtk-doc warnings.
655 2008-10-06 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-picker-dialog.h
658 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
659 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
661 Fixes: NB#89329 (selectors in picker dialog are not visible when a
662 long text is set as label for done button)
664 2008-10-06 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-dialog.c (hildon_dialog_add_button):
667 Set fixed width to all buttons in the HildonDialog.
669 2008-10-06 Alberto Garcia <agarcia@igalia.com>
671 Patch contributed by Daniel Borgmann (danielb@openismus.com)
673 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
674 Set widget name using class name plus "-finger" or "-thumb".
676 2008-10-03 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
679 'clicked' when the state of the button is manually changed.
681 2008-10-02 Alberto Garcia <agarcia@igalia.com>
683 * src/hildon-app-menu.c (hildon_app_menu_realize)
684 (hildon_app_menu_unrealize, hildon_app_menu_init)
685 (hildon_app_menu_class_init, item_visibility_changed):
686 Change the menu layout when the size of the screen changes.
687 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
688 Show warning only when changing the number of colums using the
691 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
693 * debian/compat: Set to 5
694 * debian/control: Update dependencies.
695 * debian/libhildon1-dbg.install: Remove.
696 * debian/libhildon1-dev.install: Update according to cdbs paths.
697 * debian/libhildon1.install: Update according to cdbs paths.
698 * debian/rules: Switch to cdbs.
700 2008-10-01 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
703 'item' variable renamed to 'filter'
705 2008-10-01 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-app-menu.c (hildon_app_menu_insert)
708 (hildon_app_menu_add_filter, remove_item_from_list)
709 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
710 Don't leak hidden items when the menu is destroyed.
712 2008-10-01 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-app-menu.c (hildon_app_menu_insert)
715 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
716 (hildon_app_menu_set_columns, item_visibility_changed)
717 (filter_visibility_changed, hildon_app_menu_repack_filters)
718 (hildon_app_menu_repack_items):
719 Repack items and filters separately.
721 Don't repack all items, change only the ones that are needed to
724 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
726 * src/Makefile.am: added hildon-touch-selector-column.h
728 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
730 * src/hildon-touch-selector.c: added the property "text-column" to the
731 class HildonTouchSelectorColumn, and related get/set functions
732 (_default_printf_func): updated to use "text-column" property
733 * src/hildon-touch-selector-entry.c: mark as deprecated the property
734 "text-column" in his documentation, as this is now included on
735 HildonTouchSelectorColumn. The get/set_property can still be used,
736 working as a wrapper to the concrete column "text-column" property
737 (_text_column_modified): callback added in order to handle the signal
738 "notify::text-column" of the concrete HildonTouchSelectorColumn
739 (hildon_touch_selector_entry_get_text_column)
740 (hildon_touch_selector_entry_set_text_column): Added documentation, and
741 modified in order to use the HildonTouchSelectorColumn "text-column"
743 * src/hildon-time-selector.c:
744 * src/hildon-date-selector.c:
745 * examples/hildon-touch-selector-example.c
746 * examples/hildon-touch-selector-multi-cells-example.c
747 * examples/hildon-picker-button-multicolumn-example.c
748 Set the right value to "text-column" property on the creation of a new
749 column using hildon_touch_selector_append_column()
751 Fixes: NB#88644 (Hardcoded first column of the model as text column)
753 2008-09-30 Alberto Garcia <agarcia@igalia.com>
755 * src/hildon-app-menu.c
756 (hildon_app_menu_construct_child, hildon_app_menu_init): When
757 updating the layout of the menu, don't create all widgets again,
758 just repack the items in their new places.
760 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
762 * src/hildon-time-selector.c
763 (hildon_time_selector_get_time)
764 (hildon_time_selector_set_time)
765 Added documentation of these public methods
767 * src/hildon-date-button.h
768 * src/hildon-touch-selector-column.h
769 * src/hildon-time-button.h
770 * src/hildon-picker-dialog.h
771 * src/hildon-time-selector.h
772 * src/hildon-picker-button.h
773 * src/hildon-touch-selector.h
774 * src/hildon-time-picker.h
775 * src/hildon-date-selector.h
776 * src/hildon-touch-selector-entry.h
777 Modified in order to use hildon-widgets code style
779 2008-09-30 Alejandro G. Castro <alex@igalia.com>
781 Added deprecated support to the compilation process using
782 HILDON_DISABLE_DEPRECATED
784 * configure.ac: Added the --disable-deprecated to the configure
787 * src/hildon-weekday-picker.c:
788 * src/hildon-weekday-picker.h: Deprecated widget, example of how
789 to use the deprecated support. We will update the other deprecated
790 widgets status in a new patch.
792 2008-09-30 Alejandro G. Castro <alex@igalia.com>
794 * configure.ac: Fixed typo with fatal warnings support, the
795 variable name was not correct
797 2008-09-29 Alberto Garcia <agarcia@igalia.com>
799 * src/hildon-app-menu.c
800 * src/hildon-program.c: Update documentation.
802 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
804 * configure.ac: Post-release version bump.
806 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
811 * configure.ac: Pre-release version bump.
812 * debian/changelog: Updates.
814 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
816 * NEWS: Update news for previous releases.
818 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
820 * examples/hildon-touch-selector-multi-cells-example.c:
821 (create_selector): Update the example to use
822 hildon_touch_selector_append_column() with a NULL renderer and set
824 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
825 passed a NULL renderer. This is documented behavior now.
827 Allow passing a NULL renderer to hildon_touch_selector_append_column().
828 This must be used if the developer wants full control on the layout of
829 the renderers to be added to the column.
831 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
833 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-touch-selector.c: Documentation fixes.
837 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-wizard-dialog-private.h: Remove image and box.
840 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
841 (hildon_wizard_dialog_set_property), (response): Completely remove
842 image/icon support, and the containers required for the layout.
844 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
846 2008-09-25 Alberto Garcia <agarcia@igalia.com>
848 * src/hildon-app-menu.c: Updated documentation.
850 * src/hildon-stackable-window.c
851 (hildon_stackable_window_set_main_menu): Unref the old menu after
854 2008-09-25 Alberto Garcia <agarcia@igalia.com>
856 * src/hildon-stackable-window.c
857 (hildon_stackable_window_set_main_menu): Unref the previous menu
858 instead of destroying it.
860 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
861 floating reference and set has_user_ref_count to FALSE to make
862 HildonAppMenu act like a normal ref-counted widget and not a
865 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
868 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
870 * src/hildon-touch-selector-column.h: new file
871 * src/hildon-touch-selector.h
872 * src/hildon-touch-selector.c
873 Implemented GtkCellLayout interface, in order to allow to configure
874 the cell layout on each individual selector column
875 (hildon_touch_selector_set_column_attributes): marked as deprecated
876 * examples/hildon-touch-selector-multi-cells-example.c
877 Example of how to use the GtkCellLayout interface on the selector
879 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
881 2008-09-24 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-app-menu.h
884 * src/hildon-app-menu.c
885 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
886 (hildon_app_menu_append, hildon_app_menu_prepend):
887 New methods to prepend, insert and move items in the menu.
889 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
891 * src/hildon-wizard-dialog.c:
893 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
895 (create_title): Update logical IDs and related code.
896 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
898 * src/hildon-wizard-dialog.h: Note that
899 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
900 point, as it is not used anymore.
902 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
904 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
907 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
908 shown. Do not display an icon in confirmation notes nor information
910 (hildon_note_set_button_text): Update logical ID for cancel button.
912 Fixes: NB#88850 (Update HildonNote button strings + signals)
914 2008-09-24 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-stackable-window.c
917 (hildon_stackable_window_set_main_menu): Fix compilation warning.
919 2008-09-24 Alberto Garcia <agarcia@igalia.com>
921 * src/hildon-app-menu-private.h
922 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
923 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
924 (hildon_app_menu_init, hildon_app_menu_class_init): Added
925 temporary property 'columns' to change the number of columns.
927 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
929 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
931 * examples/hildon-note-example.c: (on_information_clicked),
932 (on_confirmation_clicked), (on_progress_clicked), (main): Add
933 debugging information.
934 * src/hildon-note-private.h: Remove close_if_pressed_outside,
936 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
937 (hildon_note_rebuild): Remove special handling of tapping outside/inside
938 in order to close: this will be handled by the WM from now on.
940 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
942 2008-09-24 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-app-menu-private.h
945 * src/hildon-app-menu.c
946 (hildon_app_menu_append, hildon_app_menu_add_filter)
947 (button_visibility_changed, hildon_app_menu_apply_style)
948 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
949 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
950 layout everytime a button (item or filter) is shown or hidden.
952 * src/hildon-stackable-window.c
953 (hildon_stackable_window_set_main_menu): Destroy the old menu when
956 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
958 * src/hildon-touch-selector.c:
959 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
960 that the treeview inside the touch selector is in fremantle hildon mode
961 * examples/hildon-date-button-example.c
962 * examples/hildon-picker-button-multicolumn-example.c
963 * examples/hildon-touch-selector-entry-example.c
964 * examples/hildon-touch-selector-example.c
965 * examples/hildon-time-button-example.c
966 * examples/hildon-picker-button-example.c:
967 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
969 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
971 * examples/hildon-text-view-example.c: (main): Remove the
972 gtkrc bits, now handled by the theme.
974 2008-09-22 Alberto Garcia <agarcia@igalia.com>
976 * src/hildon-picker-button.c (hildon_picker_button_set_active):
979 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
981 * po/Makefile.am: Install properly the mo files.
982 * po/en_GB.po: Update translation, to ease testing purposes.
984 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
986 * examples/hildon-picker-button-example.c: (main): Select an item
987 in the selector before setting it to the button.
989 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
992 Update button's value if the selector has an item active.
994 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
995 'value' with the selector)
997 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
999 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1000 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1001 (hildon_picker_button_class_init): Plug the finalize method.
1002 (hildon_picker_button_set_selector): If there's a previously set
1003 selector, unref'it before setting a new one.
1005 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1006 HildonTouchSelector)
1008 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1010 * src/hildon-touch-selector-entry.c:
1011 (hildon_touch_selector_entry_changed): Check if there is no text
1012 selected before setting the entry text.
1015 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-touch-selector.h
1018 * src/hildon-touch-selector.c
1019 (hildon_touch_selector_get_active)
1020 (hildon_touch_selector_set_active): New methods to set/get the
1021 index of the selected item.
1023 * src/hildon-picker-button.h
1024 * src/hildon-picker-button.c
1025 (hildon_picker_button_get_active)
1026 (hildon_picker_button_set_active): New methods to set/get the
1027 index of the selected item.
1029 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1031 * configure.ac: post-release version bump.
1033 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1037 * configure.ac: Pre-release version bump.
1038 * debian/changelog: Updates.
1039 * debian/control: Add myself as maintainer and depend on l10n
1042 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1044 * src/hildon-window.c
1045 (hildon_window_set_main_menu)
1046 * src/hildon-stackable-window.c
1047 (hildon_stackable_window_set_main_menu):
1048 Updated documentation.
1050 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1052 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1053 Don't free selector->priv manually.
1056 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1059 (hildon_gtk_window_set_progress_indicator):
1060 * src/hildon-gtk.h: Added the new API
1061 hildon_gtk_window_set_progress_indicator, it changes the state of
1062 the window progress hint.
1064 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-button.c
1067 * src/hildon-stackable-window.c: Minor documentation updates.
1069 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1071 * src/hildon-stackable-window.c: Updated documentation.
1073 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-defines.h: Update margins definitions
1076 to the Fremantle sizes.
1079 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1081 * src/hildon-touch-selector.c,
1082 (_hildon_touch_selector_set_model): Cleaning the code after
1083 review, removed g_print and #if 0 from the code.
1085 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-edit-toolbar.c: Update documentation.
1089 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1091 * src/hildon-check-button.h
1092 * src/hildon-check-button.c
1093 (hildon_check_button_set_label, hildon_check_button_get_label)
1094 * examples/hildon-check-button-example.c
1095 (button_clicked_cb):
1096 Removed deprecated methods.
1098 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1100 * src/hildon-text-view.c:
1101 Add sample code to the documentation.
1103 * src/hildon-entry.h
1104 * src/hildon-text-view.h:
1105 Minor cosmetic changes.
1107 * src/hildon-entry.c:
1108 Add sample code to the documentation.
1109 (hildon_entry_init, hildon_entry_refresh_contents):
1110 Don't allow NULL values in the placeholder.
1112 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1114 * doc/hildon-docs.sgml
1116 * examples/Makefile.am
1117 * examples/hildon-text-view-example.c
1119 * src/hildon-text-view.c
1120 * src/hildon-text-view.h
1122 New HildonTextView widget, with example.
1124 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1126 * po/POTFILES.in: Add missing files with translatable strings.
1127 Partially fixes NB#88287.
1129 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1131 * examples/hildon-pannable-area-example-2.c: (main): No need to
1132 set the cellrenderer height inside hildon touch lists, the theme does
1135 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1137 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1138 they are integrated in the theme.
1140 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1142 * examples/hildon-entry-example.c: Update the example adding
1143 widgets to modify the text and the placeholder of the HildonEntry.
1145 * src/hildon-entry.c: Show the placeholder everytime the widget
1146 is empty and loses the focus.
1148 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1150 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1152 * src/hildon-pannable-area.c,
1153 (hildon_pannable_area_size_request): Fixed bug in height
1154 requisition, avoid increasing size and add border twice.
1156 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1158 * configure.ac: postrelease version bump.
1160 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1164 * configure.ac: Prerelease version bump.
1165 * debian/changelog: update.
1166 * debian/rules: make -dbg package contain useful debugging symbols.
1168 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-dialog.h
1171 * src/hildon-dialog.c
1172 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1173 New methods to add buttons with finger size.
1174 (hildon_dialog_new_with_buttons):
1175 Create buttons with finger size.
1177 * examples/hildon-dialog-example.c (main): Use HildonDialog
1178 methods to add buttons.
1180 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1182 * src/hildon-entry.c: Updated HildonButton documentation.
1184 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1186 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1187 button value label with (FALSE, FALSE) to prevent NB#88126 from
1190 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1192 * examples/hildon-pannable-area-example.c,
1193 (main): Removed examples panning a vbox inside a pannable
1194 area. Check bug NB#87965
1196 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1198 Patch contributed by Kris Rietveld (kris@imendio.com)
1200 * src/hildon-pannable-area.c,
1201 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1202 get_size and get_position, this saves an X server roundtrip.
1204 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1206 * doc/hildon-docs.sgml
1208 * examples/Makefile.am
1209 * examples/hildon-entry-example.c
1211 * src/hildon-entry.c
1212 * src/hildon-entry.h
1214 New HildonEntry widget, with example.
1216 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1218 * src/hildon-button.c (hildon_button_construct_child): Pack the
1219 image with expand == fill == FALSE. This is a workaround for a bug
1222 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1224 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1225 labels for the text column, to make it more look more dynamic.
1227 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1229 * src/hildon-time-selector.c
1230 Define gettext auxiliar macro N_
1231 (_create_minutes_model)
1232 (_create_hours_model)
1233 (_create_ampm_model): use of strftime in order to fill the model
1234 * src/hildon-date-selector.c
1235 (hildon_date_selector_finalize):
1236 (_locales_init): remove the logic related to get the name of the months
1237 using nl_langinfo, as it is not required anymore
1239 (_create_year_model)
1240 (_create_month_model)
1241 (_update_day_model): use of strftime in order to fill the model properly
1244 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-button.h
1247 * src/hildon-button.c (hildon_button_get_image): New method to
1250 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1252 * src/hildon-touch-selector.c:
1253 (hildon_touch_selector_remove_column): Remove from the correct parent
1254 and also remove the list element and free it.
1257 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1259 * src/hildon-time-selector.c
1260 (_create_hours_model): change the range on 12h ampm format in order to use
1261 a 12-11 range instead of previous 01-12 range
1262 (hildon_time_selector_set_time): change the way to select the current time
1263 on 12h ampm format, due the change on the range
1264 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1267 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1269 * src/hildon-touch-selector.c
1270 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1271 in order to allow use this function on multiple row selection mode if
1272 the column is different that the first one
1275 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1278 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1280 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1282 * src/hildon-date-selector.h: clean some comments, now on the .c
1283 * src/hildon-date-selector.c
1284 (hildon_date_selector_select_month): first implementation
1285 (hildon_date_selector_select_day): added documentation, reimplemented
1286 using hildon_date_selector_select_current_date to avoid repeat code
1289 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1291 Reviewed interaction logic based on device experiences, refactored
1294 * src/hildon-pannable-area.c,
1295 (hildon_pannable_area_class_init): Updated default vmax speed.
1296 (hildon_pannable_area_calculate_velocity): Added this function, it
1297 avoids duplicate valocity calculation. Adjusted calculation to
1298 avoid problems with zero dist events.
1300 (hildon_pannable_area_motion_notify_cb): Now we use the
1301 calculate_velocity function.
1303 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1305 * src/hildon-date-selector.c
1306 (hildon_date_selector_select_current_date): fix the day range check
1307 as it failed using the last day of the current month
1310 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1312 * src/hildon-touch-selector.c
1313 (hildon_touch_selector_get_num_columns): added a parameter validation
1316 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1318 * examples/Makefile.am
1319 * examples/hildon-edit-toolbar-example.c: Example of the
1320 HildonEditToolbar widget.
1322 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1324 * configure.ac: postrelease version bump.
1326 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1330 * configure.ac: prerelease version bump.
1331 * debian/changelog: update.
1333 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1335 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1336 renderer to display stock icons in the touch list. Also, set the sizes
1337 to the recommended in the style guide.
1339 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1340 * src/hildon-touch-selector.h
1341 (hildon_touch_selector_set_active_iter): renamed, now is
1342 hildon_touch_selector_select_iter
1343 (hildon_touch_selector_get_active_iter): renamed, now is
1344 hildon_touch_selector_get_selected
1345 (hildon_touch_selector_unselect_iter): added
1346 * src/hildon-touch-selector.c
1347 Update after API modification (methods renamed)
1348 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1349 order to avoid problems selecting multiple elements on the column
1350 (hildon_touch_selector_unselect_iter): added the implementation
1351 * src/hildon-time-selector.c
1352 * src/hildon-date-selector.c
1353 * src/hildon-touch-selector-entry.c
1354 Update methods calls after hildon-touch-selector.h API modification (methods
1357 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-stackable-window.c
1360 (hildon_stackable_window_finalize): Call the parent class's finalize.
1362 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1364 * examples/hildon-touch-selector-example.c: (create_selector): Use
1365 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1368 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1370 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1371 set a cell background color, to respect theming.
1373 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1375 * doc/hildon-docs.sgml
1378 * src/hildon-edit-toolbar.c
1379 * src/hildon-edit-toolbar.h
1380 * src/hildon.h: New HildonEditToolbar widget.
1382 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1384 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1387 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1388 * src/hildon-touch-selector.c
1389 (_create_new_column): use g_object_set instead of two g_object_set_property
1391 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1392 * src/hildon-touch-selector.c
1393 (_create_new_column): use of hildon_gtk_tree_view_new to create
1394 the treeview, instead of use directly g_object_new
1395 (_create_new_column): update the property name "vindicator-mode" for the
1396 new one "vscrollbar-policy"
1397 * examples/hildon-date-button-example.c
1398 * examples/hildon-picker-button-multicolumn-example.c
1399 * examples/hildon-touch-selector-entry-example.c
1400 * examples/hildon-touch-selector-example.c
1401 * examples/hildon-time-button-example.c
1402 * examples/hildon-picker-button-example.c
1403 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1404 to all the treeviews inside a pannable area.
1406 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-button.h
1409 * src/hildon-button.c (hildon_button_init)
1410 (hildon_button_set_arrangement, hildon_button_set_alignment)
1411 (hildon_button_set_title_alignment)
1412 (hildon_button_set_value_alignment)
1413 (hildon_button_set_image_alignment)
1414 (hildon_button_construct_child): New methods to set the alignment
1415 of the individual components of the button (title, value,
1416 image). Also, new method to alter the xscale and yscale properties
1417 of the GtkAlignment inside the button, so more complex layouts can
1420 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-button.c (hildon_button_style_set)
1423 (hildon_button_class_init, hildon_button_set_arrangement)
1424 (hildon_button_construct_child): Apply style properties
1425 correctly. Use the 'image-spacing' style property too.
1427 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1430 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1433 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1435 * src/hildon-pannable-area.c,
1436 (hildon_pannable_area_size_request): Fixed problem with
1437 pannable-area size_request.
1439 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1441 Added management for the grab-focus to a child widget, like a
1442 range, we need to fade out the scrollbar when releasing.
1444 * src/hildon-pannable-area.c,
1445 (hildon_pannable_area_init): Connected the grab-focus signal to
1447 (hildon_pannable_area_grab_notify): Added this function in order
1448 to manage the situation when the grab-focus ends. We have to
1449 fade-out the scrollbar.
1451 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-app-menu.c: Minor documentation update.
1455 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1457 * src/hildon-app-menu.c
1458 * examples/hildon-app-menu-example.c (create_menu): Update
1459 examples and documentation to explain how to connect callbacks.
1461 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1463 * examples/hildon-button-example.c
1464 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1465 hildon_stackable_window_new instead of gtk_window_new
1467 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1469 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1470 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1471 (hildon_pannable_area_set_property),
1472 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1473 (hildon_pannable_area_unrealize),
1474 (hildon_pannable_area_size_request),
1475 (hildon_pannable_area_size_allocate),
1476 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1477 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1478 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1479 (hildon_pannable_area_initial_effect),
1480 (hildon_pannable_area_redraw),
1481 (hildon_pannable_area_scroll_indicator_fade),
1482 (hildon_pannable_area_expose_event),
1483 (hildon_pannable_area_get_topmost), (synth_crossing),
1484 (hildon_pannable_area_button_press_cb),
1485 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1486 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1487 (hildon_pannable_area_motion_notify_cb),
1488 (hildon_pannable_area_button_release_cb),
1489 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1490 (hildon_pannable_area_remove),
1491 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1492 chage the code layout to a more GtkWidget like. Review the use of
1495 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1497 * examples/hildon-pannable-area-example-4.c,
1498 (main): Modified the name of the hindicator_mode to
1501 * src/hildon-pannable-area.c,
1502 (hildon_pannable_area_class_init),
1503 (hildon_pannable_area_motion_notify_cb),
1504 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1505 we have reduced the amount of signals and managed reviewed its
1506 rationale. Changed the default decelerate value.
1508 (hildon_pannable_area_add),
1509 (hildon_pannable_area_redraw): Refactored functions.
1511 (hildon_pannable_area_init),
1512 (hildon_pannable_area_get_property),
1513 (hildon_pannable_area_set_property):
1514 (hildon_pannable_draw_vscroll),
1515 (hildon_pannable_draw_hscroll),
1516 (hildon_pannable_area_initial_effect),
1517 (hildon_pannable_area_expose_event),
1518 (hildon_pannable_area_scroll),
1519 (hildon_pannable_area_button_press_cb),
1520 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1521 and vindicator_mode with hscrollbar_policy and
1522 vscrollbar_policy. Replaced hscroll and vscroll with
1523 hscroll_visible and vscroll_visible.
1525 (hildon_pannable_area_refresh): Refactor the function, remove
1526 variables and check the calls to this function, added resize
1527 conditions in case the children change their layout.
1529 (hildon_pannable_area_size_request): Added more detailed
1530 size_request calculation.
1533 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1535 * src/hildon-color-chooser.c
1536 (init_borders): use the correct gtk_border_free instead of g_free, to
1537 avoid a crash when this widget is used (ie: the three color selection
1540 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1542 * src/hildon-check-button.c,
1543 (hildon_check_button_set_active): Fixed problem when setting the
1544 active value, the widget was not redrawn.
1546 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1548 * src/hildon-pannable-area.c,
1549 (hildon_pannable_area_refresh),
1550 (hildon_pannable_area_scroll),
1551 (hildon_pannable_area_motion_notify_cb): Small code style change.
1553 (hildon_pannable_area_class_init): Default initial_hint set to
1554 FALSE, it is not in the specs.
1556 (hildon_pannable_area_initial_effect),
1557 (hildon_pannable_area_expose_event),
1558 (hildon_pannable_area_map),
1559 (hildon_pannable_area_init): Moved the launching point of the
1560 initial effect, it was in map but the sizes where not correct in
1561 that method so we do not know if we have the reproduce it. Now it
1562 is placed in the expose_event method and uses a variable to
1563 reproduce it just once.
1565 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c,
1568 (hildon_pannable_draw_vscroll),
1569 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1570 position allowed for the scrollbars.
1572 (hildon_pannable_area_size_allocate): Small style change.
1574 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1576 * src/hildon-pannable-area.c,
1577 (hildon_pannable_area_scroll_indicator_fade),
1578 (hildon_pannable_area_button_press_cb),
1579 (hildon_pannable_area_button_release_cb),
1580 (hildon_pannable_area_scroll_cb),
1581 (hildon_pannable_area_expose_event),
1582 (hildon_pannable_area_init): Added the define parameter
1583 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1584 and refactor the fade variable.
1586 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1588 * src/hildon-pannable-area.c,
1589 (hildon_pannable_area_redraw),
1590 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1591 lines, we were reimplemeting the redraw code.
1593 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1595 * src/hildon-pannable-area.c,
1596 (hildon_pannable_area_scroll_cb),
1597 (hildon_pannable_area_realize),
1598 (hildon_pannable_area_class_init): Added scroll_event management
1599 for pannable area, now we can scroll the usual desktop method.
1601 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1602 initialization of the parameters should depend on idle_id.
1604 (hildon_pannable_area_init),
1605 (hildon_pannable_area_map): Small code style modifications
1607 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1609 * src/hildon-pannable-area.c
1610 (hildon_pannable_area_button_press_cb),
1611 (hildon_pannable_area_motion_notify_cb),
1612 (hildon_pannable_area_button_release_cb),
1613 (hildon_pannable_area_size_allocate),
1614 (hildon_pannable_area_scroll_to): Improved the timeouts
1615 management, we avoid creating them each time.
1617 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1619 * src/hildon-pannable-area.c:
1620 (hildon_pannable_area_refresh),
1621 (hildon_pannable_area_motion_notify_cb),
1622 (hildon_pannable_area_class_init):
1623 * src/hildon-pannable-area.h:
1624 * src/hildon-touch-selector.c
1625 (_create_new_column):
1626 * examples/hildon-pannable-area-example-4.c:
1627 (horizontal_movement),
1628 (vertical_movement),
1630 Replaced the names of enums in the HildonPannableArea:
1631 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1632 HILDON_MOVEMENT_MODE_*
1633 - HILDON_PANNABLE_AREA_MOV_* ->
1635 - Removed HildonPannableAreaIndicatorMode, now we
1638 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1640 * examples/hildon-pannable-area-touch-grid-example.c
1641 * examples/hildon-pannable-area-touch-list-example.c: Fix
1642 compilation warnings.
1644 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-gtk.c (hildon_gtk_button_new)
1647 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1648 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1649 images overriding the value of the "gtk-button-images" setting.
1651 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-check-button.c (hildon_check_button_new):
1654 Instead of using a custom container, display the label and the
1655 checkbox using the standard GtkButton API.
1657 * examples/hildon-check-button-example.c (main): Don't use
1658 hildon_check_button_set_label() anymore
1660 * src/hildon-check-button.h
1661 * src/hildon-check-button.c
1662 (hildon_check_button_set_label, hildon_check_button_get_label):
1663 Set as deprecated, now we're using gtk_button_{get,set}_label()
1665 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1669 GtkTreeview first line we detected it after the inclusion of the
1670 GtkWindowImpl in gtk+. We now check if the window is visible, not
1671 just if the pointer is over the window.
1672 (hildon_pannable_axis_scroll),
1673 (hildon_pannable_area_expose_event): Small style changes.
1675 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1677 * src/hildon-button.c: Update documentation.
1679 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1681 * examples/hildon-button-example.c: Add a switch to show images in
1684 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1686 * doc/hildon-docs.sgml: Some docs reorganization.
1688 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1690 * examples/hildon-pannable-area-touch-list-example.c
1692 * examples/hildon-pannable-area-touch-grid-example.c
1693 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1694 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1695 Fix memory leak when setting the tree model.
1697 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1701 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1703 * doc/hildon.types: Remove duplicated hildon_window_get_type
1704 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1705 documentation comment.
1707 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1709 * doc/Makefile.am: Complete list of private headers.
1711 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1713 * doc/hildon-docs.sgml
1714 * src/hildon-app-menu.c
1715 * src/hildon-bread-crumb.c
1716 * src/hildon-button.c
1718 * src/hildon-program.c
1719 * src/hildon-stackable-window.c
1720 * src/hildon-window.c: Lots of documentation updates.
1722 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1724 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1726 * configure.ac: Require Gtk+ 2.12.9 at least
1728 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1730 * src/hildon-pannable-area.c
1731 (hildon_pannable_area_scroll_indicator_fade),
1732 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1733 to protect the return of this timeout callbacks, avoiding deadlocks.
1735 2008-08-12 Christian Dywan <christian@imendio.com>
1738 * src/hildon-*.h: Ensure a consistent include order,
1739 include <gtk/gtk.h> instead of particular files and
1740 only include the topmost header in the gtk stack. See NB #39857
1742 2008-08-12 Christian Dywan <christian@imendio.com>
1744 * src/hildon-picker-dialog.c
1745 * src/hildon-touch-selector.c: Fix warnings about unused and
1746 uninitialized variables.
1748 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1750 * examples/Makefile.am
1751 * examples/hildon-check-button-example.c: Example of the hildon
1754 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-window.h
1757 * src/hildon-window.c (hildon_window_class_init)
1758 (hildon_window_unset_program): Don't make
1759 hildon_window_unset_program a virtual function anymore.
1761 * src/hildon-stackable-window.c: Update documentation
1763 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1766 * doc/hildon-docs.sgml
1767 * doc/visual_index.xml
1768 * src/hildon-defines.c
1770 * src/hildon-helper.c
1771 * src/hildon-range-editor.c: Lots of documentation fixes.
1773 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1775 * examples/hildon-picker-button-multicolumn-example.c
1776 (create_touch_selector): Fix compilation warning.
1778 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1781 (hildon_pannable_area_button_release_cb)
1782 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1784 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1789 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-bread-crumb-trail.h
1792 * src/hildon-date-editor.c
1793 * src/hildon-date-selector.c
1794 * src/hildon-pannable-area.c
1795 * src/hildon-picker-dialog.c
1796 * src/hildon-time-selector.c
1797 * src/hildon-touch-selector-entry.c
1798 * src/hildon-touch-selector.c
1799 * src/hildon-touch-selector.h: Misc documentation fixes
1801 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1803 * examples/hildon-date-editor-example.c (main): Updated date
1806 * examples/hildon-note-example.c (on_confirmation_clicked):
1807 Updated confirmation note example.
1809 * src/hildon-date-editor.c
1810 * src/hildon-note.c: Updated sample programs in documentation.
1813 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1815 * src/hildon-date-button.h:
1816 * src/hildon-picker-button.h:
1817 * src/hildon-time-button.c:
1818 * src/hildon-time-button.h:
1820 Some declarations changes to allow gtk-doc to document the widgets
1823 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1825 * src/hildon-date-button.c: Document the widget.
1826 * src/hildon-time-button.c: Document the widget.
1828 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-picker-button.c: Document the widget.
1831 * src/hildon-touch-selector-entry.c: Document the widget.
1833 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1835 * doc/hildon-docs.sgml
1838 * src/hildon-check-button.h
1839 * src/hildon-check-button.c: New functions to create the Hildon
1843 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1845 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-button.h
1848 * src/hildon-button.c
1849 (hildon_button_add_title_size_group)
1850 (hildon_button_add_value_size_group)
1851 (hildon_button_add_image_size_group)
1852 (hildon_button_add_size_groups): New functions to set size groups
1853 for the button labels and image.
1854 (hildon_button_new_full): Removed
1856 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1858 * src/hildon-time-selector.c
1859 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1860 in order to avoid a crash if gconf is not available
1862 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1864 * src/hildon-button.c (hildon_button_set_arrangement)
1865 (hildon_button_construct_child): Don't construct the button child
1866 before setting the arrangement.
1868 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-program-private.h
1871 * src/hildon-program.c
1872 * src/hildon-program.h
1873 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1874 (hildon_program_peek_window_stack)
1875 (hildon_program_pop_window_stack)
1876 (hildon_program_go_to_root_window): HildonProgram now has a
1877 separate list for stackable windows. Functions are provided to
1878 manage that list with a stack-like API.
1880 * src/hildon-stackable-window.c: Stackable window management is
1881 now much simpler with the new HildonProgram API. Windows no
1882 longer need to be manually added to the program, they're
1883 automatically pushed to the top of the stack when shown.
1885 * examples/hildon-stackable-window-example.c: Updated example to
1886 reflect the API changes.
1888 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-touch-selector.c: Comment out unimplemented
1891 hildon_touch_selector_insert_column() to avoid a compile warning.
1893 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1896 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1897 (hildon_touch_selector_set_column_selection_mode),
1898 (_hildon_touch_selector_set_model),
1899 (hildon_touch_selector_set_model):
1901 Complete review of HildonTouchSelector documentation.
1903 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1905 * doc/hildon-docs.sgml
1909 * src/hildon-gtk.c: Convenience functions for standard Gtk
1910 widgets, used to easily perform frequent operations.
1912 * src/hildon-button-helpers.h
1913 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1915 * src/hildon-helper.h
1916 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1917 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1919 * src/hildon-button.h
1920 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1922 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-button.c (hildon_button_init)
1925 (hildon_button_set_arrangement, hildon_button_construct_child):
1926 Pack the image and the labels inside the same GtkAlignment so
1927 gtk_button_set_alignment() can be used
1929 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-button.h
1932 * src/hildon-button.c
1933 (hildon_button_init, hildon_button_set_image)
1934 (hildon_button_set_image_position)
1935 (hildon_button_construct_child): New functions to add an image to
1938 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-date-button.c
1941 * src/hildon-picker-button.c
1942 * src/hildon-time-button.c
1943 * src/hildon-button.c:
1944 (hildon_button_class_init): "size-flags" renamed to "size"
1945 (hildon_button_set_title): Hide the title label if set to NULL.
1947 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1949 HildonButtonFlags split into HildonButtonArrangement (to set the
1950 button layout) and HildonSizeType (which can be used for any
1953 * src/hildon-button.h
1954 * src/hildon-button.c
1955 (hildon_button_class_init)
1956 (hildon_button_set_arrangement)
1957 (hildon_button_set_property): New "size-flags"
1958 property. "arrangement-flags" renamed to "arrangement".
1959 (hildon_button_new, hildon_button_new_with_text)
1960 (hildon_button_new_full): Constructors updated to reflect type changes.
1962 * src/hildon-helper.h
1963 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1964 to set the size of a widget.
1968 * src/hildon-button-helpers.c
1969 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1971 * src/hildon-date-button.c
1972 * src/hildon-date-button.h
1973 * src/hildon-picker-button.c
1974 * src/hildon-picker-button.h
1975 * src/hildon-time-button.c
1976 * src/hildon-time-button.h: Updated widgets to reflect
1977 HildonButton API changes.
1979 * examples/hildon-button-example.c
1980 * examples/hildon-date-button-example.c
1981 * examples/hildon-picker-button-example.c
1982 * examples/hildon-picker-button-multicolumn-example.c
1983 * examples/hildon-time-button-example.c
1984 * examples/hildon-touch-selector-entry-example.c
1985 * examples/hildon-touch-selector-example.c: Updated examples to
1986 reflect HildonButton API changes.
1988 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1990 * doc/hildon-docs.sgml:
1992 * examples/Makefile.am:
1993 * examples/hildon-touch-selector-entry-example.c:
1995 * src/hildon-touch-selector-entry.c:
1996 * src/hildon-touch-selector-entry.h:
1999 Moved HildonTouchSelectorEntry from sandbox. Added its
2000 documentation and examples.
2002 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-touch-selector.h:
2005 * examples/hildon-picker-button-multicolumn-example.c:
2006 (hildon_touch_selector_append_text_column): Add a gboolean
2007 parameter to determine if text must be centered in the column.
2009 * src/hildon-date-selector.c: (hildon_date_selector_init):
2010 * src/hildon-time-selector.c: (hildon_time_selector_init):
2011 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2012 (create_touch_selector): Update widgets and example to reflect
2015 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector.c:
2018 (hildon_touch_selector_set_active_iter): Set also the cursor in
2021 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2023 * doc/hildon-docs.sgml
2026 * src/hildon-toggle-button.c
2027 * src/hildon-toggle-button.h
2028 * src/hildon.h: Removed HildonToggleButton widget, a derived
2029 class is not necessary for this.
2031 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2033 * src/hildon-pannable-area.c,
2034 (hildon_pannable_area_realize),
2035 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2038 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2041 "done" button the default widget for the dialog.
2043 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2045 * src/hildon-touch-selector.c:
2046 (hildon_touch_selector_class_init),
2047 (hildon_touch_selector_get_property),
2048 (_hildon_touch_selector_set_model),
2049 (_hildon_touch_selector_has_multiple_selection),
2050 (hildon_touch_selector_has_multiple_selection):
2051 Add a "has-multiple-selection" property with a virtual
2052 has_multiple_selection() method to allow derived classes to
2053 override the default value for it. See the method and property
2054 documentation for details.
2056 * src/hildon-touch-selector.h: Add the new API.
2058 * src/hildon-picker-dialog.c: (requires_done_button): Call
2059 hildon_touch_selector_has_multiple_selection() instead of
2060 determining the need for a button itself.
2062 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2064 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2065 (_hildon_touch_selector_set_model),
2066 (hildon_touch_selector_set_model): Move working code to
2067 _hildon_touch_selector_set_mode(). Call the class method instead.
2069 * src/hildon-touch-selector.h: Add (*set_model) to
2070 HildonTouchSelectorClass.
2072 Make hildon_touch_selector_set_model() a virtual method, so that
2073 derived classes can extend it and do fancy stuff with the model.
2075 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2077 * configure.ac: Set back the tarname in AC_INIT to hildon.
2079 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2083 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2084 instead of libesd (NB#86876). Volume handling is still an open issue.
2086 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2089 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2091 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2092 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2093 derived class to ease placement of an entry widget in
2094 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2095 end, where the selector columns are packed now.
2097 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-picker-button.c: Removed the simple _text() API.
2100 * src/hildon-picker-button.h: Likewise.
2102 * src/hildon-touch-selector.h:
2103 * src/hildon-touch-selector.c:
2104 (hildon_touch_selector_new_text),
2105 (hildon_touch_selector_append_text),
2106 (hildon_touch_selector_prepend_text),
2107 (hildon_touch_selector_insert_text):
2109 Moved the simple _text() API from HildonPickerButton to
2110 HildonTouchPicker, to provide better escalability and not to tie
2111 that API to HildonPickerButton.
2113 * examples/hildon-picker-button-example.c: (main): Example updated.
2115 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-button.c: Updated documentation.
2119 * examples/hildon-button-example.c: Add the posibility to create
2120 the buttons using horizontal layout for title and value.
2122 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-app-menu-private.h
2125 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2126 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2127 GtkSizeGroup for the filters, use the 'homogeneous' property of
2130 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2132 * examples/hildon-button-example.c: Updated example.
2134 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2136 * doc/hildon-docs.sgml:
2139 Update documentation.
2141 * examples/Makefile.am: Update renamed examples.
2143 * examples/hildon-picker-button-multicolumn-example.c:
2144 (create_touch_selector), (main): Update after the rename.
2146 * examples/hildon-touch-picker-example.c: Removed.
2147 * examples/hildon-touch-selector-example.c: (value_changed),
2148 (create_selector), (get_visible_content), (main): Renamed from
2149 hildon-touch-picker-example.c
2151 * src/Makefile.am: Updated renamed files.
2153 * src/hildon-date-button.c: (hildon_date_button_init),
2154 (hildon_date_button_get_date), (hildon_date_button_set_date):
2155 * src/hildon-date-selector.c: (hildon_date_selector_init),
2156 (_custom_print_func), (_update_day_model),
2157 (_manage_selector_change_cb),
2158 (hildon_date_selector_select_current_date),
2159 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2160 * src/hildon-date-selector.h:
2161 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2162 (hildon_picker_button_set_property),
2163 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2164 (hildon_picker_button_init), (hildon_picker_button_new_text),
2165 (hildon_picker_button_append_text),
2166 (hildon_picker_button_prepend_text),
2167 (hildon_picker_button_insert_text),
2168 (hildon_picker_button_set_selector),
2169 (hildon_picker_button_get_selector):
2170 * src/hildon-picker-button.h:
2171 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2172 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2173 (_update_title_on_selector_changed_cb), (requires_done_button),
2174 (_hildon_picker_dialog_set_selector),
2175 (hildon_picker_dialog_set_selector),
2176 (hildon_picker_dialog_get_selector):
2177 * src/hildon-picker-dialog.h:
2178 * src/hildon-time-button.c: (hildon_time_button_init),
2179 (hildon_time_button_get_time), (hildon_time_button_set_time):
2180 * src/hildon-time-selector.c: (hildon_time_selector_init),
2181 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2182 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2183 * src/hildon-time-selector.h:
2186 Massive code updates after the rename.
2188 * src/hildon-touch-picker.c: Removed.
2189 * src/hildon-touch-picker.h: Removed.
2191 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2192 (hildon_touch_selector_init), (hildon_touch_selector_map),
2193 (hildon_touch_selector_remove), (_default_print_func),
2194 (_selection_changed_cb), (_create_new_column),
2195 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2196 (hildon_touch_selector_append_text_column),
2197 (hildon_touch_selector_remove_column),
2198 (hildon_touch_selector_set_column_attributes),
2199 (hildon_touch_selector_insert_column),
2200 (hildon_touch_selector_get_num_columns),
2201 (hildon_touch_selector_get_column_selection_mode),
2202 (hildon_touch_selector_set_column_selection_mode),
2203 (hildon_touch_selector_set_print_func),
2204 (hildon_touch_selector_get_print_func),
2205 (hildon_touch_selector_get_active_iter),
2206 (hildon_touch_selector_set_active_iter),
2207 (hildon_touch_selector_get_selected_rows),
2208 (hildon_touch_selector_get_model),
2209 (hildon_touch_selector_set_model),
2210 (hildon_touch_selector_get_current_text),
2211 (_hildon_touch_selector_center_on_selected_items):
2212 * src/hildon-touch-selector.h: Renamed from
2213 hildon-touch-picker.[ch]
2215 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2216 references, code examples, and related documentation.
2218 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2220 * doc/hildon-docs.sgml
2223 * src/hildon-toggle-button.c
2224 * src/hildon-toggle-button.h
2225 * src/hildon.h: New HildonToggleButton widget.
2227 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-button.c: Add API documentation.
2230 (hildon_button_set_size_groups): Check input parameters
2232 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2234 * src/hildon-pannable-area.c
2235 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2236 effect after reaching the movement thredshold. This way we start
2237 using the distance after passing the thredshold.
2239 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-button.c: (hildon_button_set_property): Use the
2242 appropriate g_value_get_flags() method.
2244 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2246 * doc/hildon-docs.sgml:
2249 Add the touch pickers, picker dialogs, and picker button widgets
2250 to the documentation.
2252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2254 * src/hildon-button.c: (hildon_button_set_property),
2255 (hildon_button_class_init): Make "arrangement-flags" a proper
2256 G_TYPE_FLAGS derived property.
2258 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2260 * examples/Makefile.am: Add below examples.
2261 * examples/hildon-date-button-example.c:
2262 * examples/hildon-picker-button-example.c:
2263 * examples/hildon-picker-button-multicolumn-example.c:
2264 * examples/hildon-time-button-example.c:
2265 * examples/hildon-touch-picker-example.c:
2267 Add examples for the recently added touch pickers,
2268 picker dialogs, and picker button widgets.
2270 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-button.c: Add some API documentation
2274 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-button.h
2277 * src/hildon-button.c
2279 (hildon_button_new_with_text): New constructor to create a button
2280 with no text at all.
2281 (hildon_button_init, hildon_button_set_arrangement)
2282 (hildon_button_set_title, hildon_button_set_value)
2283 (hildon_button_set_text)
2284 (hildon_button_construct_child): Hide the value when it's not used
2285 so the rest of the text is properly aligned.
2286 Allow creating buttons with arbitrary widgets inside (not just
2287 title/value labels).
2289 * examples/hildon-button-example.c (vertical_buttons_window)
2290 (horizontal_buttons_window): Update example to use new API.
2292 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/Makefile.am: Added HildonTimeButton.
2295 * src/hildon-time-button.c: Added missing LGPL header.
2296 * src/hildon-time-button.h: Added missing LGPL header.
2297 * src/hildon.h: Add hildon-time-button.h
2299 Copied HildonTimeButton from sandbox to trunk. Future work on this
2300 widget must take place in trunk.
2302 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2304 * src/Makefile.am: Added HildonDateButton.
2305 * src/hildon-date-button.c: Update includes.
2306 * src/hildon.h: Add hildon-date-button.h
2308 Copied HildonDateButton from sandbox to trunk. Future work on this
2309 widget must take place in trunk.
2311 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/Makefile.am: Added HildonPickerButton.
2314 * src/hildon-picker-button.h: Update includes.
2315 * src/hildon.h: Add hildon-picker-button.h
2317 Copied HildonPickerButton from sandbox to trunk. Future work on
2318 this widget must take place in trunk.
2320 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/Makefile.am: Added HildonPickerDialog.
2323 * src/hildon-picker-dialog.c: Update includes.
2324 * src/hildon.h: Add hildon-picker-dialog.h
2326 Copied HildonPickerDialog from sandbox to trunk. Future work
2327 on this widget must take place in trunk.
2329 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2331 * src/Makefile.am: Added HildonTimeSelector.
2332 * src/hildon.h: Add hildon-time-selector.h
2334 Copied HildonTimeSelector widget from sandbox to trunk. Future
2335 work on this widget must happen in trunk.
2337 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2339 * src/Makefile.am: Added HildonDateSelector.
2340 * src/hildon.h: Add hildon-date-selector.h
2342 Copied HildonDateSelector widget from sandbox to trunk. Future
2343 work on this widget must happen in trunk.
2345 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/Makefile.am: Added HildonTouchPicker.
2348 * src/hildon-touch-picker.c: Update includes.
2349 * src/hildon.h: Add hildon-touch-picker.h
2351 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2352 on this widget must happen in trunk.
2354 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-pannable-area.c:
2357 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2359 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2361 * examples/hildon-app-menu-example.c (main): Let the window
2364 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2366 * src/hildon-pannable-area.c
2367 (hildon_pannable_area_class_init): Set the min value of the
2368 overshoot properties to zero, which points out that not
2369 overshooting allowed.
2371 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2373 Modified the procedure to get the widget at a point inside the
2374 pannable area when using the movement type signals. Now the user
2375 has to call a function to get the child, that way we just
2376 calculate the child in case the user really want to use it and not
2379 * src/hildon-marshalers.list: Modified the marshallers, now we do
2380 not have the widget as a parameter.
2382 * src/hildon-pannable-area.c
2383 (hildon_pannable_area_motion_notify_cb),
2384 (hildon_pannable_area_class_init),
2385 (hildon_pannable_get_child_widget_at): Removed the widget
2386 parameter from the signal callback. We have also refactored the
2387 emission of the signals.
2389 * src/hildon-pannable-area.h: Added a new method to the API to
2390 calculate a widget at a point inside the pannable area,
2391 hildon_pannable_get_child_widget_at.
2393 * examples/hildon-pannable-area-example-4.c
2394 (horizontal_movement): Modified the example to use the new API,
2395 added condition to control which widget is under the event. This
2396 way we can avoid scrolling laterally over other widgets.
2398 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c
2401 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2402 modes, we stop getting the pointer events due to returning the
2403 callback without properly calling the get pointer again. Fixed
2404 also an error using the hscroll and vscroll.
2406 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-app-menu-private.h
2409 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2410 (hildon_app_menu_button_release, hildon_app_menu_init)
2411 (hildon_app_menu_class_init): Don't hide the menu on button
2412 release if the user didn't press outside first.
2414 * src/hildon-window.h
2415 * src/hildon-window.c (hildon_window_toggle_menu)
2416 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2417 hildon_window_toggle_menu a virtual function for the stackable
2418 window to override it.
2420 * src/hildon-stackable-window.h
2421 * src/hildon-stackable-window-private.h
2422 * src/hildon-stackable-window.c
2423 (hildon_stackable_window_realize)
2424 (hildon_stackable_window_finalize)
2425 (hildon_stackable_window_class_init)
2426 (hildon_stackable_window_init)
2427 (hildon_stackable_window_set_main_menu): New function to set the
2428 app menu of a HildonStackableWindow.
2430 * examples/hildon-app-menu-example.c: Remove the button to show
2431 the app menu, now it'll be shown when clicking on the title bar
2434 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2437 set the widget name if the arrangement flags do not specify
2440 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2442 * src/hildon-button.c: (hildon_button_set_property),
2443 (hildon_button_class_init), (hildon_button_new_full),
2444 (hildon_button_set_arrangement): Added "arrangement-flags"
2447 Make the HildonButtonFlags a construction-only property, to allow
2448 subclasses to set them properly.
2450 2008-07-21 Tim Janik <timj@imendio.com>
2452 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2453 insertion position after backspace, so additional digits are appended,
2456 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2458 * src/hildon-pannable-area.c,
2459 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2460 TODO list, it was complete and removed the g_debug and g_print
2463 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2465 Added the movement modes to the hildon-pannable-area, with this
2466 modes the developers can control in which directions the widget
2467 can scroll. They can also connect to signals in order to do
2468 something when that happens, allowing applications scroll. There
2469 is an example uploaded showing how to use it.
2471 * examples/Makefile.am:
2472 * examples/hildon-pannable-area-example-4.c: Added this example of
2473 an application using the modes.
2475 * src/hildon-marshalers.list: Added a new marshaller for the new
2478 * src/hildon-pannable-area.h: Added new enumerations and flags in
2479 order to control the movement modes and the new signals to warn
2480 about the movements in the area.
2482 * src/hildon-pannable-area.c:
2483 (hildon_pannable_axis_scroll),
2484 (hildon_pannable_area_scroll),
2485 (hildon_pannable_area_motion_notify_cb),
2486 (hildon_pannable_area_get_property),
2487 (hildon_pannable_area_set_property),
2488 (hildon_pannable_area_map),
2489 (hildon_pannable_area_class_init),
2490 (hildon_pannable_area_init),
2491 (hildon_pannable_area_jump_to): Added the modes to control the
2492 movement in the widget. We have added properties to control it,
2493 signals to warn about the movements and refactored some code.
2495 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2497 Changes required in order to allow vfast_factor set to zero to
2500 * src/hildon-pannable-area.c:
2501 (hildon_pannable_area_button_press_cb): Changed the condition, it
2502 is required for not allowing click when vfast_factor is zero.
2503 (hildon_pannable_area_timeout): Initialized velocity variables
2504 when we stop moving, it was less than 1 but not zero and we need
2505 to check zero in some situations.
2506 (hildon_pannable_area_class_init): Changed the default value of
2507 the speed factor, now the button_press is just sent in case the
2508 speed is 2 per cent of the max speed.
2509 (hildon_pannable_area_init): Initialization with 0.
2511 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2513 * src/hildon-pannable-area.c,
2514 (hildon_pannable_area_get_topmost): replaced
2515 gdk_window_get_children with gdk_window_peek_children, this way we
2516 do not have to free the list because it is not a copy.
2518 (hildon_pannable_axis_scroll),
2519 (hildon_pannable_area_scroll),
2520 (hildon_pannable_area_timeout),
2521 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2522 two parameters that were only used inside the
2523 hildon_pannable_area_scroll function.
2525 * examples/hildon-pannable-area-example.c,
2526 (get_sawtooth_label): Fixed small memory leak.
2528 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2530 More checks for the case where the overshoot is bigger than the
2533 * src/hildon-pannable-area.c:
2534 (hildon_pannable_draw_vscroll),
2535 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2536 to draw the slider of the scrollbar under the other scrollbar.
2537 (hildon_pannable_area_expose_event): added new checks to control
2538 the drawing of the overshooting area rectangle, in case it is too
2539 big for the area of the widget.
2540 (hildon_pannable_area_size_allocate): add more checks to avoid
2541 setting a position to the child widget outside the area.
2543 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2545 * src/hildon-pannable-area.c
2546 (hildon_pannable_area_size_allocate): Added conditions to control
2547 when overshooting is bigger than the allocated space for the
2548 children, this avoids negative allocations.
2550 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2552 * doc/hildon-docs.sgml
2554 * examples/Makefile.am
2555 * examples/hildon-button-example.c
2557 * src/hildon-button.c
2558 * src/hildon-button.h
2559 * src/hildon.h: Initial version of the new HildonButton widget,
2562 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2564 * src/hildon-pannable-area.c:
2565 (hildon_pannable_area_button_press_cb),
2566 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2567 (hildon_pannable_area_motion_notify_cb),
2568 (hildon_pannable_area_button_release_cb),
2569 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2570 (hildon_pannable_area_jump_to_child):
2572 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2574 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2576 * examples/Makefile.am
2577 * examples/hildon-pannable-area-touch-grid-example.c
2578 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2579 the Hildon Touch List and Hildon Touch Grid using the
2580 HildonPannableArea widget.
2582 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2584 * src/hildon-pannable-area.c,
2585 (hildon_pannable_area_button_press_cb),
2586 (hildon_pannable_area_refresh),
2587 (hildon_pannable_area_scroll),
2588 (hildon_pannable_area_motion_notify_cb),
2589 (hildon_pannable_area_button_release_cb),
2590 (hildon_pannable_area_expose_event),
2591 (hildon_pannable_area_add),
2592 (hildon_pannable_area_remove),
2593 (hildon_pannable_area_realize),
2594 (hildon_pannable_area_size_allocate),
2595 (hildon_pannable_area_class_init),
2596 (hildon_pannable_area_init),
2597 (hildon_pannable_area_scroll_to_child),
2598 (hildon_pannable_area_jump_to_child): Fixed the problem of
2599 removing the child from the GtkBin, we have rearranged the widget
2600 hierarchy, now there is no GtkAlignment which was not doing
2601 anything interesting but breaking some of the assumptions of
2602 GtkContainer. Now developers if they want to add a GtkAlignment
2603 they could, but it is not inside the area.
2605 We had to review the whole allocation/expose process, now it is
2606 improved and we save at least three signals which would be saving
2607 some time when rendering the widget. The allocation of the
2608 scrollbars is now made in the allocate method as usual.
2610 We have also added some conditions in order to control when there
2611 is no child of the pannable area. Maybe we will need more work
2614 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2616 * src/hildon-pannable-area.c,
2617 (hildon_pannable_area_dispose): Released the fade-out timeout when
2618 disposing the widget.
2620 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2622 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2623 zero, we are going to use that property in order to deactivate the
2625 (hildon_pannable_axis_scroll),
2626 (hildon_pannable_area_size_allocate): Added conditions to control
2627 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2628 call, now it is called in all situations and we can remove calls
2629 in the allocate method.
2630 (hildon_pannable_area_map): Control the situation when
2631 overshoot_max is zero, we do not need the timeout.
2632 (hildon_pannable_area_class_init): Added documentation in order to
2633 point out that setting zero to overshoot_max means deactivate
2636 NOTE: removed trailing whitespaces from my previous comments of
2639 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-pannable-area.c
2642 (hildon_pannable_area_get_property),
2643 (hildon_pannable_area_set_property),
2644 (hildon_pannable_area_map),
2645 (hildon_pannable_area_class_init),
2646 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2647 to cause the widget give a hint about its panning abilities upon
2650 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-pannable-area.c: Several documentation improvements.
2654 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-program.c
2657 * src/hildon-stackable-window.c: Update documentation.
2659 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-stackable-window.c (get_previous_window_if_last):
2662 Renamed get_last_window()
2663 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2664 (hildon_stackable_window_unset_program):
2666 (get_previous_window_if_last):
2667 Detect if the window hasn't been added to a HildonProgram.
2669 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2671 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-pannable-area.c
2674 (hildon_pannable_area_button_press_cb),
2675 (hildon_pannable_axis_scroll),
2676 (hildon_pannable_area_scroll),
2677 (hildon_pannable_area_timeout),
2678 (hildon_pannable_calculate_vel_factor),
2679 (hildon_pannable_area_get_property),
2680 (hildon_pannable_area_set_property),
2681 (hildon_pannable_area_class_init),
2682 (hildon_pannable_area_init),
2683 (hildon_pannable_area_scroll_to),
2684 (hildon_pannable_area_jump_to),
2685 (hildon_pannable_area_scroll_to_child),
2686 (hildon_pannable_area_jump_to_child):
2687 * src/hildon-pannable-area.h: Added the new API functions:
2688 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2689 hildon_pannable_area_scroll_to_child,
2690 hildon_pannable_area_jump_to_child
2693 * examples/Makefile.am
2694 * examples/hildon-pannable-area-example-2.c
2695 * examples/hildon-pannable-area-example-3.c: Added these two new
2696 examples in order to test and show how the new APIs work.
2698 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2700 * examples/hildon-stackable-window-example.c (new_window):
2701 * src/Makefile.am (noinst_HEADERS):
2702 * src/hildon-program.c (hildon_program_go_to_root_window):
2703 * src/hildon-program.h:
2704 * src/hildon-stackable-window-private.h:
2705 * src/hildon-stackable-window.c:
2706 * src/hildon-stackable-window.h:
2707 Create hildon-stackable-window-private.h
2708 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2710 * examples/hildon-app-menu-example.c (create_menu):
2711 * examples/hildon-hvolumebar-insensitive-example.c (main):
2712 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2713 * examples/hildon-toolbar-seekbar-example.c (main):
2714 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2715 * src/hildon-banner.c (hildon_banner_set_property):
2716 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2717 Fix compilation warnings
2719 * src/hildon-window.c:
2722 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-stackable-window.c
2725 (hildon_stackable_window_unset_program):
2726 Calculate correctly whether to show the previous window if the
2727 last one is removed from the stack.
2728 (hildon_stackable_window_go_to_root_window):
2729 Send delete events starting from the topmost window.
2730 Stop if one of the windows is not destroyed.
2732 (hildon_stackable_window_delete_event)
2733 (hildon_stackable_window_class_init):
2734 Ignore the delete event if the window is not the topmost one.
2736 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2738 * src/hildon-pannable-area.c
2739 (hildon_pannable_area_expose_event): Fixed a problem when
2740 selecting the background color of the scrollbars.
2742 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2744 * examples/hildon-stackable-window-example.c
2745 * src/hildon-stackable-window.c
2746 * src/hildon-stackable-window.h
2747 hildon_stackable_window_go_home() renamed to
2748 hildon_stackable_window_go_to_root_window()
2749 Send delete events to windows rather than closing them with
2750 gtk_widget_destroy()
2752 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-pannable-area.c
2755 (hildon_pannable_area_button_release_cb): Fix overshooting in
2758 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-pannable-area.c
2761 (hildon_pannable_area_init): Initially show the scroll indicators.
2762 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2764 Add initial effect showing the widget is pannable.
2766 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-pannable-area.c
2769 (hildon_pannable_area_class_init)
2770 (hildon_pannable_area_set_property)
2771 (hildon_pannable_area_get_property)
2772 (hildon_pannable_area_button_press_cb):
2773 New 'velocity_fast_factor' property to decide which velocity is
2776 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-pannable-area.c
2779 (hildon_pannable_draw_hscroll)
2780 (hildon_pannable_draw_vscroll):
2781 Use float variables to calculate the size of the scrollbars to
2782 avoid error propagation and resizing during scrolling.
2784 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-pannable-area.c
2787 (hildon_pannable_draw_vscroll)
2788 (hildon_pannable_draw_hscroll):
2789 Define a minimum size for the scroll bars
2791 * src/hildon-stackable-window.c
2792 (hildon_stackable_window_go_home): Fix compilation warning
2793 (get_last_window): Minor optimizations
2794 (hildon_stackable_window_class_init): Fix initialization of
2797 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-stackable-window.c: Fixed typos in doc
2801 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-pannable-area.c
2804 (hildon_pannable_area_scroll):
2805 Calculate here whether we need to scroll instead of using the booleans
2806 that tell us whether to /draw/ the scrolling bars.
2808 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-app-menu.h
2812 * src/hildon-app-menu.c
2813 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2814 multiple filter groups related code and API. Now we support only
2816 * examples/hildon-app-menu-example.c:
2818 Update to reflect API changes.
2820 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-stackable-window.c
2823 (hildon_stackable_window_class_init):
2824 Add hildon_stackable_window_realize.
2825 (hildon_stackable_window_realize):
2826 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2827 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2828 to apply theming and behavior specific to HildonStackableWindow
2831 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-note.c (hildon_note_button_release):
2834 Close information notes also when tapping on them
2836 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2838 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2839 ELASTICITY, refactor and review, fix some issues with drawing
2842 * src/hildon-pannable-area.c:
2843 (hildon_pannable_area_button_press_cb): removed the conditions to
2844 avoid clicks when overshooting. It is not required
2846 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2847 define. Refatored and reviewed the code, now we do not need to
2848 manage velocity in motion_notify.
2850 (hildon_pannable_area_motion_notify_cb): We have moved the code
2851 that controls the area_scroll to the axis_scroll function and get
2852 rid of duplicated code.
2854 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2856 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2858 (hildon_pannable_draw_vscroll),
2859 (hildon_pannable_draw_hscroll): Fixed the problems with the
2860 scrollbar drawing, now we do not use two surfaces, it is easier
2861 and saves resources.
2863 (hildon_pannable_area_get_property): Style modification.
2865 (hildon_pannable_area_class_init): Changed some default values.
2867 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/hildon-stackable-window.c: Fix some typos in the
2872 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2874 * src/hildon-dialog.c:
2875 Change indentation style
2878 (hildon_note_button_release):
2879 Use root coordinates to check if the release event happened
2882 * src/hildon-app-menu.c
2883 (hildon_app_menu_button_release):
2884 Remove unnecessary check
2886 * examples/hildon-app-menu-example.c
2888 Add cast to fix warning
2890 * src/hildon-app-menu.c
2891 (hildon_app_menu_class_init):
2892 New inner-border style property.
2893 Set all default spacings to 16
2894 (hildon_app_menu_init):
2895 Use vertical-spacing to set the space between filter buttons and
2896 regular menu buttons.
2897 Set the default container border using the inner-border value.
2899 * examples/hildon-app-menu-example.c
2901 Don't set the menu border explicitly, now we have the inner-border
2902 style property for that.
2904 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-app-menu.c (hildon_app_menu_init):
2907 Make the window modal
2909 * src/hildon-note.c (hildon_note_map)
2910 * src/hildon-app-menu.c (hildon_app_menu_map):
2911 Destroy the grab window if we're unable to grab the pointer
2913 * src/hildon-app-menu-private.h
2914 * src/hildon-app-menu.c
2915 (hildon_app_menu_init, hildon_app_menu_finalize)
2916 (hildon_app_menu_map, hildon_app_menu_unmap)
2917 (hildon_app_menu_button_release)
2918 (grab_transfer_window_get):
2919 Bring back the grab window
2920 (hildon_app_menu_realize):
2921 Decorate the window, set WM hint for Matchbox
2923 * src/hildon-note.c (hildon_note_realize):
2924 * src/hildon-banner.c (hildon_banner_realize):
2925 Add WM hints for Matchbox
2927 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-app-menu-private.h
2930 * src/hildon-app-menu.c
2931 (hildon_app_menu_init, hildon_app_menu_finalize)
2932 (hildon_app_menu_map, hildon_app_menu_unmap)
2933 (hildon_app_menu_button_release):
2934 Remove the grab window, it's not needed anymore
2936 * src/hildon-program.c
2937 Fixed typo in documentation
2939 * src/hildon-app-menu.h
2940 * src/hildon-app-menu.c
2941 * examples/hildon-app-menu-example.c
2942 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2944 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2947 Added new transfer_window and close_if_pressed_outside private
2949 (hildon_note_rebuild):
2950 Don't add a cancel button to the information note. It will be
2951 closed when tapping outside
2952 Remove the comment about the OK button in the documentation
2953 (hildon_note_realize):
2954 Set the notification type hint
2955 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2956 Grab/ungrab pointer and keyboard if the note has to be closed when
2958 (hildon_note_button_release):
2959 Close the note when tapping outside (if applicable)
2961 * src/hildon-app-menu.c
2962 Grab/ungrab pointer and keyboard on map/unmap
2963 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2964 Close the menu on button release, not button press
2966 * src/hildon-banner.c
2967 (hildon_banner_set_property)
2968 (hildon_banner_check_position):
2969 Make the banner use the full width of the screen
2970 (hildon_banner_show_information)
2971 (hildon_banner_show_information_with_markup):
2972 Don't display an icon by default
2974 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2976 Added fading scrollbars and adapted all the overshooting code to
2977 horizontal scrolling. We have also fixed bugs with overshooting
2978 and current fading implementation.
2980 * src/hildon-pannable-area.c
2981 (hildon_pannable_area_scroll_indicator_fade): Time out function
2982 used to change the transparency of the scrollbars.
2984 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2985 control and fixed a problem with fading, we now remove the fade
2986 timeout before adding a new one.
2988 (hildon_pannable_axis_scroll):
2989 (hildon_pannable_area_scroll):
2990 (hildon_pannable_area_timeout): Added this functions so we can use
2991 the scroll code both for vertical and horizontal.
2993 (hildon_pannable_area_motion_notify_cb):
2994 (hildon_pannable_area_button_release_cb): Added the horizontal
2995 scrolling control, fixed a problem with the overshooting timeout.
2997 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2998 painting of the scrolls.
3000 (hildon_pannable_draw_vscroll):
3001 (hildon_pannable_draw_hscroll):
3002 (hildon_pannable_area_expose_event):
3003 Draw both scrollbars and rectangles in the overshooting area.
3005 (hildon_pannable_area_get_property):
3006 (hildon_pannable_area_set_property):
3007 Modified the overshoot property to overshoot_max
3009 (hildon_pannable_area_map):
3010 Replaced the comments symbols.
3012 (hildon_pannable_area_size_allocate):
3013 (hildon_pannable_area_class_init):
3014 (hildon_pannable_area_init): Added horizontal scroll, fading
3015 effect properties, fixed a problem when overshooting in the bottom
3018 * examples/hildon-pannable-area-example.c:
3019 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3020 looks better in the example.
3022 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3024 * src/hildon-window.c
3025 * src/hildon-window.h
3026 (hildon_window_class_init)
3027 (hildon_window_unset_program)
3028 (hildon_window_unset_program_real):
3029 Make unset_program a virtual function
3031 * src/hildon-stackable-window.c
3032 * src/hildon-stackable-window.h
3033 Added hildon_stackable_window_go_home()
3035 * examples/Makefile.am
3036 * examples/hildon-stackable-window-example.c
3037 HildonStackableWindow example
3039 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3041 * hildon-pannable-area.c: Added the overshoot property and removed
3042 the OVERSHOOT define. Fixed an indent style error.
3043 (hildon_pannable_area_motion_notify_cb):
3044 (hildon_pannable_area_get_property):
3045 (hildon_pannable_area_set_property): Add overshoot property.
3047 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3050 (hildon_pannable_area_class_init): Installed the new property.
3052 * hildon-pannable-area-example.c: Added a sawtooth function, this
3053 way it is easier to check the movement in the pannable.
3054 (get_sawtooth_label): Added this function.
3055 (main): Now we get the labels from the new get_sawtooth_label
3058 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3060 * src/hildon-app-menu.h
3061 * src/hildon-app-menu.c
3062 Renamed API variables for consistency
3064 (hildon_app_menu_popup): Use also the default window size to
3065 decide where to place the menu
3067 (hildon_app_menu_init, hildon_app_menu_class_init): New
3068 external-border style property
3070 2008-05-26 Michael Natterer <mitch@imendio.com>
3072 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3073 widget_class->tap_and_hold_setup signal slot doesn't exist any
3074 longer, stop overriding it.
3076 (hildon_time_editor_init): g_signal_connect() to the
3077 tap-and-hold-setup signal instead.
3079 (hildon_time_editor_entry_keypress): add cast to fix warning.
3081 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3083 * doc/hildon-docs.sgml
3085 * examples/Makefile.am
3086 * examples/hildon-app-menu-example.c
3088 * src/hildon-app-menu-private.h
3089 * src/hildon-app-menu.c
3090 * src/hildon-app-menu.h
3092 New HildonAppMenu widget
3094 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3096 Rearranged the inheritance of the pannable area, now it inherits
3097 from GtkBin. This will allow us to control the event_window and
3098 the allocation process of the widget, required for some effects.
3100 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3101 GtkBin structures. * src/hildon-pannable-area.c: Added the
3102 event_window variable.
3103 (hildon_pannable_area_button_press_cb):
3104 (hildon_pannable_area_button_release_cb):
3105 (hildon_pannable_area_motion_notify_cb):
3106 Changed the signature of the method, now we override the event
3107 callback instead of connecting to the signal.
3109 (hildon_pannable_area_realize):
3110 (hildon_pannable_area_unrealize):
3111 (hildon_pannable_area_map):
3112 (hildon_pannable_area_unmap):
3113 (hildon_pannable_area_size_allocate):
3114 Added functions to control the widget construction. We add a
3115 INPUT_ONLY window and we put it over the widgets inside the
3116 container, this event_window handles the events.
3118 (hildon_pannable_area_class_init):
3119 Replaced the signal connections with overrides of the event
3122 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3124 Bouncing effect added when touching the borders, you can change
3125 the elasticity of the border changing the ELASTICITY define.
3127 * src/hildon-pannable-area.c: Added ELASTICITY define.
3128 (hildon_pannable_area_timeout): Added inverse velocity when
3129 touching the border of the child widget, that causes a bounce.
3131 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3133 Improved performance, we now do not go to the X server in order to
3134 get the list of window children. Apparently the effect is the
3135 same, we have to be careful and check if this breaks something in
3138 * src/hildon-pannable-area.c:
3139 (get_ordered_children): Removed this function.
3140 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3141 the children windows function with gdk_window_get_children.
3143 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3145 * src/hildon-pannable-area.c:
3146 (hildon_pannable_area_dispose): Fixed a crash when closing the
3147 window and kinetics is activated.
3149 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-pannable-area.h
3152 * src/hildon-pannable-area.c
3153 Changed indentation style to meet the one used in Hildon
3155 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3157 Reviewed the interaction of the AUTO mode, now we use the time
3158 attribute of the events and calculate the velocity in the motion,
3159 doing a gimp like calculation. The velocity is calculated in each
3160 motion event using the last velocity and the current one, the
3161 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3163 * src/hildon-pannable-area.c: Replaced the time based algorithm
3165 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3166 timeout for the AUTO mode when we are still moving the cursor. We
3167 added also the velocity calculation in this function.
3168 (hildon_pannable_area_button_release_cb): launch the timeout in
3169 case we are in AUTO mode. There are still some constants here that
3170 come from the old implementation that should be reviewed and
3173 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3175 * doc/hildon-docs.sgml
3178 * src/hildon-stackable-window.c
3179 * src/hildon-stackable-window.h
3181 New HildonStackableWindow widget
3183 * examples/hildon-dialog-example.c
3184 * examples/hildon-pannable-area-example.c
3187 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-dialog.c
3190 (hildon_dialog_new_with_buttons): New constructor.
3192 * examples/hildon-dialog-example.c
3193 (main): Update the example to use the new
3194 hildon_dialog_new_with_buttons().
3196 * examples/hildon-pannable-area-example.c
3197 (main): Update example.
3199 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3201 * doc/hildon-docs.sgml
3203 Added HildonPannableArea to the documentation.
3205 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3207 * doc/visual_index.xml
3208 Fix reference to HildonLoginDialog in documentation
3210 * doc/hildon-docs.sgml
3212 * examples/Makefile.am
3213 * examples/hildon-dialog-example.c
3215 * src/hildon-dialog.c
3216 * src/hildon-dialog.h
3218 New HildonDialog widget.
3220 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-pannable-area.c
3223 Merge latest changes (r4318, r4342) from libmokoui trunk
3225 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3227 * examples/Makefile.am
3228 * examples/hildon-pannable-area-example.c
3230 * src/hildon-pannable-area.c
3231 * src/hildon-pannable-area.h
3233 New HildonPannableArea widget.
3235 2008-04-15 18:05:19 <timj@imendio.com>
3237 * src/hildon-banner.c: revert the recent change, that introduced
3238 gtk_window_present() calls. this reopens:
3239 Bug 78481 - [freetest] information banners are hidden under browser menu
3240 But resolves another variant of:
3241 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3243 2008-04-15 13:21:13 <timj@imendio.com>
3245 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3246 recreated its layout, spotted by Kris. this fixes all remaining
3247 artefacts and stability issues with the banner code. in particular:
3248 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3250 2008-04-14 16:52:59 <timj@imendio.com>
3252 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3253 operating on unrealized widgets, fixes:
3254 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3256 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3258 2008-04-09 Kristian Rietveld <kris@imendio.com>
3260 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3261 makes banner disappear.
3262 Fixes: NB#79182: info banner flickering with certain message lengts.
3264 * src/hildon-banner.c (hildon_banner_constructor),
3265 (hildon_banner_init), (hildon_banner_set_text),
3266 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3267 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3268 FALSE, reset size requests of label and banner,
3269 (force_to_wrap_truncated): when the text is too wide, always enforce
3270 the maximum possible width instead of recalculating it from the
3271 layout; enforce the maximum banner height of 3 lines,
3272 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3273 nicer wrapping and no truncated chars if space gets tight.
3275 * src/hildon-banner-private.h: add has_been_wrapped and
3276 has_been_truncated fields.
3278 2008-04-07 Sven Herzberg <sven@imendio.com>
3280 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3281 local values in hildon_date_editor_size_allocate
3283 * src/hildon-date-editor.c: moved the real allocation code into the
3286 2008-04-07 Sven Herzberg <sven@imendio.com>
3288 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3289 local values in hildon_date_editor_size_allocate
3291 * src/hildon-date-editor.c: merged the two if() branches together
3293 2008-04-07 Sven Herzberg <sven@imendio.com>
3295 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3296 local values in hildon_date_editor_size_allocate
3298 * src/hildon-date-editor.c: changed the arguments of the if()
3301 2008-04-07 Sven Herzberg <sven@imendio.com>
3303 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3304 local values in hildon_date_editor_size_allocate
3306 * src/hildon-date-editor.c: split the calculation of the allocation
3307 from the real allocation
3309 2008-03-27 Michael Natterer <mitch@imendio.com>
3311 Fixes: NB#81696: The passcode is not overwritten even after
3314 * src/hildon-code-dialog.c
3315 (hildon_code_dialog_button_clicked)
3316 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3317 because that doesn't overwrite selected text. Instead, emit the
3318 "commit" signal on the entry's im_context so the entry's normal
3319 insert logic is triggered. Set the cursor to the end of the entry
3320 after each insert operation so that we *only* insert in the middle
3321 of the text if something was selected.
3323 2008-03-27 Michael Natterer <mitch@imendio.com>
3325 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3326 selector cannot be opened
3328 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3329 when the popup color selector is created. Please connect to this
3330 signal in order to set the dialog's help ID.
3332 2008-03-25 Sven Herzberg <sven@imendio.com>
3334 Fixes: MB#1212: Hide info banners (infoprints) on click
3336 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3337 extracted the close event simulation into an extra function
3338 (hildon_banner_button_press_event): simulate a close event and destroy
3339 the widget if the event wasn't handled
3340 (hildon_banner_class_init): added the button_press_event handler
3341 (hildon_banner_init): added button-press events to the widget
3343 2008-03-25 Sven Herzberg <sven@imendio.com>
3345 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3346 Patch from: Mohammad Anwari <mdamt@maemo.org>
3348 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3349 instead of the right in RTL mode
3350 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3351 breadcrumb button list in RTL mode
3352 * src/hildon-caption.c: mirror the appearance of the caption widget in
3354 * src/hildon-date-editor.c: mirror appearance of the date editor in
3356 * src/hildon-time-editor.c: mirror appearance of the time editor in
3358 * src/hildon-window.c: fix the position of the popup in RTL mode
3360 2008-03-25 Sven Herzberg <sven@imendio.com>
3362 Amendment to the fix of NB#22072. Fix compilation.
3364 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3366 2008-03-19 Sven Herzberg <sven@imendio.com>
3368 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3371 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3372 timeout id properly when the timeout will disappear this leaves no
3373 artifacts around in the destroy(); there will only be the timeout
3374 created by hildon_banner_ensure_timeout() and adding a new timeout
3375 will also work if the timeout gets removed because the timeout_handler
3378 2008-03-19 Michael Natterer <mitch@imendio.com>
3380 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3382 * src/hildon-volumebar.c
3383 * src/hildon-vvolumebar.c
3384 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3385 the widget becomes focussable at all.
3387 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3388 set the focus to wither the mute button or the volumebar.
3390 Remove own "can-focus" property and instead listen to
3391 notify::can-focus in order to update the widget's state.
3393 Implement GtkWidget::focus() and make sure we can also *leave* the
3394 widget, not only enter it, depending on volumebar orientation and
3395 requested focus direction.
3397 Clean up set_mute() to cooperate nicely with all the above.
3399 2008-03-04 Michael Natterer <mitch@imendio.com>
3401 Fixes: NB#78481: information banners are hidden under browser menu
3403 * src/hildon-banner.c: call gtk_window_present() on the banners so
3404 they are risen if they are already visible.
3406 2008-03-03 Sven Herzberg <sven@imendio.com>
3408 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3410 * examples/hildon-window-menu-example.c: (main): extended the window
3411 menu example to serve as a testcase for automatically added
3412 accelerator groups, too
3413 * src/hildon-window.c: (hildon_window_add_accel_group),
3414 (hildon_window_set_menu): added patch by Tommi Komulainen
3416 2008-03-03 Sven Herzberg <sven@imendio.com>
3418 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3420 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3421 knowledge about the border allocators used within GTK+
3423 2008-02-26 Sven Herzberg <sven@imendio.com>
3425 Fixes: MB#2981: Build with asserts broken
3427 * src/hildon-date-editor.c,
3428 * src/hildon-number-editor.c,
3429 * src/hildon-time-editor.c,
3430 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3431 the proper GType instance check
3433 2008-02-25 Sven Herzberg <sven@imendio.com>
3435 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3437 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3438 * examples/hildon-window-menu-example.c: (main): explicitly show
3440 * src/hildon-window.c:
3441 (hildon_window_set_main_menu): moved most of the code from set_menu()
3442 to this place; skipped the call to gtk_widget_show_all(); also didn't
3443 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3444 (hildon_window_set_menu): removed most of the code, just keep the
3445 questionable gtk_widget_show_all()
3446 * src/hildon-window.h: added the new function and deprecate the old
3449 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3455 * debian/changelog: Updating.
3457 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3460 * pkgconfig/Makefile.am:
3461 * pkgconfig/hildon.pc.in:
3464 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3465 use newly created API_MAJOR_VERSION.
3467 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3473 * debian/changelog: Updating.
3475 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3477 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3479 Add outer_border style property, we use it but don't define it (!).
3483 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3485 * examples/hildon-bread-crumb-trail-example.c (main):
3489 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3491 Fix logic for the bread crumb trail node removal.
3495 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3501 * debian/changelog: Updating.
3503 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3505 Patch by Alejandro to get/set passwords dialogs accesibility.
3507 * hildon-1/src/hildon-get-password-dialog.c:
3508 * hildon-1/src/hildon-set-password-dialog.c:
3509 Set atk_set_name to the passwd entries in order to allow
3510 accessibility by name on this entries.
3512 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3517 * debian/control: Updating gtk dep.
3519 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3521 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3522 USE_MAEMO_GTK is enabled.
3524 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3526 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3527 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3529 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3535 * debian/changelog: Updating.
3537 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3539 * examples/Makefile.am:
3540 * examples/hildon-logical-color-example.c:
3541 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3542 applied + adding a test case. Fixes: NB#71660.
3544 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3546 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3547 to be visible, fixes warning on map for windows without toolbars.
3549 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3551 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3552 2.11.0, add a check for that besides the MAEMO_GTK check.
3554 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3560 * debian/changelog: Updating.
3562 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3564 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3565 visibility. Fixes: NB#70842 and MB#615.
3567 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3569 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3570 set the separator as no-show-all so it doesn't unintentionally appear when
3571 someone does a show_all.
3573 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3575 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3576 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3577 toplevel item. Fixes: NB#62031
3579 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3581 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3582 fix the name of the function in the docs.
3584 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3590 * debian/changelog: Updating.
3592 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3594 * examples/hildon-banner-long-example.c: Adding a test-case for long
3597 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3599 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3601 * src/hildon-color-chooser-dialog.c:
3602 * src/hildon-color-chooser.c:
3603 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3604 memory leaks in font selector and color selector. Fixes: NB#70499 and
3607 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3609 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3611 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3613 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3614 little bit bigger. Fixes: #NB63694.
3616 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3622 * debian/changelog: Updating.
3624 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3627 * doc/hildon-docs.sgml:
3628 * doc/images/bread-crumb-trail.png:
3629 * doc/images/calendar-popup.png:
3630 * doc/images/caption.png:
3631 * doc/images/code-dialog.png:
3632 * doc/images/color-button.png:
3633 * doc/images/color-chooser-dialog.png:
3634 * doc/images/color-chooser.png:
3635 * doc/images/controlbar.png:
3636 * doc/images/date-editor.png:
3637 * doc/images/font-selection-dialog.png:
3638 * doc/images/get-password-dialog.png:
3639 * doc/images/hvolumebar.png:
3640 * doc/images/login-dialog.png:
3641 * doc/images/note.png:
3642 * doc/images/number-editor.png:
3643 * doc/images/range-editor.png:
3644 * doc/images/seekbar.png:
3645 * doc/images/set-password-dialog.png:
3646 * doc/images/sort-dialog.png:
3647 * doc/images/time-editor.png:
3648 * doc/images/time-picker.png:
3649 * doc/images/vvolumebar.png:
3650 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3651 Adding the bread-crumb-trial and helpers to the documentation.
3653 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3655 * examples/hildon-find-toolbar-example.c:
3656 * src/hildon-find-toolbar.c:
3657 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3658 actually continue firing the other handlers if connected. Adding a new
3660 hildon_find_toolbar_get_last_index that gets the index of the most
3661 recently added (last) item. Fixes: NB#52301.
3663 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3665 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3666 behaviour. Fixes: NB#68610.
3668 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3670 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3673 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3675 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3676 when realizing the banner. Should make the infonbanner effect a bit more
3679 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3681 * src/hildon-volumebar.c:
3682 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3683 hildon_volumebar_set_range_insensitive_message and
3684 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3686 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3688 * src/hildon-window.c: Fixing the border freeing on destroy.
3690 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3692 * src/hildon-code-dialog-private.h:
3693 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3694 kw keyboard support in HildonCodeDialog.
3696 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3702 * debian/changelog: Updating.
3704 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3706 * src/hildon-date-editor.c:
3707 * src/hildon-number-editor.c:
3708 * src/hildon-private.c:
3709 * src/hildon-private.h:
3710 * src/hildon-time-editor.c:
3711 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3712 handling in subclassed composite widgets. Fixes: NB#66628.
3714 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3716 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3717 from destroy_ callback as it introduces problems in async dbus signal
3718 handlers. Fixes NB#66673.
3720 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3722 * examples/hildon-hvolumebar-example.c:
3723 * src/hildon-volumebar.c: Improving the focus handling in the
3724 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3725 set_property accessor so that "mute" property can be actually set. I'm
3726 scared that nobody noticed it's totally broken.
3728 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3730 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3733 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3735 * src/hildon-calendar.c:
3736 * src/hildon-number-editor.c:
3737 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3738 matches the spec of 6 chars per second. Fixes: NB#60489.
3740 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3742 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3743 gtk_style_lookup_color sometime returns FALSE even though color was
3744 found and values were filled properly. Weird. Removing the warning for the
3747 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3749 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3750 expand vertically. Adding some extra space to the find toolbar buttons to
3751 make them thumbable. Fixes NB#66060.
3753 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3755 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3756 popup with "Ok" and "Cancel". Fixes NB#59299.
3758 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3760 * src/hildon-calendar.c: Process all window updates before executing next
3761 timeout. Fixes: NB#54146.
3763 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3769 * debian/changelog: Updating.
3771 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3773 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3774 the client event and ignore it, since we use the delete event to close
3777 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3779 * src/hildon-helper.c: Remove the bogus warning about color not being
3780 found. Fixes NB#58352.
3782 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3784 * examples/Makefile.am:
3785 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3786 HildonSeekbar widget inside a toolbar.
3788 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3790 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3791 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3792 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3793 don't want to be closed by non-temporary windows on map.
3795 Also use G_DEFINE_TYPE instead of manually typed code.
3797 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3804 * debian/rules: Updating.
3806 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3808 * examples/Makefile.am:
3809 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3810 bug NB#61128. Strangely it works.
3812 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3814 * src/hildon-date-editor.c: When the date editor entry has been changed
3815 but the numbers of characters < max, turn off the skip validation flag.
3816 Prevents a situation when we enter first a valid year and later re-write
3817 it with an invalid one. Fixes NB#60154.
3819 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3821 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3822 code dialog. Fixes NB#64355.
3824 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3826 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3827 switching the page. Fixes NB#49374.
3829 * examples/Makefile.am:
3830 * examples/hildon-wizard-dialog-example.c: Adding an example for
3831 HildonWizardDialog that shows how to handle manual sensitivity setting on
3834 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * src/hildon-version.h.in:
3839 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3841 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3843 * src/hildon-volumebar.c: Updating the docs.
3845 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3851 * debian/changelog: Updating.
3853 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3855 * src/hildon-find-toolbar.c:
3856 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3857 selected item: hildon_find_toolbar_set_active,
3858 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3859 hildon_find_toolbar_get_active_iter . They correspond to respective
3860 GtkComboBox functions.
3862 * examples/Makefile.am:
3863 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3866 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3868 * examples/Makefile.am:
3869 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3872 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3873 when font size > 32 and we pack a focusable widget inside. Actually using
3874 the default response would work too, but since we don't show default
3875 response state in any way (no theming) it would not be visible to the
3876 user. Fixes NB#63430.
3878 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3880 * src/hildon-date-editor.c: Adding the missing variable setter in the
3881 set_property handler. Fixes NB#54182.
3883 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3885 * src/hildon-window.h: Changing the long key press time from 1500ms to
3886 800ms as requested in NB#63700. I have a bad feeling about this, let's
3887 see... Fixes NB#63700.
3889 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3891 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3892 hildon_time_picker_map, hildon_time_picker_realize,
3893 hildon_time_picker_style_set): Split the contents of map to more
3894 appropriate functions; set window decorations on realize and update
3895 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3897 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3902 * debian/changelog: Updating.
3904 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3906 * src/Makefile.am: fixed installation of the header files
3908 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3914 * debian/changelog: Updating.
3916 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * configure.ac: Removing some remaining of --enable-xan.
3920 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3922 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3923 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3925 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3926 2.10.12-osso6 because the move-focus signal needs to be available in
3929 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3931 * examples/Makefile.am:
3932 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3933 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3934 fine. Prolly NB#61128 is fixed now.
3936 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3938 * src/hildon-volumebar.c:
3939 * src/hildon-volumebar.h: Adding the
3940 hildon_volumebar_set_range_insensitive_message and
3941 hildon_volumebar_set_range_insensitive_messagef functions to set
3942 insensitive message on the slider of the volumebar. Fixes NB#61129.
3944 * examples/Makefile.am:
3945 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3946 test the new insensitive messsage functionality on HildonVolumebar.
3948 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3950 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3953 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3955 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3956 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3957 button on after clearing the trail.
3959 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3961 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3963 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3965 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3966 by splitting the installed headers in generated and non-generated groups. Use
3967 only the non-generated headers to create the hildon-enum-types.h file.
3969 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3971 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3973 * src/hildon-window.c: Hide the window before performing the destroy.
3974 Should make the app closing a little tiny bit more snappy.
3976 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3978 * src/hildon-seekbar.c: add gtkrange.h header
3979 * src/hildon-caption.c: remove unused variable
3981 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3983 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3986 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3992 * debian/changelog: Updating.
3994 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3996 * src/hildon-window.c (hildon_window_window_state_event,
3997 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3998 escape timeout on focus-out-event rather than notify::is-topmost; the
3999 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4001 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4003 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4004 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4006 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4008 * src/hildon-window: actually, you need to use the macro always, there's
4009 no private pointer in the instance structure. We should have cleaned this up
4010 when we had the chance...
4012 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4014 * src/hildon-window.c: do not get the private date from HildonWindow before
4015 it passes the g_return_if_fail check. Once it's passed the test, there's no
4016 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4017 if you are only going to access the data once. Whitespace cleanups.
4019 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4021 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4022 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4024 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4030 * debian/changelog: Updating.
4032 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4034 * src/hildon-window.c: When destroying the window, remove (if exists) the
4035 escape timeout handler. Fixes #NB59276.
4037 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4039 * src/hildon-banner.c: When realizing the widget, set the window
4040 transiency. Setting the transiency in the gobject constructor is not
4041 good, as the widget is not realized at that point. Fixes: #NB56624.
4043 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4045 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4046 Add padding for future expansions.
4048 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4050 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4051 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4052 will fake an activation on the previous to the last item of the trail, so
4053 the effect can be overrided by the developer as usual.
4054 Also change the callback for the back button to do the same thing, so its
4055 effect can be overrided too. Fixes: NB#58982
4057 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4059 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4060 HildonCaption. Fixes NB#52379.
4062 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4064 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4065 the internal state of the trail after the user has had the chance of executing
4066 his handler for the signal. Specifically, it may happen that the activated button
4067 is removed and the user still lets the default handler run. This would segfault
4070 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4072 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4073 scrollbar to the preview dialog. Fixes NB#54147.
4075 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4077 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4078 max/min year properties can be altered, so the client can modify it
4079 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4081 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4083 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4084 hildonlike by default. Fixing a problem with disappearing arrows when
4085 scrolling through months and years. Fixes NB#54127.
4087 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4089 * examples/hildon-date-editor-example.c: Adding error callback to the date
4092 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * configure.ac: Updating.
4100 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4102 * configure.ac: Adding a special '--enable-xan' configure option that
4103 turns off the -Werror compilation setting. Usefull for development.
4105 * src/hildon-calendar.c:
4106 * src/hildon-number-editor.c:
4107 * src/hildon-time-picker.c: Adding the 5* multiplier to
4110 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4112 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4113 instead of g_object_ref + gtk_object_sink.
4115 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4121 * debian/changelog: Updating.
4123 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4125 * src/hildon-color-chooser-dialog.c:
4126 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4127 straight from Tommi labs.
4129 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4131 * examples/hildon-finger-example.c: Correcting the header file path.
4133 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4134 the changed signal. Fixes a small memory leak.
4136 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4140 * src/hildon-banner.c: Importing several usefull fixes from the
4141 ubuntu-mobile branch.
4143 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4145 * examples/Makefile.am:
4146 * examples/hildon-finger-example.c: Adding a finger-checking code
4149 * src/hildon-font-selection-dialog.c: Do not allocate the color
4150 structure using the g_new. Fixes NB#54061.
4152 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4154 * src/hildon-helper.c: Correcting tabs in file.
4156 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4158 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4159 control the visibility of the children.
4161 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4163 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4169 * debian/changelog: Updating.
4171 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4173 * src/hildon-bread-crumb-trail.c:
4174 (hildon_bread_crumb_trail_size_allocate):
4176 Make the back button always a square.
4178 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4180 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4181 from the .c file as it's a private file.
4183 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4185 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4186 uses slightly bigger height.
4188 * src/hildon-font-selection-dialog.c: Adding some checks before
4189 freeing memory in the font selection dialog.
4191 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * src/hildon-font-selection-dialog.c: Adding a small check when
4196 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4197 buttons sensitivity on page switching.
4199 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4201 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4202 internal details of adding a bread crumb to the trail.
4204 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4210 * debian/changelog: Updating.
4212 * src/hildon-bread-crumb-trail.h:
4213 * src/hildon-bread-crumb.h: Changing the API guard to
4214 HILDON_ENABLE_UNSTABLE_API.
4216 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4224 * src/hildon-helper.h: Updating.
4226 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4238 * src/hildon-helper.h: Small fix to make the package actually compile.
4240 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4242 * src/hildon-bread-crumb-trail.h:
4243 * src/hildon-bread-crumb.h:
4245 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4246 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4248 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4250 * examples/hildon-bread-crumb-trail-example.c:
4252 * src/hildon-bread-crumb-trail.c:
4253 * src/hildon-bread-crumb-trail.h:
4254 * src/hildon-bread-crumb.c:
4255 * src/hildon-bread-crumb.h:
4256 * src/hildon-marshalers.list:
4257 * src/hildon-bread-crumb-widget.c:
4258 * src/hildon-bread-crumb-widget.h:
4260 Slight change in the widget design. The bread crumb trail API is
4261 unchanged, but HildonBreadCrumb is now an interface. A *private*
4262 implementation, hildon-bread-crumb-widget, is provided and used
4263 internally by the trail for the push_text/push_icon functions.
4265 The generic push API is still available, so anyone can implement
4266 and use its own bread crumb widget.
4268 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * debian/rules: Fixing the shlibs.
4272 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4274 * src/hildon-banner.c: Fixing a problem with timed banners having
4275 their parrent destroyed before they are.
4277 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4279 * src/hildon-bread-crumb.c:
4280 * src/hildon-bread-crumb.h:
4282 Make the get_natural_size function a vfunc.
4284 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4286 * src/hildon-bread-crumb.c:
4287 * src/hildon-bread-crumb-trail.c:
4291 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4298 * debian/changelog: Updating for release.
4300 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4302 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4303 don't leak the pango layout.
4305 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4308 * examples/hildon-bread-crumb-trail-example.c:
4312 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4314 * debian/changelog: Removing the bug-fixed entries that were actually
4315 resolved as WONTFIX.
4317 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4320 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4322 * src/hildon-bread-crumb-trail.c:
4323 * src/hildon-bread-crumb-trail.h:
4324 * src/hildon-bread-crumb.c:
4325 * src/hildon-bread-crumb.h:
4329 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4331 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4332 until it's passed the type check.
4334 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4336 * examples/hildon-bread-crumb-trail-example.c
4340 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4342 * examples/Makefile.am
4343 * examples/hildon-bread-crumb-trail-example.c
4345 * src/hildon-bread-crumb-trail.c
4346 * src/hildon-bread-crumb-trail.h
4347 * src/hildon-bread-crumb.c
4348 * src/hildon-bread-crumb.h
4350 New HildonBreadCrumbTrail widget.
4352 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4354 * src/hildon-range-editor.c (hildon_range_editor_init),
4355 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4356 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4357 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4358 hildon_time_editor_class_init, hildon_time_editor_init),
4359 src/hildon-get-password-dialog.c (invalid_input,
4360 hildon_get_password_set_property, hildon_get_password_get_property,
4361 create_contents, hildon_get_password_dialog_set_max_characters),
4362 src/hildon-set-password-dialog.c (create_contents),
4363 src/hildon-date-editor.c (hildon_date_editor_init),
4364 src/hildon-login-dialog.c (hildon_login_dialog_init),
4365 src/hildon-number-editor.c (hildon_number_editor_init),
4366 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4367 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4368 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4369 configure option and adding the respective checks in the code.
4370 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4371 hildon_calendar_drag_data_received): fixed some build warnings.
4373 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4375 * debian/changelog: A 1.0.0 release notes.