1 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4 properties, not needed at all.
6 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
8 * src/hildon-note-private.h: Add strings for the icon and stock_icon
10 * src/hildon-note.c: (hildon_note_set_property),
11 (hildon_note_get_property), (hildon_note_class_init),
12 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
13 (hildon_note_new_confirmation_add_buttons): Remove icons.
14 (hildon_note_new_confirmation_with_icon_name): Deprecate.
15 (hildon_note_new_information_with_icon_name): Deprecate.
16 (hildon_note_new_confirmation): Act directly, without calling
17 the deprecated constructor.
18 (hildon_note_new_information): Act directly, without calling
19 the deprecated constructor.
20 * src/hildon-note.h: Mark deprecate methods as such.
21 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
22 not run tests on the deprecated methods if built with deprecation
25 Fixes: NB#91688 (Never show icons in information notes/confirmation
28 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
31 (hildon_app_menu_key_press): Remove leftover usage of the
32 private structure in HildonAppMenu struct.
33 * src/hildon-app-menu.h: Remove leftover private structure
34 from the HildonAppMenu struct.
36 Fixes a crasher when using the HildonAppMenu.
38 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
40 * src/hildon-picker-dialog.c: Use appropriate logical id
41 for the default "Done" text.
43 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
45 * configure.ac: post release version bump
46 * debian/changelog: version bump
48 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
50 Modified the way to scroll to the current selection just when the touch
51 selector is shown on the screen, avoiding a g_idle. Added too a property
52 to configure this behaviour. See hildon_pannable_area_jump_to_child
53 documentation for more information.
55 * src/hildon-touch-selector.c
56 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
57 Added 'initial-scroll' property
58 (hildon_touch_selector_set_property): Added
59 (hildon_touch_selector_map): Removed as not required anymore
60 (_hildon_touch_selector_on_selected_items): Modified in order to manage
61 only a concrete column, instead of iterate along all the columns
63 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
68 * configure.ac: bump version
69 * debian/changelog: updates
71 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
73 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
74 compilation time warnings.
76 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
78 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
79 the default value for HildonPannableArea::mov-mode to
80 HILDON_PANNABLE_AREA_MODE_VERT.
82 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
84 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
86 Reverting following commit:
88 2008-10-13 Alberto Garcia <agarcia@igalia.com>
90 * src/hildon-app-menu-private.h
91 * src/hildon-app-menu.[ch]
92 * src/hildon-button.[ch]
93 * src/hildon-check-button.[ch]
94 * src/hildon-entry.[ch]
95 * src/hildon-pannable-area.[ch]
96 * src/hildon-text-view.[ch]:
97 Added private field to the object's structure.
99 because it causes an ABI breakage. We will need to introduce these
100 changes later at some point. See NB#91636 for an extensive
101 explanation and status.
103 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
105 Patch contributed by Daniel Borgmann (danielb@openismus.com)
107 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
108 remove special cases that are no longer necessary.
110 Fixes: NB#91016 (Change toolbar sizes, simplification)
112 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
115 is shown in the cancel note.
117 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
119 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
120 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
121 (hildon_seekbar_init): Remove steppers, remove expose event.
122 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
124 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
126 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
128 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
129 label font to "SmallSystemFont" for vertically arranged buttons.
131 Fixes: NB#90662 (HildonButton "value" and "detail" text is
134 2008-10-31 Alberto Garcia <agarcia@igalia.com>
136 * src/hildon-check-button.c
137 (hildon_check_button_set_active, hildon_check_button_clicked):
138 Don't access private parts directly, use getters instead.
140 2008-10-31 Alberto Garcia <agarcia@igalia.com>
142 * src/hildon-check-button.c (hildon_check_button_new):
143 Align the contents of the check button to the left.
145 2008-10-30 Alejandro G. Castro <alex@igalia.com>
147 * src/hildon-pannable-area.c,
148 (hildon_pannable_area_scroll_to),
149 (hildon_pannable_area_jump_to),
150 (hildon_pannable_area_scroll_to_child),
151 (hildon_pannable_area_jump_to_child): Replace the mapped
152 precondition of these functions with the realized, it is the
153 correct state of the widget in this case. Changed the
154 documentation according to this modification.
156 2008-10-30 Alejandro G. Castro <alex@igalia.com>
158 Added a new EXTRA_CFLAGS option to add the deprecated define to
159 the compilation command. This way we can avoid using the define in
160 the documentation compilation.
162 * configure.ac: Defined EXTRA_CFLAGS.
164 * examples/Makefile.am:
166 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
168 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
170 * src/hildon-picker-dialog.c:
171 Defined a utility macro with the desired touch selector height
172 Removed currently unused separator, and title_label variables from
174 (hildon_picker_dialog_init): Removed code related to the creation
175 of unused private variables title_label and separator.
176 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
177 to ensure correct visualization of the touch selector inside the dialog.
178 * src/hildon-touch-selector.c
179 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
180 ensure a concrete height of the widget.
182 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
187 Remove spurious whitespaces.
189 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
191 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
192 compilation warning after the cancel button removal.
194 2008-10-30 Alejandro G. Castro <alex@igalia.com>
196 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
198 * configure.ac: Added an AM_CONDITIONAL in order to use in the
199 Makefile.am, that way we can choose not to compile some examples
200 and tests of the deprecated widgets.
202 * examples/Makefile.am: Divided the sources in deprecated and
205 * src/Makefile.am: Added undef statement of the deprecated
206 symbol to the enums file generation process.
208 * src/hildon-color-chooser-dialog.c
209 * src/hildon-color-chooser-dialog.h
210 * src/hildon-color-button.c
211 * src/hildon-color-button.h
212 * src/hildon-color-chooser.c
213 * src/hildon-color-chooser.h
214 * src/hildon-controlbar.c
215 * src/hildon-controlbar.h
216 * src/hildon-date-editor.c
217 * src/hildon-date-editor.h
218 * src/hildon-hvolumebar.c
219 * src/hildon-hvolumebar.h
220 * src/hildon-private.c
221 * src/hildon-private.h
222 * src/hildon-range-editor.c
223 * src/hildon-range-editor.h
224 * src/hildon-seekbar.c
225 * src/hildon-seekbar.h
226 * src/hildon-time-editor.c
227 * src/hildon-time-editor.h
228 * src/hildon-time-picker.c
229 * src/hildon-time-picker.h
230 * src/hildon-volumebar.c
231 * src/hildon-volumebar.h
232 * src/hildon-vvolumebar.c
233 * src/hildon-vvolumebar.h
234 * src/hildon-bread-crumb-trail.h
235 * src/hildon-bread-crumb-trail.c
236 * src/hildon-calendar-popup.c
237 * src/hildon-calendar-popup.h
238 * src/hildon-weekday-picker.c:
239 * src/hildon-weekday-picker.h:
240 * src/hildon-bread-crumb-widget.c:
241 * src/hildon-bread-crumb-widget.h:
242 * src/hildon-bread-crumb.c:
243 * src/hildon-bread-crumb.h:
244 * src/hildon-calendar.c:
245 * src/hildon-calendar.h:
246 * src/hildon-caption.c:
247 * src/hildon-code-dialog.c:
248 * src/hildon-code-dialog.h:
249 * src/hildon-font-selection-dialog.c:
250 * src/hildon-font-selection-dialog.h:
251 * src/hildon-get-password-dialog.c:
252 * src/hildon-get-password-dialog.h:
253 * src/hildon-login-dialog.c:
254 * src/hildon-login-dialog.h:
255 * src/hildon-number-editor.c:
256 * src/hildon-number-editor.h:
257 * src/hildon-set-password-dialog.c:
258 * src/hildon-set-password-dialog.h:
259 * src/hildon-sort-dialog.c:
260 * src/hildon-sort-dialog.h: This is the list of deprecated
263 * src/hildon-touch-selector.c:
264 * src/hildon-window.c: Added undef statement to avoid compilation
267 * tests/Makefile.am: Divided the sources in deprecated and
270 * tests/check_test.c,
271 (configure_tests): Marked the deprecated code that was adding
272 suites with deprecated tests.
274 Fixes: NB#91135 (Deprecate legacy hildon widgets)
276 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
278 * src/hildon-touch-selector.c: (_default_print_func): Do not
279 duplicate a string returned by gtk_tree_model_get(), it is already
282 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
285 2008-10-28 Alejandro G. Castro <alex@igalia.com>
287 * src/hildon-pannable-area.c
288 (hildon_pannable_area_add_with_viewport): Reviewed the complete
289 method, it had problems when adding a widget with viewport the
290 second time. Now checks if it already has a viewport and uses it.
292 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
295 2008-10-28 Alejandro G. Castro <alex@igalia.com>
297 * src/hildon-pannable-area.c,
298 (hildon_pannable_area_scroll_to),
299 (hildon_pannable_area_jump_to),
300 (hildon_pannable_area_scroll_to_child),
301 (hildon_pannable_area_jump_to_child): Added a precondition to the
302 scroll and jump to functions: the widget must be mapped before we
303 can safely call these functions. We have also added documentation
304 to the functions to explain how to use them in this situation.
307 2008-10-28 Alejandro G. Castro <alex@igalia.com>
309 Reviewed the threading handling of the pannable widget, we have
310 used the gdk_threads_add_timeout function instead of the usual
311 glib handlers. This avoids some problems with the threads.
313 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
314 (hildon_pannable_area_initial_effect),
315 (hildon_pannable_area_scroll_indicator_fade),
316 (hildon_pannable_area_button_press_cb),
317 (hildon_pannable_area_timeout),
318 (hildon_pannable_area_motion_notify_cb),
319 (hildon_pannable_area_button_release_cb),
320 (hildon_pannable_area_scroll_cb),
321 (hildon_pannable_area_scroll_to): Removed the
322 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
323 gdk_threads_add_timeout.
325 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
327 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
332 * configure.ac: bump version
333 * debian/changelog: updates
335 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
338 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
339 * src/hildon-color-chooser-dialog.c:
340 (hildon_color_chooser_dialog_init):
341 * src/hildon-font-selection-dialog.c:
342 (hildon_font_selection_dialog_init):
343 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
345 Remove all cancel/close-like dialogs, as these are not going to be
348 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
350 * src/hildon-note.c: (hildon_note_rebuild),
351 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
354 Fixes: NB#90661 (Delete dialog is displayed without NO button)
356 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
358 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
359 sure all buttons are shown, even the Cancel/Close-like ones.
361 Fixes: NB#90861 (Custom Confirmation dialogs should be
362 protected from cancel button removal)
364 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
366 * debian/control: Change libhildon1-examples dependency from libhildon1
368 * debian/libhildon1-examples.install
370 * Makefile.am: Modified the final install directory for the examples on
371 package libhildon1-examples
372 * Makefile.static: Update clean target in order to remove all the binary
375 Changes suggested by Claudio after review new libhildon1-examples package
377 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
379 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
380 * src/hildon-touch-selector.c: Ditto.
382 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
384 * debian/control: Added new package libhildon1-examples, in order to pack
385 the current hildon examples as documentation
386 * debian/rules: Not to compress .c files, modify some includes on the
387 examples (as normally are compiled locally, but when installed it will
388 require to include the installed libhildon1 library), and rename
390 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
391 install all the example files on the new example package
392 * examples/Makefile.static: Added static makefile that can be used to
393 compile the examples, once installed the new example package
394 * examples: Most of the examples were modified in order to grant that
395 all use only '#include "hildon.h"', in order to be easy to prepare
396 it on the example package
398 2008-10-23 Alberto Garcia <agarcia@igalia.com>
401 * debian/libhildon1-dev.install
402 * debian/libhildon1-doc.install:
403 Move all gtk-doc files to a separate libhildon1-doc package.
405 2008-10-23 Daniel Borgmann <danielb@openismus.com>
407 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
409 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
411 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
413 * debian/rules: Fixed a error in order to avoid unnecessary calls
414 to autogen.sh on package building
416 2008-10-22 Alberto Garcia <agarcia@igalia.com>
418 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
420 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
422 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
425 2008-10-21 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-picker-button.c
428 (hildon_picker_button_finalize):
429 Free priv->done_button_text
431 * src/hildon-time-button.c
432 (hildon_time_button_set_time)
433 * src/hildon-picker-button.c
434 (hildon_picker_button_clicked)
435 (hildon_picker_button_selector_selection_changed)
436 (hildon_picker_button_set_selector)
437 * src/hildon-date-button.c
438 (hildon_date_button_set_date):
439 Free strings returned by hildon_touch_selector_get_current_text()
441 * src/hildon-button.c (hildon_button_construct_child):
442 Fix leaks in priv->image and priv->label_box
444 Fixes: NB#90535 (Memory leak in picker button)
446 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
448 * src/hildon-button.c: (hildon_button_get_property): Do not access
449 private elements directly, use getters instead.
451 2008-10-20 Alberto Garcia <agarcia@igalia.com>
453 * src/hildon-app-menu-private.h
454 * src/hildon-app-menu.c
455 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
456 Store the menu's parent window.
458 * src/hildon-stackable-window.c
459 (hildon_stackable_window_toggle_menu)
460 (hildon_stackable_window_finalize):
461 Set the menu's parent window when the menu is shown, unset it when
464 * src/hildon-app-menu.c
465 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
466 (hildon_app_menu_class_init):
467 Send unhandled keyboard accelerators to the parent window.
469 2008-10-20 Alberto Garcia <agarcia@igalia.com>
471 * src/hildon-stackable-window.c
472 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
474 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: post release version bump
478 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
481 * configure.ac: Bump version
482 * debian/changelog: Updates
483 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
486 2008-10-20 Alberto Garcia <agarcia@igalia.com>
488 Patch contributed by Daniel Borgmann (danielb@openismus.com)
491 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
492 GtkMenu with Hildon style.
494 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
496 * src/hildon-picker-button.c:
497 (hildon_picker_button_set_done_button_text): Set the dialog's
498 done button text here as well.
500 Fixes: NB#90232 (Picker button does not set the label on done button
503 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
505 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
508 2008-10-16 Alberto Garcia <agarcia@igalia.com>
510 * src/hildon-app-menu.c (hildon_app_menu_insert)
511 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
512 the HildonAppMenu to be activatable using keyboard accelerators
513 when the menu is not being shown.
515 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
517 2008-10-16 Alberto Garcia <agarcia@igalia.com>
519 * src/hildon-stackable-window.c
520 (hildon_stackable_window_show):
521 Don't hide old windows automatically when new windows are shown:
522 this is now a task for the window manager.
523 (hildon_stackable_window_class_init)
524 (hildon_stackable_window_hide):
525 Remove windows from the stack everytime they're hidden.
526 (hildon_stackable_window_realize):
527 Don't change the _NET_WM_WINDOW_TYPE property. Use
528 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
529 it as a stackable window.
531 * src/hildon-program.c
532 (hildon_program_pop_window_stack):
533 Just hide the window to remove it from the stack.
534 (hildon_program_go_to_root_window):
535 Don't call gtk_widget_show(), this is now a task for the window
538 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
540 2008-10-15 Alberto Garcia <agarcia@igalia.com>
542 * src/hildon-button.c
543 (hildon_button_construct_child):
544 Don't pack anything in the button until text or image are
545 set. This allows adding a custom child after creating the button
546 with hildon_button_new().
547 (hildon_button_finalize, hildon_button_class_init)
548 (hildon_button_init, hildon_button_set_arrangement): Destroy the
549 alignment and the label box even when they're not packed in the
552 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
554 * src/hildon-touch-selector.h:
555 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
556 currently the type definition was using GTK_TYPE_VBOX
557 * src/hildon-touch-selector.c:
558 Added some implementation notes in order to clarify that any other widget
559 added without the column related API will not be included on the
560 selection logic, and how the widget is freed, as some people ask about
562 (hildon_touch_selector_remove): Reimplemented in order to free properly
563 the column related data when you remove the private hbox.
564 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
565 to get a proper HildonTouchSelectorColumn documentation
567 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-touch-selector-entry.c:
570 (hildon_touch_selector_entry_print_func): Return NULL if there is no
571 text in the GtkEntry and there is no item selected. Fixes a
574 2008-10-13 Alberto Garcia <agarcia@igalia.com>
576 * src/hildon-app-menu-private.h
577 * src/hildon-app-menu.[ch]
578 * src/hildon-button.[ch]
579 * src/hildon-check-button.[ch]
580 * src/hildon-entry.[ch]
581 * src/hildon-pannable-area.[ch]
582 * src/hildon-text-view.[ch]:
583 Added private field to the object's structure.
585 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
587 * configure.ac: post-release version bump
589 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: pre-release version bump
595 * debian/changelog: updates.
597 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
600 Disconnect the handler for HildonTouchSelector::changed.
602 (hildon_picker_button_selector_selection_changed): Update the button
603 value if the selection change was not triggered by the
606 (hildon_picker_button_set_selector): connect to
607 HildonTouchSelector::changed.
609 Fixes: NB#89650 (Picker button is not updated, when selection in
610 selector has changed)
612 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
614 * src/hildon-picker-dialog.c
615 (hildon_picker_dialog_realize): Removed as not required
616 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
617 * src/hildon-picker-button.c
618 (_current_selector_empty): New function, checks if the selector is empty
619 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
620 if the current selector is empty, in order to avoid to show the dialog
621 close the dialog in this case (and shows a g_warning).
623 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
625 2008-10-09 Alejandro G. Castro <alex@igalia.com>
627 * src/hildon-pannable-area.c,
628 (hildon_pannable_area_scroll): Added clause to stop movement when
629 the child of pannable is smaller than one page.
630 (hildon_pannable_area_scroll_to): Added conditions to avoid
631 starting the scrolling movement if the child is smaller than one
632 page, the complete child is in the screen, we do not have to move.
634 Fixes: NB#89632 (Picker button selection doesn't change on first click)
636 2008-10-09 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-app-menu.c: Removed the 'columns' property, as now
639 this is managed automatically by the widget when the size of the
642 2008-10-09 Alberto Garcia <agarcia@igalia.com>
644 * src/hildon-picker-button.c
645 (hildon_picker_button_set_done_button_text): Make a copy of the
646 text, and free the previous value.
648 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
650 * src/hildon-touch-selector-entry.c:
651 (hildon_touch_selector_entry_print_func): Return the selected row's
652 text if the entry is empty.
654 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
657 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
659 * src/hildon-touch-selector-entry.c: Minor docs fixes.
661 2008-10-09 Alberto Garcia <agarcia@igalia.com>
664 * src/hildon-check-button.h
665 * src/hildon-check-button.c
666 * examples/hildon-check-button-example.c:
667 HildonCheckButton is now a new widget. 'toggled' signal added.
669 2008-10-08 Alberto Garcia <agarcia@igalia.com>
671 * src/hildon-program-private.h
672 * src/hildon-program.c (hildon_program_init)
673 (hildon_program_finalize): Removed unused variables group_leader
674 and name from HildonProgramPrivate.
676 2008-10-08 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-check-button.c (hildon_check_button_set_active)
679 (hildon_check_button_get_active, hildon_check_button_new): Use
680 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
682 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
684 * src/hildon-touch-selector.h
685 (hildon_touch_selector_set_column_attributes): added deprecation
686 guard HILDON_DISABLE_DEPRECATED
687 * src/hildon-time-selector.c
688 (hildon_time_selector_set_time)
689 (hildon_time_selector_get_time): Fixed a typo on documentation
690 * src/hildon-touch-selector.c: update HildonTouchSelector and
691 HildonTouchSelectorColumn documentation
692 * src/hildon-touch-selector-entry.c: update "text-column" property
694 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
695 to be added to the general documentation.
697 2008-10-08 Alejandro G. Castro <alex@igalia.com>
699 * examples/hildon-pannable-area-example-4.c,
701 * examples/hildon-pannable-area-example.c,
702 (main): Modified the code in order to use the container add, with
703 viewport treeviews could have problems if they are really big.
705 2008-10-06 Alejandro G. Castro <alex@igalia.com>
707 * src/hildon-weekday-picker.c,
708 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
709 the agreement regarding deprecation in the library.
711 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
713 * examples/hildon-picker-button-multicolumn-example.c:
714 (main): Use custom "done" button text.
716 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
717 (hildon_picker_button_set_property),
718 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
719 (hildon_picker_button_init),
720 (+hildon_picker_button_get_done_button_text),
721 (+hildon_picker_button_set_done_button_text): New methods to customize
722 the "done" button label in the launched HildonPickerDialog. Also,
725 * src/hildon-picker-button.h: add the public API.
727 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-date-selector.h:
730 * src/hildon-picker-dialog.h:
731 * src/hildon-time-selector.h:
732 * src/hildon-touch-selector-column.h:
733 * src/hildon-touch-selector.h:
735 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
736 declarations. Fixes gtk-doc warnings.
738 2008-10-06 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-picker-dialog.h
741 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
742 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
744 Fixes: NB#89329 (selectors in picker dialog are not visible when a
745 long text is set as label for done button)
747 2008-10-06 Alberto Garcia <agarcia@igalia.com>
749 * src/hildon-dialog.c (hildon_dialog_add_button):
750 Set fixed width to all buttons in the HildonDialog.
752 2008-10-06 Alberto Garcia <agarcia@igalia.com>
754 Patch contributed by Daniel Borgmann (danielb@openismus.com)
756 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
757 Set widget name using class name plus "-finger" or "-thumb".
759 2008-10-03 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
762 'clicked' when the state of the button is manually changed.
764 2008-10-02 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-app-menu.c (hildon_app_menu_realize)
767 (hildon_app_menu_unrealize, hildon_app_menu_init)
768 (hildon_app_menu_class_init, item_visibility_changed):
769 Change the menu layout when the size of the screen changes.
770 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
771 Show warning only when changing the number of colums using the
774 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
776 * debian/compat: Set to 5
777 * debian/control: Update dependencies.
778 * debian/libhildon1-dbg.install: Remove.
779 * debian/libhildon1-dev.install: Update according to cdbs paths.
780 * debian/libhildon1.install: Update according to cdbs paths.
781 * debian/rules: Switch to cdbs.
783 2008-10-01 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
786 'item' variable renamed to 'filter'
788 2008-10-01 Alberto Garcia <agarcia@igalia.com>
790 * src/hildon-app-menu.c (hildon_app_menu_insert)
791 (hildon_app_menu_add_filter, remove_item_from_list)
792 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
793 Don't leak hidden items when the menu is destroyed.
795 2008-10-01 Alberto Garcia <agarcia@igalia.com>
797 * src/hildon-app-menu.c (hildon_app_menu_insert)
798 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
799 (hildon_app_menu_set_columns, item_visibility_changed)
800 (filter_visibility_changed, hildon_app_menu_repack_filters)
801 (hildon_app_menu_repack_items):
802 Repack items and filters separately.
804 Don't repack all items, change only the ones that are needed to
807 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
809 * src/Makefile.am: added hildon-touch-selector-column.h
811 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
813 * src/hildon-touch-selector.c: added the property "text-column" to the
814 class HildonTouchSelectorColumn, and related get/set functions
815 (_default_printf_func): updated to use "text-column" property
816 * src/hildon-touch-selector-entry.c: mark as deprecated the property
817 "text-column" in his documentation, as this is now included on
818 HildonTouchSelectorColumn. The get/set_property can still be used,
819 working as a wrapper to the concrete column "text-column" property
820 (_text_column_modified): callback added in order to handle the signal
821 "notify::text-column" of the concrete HildonTouchSelectorColumn
822 (hildon_touch_selector_entry_get_text_column)
823 (hildon_touch_selector_entry_set_text_column): Added documentation, and
824 modified in order to use the HildonTouchSelectorColumn "text-column"
826 * src/hildon-time-selector.c:
827 * src/hildon-date-selector.c:
828 * examples/hildon-touch-selector-example.c
829 * examples/hildon-touch-selector-multi-cells-example.c
830 * examples/hildon-picker-button-multicolumn-example.c
831 Set the right value to "text-column" property on the creation of a new
832 column using hildon_touch_selector_append_column()
834 Fixes: NB#88644 (Hardcoded first column of the model as text column)
836 2008-09-30 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-app-menu.c
839 (hildon_app_menu_construct_child, hildon_app_menu_init): When
840 updating the layout of the menu, don't create all widgets again,
841 just repack the items in their new places.
843 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
845 * src/hildon-time-selector.c
846 (hildon_time_selector_get_time)
847 (hildon_time_selector_set_time)
848 Added documentation of these public methods
850 * src/hildon-date-button.h
851 * src/hildon-touch-selector-column.h
852 * src/hildon-time-button.h
853 * src/hildon-picker-dialog.h
854 * src/hildon-time-selector.h
855 * src/hildon-picker-button.h
856 * src/hildon-touch-selector.h
857 * src/hildon-time-picker.h
858 * src/hildon-date-selector.h
859 * src/hildon-touch-selector-entry.h
860 Modified in order to use hildon-widgets code style
862 2008-09-30 Alejandro G. Castro <alex@igalia.com>
864 Added deprecated support to the compilation process using
865 HILDON_DISABLE_DEPRECATED
867 * configure.ac: Added the --disable-deprecated to the configure
870 * src/hildon-weekday-picker.c:
871 * src/hildon-weekday-picker.h: Deprecated widget, example of how
872 to use the deprecated support. We will update the other deprecated
873 widgets status in a new patch.
875 2008-09-30 Alejandro G. Castro <alex@igalia.com>
877 * configure.ac: Fixed typo with fatal warnings support, the
878 variable name was not correct
880 2008-09-29 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-app-menu.c
883 * src/hildon-program.c: Update documentation.
885 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: Post-release version bump.
889 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Pre-release version bump.
895 * debian/changelog: Updates.
897 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
899 * NEWS: Update news for previous releases.
901 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
903 * examples/hildon-touch-selector-multi-cells-example.c:
904 (create_selector): Update the example to use
905 hildon_touch_selector_append_column() with a NULL renderer and set
907 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
908 passed a NULL renderer. This is documented behavior now.
910 Allow passing a NULL renderer to hildon_touch_selector_append_column().
911 This must be used if the developer wants full control on the layout of
912 the renderers to be added to the column.
914 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
916 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
918 * src/hildon-touch-selector.c: Documentation fixes.
920 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
922 * src/hildon-wizard-dialog-private.h: Remove image and box.
923 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
924 (hildon_wizard_dialog_set_property), (response): Completely remove
925 image/icon support, and the containers required for the layout.
927 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
929 2008-09-25 Alberto Garcia <agarcia@igalia.com>
931 * src/hildon-app-menu.c: Updated documentation.
933 * src/hildon-stackable-window.c
934 (hildon_stackable_window_set_main_menu): Unref the old menu after
937 2008-09-25 Alberto Garcia <agarcia@igalia.com>
939 * src/hildon-stackable-window.c
940 (hildon_stackable_window_set_main_menu): Unref the previous menu
941 instead of destroying it.
943 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
944 floating reference and set has_user_ref_count to FALSE to make
945 HildonAppMenu act like a normal ref-counted widget and not a
948 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
951 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
953 * src/hildon-touch-selector-column.h: new file
954 * src/hildon-touch-selector.h
955 * src/hildon-touch-selector.c
956 Implemented GtkCellLayout interface, in order to allow to configure
957 the cell layout on each individual selector column
958 (hildon_touch_selector_set_column_attributes): marked as deprecated
959 * examples/hildon-touch-selector-multi-cells-example.c
960 Example of how to use the GtkCellLayout interface on the selector
962 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
964 2008-09-24 Alberto Garcia <agarcia@igalia.com>
966 * src/hildon-app-menu.h
967 * src/hildon-app-menu.c
968 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
969 (hildon_app_menu_append, hildon_app_menu_prepend):
970 New methods to prepend, insert and move items in the menu.
972 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
974 * src/hildon-wizard-dialog.c:
976 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
978 (create_title): Update logical IDs and related code.
979 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
981 * src/hildon-wizard-dialog.h: Note that
982 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
983 point, as it is not used anymore.
985 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
987 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
990 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
991 shown. Do not display an icon in confirmation notes nor information
993 (hildon_note_set_button_text): Update logical ID for cancel button.
995 Fixes: NB#88850 (Update HildonNote button strings + signals)
997 2008-09-24 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-stackable-window.c
1000 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1002 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1004 * src/hildon-app-menu-private.h
1005 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1006 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1007 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1008 temporary property 'columns' to change the number of columns.
1010 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1012 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1014 * examples/hildon-note-example.c: (on_information_clicked),
1015 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1016 debugging information.
1017 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1019 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1020 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1021 in order to close: this will be handled by the WM from now on.
1023 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1025 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-app-menu-private.h
1028 * src/hildon-app-menu.c
1029 (hildon_app_menu_append, hildon_app_menu_add_filter)
1030 (button_visibility_changed, hildon_app_menu_apply_style)
1031 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1032 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1033 layout everytime a button (item or filter) is shown or hidden.
1035 * src/hildon-stackable-window.c
1036 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1039 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1041 * src/hildon-touch-selector.c:
1042 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1043 that the treeview inside the touch selector is in fremantle hildon mode
1044 * examples/hildon-date-button-example.c
1045 * examples/hildon-picker-button-multicolumn-example.c
1046 * examples/hildon-touch-selector-entry-example.c
1047 * examples/hildon-touch-selector-example.c
1048 * examples/hildon-time-button-example.c
1049 * examples/hildon-picker-button-example.c:
1050 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1052 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1054 * examples/hildon-text-view-example.c: (main): Remove the
1055 gtkrc bits, now handled by the theme.
1057 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1062 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1064 * po/Makefile.am: Install properly the mo files.
1065 * po/en_GB.po: Update translation, to ease testing purposes.
1067 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1069 * examples/hildon-picker-button-example.c: (main): Select an item
1070 in the selector before setting it to the button.
1072 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1074 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1075 Update button's value if the selector has an item active.
1077 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1078 'value' with the selector)
1080 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1083 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1084 (hildon_picker_button_class_init): Plug the finalize method.
1085 (hildon_picker_button_set_selector): If there's a previously set
1086 selector, unref'it before setting a new one.
1088 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1089 HildonTouchSelector)
1091 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1093 * src/hildon-touch-selector-entry.c:
1094 (hildon_touch_selector_entry_changed): Check if there is no text
1095 selected before setting the entry text.
1098 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1100 * src/hildon-touch-selector.h
1101 * src/hildon-touch-selector.c
1102 (hildon_touch_selector_get_active)
1103 (hildon_touch_selector_set_active): New methods to set/get the
1104 index of the selected item.
1106 * src/hildon-picker-button.h
1107 * src/hildon-picker-button.c
1108 (hildon_picker_button_get_active)
1109 (hildon_picker_button_set_active): New methods to set/get the
1110 index of the selected item.
1112 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1114 * configure.ac: post-release version bump.
1116 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1120 * configure.ac: Pre-release version bump.
1121 * debian/changelog: Updates.
1122 * debian/control: Add myself as maintainer and depend on l10n
1125 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-window.c
1128 (hildon_window_set_main_menu)
1129 * src/hildon-stackable-window.c
1130 (hildon_stackable_window_set_main_menu):
1131 Updated documentation.
1133 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1136 Don't free selector->priv manually.
1139 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1142 (hildon_gtk_window_set_progress_indicator):
1143 * src/hildon-gtk.h: Added the new API
1144 hildon_gtk_window_set_progress_indicator, it changes the state of
1145 the window progress hint.
1147 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-button.c
1150 * src/hildon-stackable-window.c: Minor documentation updates.
1152 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-stackable-window.c: Updated documentation.
1156 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-defines.h: Update margins definitions
1159 to the Fremantle sizes.
1162 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1164 * src/hildon-touch-selector.c,
1165 (_hildon_touch_selector_set_model): Cleaning the code after
1166 review, removed g_print and #if 0 from the code.
1168 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-edit-toolbar.c: Update documentation.
1172 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-check-button.h
1175 * src/hildon-check-button.c
1176 (hildon_check_button_set_label, hildon_check_button_get_label)
1177 * examples/hildon-check-button-example.c
1178 (button_clicked_cb):
1179 Removed deprecated methods.
1181 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1183 * src/hildon-text-view.c:
1184 Add sample code to the documentation.
1186 * src/hildon-entry.h
1187 * src/hildon-text-view.h:
1188 Minor cosmetic changes.
1190 * src/hildon-entry.c:
1191 Add sample code to the documentation.
1192 (hildon_entry_init, hildon_entry_refresh_contents):
1193 Don't allow NULL values in the placeholder.
1195 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1197 * doc/hildon-docs.sgml
1199 * examples/Makefile.am
1200 * examples/hildon-text-view-example.c
1202 * src/hildon-text-view.c
1203 * src/hildon-text-view.h
1205 New HildonTextView widget, with example.
1207 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1209 * po/POTFILES.in: Add missing files with translatable strings.
1210 Partially fixes NB#88287.
1212 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1214 * examples/hildon-pannable-area-example-2.c: (main): No need to
1215 set the cellrenderer height inside hildon touch lists, the theme does
1218 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1220 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1221 they are integrated in the theme.
1223 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1225 * examples/hildon-entry-example.c: Update the example adding
1226 widgets to modify the text and the placeholder of the HildonEntry.
1228 * src/hildon-entry.c: Show the placeholder everytime the widget
1229 is empty and loses the focus.
1231 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1233 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_size_request): Fixed bug in height
1237 requisition, avoid increasing size and add border twice.
1239 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: postrelease version bump.
1243 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1247 * configure.ac: Prerelease version bump.
1248 * debian/changelog: update.
1249 * debian/rules: make -dbg package contain useful debugging symbols.
1251 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1253 * src/hildon-dialog.h
1254 * src/hildon-dialog.c
1255 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1256 New methods to add buttons with finger size.
1257 (hildon_dialog_new_with_buttons):
1258 Create buttons with finger size.
1260 * examples/hildon-dialog-example.c (main): Use HildonDialog
1261 methods to add buttons.
1263 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-entry.c: Updated HildonButton documentation.
1267 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1270 button value label with (FALSE, FALSE) to prevent NB#88126 from
1273 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1275 * examples/hildon-pannable-area-example.c,
1276 (main): Removed examples panning a vbox inside a pannable
1277 area. Check bug NB#87965
1279 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1281 Patch contributed by Kris Rietveld (kris@imendio.com)
1283 * src/hildon-pannable-area.c,
1284 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1285 get_size and get_position, this saves an X server roundtrip.
1287 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1289 * doc/hildon-docs.sgml
1291 * examples/Makefile.am
1292 * examples/hildon-entry-example.c
1294 * src/hildon-entry.c
1295 * src/hildon-entry.h
1297 New HildonEntry widget, with example.
1299 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1301 * src/hildon-button.c (hildon_button_construct_child): Pack the
1302 image with expand == fill == FALSE. This is a workaround for a bug
1305 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1307 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1308 labels for the text column, to make it more look more dynamic.
1310 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1312 * src/hildon-time-selector.c
1313 Define gettext auxiliar macro N_
1314 (_create_minutes_model)
1315 (_create_hours_model)
1316 (_create_ampm_model): use of strftime in order to fill the model
1317 * src/hildon-date-selector.c
1318 (hildon_date_selector_finalize):
1319 (_locales_init): remove the logic related to get the name of the months
1320 using nl_langinfo, as it is not required anymore
1322 (_create_year_model)
1323 (_create_month_model)
1324 (_update_day_model): use of strftime in order to fill the model properly
1327 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-button.h
1330 * src/hildon-button.c (hildon_button_get_image): New method to
1333 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1335 * src/hildon-touch-selector.c:
1336 (hildon_touch_selector_remove_column): Remove from the correct parent
1337 and also remove the list element and free it.
1340 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1342 * src/hildon-time-selector.c
1343 (_create_hours_model): change the range on 12h ampm format in order to use
1344 a 12-11 range instead of previous 01-12 range
1345 (hildon_time_selector_set_time): change the way to select the current time
1346 on 12h ampm format, due the change on the range
1347 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1350 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1352 * src/hildon-touch-selector.c
1353 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1354 in order to allow use this function on multiple row selection mode if
1355 the column is different that the first one
1358 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1360 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1361 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1363 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1365 * src/hildon-date-selector.h: clean some comments, now on the .c
1366 * src/hildon-date-selector.c
1367 (hildon_date_selector_select_month): first implementation
1368 (hildon_date_selector_select_day): added documentation, reimplemented
1369 using hildon_date_selector_select_current_date to avoid repeat code
1372 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1374 Reviewed interaction logic based on device experiences, refactored
1377 * src/hildon-pannable-area.c,
1378 (hildon_pannable_area_class_init): Updated default vmax speed.
1379 (hildon_pannable_area_calculate_velocity): Added this function, it
1380 avoids duplicate valocity calculation. Adjusted calculation to
1381 avoid problems with zero dist events.
1383 (hildon_pannable_area_motion_notify_cb): Now we use the
1384 calculate_velocity function.
1386 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1388 * src/hildon-date-selector.c
1389 (hildon_date_selector_select_current_date): fix the day range check
1390 as it failed using the last day of the current month
1393 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1395 * src/hildon-touch-selector.c
1396 (hildon_touch_selector_get_num_columns): added a parameter validation
1399 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1401 * examples/Makefile.am
1402 * examples/hildon-edit-toolbar-example.c: Example of the
1403 HildonEditToolbar widget.
1405 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1407 * configure.ac: postrelease version bump.
1409 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1413 * configure.ac: prerelease version bump.
1414 * debian/changelog: update.
1416 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1418 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1419 renderer to display stock icons in the touch list. Also, set the sizes
1420 to the recommended in the style guide.
1422 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1423 * src/hildon-touch-selector.h
1424 (hildon_touch_selector_set_active_iter): renamed, now is
1425 hildon_touch_selector_select_iter
1426 (hildon_touch_selector_get_active_iter): renamed, now is
1427 hildon_touch_selector_get_selected
1428 (hildon_touch_selector_unselect_iter): added
1429 * src/hildon-touch-selector.c
1430 Update after API modification (methods renamed)
1431 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1432 order to avoid problems selecting multiple elements on the column
1433 (hildon_touch_selector_unselect_iter): added the implementation
1434 * src/hildon-time-selector.c
1435 * src/hildon-date-selector.c
1436 * src/hildon-touch-selector-entry.c
1437 Update methods calls after hildon-touch-selector.h API modification (methods
1440 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-stackable-window.c
1443 (hildon_stackable_window_finalize): Call the parent class's finalize.
1445 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1447 * examples/hildon-touch-selector-example.c: (create_selector): Use
1448 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1451 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1453 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1454 set a cell background color, to respect theming.
1456 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1458 * doc/hildon-docs.sgml
1461 * src/hildon-edit-toolbar.c
1462 * src/hildon-edit-toolbar.h
1463 * src/hildon.h: New HildonEditToolbar widget.
1465 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1467 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1470 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1471 * src/hildon-touch-selector.c
1472 (_create_new_column): use g_object_set instead of two g_object_set_property
1474 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1475 * src/hildon-touch-selector.c
1476 (_create_new_column): use of hildon_gtk_tree_view_new to create
1477 the treeview, instead of use directly g_object_new
1478 (_create_new_column): update the property name "vindicator-mode" for the
1479 new one "vscrollbar-policy"
1480 * examples/hildon-date-button-example.c
1481 * examples/hildon-picker-button-multicolumn-example.c
1482 * examples/hildon-touch-selector-entry-example.c
1483 * examples/hildon-touch-selector-example.c
1484 * examples/hildon-time-button-example.c
1485 * examples/hildon-picker-button-example.c
1486 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1487 to all the treeviews inside a pannable area.
1489 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-button.h
1492 * src/hildon-button.c (hildon_button_init)
1493 (hildon_button_set_arrangement, hildon_button_set_alignment)
1494 (hildon_button_set_title_alignment)
1495 (hildon_button_set_value_alignment)
1496 (hildon_button_set_image_alignment)
1497 (hildon_button_construct_child): New methods to set the alignment
1498 of the individual components of the button (title, value,
1499 image). Also, new method to alter the xscale and yscale properties
1500 of the GtkAlignment inside the button, so more complex layouts can
1503 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-button.c (hildon_button_style_set)
1506 (hildon_button_class_init, hildon_button_set_arrangement)
1507 (hildon_button_construct_child): Apply style properties
1508 correctly. Use the 'image-spacing' style property too.
1510 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1513 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1516 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1518 * src/hildon-pannable-area.c,
1519 (hildon_pannable_area_size_request): Fixed problem with
1520 pannable-area size_request.
1522 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1524 Added management for the grab-focus to a child widget, like a
1525 range, we need to fade out the scrollbar when releasing.
1527 * src/hildon-pannable-area.c,
1528 (hildon_pannable_area_init): Connected the grab-focus signal to
1530 (hildon_pannable_area_grab_notify): Added this function in order
1531 to manage the situation when the grab-focus ends. We have to
1532 fade-out the scrollbar.
1534 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1536 * src/hildon-app-menu.c: Minor documentation update.
1538 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-app-menu.c
1541 * examples/hildon-app-menu-example.c (create_menu): Update
1542 examples and documentation to explain how to connect callbacks.
1544 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1546 * examples/hildon-button-example.c
1547 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1548 hildon_stackable_window_new instead of gtk_window_new
1550 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1553 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1554 (hildon_pannable_area_set_property),
1555 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1556 (hildon_pannable_area_unrealize),
1557 (hildon_pannable_area_size_request),
1558 (hildon_pannable_area_size_allocate),
1559 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1560 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1561 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1562 (hildon_pannable_area_initial_effect),
1563 (hildon_pannable_area_redraw),
1564 (hildon_pannable_area_scroll_indicator_fade),
1565 (hildon_pannable_area_expose_event),
1566 (hildon_pannable_area_get_topmost), (synth_crossing),
1567 (hildon_pannable_area_button_press_cb),
1568 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1569 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1570 (hildon_pannable_area_motion_notify_cb),
1571 (hildon_pannable_area_button_release_cb),
1572 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1573 (hildon_pannable_area_remove),
1574 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1575 chage the code layout to a more GtkWidget like. Review the use of
1578 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1580 * examples/hildon-pannable-area-example-4.c,
1581 (main): Modified the name of the hindicator_mode to
1584 * src/hildon-pannable-area.c,
1585 (hildon_pannable_area_class_init),
1586 (hildon_pannable_area_motion_notify_cb),
1587 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1588 we have reduced the amount of signals and managed reviewed its
1589 rationale. Changed the default decelerate value.
1591 (hildon_pannable_area_add),
1592 (hildon_pannable_area_redraw): Refactored functions.
1594 (hildon_pannable_area_init),
1595 (hildon_pannable_area_get_property),
1596 (hildon_pannable_area_set_property):
1597 (hildon_pannable_draw_vscroll),
1598 (hildon_pannable_draw_hscroll),
1599 (hildon_pannable_area_initial_effect),
1600 (hildon_pannable_area_expose_event),
1601 (hildon_pannable_area_scroll),
1602 (hildon_pannable_area_button_press_cb),
1603 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1604 and vindicator_mode with hscrollbar_policy and
1605 vscrollbar_policy. Replaced hscroll and vscroll with
1606 hscroll_visible and vscroll_visible.
1608 (hildon_pannable_area_refresh): Refactor the function, remove
1609 variables and check the calls to this function, added resize
1610 conditions in case the children change their layout.
1612 (hildon_pannable_area_size_request): Added more detailed
1613 size_request calculation.
1616 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1618 * src/hildon-color-chooser.c
1619 (init_borders): use the correct gtk_border_free instead of g_free, to
1620 avoid a crash when this widget is used (ie: the three color selection
1623 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-check-button.c,
1626 (hildon_check_button_set_active): Fixed problem when setting the
1627 active value, the widget was not redrawn.
1629 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1631 * src/hildon-pannable-area.c,
1632 (hildon_pannable_area_refresh),
1633 (hildon_pannable_area_scroll),
1634 (hildon_pannable_area_motion_notify_cb): Small code style change.
1636 (hildon_pannable_area_class_init): Default initial_hint set to
1637 FALSE, it is not in the specs.
1639 (hildon_pannable_area_initial_effect),
1640 (hildon_pannable_area_expose_event),
1641 (hildon_pannable_area_map),
1642 (hildon_pannable_area_init): Moved the launching point of the
1643 initial effect, it was in map but the sizes where not correct in
1644 that method so we do not know if we have the reproduce it. Now it
1645 is placed in the expose_event method and uses a variable to
1646 reproduce it just once.
1648 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_draw_vscroll),
1652 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1653 position allowed for the scrollbars.
1655 (hildon_pannable_area_size_allocate): Small style change.
1657 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1659 * src/hildon-pannable-area.c,
1660 (hildon_pannable_area_scroll_indicator_fade),
1661 (hildon_pannable_area_button_press_cb),
1662 (hildon_pannable_area_button_release_cb),
1663 (hildon_pannable_area_scroll_cb),
1664 (hildon_pannable_area_expose_event),
1665 (hildon_pannable_area_init): Added the define parameter
1666 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1667 and refactor the fade variable.
1669 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1671 * src/hildon-pannable-area.c,
1672 (hildon_pannable_area_redraw),
1673 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1674 lines, we were reimplemeting the redraw code.
1676 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1678 * src/hildon-pannable-area.c,
1679 (hildon_pannable_area_scroll_cb),
1680 (hildon_pannable_area_realize),
1681 (hildon_pannable_area_class_init): Added scroll_event management
1682 for pannable area, now we can scroll the usual desktop method.
1684 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1685 initialization of the parameters should depend on idle_id.
1687 (hildon_pannable_area_init),
1688 (hildon_pannable_area_map): Small code style modifications
1690 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1692 * src/hildon-pannable-area.c
1693 (hildon_pannable_area_button_press_cb),
1694 (hildon_pannable_area_motion_notify_cb),
1695 (hildon_pannable_area_button_release_cb),
1696 (hildon_pannable_area_size_allocate),
1697 (hildon_pannable_area_scroll_to): Improved the timeouts
1698 management, we avoid creating them each time.
1700 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1702 * src/hildon-pannable-area.c:
1703 (hildon_pannable_area_refresh),
1704 (hildon_pannable_area_motion_notify_cb),
1705 (hildon_pannable_area_class_init):
1706 * src/hildon-pannable-area.h:
1707 * src/hildon-touch-selector.c
1708 (_create_new_column):
1709 * examples/hildon-pannable-area-example-4.c:
1710 (horizontal_movement),
1711 (vertical_movement),
1713 Replaced the names of enums in the HildonPannableArea:
1714 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1715 HILDON_MOVEMENT_MODE_*
1716 - HILDON_PANNABLE_AREA_MOV_* ->
1718 - Removed HildonPannableAreaIndicatorMode, now we
1721 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1723 * examples/hildon-pannable-area-touch-grid-example.c
1724 * examples/hildon-pannable-area-touch-list-example.c: Fix
1725 compilation warnings.
1727 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1729 * src/hildon-gtk.c (hildon_gtk_button_new)
1730 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1731 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1732 images overriding the value of the "gtk-button-images" setting.
1734 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-check-button.c (hildon_check_button_new):
1737 Instead of using a custom container, display the label and the
1738 checkbox using the standard GtkButton API.
1740 * examples/hildon-check-button-example.c (main): Don't use
1741 hildon_check_button_set_label() anymore
1743 * src/hildon-check-button.h
1744 * src/hildon-check-button.c
1745 (hildon_check_button_set_label, hildon_check_button_get_label):
1746 Set as deprecated, now we're using gtk_button_{get,set}_label()
1748 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1750 * src/hildon-pannable-area.c,
1751 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1752 GtkTreeview first line we detected it after the inclusion of the
1753 GtkWindowImpl in gtk+. We now check if the window is visible, not
1754 just if the pointer is over the window.
1755 (hildon_pannable_axis_scroll),
1756 (hildon_pannable_area_expose_event): Small style changes.
1758 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-button.c: Update documentation.
1762 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1764 * examples/hildon-button-example.c: Add a switch to show images in
1767 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1769 * doc/hildon-docs.sgml: Some docs reorganization.
1771 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1773 * examples/hildon-pannable-area-touch-list-example.c
1775 * examples/hildon-pannable-area-touch-grid-example.c
1776 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1777 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1778 Fix memory leak when setting the tree model.
1780 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1784 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1786 * doc/hildon.types: Remove duplicated hildon_window_get_type
1787 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1788 documentation comment.
1790 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1792 * doc/Makefile.am: Complete list of private headers.
1794 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1796 * doc/hildon-docs.sgml
1797 * src/hildon-app-menu.c
1798 * src/hildon-bread-crumb.c
1799 * src/hildon-button.c
1801 * src/hildon-program.c
1802 * src/hildon-stackable-window.c
1803 * src/hildon-window.c: Lots of documentation updates.
1805 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1807 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1809 * configure.ac: Require Gtk+ 2.12.9 at least
1811 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1813 * src/hildon-pannable-area.c
1814 (hildon_pannable_area_scroll_indicator_fade),
1815 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1816 to protect the return of this timeout callbacks, avoiding deadlocks.
1818 2008-08-12 Christian Dywan <christian@imendio.com>
1821 * src/hildon-*.h: Ensure a consistent include order,
1822 include <gtk/gtk.h> instead of particular files and
1823 only include the topmost header in the gtk stack. See NB #39857
1825 2008-08-12 Christian Dywan <christian@imendio.com>
1827 * src/hildon-picker-dialog.c
1828 * src/hildon-touch-selector.c: Fix warnings about unused and
1829 uninitialized variables.
1831 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1833 * examples/Makefile.am
1834 * examples/hildon-check-button-example.c: Example of the hildon
1837 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-window.h
1840 * src/hildon-window.c (hildon_window_class_init)
1841 (hildon_window_unset_program): Don't make
1842 hildon_window_unset_program a virtual function anymore.
1844 * src/hildon-stackable-window.c: Update documentation
1846 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1849 * doc/hildon-docs.sgml
1850 * doc/visual_index.xml
1851 * src/hildon-defines.c
1853 * src/hildon-helper.c
1854 * src/hildon-range-editor.c: Lots of documentation fixes.
1856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1858 * examples/hildon-picker-button-multicolumn-example.c
1859 (create_touch_selector): Fix compilation warning.
1861 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1864 (hildon_pannable_area_button_release_cb)
1865 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1867 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1872 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-bread-crumb-trail.h
1875 * src/hildon-date-editor.c
1876 * src/hildon-date-selector.c
1877 * src/hildon-pannable-area.c
1878 * src/hildon-picker-dialog.c
1879 * src/hildon-time-selector.c
1880 * src/hildon-touch-selector-entry.c
1881 * src/hildon-touch-selector.c
1882 * src/hildon-touch-selector.h: Misc documentation fixes
1884 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1886 * examples/hildon-date-editor-example.c (main): Updated date
1889 * examples/hildon-note-example.c (on_confirmation_clicked):
1890 Updated confirmation note example.
1892 * src/hildon-date-editor.c
1893 * src/hildon-note.c: Updated sample programs in documentation.
1896 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-date-button.h:
1899 * src/hildon-picker-button.h:
1900 * src/hildon-time-button.c:
1901 * src/hildon-time-button.h:
1903 Some declarations changes to allow gtk-doc to document the widgets
1906 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-date-button.c: Document the widget.
1909 * src/hildon-time-button.c: Document the widget.
1911 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1913 * src/hildon-picker-button.c: Document the widget.
1914 * src/hildon-touch-selector-entry.c: Document the widget.
1916 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1918 * doc/hildon-docs.sgml
1921 * src/hildon-check-button.h
1922 * src/hildon-check-button.c: New functions to create the Hildon
1926 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1928 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-button.h
1931 * src/hildon-button.c
1932 (hildon_button_add_title_size_group)
1933 (hildon_button_add_value_size_group)
1934 (hildon_button_add_image_size_group)
1935 (hildon_button_add_size_groups): New functions to set size groups
1936 for the button labels and image.
1937 (hildon_button_new_full): Removed
1939 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1941 * src/hildon-time-selector.c
1942 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1943 in order to avoid a crash if gconf is not available
1945 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-button.c (hildon_button_set_arrangement)
1948 (hildon_button_construct_child): Don't construct the button child
1949 before setting the arrangement.
1951 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1953 * src/hildon-program-private.h
1954 * src/hildon-program.c
1955 * src/hildon-program.h
1956 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1957 (hildon_program_peek_window_stack)
1958 (hildon_program_pop_window_stack)
1959 (hildon_program_go_to_root_window): HildonProgram now has a
1960 separate list for stackable windows. Functions are provided to
1961 manage that list with a stack-like API.
1963 * src/hildon-stackable-window.c: Stackable window management is
1964 now much simpler with the new HildonProgram API. Windows no
1965 longer need to be manually added to the program, they're
1966 automatically pushed to the top of the stack when shown.
1968 * examples/hildon-stackable-window-example.c: Updated example to
1969 reflect the API changes.
1971 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-touch-selector.c: Comment out unimplemented
1974 hildon_touch_selector_insert_column() to avoid a compile warning.
1976 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1979 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1980 (hildon_touch_selector_set_column_selection_mode),
1981 (_hildon_touch_selector_set_model),
1982 (hildon_touch_selector_set_model):
1984 Complete review of HildonTouchSelector documentation.
1986 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1988 * doc/hildon-docs.sgml
1992 * src/hildon-gtk.c: Convenience functions for standard Gtk
1993 widgets, used to easily perform frequent operations.
1995 * src/hildon-button-helpers.h
1996 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1998 * src/hildon-helper.h
1999 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2000 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2002 * src/hildon-button.h
2003 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2005 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2007 * src/hildon-button.c (hildon_button_init)
2008 (hildon_button_set_arrangement, hildon_button_construct_child):
2009 Pack the image and the labels inside the same GtkAlignment so
2010 gtk_button_set_alignment() can be used
2012 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-button.h
2015 * src/hildon-button.c
2016 (hildon_button_init, hildon_button_set_image)
2017 (hildon_button_set_image_position)
2018 (hildon_button_construct_child): New functions to add an image to
2021 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-date-button.c
2024 * src/hildon-picker-button.c
2025 * src/hildon-time-button.c
2026 * src/hildon-button.c:
2027 (hildon_button_class_init): "size-flags" renamed to "size"
2028 (hildon_button_set_title): Hide the title label if set to NULL.
2030 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2032 HildonButtonFlags split into HildonButtonArrangement (to set the
2033 button layout) and HildonSizeType (which can be used for any
2036 * src/hildon-button.h
2037 * src/hildon-button.c
2038 (hildon_button_class_init)
2039 (hildon_button_set_arrangement)
2040 (hildon_button_set_property): New "size-flags"
2041 property. "arrangement-flags" renamed to "arrangement".
2042 (hildon_button_new, hildon_button_new_with_text)
2043 (hildon_button_new_full): Constructors updated to reflect type changes.
2045 * src/hildon-helper.h
2046 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2047 to set the size of a widget.
2051 * src/hildon-button-helpers.c
2052 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2054 * src/hildon-date-button.c
2055 * src/hildon-date-button.h
2056 * src/hildon-picker-button.c
2057 * src/hildon-picker-button.h
2058 * src/hildon-time-button.c
2059 * src/hildon-time-button.h: Updated widgets to reflect
2060 HildonButton API changes.
2062 * examples/hildon-button-example.c
2063 * examples/hildon-date-button-example.c
2064 * examples/hildon-picker-button-example.c
2065 * examples/hildon-picker-button-multicolumn-example.c
2066 * examples/hildon-time-button-example.c
2067 * examples/hildon-touch-selector-entry-example.c
2068 * examples/hildon-touch-selector-example.c: Updated examples to
2069 reflect HildonButton API changes.
2071 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2073 * doc/hildon-docs.sgml:
2075 * examples/Makefile.am:
2076 * examples/hildon-touch-selector-entry-example.c:
2078 * src/hildon-touch-selector-entry.c:
2079 * src/hildon-touch-selector-entry.h:
2082 Moved HildonTouchSelectorEntry from sandbox. Added its
2083 documentation and examples.
2085 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-touch-selector.h:
2088 * examples/hildon-picker-button-multicolumn-example.c:
2089 (hildon_touch_selector_append_text_column): Add a gboolean
2090 parameter to determine if text must be centered in the column.
2092 * src/hildon-date-selector.c: (hildon_date_selector_init):
2093 * src/hildon-time-selector.c: (hildon_time_selector_init):
2094 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2095 (create_touch_selector): Update widgets and example to reflect
2098 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2100 * src/hildon-touch-selector.c:
2101 (hildon_touch_selector_set_active_iter): Set also the cursor in
2104 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2106 * doc/hildon-docs.sgml
2109 * src/hildon-toggle-button.c
2110 * src/hildon-toggle-button.h
2111 * src/hildon.h: Removed HildonToggleButton widget, a derived
2112 class is not necessary for this.
2114 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2116 * src/hildon-pannable-area.c,
2117 (hildon_pannable_area_realize),
2118 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2121 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2123 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2124 "done" button the default widget for the dialog.
2126 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2128 * src/hildon-touch-selector.c:
2129 (hildon_touch_selector_class_init),
2130 (hildon_touch_selector_get_property),
2131 (_hildon_touch_selector_set_model),
2132 (_hildon_touch_selector_has_multiple_selection),
2133 (hildon_touch_selector_has_multiple_selection):
2134 Add a "has-multiple-selection" property with a virtual
2135 has_multiple_selection() method to allow derived classes to
2136 override the default value for it. See the method and property
2137 documentation for details.
2139 * src/hildon-touch-selector.h: Add the new API.
2141 * src/hildon-picker-dialog.c: (requires_done_button): Call
2142 hildon_touch_selector_has_multiple_selection() instead of
2143 determining the need for a button itself.
2145 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2147 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2148 (_hildon_touch_selector_set_model),
2149 (hildon_touch_selector_set_model): Move working code to
2150 _hildon_touch_selector_set_mode(). Call the class method instead.
2152 * src/hildon-touch-selector.h: Add (*set_model) to
2153 HildonTouchSelectorClass.
2155 Make hildon_touch_selector_set_model() a virtual method, so that
2156 derived classes can extend it and do fancy stuff with the model.
2158 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2160 * configure.ac: Set back the tarname in AC_INIT to hildon.
2162 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2166 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2167 instead of libesd (NB#86876). Volume handling is still an open issue.
2169 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2172 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2175 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2176 derived class to ease placement of an entry widget in
2177 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2178 end, where the selector columns are packed now.
2180 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-picker-button.c: Removed the simple _text() API.
2183 * src/hildon-picker-button.h: Likewise.
2185 * src/hildon-touch-selector.h:
2186 * src/hildon-touch-selector.c:
2187 (hildon_touch_selector_new_text),
2188 (hildon_touch_selector_append_text),
2189 (hildon_touch_selector_prepend_text),
2190 (hildon_touch_selector_insert_text):
2192 Moved the simple _text() API from HildonPickerButton to
2193 HildonTouchPicker, to provide better escalability and not to tie
2194 that API to HildonPickerButton.
2196 * examples/hildon-picker-button-example.c: (main): Example updated.
2198 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-button.c: Updated documentation.
2202 * examples/hildon-button-example.c: Add the posibility to create
2203 the buttons using horizontal layout for title and value.
2205 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-app-menu-private.h
2208 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2209 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2210 GtkSizeGroup for the filters, use the 'homogeneous' property of
2213 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2215 * examples/hildon-button-example.c: Updated example.
2217 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2219 * doc/hildon-docs.sgml:
2222 Update documentation.
2224 * examples/Makefile.am: Update renamed examples.
2226 * examples/hildon-picker-button-multicolumn-example.c:
2227 (create_touch_selector), (main): Update after the rename.
2229 * examples/hildon-touch-picker-example.c: Removed.
2230 * examples/hildon-touch-selector-example.c: (value_changed),
2231 (create_selector), (get_visible_content), (main): Renamed from
2232 hildon-touch-picker-example.c
2234 * src/Makefile.am: Updated renamed files.
2236 * src/hildon-date-button.c: (hildon_date_button_init),
2237 (hildon_date_button_get_date), (hildon_date_button_set_date):
2238 * src/hildon-date-selector.c: (hildon_date_selector_init),
2239 (_custom_print_func), (_update_day_model),
2240 (_manage_selector_change_cb),
2241 (hildon_date_selector_select_current_date),
2242 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2243 * src/hildon-date-selector.h:
2244 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2245 (hildon_picker_button_set_property),
2246 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2247 (hildon_picker_button_init), (hildon_picker_button_new_text),
2248 (hildon_picker_button_append_text),
2249 (hildon_picker_button_prepend_text),
2250 (hildon_picker_button_insert_text),
2251 (hildon_picker_button_set_selector),
2252 (hildon_picker_button_get_selector):
2253 * src/hildon-picker-button.h:
2254 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2255 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2256 (_update_title_on_selector_changed_cb), (requires_done_button),
2257 (_hildon_picker_dialog_set_selector),
2258 (hildon_picker_dialog_set_selector),
2259 (hildon_picker_dialog_get_selector):
2260 * src/hildon-picker-dialog.h:
2261 * src/hildon-time-button.c: (hildon_time_button_init),
2262 (hildon_time_button_get_time), (hildon_time_button_set_time):
2263 * src/hildon-time-selector.c: (hildon_time_selector_init),
2264 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2265 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2266 * src/hildon-time-selector.h:
2269 Massive code updates after the rename.
2271 * src/hildon-touch-picker.c: Removed.
2272 * src/hildon-touch-picker.h: Removed.
2274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2275 (hildon_touch_selector_init), (hildon_touch_selector_map),
2276 (hildon_touch_selector_remove), (_default_print_func),
2277 (_selection_changed_cb), (_create_new_column),
2278 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2279 (hildon_touch_selector_append_text_column),
2280 (hildon_touch_selector_remove_column),
2281 (hildon_touch_selector_set_column_attributes),
2282 (hildon_touch_selector_insert_column),
2283 (hildon_touch_selector_get_num_columns),
2284 (hildon_touch_selector_get_column_selection_mode),
2285 (hildon_touch_selector_set_column_selection_mode),
2286 (hildon_touch_selector_set_print_func),
2287 (hildon_touch_selector_get_print_func),
2288 (hildon_touch_selector_get_active_iter),
2289 (hildon_touch_selector_set_active_iter),
2290 (hildon_touch_selector_get_selected_rows),
2291 (hildon_touch_selector_get_model),
2292 (hildon_touch_selector_set_model),
2293 (hildon_touch_selector_get_current_text),
2294 (_hildon_touch_selector_center_on_selected_items):
2295 * src/hildon-touch-selector.h: Renamed from
2296 hildon-touch-picker.[ch]
2298 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2299 references, code examples, and related documentation.
2301 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2303 * doc/hildon-docs.sgml
2306 * src/hildon-toggle-button.c
2307 * src/hildon-toggle-button.h
2308 * src/hildon.h: New HildonToggleButton widget.
2310 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-button.c: Add API documentation.
2313 (hildon_button_set_size_groups): Check input parameters
2315 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2317 * src/hildon-pannable-area.c
2318 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2319 effect after reaching the movement thredshold. This way we start
2320 using the distance after passing the thredshold.
2322 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2324 * src/hildon-button.c: (hildon_button_set_property): Use the
2325 appropriate g_value_get_flags() method.
2327 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2329 * doc/hildon-docs.sgml:
2332 Add the touch pickers, picker dialogs, and picker button widgets
2333 to the documentation.
2335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2337 * src/hildon-button.c: (hildon_button_set_property),
2338 (hildon_button_class_init): Make "arrangement-flags" a proper
2339 G_TYPE_FLAGS derived property.
2341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2343 * examples/Makefile.am: Add below examples.
2344 * examples/hildon-date-button-example.c:
2345 * examples/hildon-picker-button-example.c:
2346 * examples/hildon-picker-button-multicolumn-example.c:
2347 * examples/hildon-time-button-example.c:
2348 * examples/hildon-touch-picker-example.c:
2350 Add examples for the recently added touch pickers,
2351 picker dialogs, and picker button widgets.
2353 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2355 * src/hildon-button.c: Add some API documentation
2357 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-button.h
2360 * src/hildon-button.c
2362 (hildon_button_new_with_text): New constructor to create a button
2363 with no text at all.
2364 (hildon_button_init, hildon_button_set_arrangement)
2365 (hildon_button_set_title, hildon_button_set_value)
2366 (hildon_button_set_text)
2367 (hildon_button_construct_child): Hide the value when it's not used
2368 so the rest of the text is properly aligned.
2369 Allow creating buttons with arbitrary widgets inside (not just
2370 title/value labels).
2372 * examples/hildon-button-example.c (vertical_buttons_window)
2373 (horizontal_buttons_window): Update example to use new API.
2375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/Makefile.am: Added HildonTimeButton.
2378 * src/hildon-time-button.c: Added missing LGPL header.
2379 * src/hildon-time-button.h: Added missing LGPL header.
2380 * src/hildon.h: Add hildon-time-button.h
2382 Copied HildonTimeButton from sandbox to trunk. Future work on this
2383 widget must take place in trunk.
2385 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/Makefile.am: Added HildonDateButton.
2388 * src/hildon-date-button.c: Update includes.
2389 * src/hildon.h: Add hildon-date-button.h
2391 Copied HildonDateButton from sandbox to trunk. Future work on this
2392 widget must take place in trunk.
2394 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/Makefile.am: Added HildonPickerButton.
2397 * src/hildon-picker-button.h: Update includes.
2398 * src/hildon.h: Add hildon-picker-button.h
2400 Copied HildonPickerButton from sandbox to trunk. Future work on
2401 this widget must take place in trunk.
2403 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/Makefile.am: Added HildonPickerDialog.
2406 * src/hildon-picker-dialog.c: Update includes.
2407 * src/hildon.h: Add hildon-picker-dialog.h
2409 Copied HildonPickerDialog from sandbox to trunk. Future work
2410 on this widget must take place in trunk.
2412 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/Makefile.am: Added HildonTimeSelector.
2415 * src/hildon.h: Add hildon-time-selector.h
2417 Copied HildonTimeSelector widget from sandbox to trunk. Future
2418 work on this widget must happen in trunk.
2420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/Makefile.am: Added HildonDateSelector.
2423 * src/hildon.h: Add hildon-date-selector.h
2425 Copied HildonDateSelector widget from sandbox to trunk. Future
2426 work on this widget must happen in trunk.
2428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/Makefile.am: Added HildonTouchPicker.
2431 * src/hildon-touch-picker.c: Update includes.
2432 * src/hildon.h: Add hildon-touch-picker.h
2434 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2435 on this widget must happen in trunk.
2437 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-pannable-area.c:
2440 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2442 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2444 * examples/hildon-app-menu-example.c (main): Let the window
2447 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2449 * src/hildon-pannable-area.c
2450 (hildon_pannable_area_class_init): Set the min value of the
2451 overshoot properties to zero, which points out that not
2452 overshooting allowed.
2454 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2456 Modified the procedure to get the widget at a point inside the
2457 pannable area when using the movement type signals. Now the user
2458 has to call a function to get the child, that way we just
2459 calculate the child in case the user really want to use it and not
2462 * src/hildon-marshalers.list: Modified the marshallers, now we do
2463 not have the widget as a parameter.
2465 * src/hildon-pannable-area.c
2466 (hildon_pannable_area_motion_notify_cb),
2467 (hildon_pannable_area_class_init),
2468 (hildon_pannable_get_child_widget_at): Removed the widget
2469 parameter from the signal callback. We have also refactored the
2470 emission of the signals.
2472 * src/hildon-pannable-area.h: Added a new method to the API to
2473 calculate a widget at a point inside the pannable area,
2474 hildon_pannable_get_child_widget_at.
2476 * examples/hildon-pannable-area-example-4.c
2477 (horizontal_movement): Modified the example to use the new API,
2478 added condition to control which widget is under the event. This
2479 way we can avoid scrolling laterally over other widgets.
2481 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2483 * src/hildon-pannable-area.c
2484 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2485 modes, we stop getting the pointer events due to returning the
2486 callback without properly calling the get pointer again. Fixed
2487 also an error using the hscroll and vscroll.
2489 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2491 * src/hildon-app-menu-private.h
2492 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2493 (hildon_app_menu_button_release, hildon_app_menu_init)
2494 (hildon_app_menu_class_init): Don't hide the menu on button
2495 release if the user didn't press outside first.
2497 * src/hildon-window.h
2498 * src/hildon-window.c (hildon_window_toggle_menu)
2499 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2500 hildon_window_toggle_menu a virtual function for the stackable
2501 window to override it.
2503 * src/hildon-stackable-window.h
2504 * src/hildon-stackable-window-private.h
2505 * src/hildon-stackable-window.c
2506 (hildon_stackable_window_realize)
2507 (hildon_stackable_window_finalize)
2508 (hildon_stackable_window_class_init)
2509 (hildon_stackable_window_init)
2510 (hildon_stackable_window_set_main_menu): New function to set the
2511 app menu of a HildonStackableWindow.
2513 * examples/hildon-app-menu-example.c: Remove the button to show
2514 the app menu, now it'll be shown when clicking on the title bar
2517 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2520 set the widget name if the arrangement flags do not specify
2523 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-button.c: (hildon_button_set_property),
2526 (hildon_button_class_init), (hildon_button_new_full),
2527 (hildon_button_set_arrangement): Added "arrangement-flags"
2530 Make the HildonButtonFlags a construction-only property, to allow
2531 subclasses to set them properly.
2533 2008-07-21 Tim Janik <timj@imendio.com>
2535 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2536 insertion position after backspace, so additional digits are appended,
2539 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2543 TODO list, it was complete and removed the g_debug and g_print
2546 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2548 Added the movement modes to the hildon-pannable-area, with this
2549 modes the developers can control in which directions the widget
2550 can scroll. They can also connect to signals in order to do
2551 something when that happens, allowing applications scroll. There
2552 is an example uploaded showing how to use it.
2554 * examples/Makefile.am:
2555 * examples/hildon-pannable-area-example-4.c: Added this example of
2556 an application using the modes.
2558 * src/hildon-marshalers.list: Added a new marshaller for the new
2561 * src/hildon-pannable-area.h: Added new enumerations and flags in
2562 order to control the movement modes and the new signals to warn
2563 about the movements in the area.
2565 * src/hildon-pannable-area.c:
2566 (hildon_pannable_axis_scroll),
2567 (hildon_pannable_area_scroll),
2568 (hildon_pannable_area_motion_notify_cb),
2569 (hildon_pannable_area_get_property),
2570 (hildon_pannable_area_set_property),
2571 (hildon_pannable_area_map),
2572 (hildon_pannable_area_class_init),
2573 (hildon_pannable_area_init),
2574 (hildon_pannable_area_jump_to): Added the modes to control the
2575 movement in the widget. We have added properties to control it,
2576 signals to warn about the movements and refactored some code.
2578 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2580 Changes required in order to allow vfast_factor set to zero to
2583 * src/hildon-pannable-area.c:
2584 (hildon_pannable_area_button_press_cb): Changed the condition, it
2585 is required for not allowing click when vfast_factor is zero.
2586 (hildon_pannable_area_timeout): Initialized velocity variables
2587 when we stop moving, it was less than 1 but not zero and we need
2588 to check zero in some situations.
2589 (hildon_pannable_area_class_init): Changed the default value of
2590 the speed factor, now the button_press is just sent in case the
2591 speed is 2 per cent of the max speed.
2592 (hildon_pannable_area_init): Initialization with 0.
2594 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2596 * src/hildon-pannable-area.c,
2597 (hildon_pannable_area_get_topmost): replaced
2598 gdk_window_get_children with gdk_window_peek_children, this way we
2599 do not have to free the list because it is not a copy.
2601 (hildon_pannable_axis_scroll),
2602 (hildon_pannable_area_scroll),
2603 (hildon_pannable_area_timeout),
2604 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2605 two parameters that were only used inside the
2606 hildon_pannable_area_scroll function.
2608 * examples/hildon-pannable-area-example.c,
2609 (get_sawtooth_label): Fixed small memory leak.
2611 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2613 More checks for the case where the overshoot is bigger than the
2616 * src/hildon-pannable-area.c:
2617 (hildon_pannable_draw_vscroll),
2618 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2619 to draw the slider of the scrollbar under the other scrollbar.
2620 (hildon_pannable_area_expose_event): added new checks to control
2621 the drawing of the overshooting area rectangle, in case it is too
2622 big for the area of the widget.
2623 (hildon_pannable_area_size_allocate): add more checks to avoid
2624 setting a position to the child widget outside the area.
2626 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2628 * src/hildon-pannable-area.c
2629 (hildon_pannable_area_size_allocate): Added conditions to control
2630 when overshooting is bigger than the allocated space for the
2631 children, this avoids negative allocations.
2633 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2635 * doc/hildon-docs.sgml
2637 * examples/Makefile.am
2638 * examples/hildon-button-example.c
2640 * src/hildon-button.c
2641 * src/hildon-button.h
2642 * src/hildon.h: Initial version of the new HildonButton widget,
2645 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-pannable-area.c:
2648 (hildon_pannable_area_button_press_cb),
2649 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2650 (hildon_pannable_area_motion_notify_cb),
2651 (hildon_pannable_area_button_release_cb),
2652 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2653 (hildon_pannable_area_jump_to_child):
2655 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2657 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2659 * examples/Makefile.am
2660 * examples/hildon-pannable-area-touch-grid-example.c
2661 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2662 the Hildon Touch List and Hildon Touch Grid using the
2663 HildonPannableArea widget.
2665 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2667 * src/hildon-pannable-area.c,
2668 (hildon_pannable_area_button_press_cb),
2669 (hildon_pannable_area_refresh),
2670 (hildon_pannable_area_scroll),
2671 (hildon_pannable_area_motion_notify_cb),
2672 (hildon_pannable_area_button_release_cb),
2673 (hildon_pannable_area_expose_event),
2674 (hildon_pannable_area_add),
2675 (hildon_pannable_area_remove),
2676 (hildon_pannable_area_realize),
2677 (hildon_pannable_area_size_allocate),
2678 (hildon_pannable_area_class_init),
2679 (hildon_pannable_area_init),
2680 (hildon_pannable_area_scroll_to_child),
2681 (hildon_pannable_area_jump_to_child): Fixed the problem of
2682 removing the child from the GtkBin, we have rearranged the widget
2683 hierarchy, now there is no GtkAlignment which was not doing
2684 anything interesting but breaking some of the assumptions of
2685 GtkContainer. Now developers if they want to add a GtkAlignment
2686 they could, but it is not inside the area.
2688 We had to review the whole allocation/expose process, now it is
2689 improved and we save at least three signals which would be saving
2690 some time when rendering the widget. The allocation of the
2691 scrollbars is now made in the allocate method as usual.
2693 We have also added some conditions in order to control when there
2694 is no child of the pannable area. Maybe we will need more work
2697 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2699 * src/hildon-pannable-area.c,
2700 (hildon_pannable_area_dispose): Released the fade-out timeout when
2701 disposing the widget.
2703 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2705 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2706 zero, we are going to use that property in order to deactivate the
2708 (hildon_pannable_axis_scroll),
2709 (hildon_pannable_area_size_allocate): Added conditions to control
2710 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2711 call, now it is called in all situations and we can remove calls
2712 in the allocate method.
2713 (hildon_pannable_area_map): Control the situation when
2714 overshoot_max is zero, we do not need the timeout.
2715 (hildon_pannable_area_class_init): Added documentation in order to
2716 point out that setting zero to overshoot_max means deactivate
2719 NOTE: removed trailing whitespaces from my previous comments of
2722 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-pannable-area.c
2725 (hildon_pannable_area_get_property),
2726 (hildon_pannable_area_set_property),
2727 (hildon_pannable_area_map),
2728 (hildon_pannable_area_class_init),
2729 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2730 to cause the widget give a hint about its panning abilities upon
2733 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-pannable-area.c: Several documentation improvements.
2737 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-program.c
2740 * src/hildon-stackable-window.c: Update documentation.
2742 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-stackable-window.c (get_previous_window_if_last):
2745 Renamed get_last_window()
2746 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2747 (hildon_stackable_window_unset_program):
2749 (get_previous_window_if_last):
2750 Detect if the window hasn't been added to a HildonProgram.
2752 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2754 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2756 * src/hildon-pannable-area.c
2757 (hildon_pannable_area_button_press_cb),
2758 (hildon_pannable_axis_scroll),
2759 (hildon_pannable_area_scroll),
2760 (hildon_pannable_area_timeout),
2761 (hildon_pannable_calculate_vel_factor),
2762 (hildon_pannable_area_get_property),
2763 (hildon_pannable_area_set_property),
2764 (hildon_pannable_area_class_init),
2765 (hildon_pannable_area_init),
2766 (hildon_pannable_area_scroll_to),
2767 (hildon_pannable_area_jump_to),
2768 (hildon_pannable_area_scroll_to_child),
2769 (hildon_pannable_area_jump_to_child):
2770 * src/hildon-pannable-area.h: Added the new API functions:
2771 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2772 hildon_pannable_area_scroll_to_child,
2773 hildon_pannable_area_jump_to_child
2776 * examples/Makefile.am
2777 * examples/hildon-pannable-area-example-2.c
2778 * examples/hildon-pannable-area-example-3.c: Added these two new
2779 examples in order to test and show how the new APIs work.
2781 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2783 * examples/hildon-stackable-window-example.c (new_window):
2784 * src/Makefile.am (noinst_HEADERS):
2785 * src/hildon-program.c (hildon_program_go_to_root_window):
2786 * src/hildon-program.h:
2787 * src/hildon-stackable-window-private.h:
2788 * src/hildon-stackable-window.c:
2789 * src/hildon-stackable-window.h:
2790 Create hildon-stackable-window-private.h
2791 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2793 * examples/hildon-app-menu-example.c (create_menu):
2794 * examples/hildon-hvolumebar-insensitive-example.c (main):
2795 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2796 * examples/hildon-toolbar-seekbar-example.c (main):
2797 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2798 * src/hildon-banner.c (hildon_banner_set_property):
2799 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2800 Fix compilation warnings
2802 * src/hildon-window.c:
2805 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-stackable-window.c
2808 (hildon_stackable_window_unset_program):
2809 Calculate correctly whether to show the previous window if the
2810 last one is removed from the stack.
2811 (hildon_stackable_window_go_to_root_window):
2812 Send delete events starting from the topmost window.
2813 Stop if one of the windows is not destroyed.
2815 (hildon_stackable_window_delete_event)
2816 (hildon_stackable_window_class_init):
2817 Ignore the delete event if the window is not the topmost one.
2819 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2821 * src/hildon-pannable-area.c
2822 (hildon_pannable_area_expose_event): Fixed a problem when
2823 selecting the background color of the scrollbars.
2825 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2827 * examples/hildon-stackable-window-example.c
2828 * src/hildon-stackable-window.c
2829 * src/hildon-stackable-window.h
2830 hildon_stackable_window_go_home() renamed to
2831 hildon_stackable_window_go_to_root_window()
2832 Send delete events to windows rather than closing them with
2833 gtk_widget_destroy()
2835 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-pannable-area.c
2838 (hildon_pannable_area_button_release_cb): Fix overshooting in
2841 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-pannable-area.c
2844 (hildon_pannable_area_init): Initially show the scroll indicators.
2845 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2847 Add initial effect showing the widget is pannable.
2849 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-pannable-area.c
2852 (hildon_pannable_area_class_init)
2853 (hildon_pannable_area_set_property)
2854 (hildon_pannable_area_get_property)
2855 (hildon_pannable_area_button_press_cb):
2856 New 'velocity_fast_factor' property to decide which velocity is
2859 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-pannable-area.c
2862 (hildon_pannable_draw_hscroll)
2863 (hildon_pannable_draw_vscroll):
2864 Use float variables to calculate the size of the scrollbars to
2865 avoid error propagation and resizing during scrolling.
2867 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-pannable-area.c
2870 (hildon_pannable_draw_vscroll)
2871 (hildon_pannable_draw_hscroll):
2872 Define a minimum size for the scroll bars
2874 * src/hildon-stackable-window.c
2875 (hildon_stackable_window_go_home): Fix compilation warning
2876 (get_last_window): Minor optimizations
2877 (hildon_stackable_window_class_init): Fix initialization of
2880 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2882 * src/hildon-stackable-window.c: Fixed typos in doc
2884 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-pannable-area.c
2887 (hildon_pannable_area_scroll):
2888 Calculate here whether we need to scroll instead of using the booleans
2889 that tell us whether to /draw/ the scrolling bars.
2891 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2893 * src/hildon-app-menu.h
2895 * src/hildon-app-menu.c
2896 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2897 multiple filter groups related code and API. Now we support only
2899 * examples/hildon-app-menu-example.c:
2901 Update to reflect API changes.
2903 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/hildon-stackable-window.c
2906 (hildon_stackable_window_class_init):
2907 Add hildon_stackable_window_realize.
2908 (hildon_stackable_window_realize):
2909 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2910 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2911 to apply theming and behavior specific to HildonStackableWindow
2914 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-note.c (hildon_note_button_release):
2917 Close information notes also when tapping on them
2919 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2921 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2922 ELASTICITY, refactor and review, fix some issues with drawing
2925 * src/hildon-pannable-area.c:
2926 (hildon_pannable_area_button_press_cb): removed the conditions to
2927 avoid clicks when overshooting. It is not required
2929 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2930 define. Refatored and reviewed the code, now we do not need to
2931 manage velocity in motion_notify.
2933 (hildon_pannable_area_motion_notify_cb): We have moved the code
2934 that controls the area_scroll to the axis_scroll function and get
2935 rid of duplicated code.
2937 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2939 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2941 (hildon_pannable_draw_vscroll),
2942 (hildon_pannable_draw_hscroll): Fixed the problems with the
2943 scrollbar drawing, now we do not use two surfaces, it is easier
2944 and saves resources.
2946 (hildon_pannable_area_get_property): Style modification.
2948 (hildon_pannable_area_class_init): Changed some default values.
2950 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-stackable-window.c: Fix some typos in the
2955 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2957 * src/hildon-dialog.c:
2958 Change indentation style
2961 (hildon_note_button_release):
2962 Use root coordinates to check if the release event happened
2965 * src/hildon-app-menu.c
2966 (hildon_app_menu_button_release):
2967 Remove unnecessary check
2969 * examples/hildon-app-menu-example.c
2971 Add cast to fix warning
2973 * src/hildon-app-menu.c
2974 (hildon_app_menu_class_init):
2975 New inner-border style property.
2976 Set all default spacings to 16
2977 (hildon_app_menu_init):
2978 Use vertical-spacing to set the space between filter buttons and
2979 regular menu buttons.
2980 Set the default container border using the inner-border value.
2982 * examples/hildon-app-menu-example.c
2984 Don't set the menu border explicitly, now we have the inner-border
2985 style property for that.
2987 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-app-menu.c (hildon_app_menu_init):
2990 Make the window modal
2992 * src/hildon-note.c (hildon_note_map)
2993 * src/hildon-app-menu.c (hildon_app_menu_map):
2994 Destroy the grab window if we're unable to grab the pointer
2996 * src/hildon-app-menu-private.h
2997 * src/hildon-app-menu.c
2998 (hildon_app_menu_init, hildon_app_menu_finalize)
2999 (hildon_app_menu_map, hildon_app_menu_unmap)
3000 (hildon_app_menu_button_release)
3001 (grab_transfer_window_get):
3002 Bring back the grab window
3003 (hildon_app_menu_realize):
3004 Decorate the window, set WM hint for Matchbox
3006 * src/hildon-note.c (hildon_note_realize):
3007 * src/hildon-banner.c (hildon_banner_realize):
3008 Add WM hints for Matchbox
3010 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-app-menu-private.h
3013 * src/hildon-app-menu.c
3014 (hildon_app_menu_init, hildon_app_menu_finalize)
3015 (hildon_app_menu_map, hildon_app_menu_unmap)
3016 (hildon_app_menu_button_release):
3017 Remove the grab window, it's not needed anymore
3019 * src/hildon-program.c
3020 Fixed typo in documentation
3022 * src/hildon-app-menu.h
3023 * src/hildon-app-menu.c
3024 * examples/hildon-app-menu-example.c
3025 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3027 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3030 Added new transfer_window and close_if_pressed_outside private
3032 (hildon_note_rebuild):
3033 Don't add a cancel button to the information note. It will be
3034 closed when tapping outside
3035 Remove the comment about the OK button in the documentation
3036 (hildon_note_realize):
3037 Set the notification type hint
3038 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3039 Grab/ungrab pointer and keyboard if the note has to be closed when
3041 (hildon_note_button_release):
3042 Close the note when tapping outside (if applicable)
3044 * src/hildon-app-menu.c
3045 Grab/ungrab pointer and keyboard on map/unmap
3046 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3047 Close the menu on button release, not button press
3049 * src/hildon-banner.c
3050 (hildon_banner_set_property)
3051 (hildon_banner_check_position):
3052 Make the banner use the full width of the screen
3053 (hildon_banner_show_information)
3054 (hildon_banner_show_information_with_markup):
3055 Don't display an icon by default
3057 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3059 Added fading scrollbars and adapted all the overshooting code to
3060 horizontal scrolling. We have also fixed bugs with overshooting
3061 and current fading implementation.
3063 * src/hildon-pannable-area.c
3064 (hildon_pannable_area_scroll_indicator_fade): Time out function
3065 used to change the transparency of the scrollbars.
3067 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3068 control and fixed a problem with fading, we now remove the fade
3069 timeout before adding a new one.
3071 (hildon_pannable_axis_scroll):
3072 (hildon_pannable_area_scroll):
3073 (hildon_pannable_area_timeout): Added this functions so we can use
3074 the scroll code both for vertical and horizontal.
3076 (hildon_pannable_area_motion_notify_cb):
3077 (hildon_pannable_area_button_release_cb): Added the horizontal
3078 scrolling control, fixed a problem with the overshooting timeout.
3080 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3081 painting of the scrolls.
3083 (hildon_pannable_draw_vscroll):
3084 (hildon_pannable_draw_hscroll):
3085 (hildon_pannable_area_expose_event):
3086 Draw both scrollbars and rectangles in the overshooting area.
3088 (hildon_pannable_area_get_property):
3089 (hildon_pannable_area_set_property):
3090 Modified the overshoot property to overshoot_max
3092 (hildon_pannable_area_map):
3093 Replaced the comments symbols.
3095 (hildon_pannable_area_size_allocate):
3096 (hildon_pannable_area_class_init):
3097 (hildon_pannable_area_init): Added horizontal scroll, fading
3098 effect properties, fixed a problem when overshooting in the bottom
3101 * examples/hildon-pannable-area-example.c:
3102 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3103 looks better in the example.
3105 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-window.c
3108 * src/hildon-window.h
3109 (hildon_window_class_init)
3110 (hildon_window_unset_program)
3111 (hildon_window_unset_program_real):
3112 Make unset_program a virtual function
3114 * src/hildon-stackable-window.c
3115 * src/hildon-stackable-window.h
3116 Added hildon_stackable_window_go_home()
3118 * examples/Makefile.am
3119 * examples/hildon-stackable-window-example.c
3120 HildonStackableWindow example
3122 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3124 * hildon-pannable-area.c: Added the overshoot property and removed
3125 the OVERSHOOT define. Fixed an indent style error.
3126 (hildon_pannable_area_motion_notify_cb):
3127 (hildon_pannable_area_get_property):
3128 (hildon_pannable_area_set_property): Add overshoot property.
3130 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3133 (hildon_pannable_area_class_init): Installed the new property.
3135 * hildon-pannable-area-example.c: Added a sawtooth function, this
3136 way it is easier to check the movement in the pannable.
3137 (get_sawtooth_label): Added this function.
3138 (main): Now we get the labels from the new get_sawtooth_label
3141 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3143 * src/hildon-app-menu.h
3144 * src/hildon-app-menu.c
3145 Renamed API variables for consistency
3147 (hildon_app_menu_popup): Use also the default window size to
3148 decide where to place the menu
3150 (hildon_app_menu_init, hildon_app_menu_class_init): New
3151 external-border style property
3153 2008-05-26 Michael Natterer <mitch@imendio.com>
3155 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3156 widget_class->tap_and_hold_setup signal slot doesn't exist any
3157 longer, stop overriding it.
3159 (hildon_time_editor_init): g_signal_connect() to the
3160 tap-and-hold-setup signal instead.
3162 (hildon_time_editor_entry_keypress): add cast to fix warning.
3164 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3166 * doc/hildon-docs.sgml
3168 * examples/Makefile.am
3169 * examples/hildon-app-menu-example.c
3171 * src/hildon-app-menu-private.h
3172 * src/hildon-app-menu.c
3173 * src/hildon-app-menu.h
3175 New HildonAppMenu widget
3177 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3179 Rearranged the inheritance of the pannable area, now it inherits
3180 from GtkBin. This will allow us to control the event_window and
3181 the allocation process of the widget, required for some effects.
3183 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3184 GtkBin structures. * src/hildon-pannable-area.c: Added the
3185 event_window variable.
3186 (hildon_pannable_area_button_press_cb):
3187 (hildon_pannable_area_button_release_cb):
3188 (hildon_pannable_area_motion_notify_cb):
3189 Changed the signature of the method, now we override the event
3190 callback instead of connecting to the signal.
3192 (hildon_pannable_area_realize):
3193 (hildon_pannable_area_unrealize):
3194 (hildon_pannable_area_map):
3195 (hildon_pannable_area_unmap):
3196 (hildon_pannable_area_size_allocate):
3197 Added functions to control the widget construction. We add a
3198 INPUT_ONLY window and we put it over the widgets inside the
3199 container, this event_window handles the events.
3201 (hildon_pannable_area_class_init):
3202 Replaced the signal connections with overrides of the event
3205 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3207 Bouncing effect added when touching the borders, you can change
3208 the elasticity of the border changing the ELASTICITY define.
3210 * src/hildon-pannable-area.c: Added ELASTICITY define.
3211 (hildon_pannable_area_timeout): Added inverse velocity when
3212 touching the border of the child widget, that causes a bounce.
3214 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3216 Improved performance, we now do not go to the X server in order to
3217 get the list of window children. Apparently the effect is the
3218 same, we have to be careful and check if this breaks something in
3221 * src/hildon-pannable-area.c:
3222 (get_ordered_children): Removed this function.
3223 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3224 the children windows function with gdk_window_get_children.
3226 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3228 * src/hildon-pannable-area.c:
3229 (hildon_pannable_area_dispose): Fixed a crash when closing the
3230 window and kinetics is activated.
3232 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-pannable-area.h
3235 * src/hildon-pannable-area.c
3236 Changed indentation style to meet the one used in Hildon
3238 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3240 Reviewed the interaction of the AUTO mode, now we use the time
3241 attribute of the events and calculate the velocity in the motion,
3242 doing a gimp like calculation. The velocity is calculated in each
3243 motion event using the last velocity and the current one, the
3244 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3246 * src/hildon-pannable-area.c: Replaced the time based algorithm
3248 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3249 timeout for the AUTO mode when we are still moving the cursor. We
3250 added also the velocity calculation in this function.
3251 (hildon_pannable_area_button_release_cb): launch the timeout in
3252 case we are in AUTO mode. There are still some constants here that
3253 come from the old implementation that should be reviewed and
3256 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3258 * doc/hildon-docs.sgml
3261 * src/hildon-stackable-window.c
3262 * src/hildon-stackable-window.h
3264 New HildonStackableWindow widget
3266 * examples/hildon-dialog-example.c
3267 * examples/hildon-pannable-area-example.c
3270 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3272 * src/hildon-dialog.c
3273 (hildon_dialog_new_with_buttons): New constructor.
3275 * examples/hildon-dialog-example.c
3276 (main): Update the example to use the new
3277 hildon_dialog_new_with_buttons().
3279 * examples/hildon-pannable-area-example.c
3280 (main): Update example.
3282 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3284 * doc/hildon-docs.sgml
3286 Added HildonPannableArea to the documentation.
3288 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3290 * doc/visual_index.xml
3291 Fix reference to HildonLoginDialog in documentation
3293 * doc/hildon-docs.sgml
3295 * examples/Makefile.am
3296 * examples/hildon-dialog-example.c
3298 * src/hildon-dialog.c
3299 * src/hildon-dialog.h
3301 New HildonDialog widget.
3303 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-pannable-area.c
3306 Merge latest changes (r4318, r4342) from libmokoui trunk
3308 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3310 * examples/Makefile.am
3311 * examples/hildon-pannable-area-example.c
3313 * src/hildon-pannable-area.c
3314 * src/hildon-pannable-area.h
3316 New HildonPannableArea widget.
3318 2008-04-15 18:05:19 <timj@imendio.com>
3320 * src/hildon-banner.c: revert the recent change, that introduced
3321 gtk_window_present() calls. this reopens:
3322 Bug 78481 - [freetest] information banners are hidden under browser menu
3323 But resolves another variant of:
3324 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3326 2008-04-15 13:21:13 <timj@imendio.com>
3328 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3329 recreated its layout, spotted by Kris. this fixes all remaining
3330 artefacts and stability issues with the banner code. in particular:
3331 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3333 2008-04-14 16:52:59 <timj@imendio.com>
3335 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3336 operating on unrealized widgets, fixes:
3337 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3339 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3341 2008-04-09 Kristian Rietveld <kris@imendio.com>
3343 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3344 makes banner disappear.
3345 Fixes: NB#79182: info banner flickering with certain message lengts.
3347 * src/hildon-banner.c (hildon_banner_constructor),
3348 (hildon_banner_init), (hildon_banner_set_text),
3349 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3350 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3351 FALSE, reset size requests of label and banner,
3352 (force_to_wrap_truncated): when the text is too wide, always enforce
3353 the maximum possible width instead of recalculating it from the
3354 layout; enforce the maximum banner height of 3 lines,
3355 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3356 nicer wrapping and no truncated chars if space gets tight.
3358 * src/hildon-banner-private.h: add has_been_wrapped and
3359 has_been_truncated fields.
3361 2008-04-07 Sven Herzberg <sven@imendio.com>
3363 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3364 local values in hildon_date_editor_size_allocate
3366 * src/hildon-date-editor.c: moved the real allocation code into the
3369 2008-04-07 Sven Herzberg <sven@imendio.com>
3371 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3372 local values in hildon_date_editor_size_allocate
3374 * src/hildon-date-editor.c: merged the two if() branches together
3376 2008-04-07 Sven Herzberg <sven@imendio.com>
3378 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3379 local values in hildon_date_editor_size_allocate
3381 * src/hildon-date-editor.c: changed the arguments of the if()
3384 2008-04-07 Sven Herzberg <sven@imendio.com>
3386 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3387 local values in hildon_date_editor_size_allocate
3389 * src/hildon-date-editor.c: split the calculation of the allocation
3390 from the real allocation
3392 2008-03-27 Michael Natterer <mitch@imendio.com>
3394 Fixes: NB#81696: The passcode is not overwritten even after
3397 * src/hildon-code-dialog.c
3398 (hildon_code_dialog_button_clicked)
3399 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3400 because that doesn't overwrite selected text. Instead, emit the
3401 "commit" signal on the entry's im_context so the entry's normal
3402 insert logic is triggered. Set the cursor to the end of the entry
3403 after each insert operation so that we *only* insert in the middle
3404 of the text if something was selected.
3406 2008-03-27 Michael Natterer <mitch@imendio.com>
3408 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3409 selector cannot be opened
3411 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3412 when the popup color selector is created. Please connect to this
3413 signal in order to set the dialog's help ID.
3415 2008-03-25 Sven Herzberg <sven@imendio.com>
3417 Fixes: MB#1212: Hide info banners (infoprints) on click
3419 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3420 extracted the close event simulation into an extra function
3421 (hildon_banner_button_press_event): simulate a close event and destroy
3422 the widget if the event wasn't handled
3423 (hildon_banner_class_init): added the button_press_event handler
3424 (hildon_banner_init): added button-press events to the widget
3426 2008-03-25 Sven Herzberg <sven@imendio.com>
3428 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3429 Patch from: Mohammad Anwari <mdamt@maemo.org>
3431 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3432 instead of the right in RTL mode
3433 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3434 breadcrumb button list in RTL mode
3435 * src/hildon-caption.c: mirror the appearance of the caption widget in
3437 * src/hildon-date-editor.c: mirror appearance of the date editor in
3439 * src/hildon-time-editor.c: mirror appearance of the time editor in
3441 * src/hildon-window.c: fix the position of the popup in RTL mode
3443 2008-03-25 Sven Herzberg <sven@imendio.com>
3445 Amendment to the fix of NB#22072. Fix compilation.
3447 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3449 2008-03-19 Sven Herzberg <sven@imendio.com>
3451 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3454 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3455 timeout id properly when the timeout will disappear this leaves no
3456 artifacts around in the destroy(); there will only be the timeout
3457 created by hildon_banner_ensure_timeout() and adding a new timeout
3458 will also work if the timeout gets removed because the timeout_handler
3461 2008-03-19 Michael Natterer <mitch@imendio.com>
3463 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3465 * src/hildon-volumebar.c
3466 * src/hildon-vvolumebar.c
3467 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3468 the widget becomes focussable at all.
3470 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3471 set the focus to wither the mute button or the volumebar.
3473 Remove own "can-focus" property and instead listen to
3474 notify::can-focus in order to update the widget's state.
3476 Implement GtkWidget::focus() and make sure we can also *leave* the
3477 widget, not only enter it, depending on volumebar orientation and
3478 requested focus direction.
3480 Clean up set_mute() to cooperate nicely with all the above.
3482 2008-03-04 Michael Natterer <mitch@imendio.com>
3484 Fixes: NB#78481: information banners are hidden under browser menu
3486 * src/hildon-banner.c: call gtk_window_present() on the banners so
3487 they are risen if they are already visible.
3489 2008-03-03 Sven Herzberg <sven@imendio.com>
3491 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3493 * examples/hildon-window-menu-example.c: (main): extended the window
3494 menu example to serve as a testcase for automatically added
3495 accelerator groups, too
3496 * src/hildon-window.c: (hildon_window_add_accel_group),
3497 (hildon_window_set_menu): added patch by Tommi Komulainen
3499 2008-03-03 Sven Herzberg <sven@imendio.com>
3501 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3503 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3504 knowledge about the border allocators used within GTK+
3506 2008-02-26 Sven Herzberg <sven@imendio.com>
3508 Fixes: MB#2981: Build with asserts broken
3510 * src/hildon-date-editor.c,
3511 * src/hildon-number-editor.c,
3512 * src/hildon-time-editor.c,
3513 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3514 the proper GType instance check
3516 2008-02-25 Sven Herzberg <sven@imendio.com>
3518 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3520 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3521 * examples/hildon-window-menu-example.c: (main): explicitly show
3523 * src/hildon-window.c:
3524 (hildon_window_set_main_menu): moved most of the code from set_menu()
3525 to this place; skipped the call to gtk_widget_show_all(); also didn't
3526 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3527 (hildon_window_set_menu): removed most of the code, just keep the
3528 questionable gtk_widget_show_all()
3529 * src/hildon-window.h: added the new function and deprecate the old
3532 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3538 * debian/changelog: Updating.
3540 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3543 * pkgconfig/Makefile.am:
3544 * pkgconfig/hildon.pc.in:
3547 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3548 use newly created API_MAJOR_VERSION.
3550 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3556 * debian/changelog: Updating.
3558 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3560 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3562 Add outer_border style property, we use it but don't define it (!).
3566 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3568 * examples/hildon-bread-crumb-trail-example.c (main):
3572 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3574 Fix logic for the bread crumb trail node removal.
3578 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3584 * debian/changelog: Updating.
3586 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3588 Patch by Alejandro to get/set passwords dialogs accesibility.
3590 * hildon-1/src/hildon-get-password-dialog.c:
3591 * hildon-1/src/hildon-set-password-dialog.c:
3592 Set atk_set_name to the passwd entries in order to allow
3593 accessibility by name on this entries.
3595 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3600 * debian/control: Updating gtk dep.
3602 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3604 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3605 USE_MAEMO_GTK is enabled.
3607 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3609 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3610 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3612 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3618 * debian/changelog: Updating.
3620 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3622 * examples/Makefile.am:
3623 * examples/hildon-logical-color-example.c:
3624 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3625 applied + adding a test case. Fixes: NB#71660.
3627 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3629 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3630 to be visible, fixes warning on map for windows without toolbars.
3632 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3634 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3635 2.11.0, add a check for that besides the MAEMO_GTK check.
3637 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3643 * debian/changelog: Updating.
3645 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3647 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3648 visibility. Fixes: NB#70842 and MB#615.
3650 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3652 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3653 set the separator as no-show-all so it doesn't unintentionally appear when
3654 someone does a show_all.
3656 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3658 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3659 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3660 toplevel item. Fixes: NB#62031
3662 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3664 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3665 fix the name of the function in the docs.
3667 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3673 * debian/changelog: Updating.
3675 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3677 * examples/hildon-banner-long-example.c: Adding a test-case for long
3680 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3682 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3684 * src/hildon-color-chooser-dialog.c:
3685 * src/hildon-color-chooser.c:
3686 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3687 memory leaks in font selector and color selector. Fixes: NB#70499 and
3690 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3692 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3694 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3696 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3697 little bit bigger. Fixes: #NB63694.
3699 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3705 * debian/changelog: Updating.
3707 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3710 * doc/hildon-docs.sgml:
3711 * doc/images/bread-crumb-trail.png:
3712 * doc/images/calendar-popup.png:
3713 * doc/images/caption.png:
3714 * doc/images/code-dialog.png:
3715 * doc/images/color-button.png:
3716 * doc/images/color-chooser-dialog.png:
3717 * doc/images/color-chooser.png:
3718 * doc/images/controlbar.png:
3719 * doc/images/date-editor.png:
3720 * doc/images/font-selection-dialog.png:
3721 * doc/images/get-password-dialog.png:
3722 * doc/images/hvolumebar.png:
3723 * doc/images/login-dialog.png:
3724 * doc/images/note.png:
3725 * doc/images/number-editor.png:
3726 * doc/images/range-editor.png:
3727 * doc/images/seekbar.png:
3728 * doc/images/set-password-dialog.png:
3729 * doc/images/sort-dialog.png:
3730 * doc/images/time-editor.png:
3731 * doc/images/time-picker.png:
3732 * doc/images/vvolumebar.png:
3733 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3734 Adding the bread-crumb-trial and helpers to the documentation.
3736 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3738 * examples/hildon-find-toolbar-example.c:
3739 * src/hildon-find-toolbar.c:
3740 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3741 actually continue firing the other handlers if connected. Adding a new
3743 hildon_find_toolbar_get_last_index that gets the index of the most
3744 recently added (last) item. Fixes: NB#52301.
3746 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3748 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3749 behaviour. Fixes: NB#68610.
3751 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3753 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3756 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3758 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3759 when realizing the banner. Should make the infonbanner effect a bit more
3762 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3764 * src/hildon-volumebar.c:
3765 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3766 hildon_volumebar_set_range_insensitive_message and
3767 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3769 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3771 * src/hildon-window.c: Fixing the border freeing on destroy.
3773 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3775 * src/hildon-code-dialog-private.h:
3776 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3777 kw keyboard support in HildonCodeDialog.
3779 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3785 * debian/changelog: Updating.
3787 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3789 * src/hildon-date-editor.c:
3790 * src/hildon-number-editor.c:
3791 * src/hildon-private.c:
3792 * src/hildon-private.h:
3793 * src/hildon-time-editor.c:
3794 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3795 handling in subclassed composite widgets. Fixes: NB#66628.
3797 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3799 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3800 from destroy_ callback as it introduces problems in async dbus signal
3801 handlers. Fixes NB#66673.
3803 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3805 * examples/hildon-hvolumebar-example.c:
3806 * src/hildon-volumebar.c: Improving the focus handling in the
3807 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3808 set_property accessor so that "mute" property can be actually set. I'm
3809 scared that nobody noticed it's totally broken.
3811 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3816 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3818 * src/hildon-calendar.c:
3819 * src/hildon-number-editor.c:
3820 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3821 matches the spec of 6 chars per second. Fixes: NB#60489.
3823 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3825 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3826 gtk_style_lookup_color sometime returns FALSE even though color was
3827 found and values were filled properly. Weird. Removing the warning for the
3830 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3832 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3833 expand vertically. Adding some extra space to the find toolbar buttons to
3834 make them thumbable. Fixes NB#66060.
3836 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3839 popup with "Ok" and "Cancel". Fixes NB#59299.
3841 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3843 * src/hildon-calendar.c: Process all window updates before executing next
3844 timeout. Fixes: NB#54146.
3846 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3852 * debian/changelog: Updating.
3854 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3856 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3857 the client event and ignore it, since we use the delete event to close
3860 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3862 * src/hildon-helper.c: Remove the bogus warning about color not being
3863 found. Fixes NB#58352.
3865 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3867 * examples/Makefile.am:
3868 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3869 HildonSeekbar widget inside a toolbar.
3871 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3873 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3874 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3875 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3876 don't want to be closed by non-temporary windows on map.
3878 Also use G_DEFINE_TYPE instead of manually typed code.
3880 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3887 * debian/rules: Updating.
3889 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3891 * examples/Makefile.am:
3892 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3893 bug NB#61128. Strangely it works.
3895 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3897 * src/hildon-date-editor.c: When the date editor entry has been changed
3898 but the numbers of characters < max, turn off the skip validation flag.
3899 Prevents a situation when we enter first a valid year and later re-write
3900 it with an invalid one. Fixes NB#60154.
3902 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3904 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3905 code dialog. Fixes NB#64355.
3907 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3909 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3910 switching the page. Fixes NB#49374.
3912 * examples/Makefile.am:
3913 * examples/hildon-wizard-dialog-example.c: Adding an example for
3914 HildonWizardDialog that shows how to handle manual sensitivity setting on
3917 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3921 * src/hildon-version.h.in:
3922 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3924 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3926 * src/hildon-volumebar.c: Updating the docs.
3928 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3934 * debian/changelog: Updating.
3936 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3938 * src/hildon-find-toolbar.c:
3939 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3940 selected item: hildon_find_toolbar_set_active,
3941 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3942 hildon_find_toolbar_get_active_iter . They correspond to respective
3943 GtkComboBox functions.
3945 * examples/Makefile.am:
3946 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3949 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3951 * examples/Makefile.am:
3952 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3955 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3956 when font size > 32 and we pack a focusable widget inside. Actually using
3957 the default response would work too, but since we don't show default
3958 response state in any way (no theming) it would not be visible to the
3959 user. Fixes NB#63430.
3961 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3963 * src/hildon-date-editor.c: Adding the missing variable setter in the
3964 set_property handler. Fixes NB#54182.
3966 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3968 * src/hildon-window.h: Changing the long key press time from 1500ms to
3969 800ms as requested in NB#63700. I have a bad feeling about this, let's
3970 see... Fixes NB#63700.
3972 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3974 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3975 hildon_time_picker_map, hildon_time_picker_realize,
3976 hildon_time_picker_style_set): Split the contents of map to more
3977 appropriate functions; set window decorations on realize and update
3978 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3980 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3985 * debian/changelog: Updating.
3987 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3989 * src/Makefile.am: fixed installation of the header files
3991 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3997 * debian/changelog: Updating.
3999 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4001 * configure.ac: Removing some remaining of --enable-xan.
4003 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4005 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4006 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4008 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4009 2.10.12-osso6 because the move-focus signal needs to be available in
4012 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4014 * examples/Makefile.am:
4015 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4016 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4017 fine. Prolly NB#61128 is fixed now.
4019 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4021 * src/hildon-volumebar.c:
4022 * src/hildon-volumebar.h: Adding the
4023 hildon_volumebar_set_range_insensitive_message and
4024 hildon_volumebar_set_range_insensitive_messagef functions to set
4025 insensitive message on the slider of the volumebar. Fixes NB#61129.
4027 * examples/Makefile.am:
4028 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4029 test the new insensitive messsage functionality on HildonVolumebar.
4031 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4033 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4036 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4038 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4039 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4040 button on after clearing the trail.
4042 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4044 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4046 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4048 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4049 by splitting the installed headers in generated and non-generated groups. Use
4050 only the non-generated headers to create the hildon-enum-types.h file.
4052 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4054 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * src/hildon-window.c: Hide the window before performing the destroy.
4057 Should make the app closing a little tiny bit more snappy.
4059 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4061 * src/hildon-seekbar.c: add gtkrange.h header
4062 * src/hildon-caption.c: remove unused variable
4064 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4066 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4069 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4075 * debian/changelog: Updating.
4077 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4079 * src/hildon-window.c (hildon_window_window_state_event,
4080 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4081 escape timeout on focus-out-event rather than notify::is-topmost; the
4082 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4084 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4086 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4087 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4089 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4091 * src/hildon-window: actually, you need to use the macro always, there's
4092 no private pointer in the instance structure. We should have cleaned this up
4093 when we had the chance...
4095 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4097 * src/hildon-window.c: do not get the private date from HildonWindow before
4098 it passes the g_return_if_fail check. Once it's passed the test, there's no
4099 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4100 if you are only going to access the data once. Whitespace cleanups.
4102 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4104 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4105 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4107 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * debian/changelog: Updating.
4115 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4117 * src/hildon-window.c: When destroying the window, remove (if exists) the
4118 escape timeout handler. Fixes #NB59276.
4120 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4122 * src/hildon-banner.c: When realizing the widget, set the window
4123 transiency. Setting the transiency in the gobject constructor is not
4124 good, as the widget is not realized at that point. Fixes: #NB56624.
4126 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4128 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4129 Add padding for future expansions.
4131 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4133 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4134 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4135 will fake an activation on the previous to the last item of the trail, so
4136 the effect can be overrided by the developer as usual.
4137 Also change the callback for the back button to do the same thing, so its
4138 effect can be overrided too. Fixes: NB#58982
4140 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4142 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4143 HildonCaption. Fixes NB#52379.
4145 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4147 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4148 the internal state of the trail after the user has had the chance of executing
4149 his handler for the signal. Specifically, it may happen that the activated button
4150 is removed and the user still lets the default handler run. This would segfault
4153 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4155 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4156 scrollbar to the preview dialog. Fixes NB#54147.
4158 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4161 max/min year properties can be altered, so the client can modify it
4162 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4164 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4166 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4167 hildonlike by default. Fixing a problem with disappearing arrows when
4168 scrolling through months and years. Fixes NB#54127.
4170 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4172 * examples/hildon-date-editor-example.c: Adding error callback to the date
4175 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4181 * configure.ac: Updating.
4183 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4185 * configure.ac: Adding a special '--enable-xan' configure option that
4186 turns off the -Werror compilation setting. Usefull for development.
4188 * src/hildon-calendar.c:
4189 * src/hildon-number-editor.c:
4190 * src/hildon-time-picker.c: Adding the 5* multiplier to
4193 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4195 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4196 instead of g_object_ref + gtk_object_sink.
4198 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4204 * debian/changelog: Updating.
4206 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4208 * src/hildon-color-chooser-dialog.c:
4209 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4210 straight from Tommi labs.
4212 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4214 * examples/hildon-finger-example.c: Correcting the header file path.
4216 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4217 the changed signal. Fixes a small memory leak.
4219 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4223 * src/hildon-banner.c: Importing several usefull fixes from the
4224 ubuntu-mobile branch.
4226 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * examples/Makefile.am:
4229 * examples/hildon-finger-example.c: Adding a finger-checking code
4232 * src/hildon-font-selection-dialog.c: Do not allocate the color
4233 structure using the g_new. Fixes NB#54061.
4235 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * src/hildon-helper.c: Correcting tabs in file.
4239 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4241 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4242 control the visibility of the children.
4244 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4246 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4252 * debian/changelog: Updating.
4254 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4256 * src/hildon-bread-crumb-trail.c:
4257 (hildon_bread_crumb_trail_size_allocate):
4259 Make the back button always a square.
4261 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4263 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4264 from the .c file as it's a private file.
4266 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4268 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4269 uses slightly bigger height.
4271 * src/hildon-font-selection-dialog.c: Adding some checks before
4272 freeing memory in the font selection dialog.
4274 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4276 * src/hildon-font-selection-dialog.c: Adding a small check when
4279 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4280 buttons sensitivity on page switching.
4282 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4284 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4285 internal details of adding a bread crumb to the trail.
4287 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4293 * debian/changelog: Updating.
4295 * src/hildon-bread-crumb-trail.h:
4296 * src/hildon-bread-crumb.h: Changing the API guard to
4297 HILDON_ENABLE_UNSTABLE_API.
4299 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4307 * src/hildon-helper.h: Updating.
4309 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4321 * src/hildon-helper.h: Small fix to make the package actually compile.
4323 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4325 * src/hildon-bread-crumb-trail.h:
4326 * src/hildon-bread-crumb.h:
4328 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4329 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4331 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4333 * examples/hildon-bread-crumb-trail-example.c:
4335 * src/hildon-bread-crumb-trail.c:
4336 * src/hildon-bread-crumb-trail.h:
4337 * src/hildon-bread-crumb.c:
4338 * src/hildon-bread-crumb.h:
4339 * src/hildon-marshalers.list:
4340 * src/hildon-bread-crumb-widget.c:
4341 * src/hildon-bread-crumb-widget.h:
4343 Slight change in the widget design. The bread crumb trail API is
4344 unchanged, but HildonBreadCrumb is now an interface. A *private*
4345 implementation, hildon-bread-crumb-widget, is provided and used
4346 internally by the trail for the push_text/push_icon functions.
4348 The generic push API is still available, so anyone can implement
4349 and use its own bread crumb widget.
4351 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4353 * debian/rules: Fixing the shlibs.
4355 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4357 * src/hildon-banner.c: Fixing a problem with timed banners having
4358 their parrent destroyed before they are.
4360 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4362 * src/hildon-bread-crumb.c:
4363 * src/hildon-bread-crumb.h:
4365 Make the get_natural_size function a vfunc.
4367 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4369 * src/hildon-bread-crumb.c:
4370 * src/hildon-bread-crumb-trail.c:
4374 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4381 * debian/changelog: Updating for release.
4383 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4385 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4386 don't leak the pango layout.
4388 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4391 * examples/hildon-bread-crumb-trail-example.c:
4395 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4397 * debian/changelog: Removing the bug-fixed entries that were actually
4398 resolved as WONTFIX.
4400 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4403 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4405 * src/hildon-bread-crumb-trail.c:
4406 * src/hildon-bread-crumb-trail.h:
4407 * src/hildon-bread-crumb.c:
4408 * src/hildon-bread-crumb.h:
4412 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4414 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4415 until it's passed the type check.
4417 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4419 * examples/hildon-bread-crumb-trail-example.c
4423 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4425 * examples/Makefile.am
4426 * examples/hildon-bread-crumb-trail-example.c
4428 * src/hildon-bread-crumb-trail.c
4429 * src/hildon-bread-crumb-trail.h
4430 * src/hildon-bread-crumb.c
4431 * src/hildon-bread-crumb.h
4433 New HildonBreadCrumbTrail widget.
4435 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4437 * src/hildon-range-editor.c (hildon_range_editor_init),
4438 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4439 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4440 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4441 hildon_time_editor_class_init, hildon_time_editor_init),
4442 src/hildon-get-password-dialog.c (invalid_input,
4443 hildon_get_password_set_property, hildon_get_password_get_property,
4444 create_contents, hildon_get_password_dialog_set_max_characters),
4445 src/hildon-set-password-dialog.c (create_contents),
4446 src/hildon-date-editor.c (hildon_date_editor_init),
4447 src/hildon-login-dialog.c (hildon_login_dialog_init),
4448 src/hildon-number-editor.c (hildon_number_editor_init),
4449 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4450 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4451 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4452 configure option and adding the respective checks in the code.
4453 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4454 hildon_calendar_drag_data_received): fixed some build warnings.
4456 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4458 * debian/changelog: A 1.0.0 release notes.