1 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4 label font to "SmallSystemFont" for vertically arranged buttons.
6 Fixes: NB#90662 (HildonButton "value" and "detail" text is
9 2008-10-31 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-check-button.c
12 (hildon_check_button_set_active, hildon_check_button_clicked):
13 Don't access private parts directly, use getters instead.
15 2008-10-31 Alberto Garcia <agarcia@igalia.com>
17 * src/hildon-check-button.c (hildon_check_button_new):
18 Align the contents of the check button to the left.
20 2008-10-30 Alejandro G. Castro <alex@igalia.com>
22 * src/hildon-pannable-area.c,
23 (hildon_pannable_area_scroll_to),
24 (hildon_pannable_area_jump_to),
25 (hildon_pannable_area_scroll_to_child),
26 (hildon_pannable_area_jump_to_child): Replace the mapped
27 precondition of these functions with the realized, it is the
28 correct state of the widget in this case. Changed the
29 documentation according to this modification.
31 2008-10-30 Alejandro G. Castro <alex@igalia.com>
33 Added a new EXTRA_CFLAGS option to add the deprecated define to
34 the compilation command. This way we can avoid using the define in
35 the documentation compilation.
37 * configure.ac: Defined EXTRA_CFLAGS.
39 * examples/Makefile.am:
41 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
43 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
45 * src/hildon-picker-dialog.c:
46 Defined a utility macro with the desired touch selector height
47 Removed currently unused separator, and title_label variables from
49 (hildon_picker_dialog_init): Removed code related to the creation
50 of unused private variables title_label and separator.
51 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
52 to ensure correct visualization of the touch selector inside the dialog.
53 * src/hildon-touch-selector.c
54 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
55 ensure a concrete height of the widget.
57 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
62 Remove spurious whitespaces.
64 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
66 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
67 compilation warning after the cancel button removal.
69 2008-10-30 Alejandro G. Castro <alex@igalia.com>
71 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
73 * configure.ac: Added an AM_CONDITIONAL in order to use in the
74 Makefile.am, that way we can choose not to compile some examples
75 and tests of the deprecated widgets.
77 * examples/Makefile.am: Divided the sources in deprecated and
80 * src/Makefile.am: Added undef statement of the deprecated
81 symbol to the enums file generation process.
83 * src/hildon-color-chooser-dialog.c
84 * src/hildon-color-chooser-dialog.h
85 * src/hildon-color-button.c
86 * src/hildon-color-button.h
87 * src/hildon-color-chooser.c
88 * src/hildon-color-chooser.h
89 * src/hildon-controlbar.c
90 * src/hildon-controlbar.h
91 * src/hildon-date-editor.c
92 * src/hildon-date-editor.h
93 * src/hildon-hvolumebar.c
94 * src/hildon-hvolumebar.h
95 * src/hildon-private.c
96 * src/hildon-private.h
97 * src/hildon-range-editor.c
98 * src/hildon-range-editor.h
99 * src/hildon-seekbar.c
100 * src/hildon-seekbar.h
101 * src/hildon-time-editor.c
102 * src/hildon-time-editor.h
103 * src/hildon-time-picker.c
104 * src/hildon-time-picker.h
105 * src/hildon-volumebar.c
106 * src/hildon-volumebar.h
107 * src/hildon-vvolumebar.c
108 * src/hildon-vvolumebar.h
109 * src/hildon-bread-crumb-trail.h
110 * src/hildon-bread-crumb-trail.c
111 * src/hildon-calendar-popup.c
112 * src/hildon-calendar-popup.h
113 * src/hildon-weekday-picker.c:
114 * src/hildon-weekday-picker.h:
115 * src/hildon-bread-crumb-widget.c:
116 * src/hildon-bread-crumb-widget.h:
117 * src/hildon-bread-crumb.c:
118 * src/hildon-bread-crumb.h:
119 * src/hildon-calendar.c:
120 * src/hildon-calendar.h:
121 * src/hildon-caption.c:
122 * src/hildon-code-dialog.c:
123 * src/hildon-code-dialog.h:
124 * src/hildon-font-selection-dialog.c:
125 * src/hildon-font-selection-dialog.h:
126 * src/hildon-get-password-dialog.c:
127 * src/hildon-get-password-dialog.h:
128 * src/hildon-login-dialog.c:
129 * src/hildon-login-dialog.h:
130 * src/hildon-number-editor.c:
131 * src/hildon-number-editor.h:
132 * src/hildon-set-password-dialog.c:
133 * src/hildon-set-password-dialog.h:
134 * src/hildon-sort-dialog.c:
135 * src/hildon-sort-dialog.h: This is the list of deprecated
138 * src/hildon-touch-selector.c:
139 * src/hildon-window.c: Added undef statement to avoid compilation
142 * tests/Makefile.am: Divided the sources in deprecated and
145 * tests/check_test.c,
146 (configure_tests): Marked the deprecated code that was adding
147 suites with deprecated tests.
149 Fixes: NB#91135 (Deprecate legacy hildon widgets)
151 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-touch-selector.c: (_default_print_func): Do not
154 duplicate a string returned by gtk_tree_model_get(), it is already
157 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
160 2008-10-28 Alejandro G. Castro <alex@igalia.com>
162 * src/hildon-pannable-area.c
163 (hildon_pannable_area_add_with_viewport): Reviewed the complete
164 method, it had problems when adding a widget with viewport the
165 second time. Now checks if it already has a viewport and uses it.
167 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
170 2008-10-28 Alejandro G. Castro <alex@igalia.com>
172 * src/hildon-pannable-area.c,
173 (hildon_pannable_area_scroll_to),
174 (hildon_pannable_area_jump_to),
175 (hildon_pannable_area_scroll_to_child),
176 (hildon_pannable_area_jump_to_child): Added a precondition to the
177 scroll and jump to functions: the widget must be mapped before we
178 can safely call these functions. We have also added documentation
179 to the functions to explain how to use them in this situation.
182 2008-10-28 Alejandro G. Castro <alex@igalia.com>
184 Reviewed the threading handling of the pannable widget, we have
185 used the gdk_threads_add_timeout function instead of the usual
186 glib handlers. This avoids some problems with the threads.
188 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
189 (hildon_pannable_area_initial_effect),
190 (hildon_pannable_area_scroll_indicator_fade),
191 (hildon_pannable_area_button_press_cb),
192 (hildon_pannable_area_timeout),
193 (hildon_pannable_area_motion_notify_cb),
194 (hildon_pannable_area_button_release_cb),
195 (hildon_pannable_area_scroll_cb),
196 (hildon_pannable_area_scroll_to): Removed the
197 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
198 gdk_threads_add_timeout.
200 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
202 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: bump version
208 * debian/changelog: updates
210 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
213 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
214 * src/hildon-color-chooser-dialog.c:
215 (hildon_color_chooser_dialog_init):
216 * src/hildon-font-selection-dialog.c:
217 (hildon_font_selection_dialog_init):
218 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
220 Remove all cancel/close-like dialogs, as these are not going to be
223 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
225 * src/hildon-note.c: (hildon_note_rebuild),
226 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
229 Fixes: NB#90661 (Delete dialog is displayed without NO button)
231 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
233 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
234 sure all buttons are shown, even the Cancel/Close-like ones.
236 Fixes: NB#90861 (Custom Confirmation dialogs should be
237 protected from cancel button removal)
239 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
241 * debian/control: Change libhildon1-examples dependency from libhildon1
243 * debian/libhildon1-examples.install
245 * Makefile.am: Modified the final install directory for the examples on
246 package libhildon1-examples
247 * Makefile.static: Update clean target in order to remove all the binary
250 Changes suggested by Claudio after review new libhildon1-examples package
252 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
254 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
255 * src/hildon-touch-selector.c: Ditto.
257 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
259 * debian/control: Added new package libhildon1-examples, in order to pack
260 the current hildon examples as documentation
261 * debian/rules: Not to compress .c files, modify some includes on the
262 examples (as normally are compiled locally, but when installed it will
263 require to include the installed libhildon1 library), and rename
265 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
266 install all the example files on the new example package
267 * examples/Makefile.static: Added static makefile that can be used to
268 compile the examples, once installed the new example package
269 * examples: Most of the examples were modified in order to grant that
270 all use only '#include "hildon.h"', in order to be easy to prepare
271 it on the example package
273 2008-10-23 Alberto Garcia <agarcia@igalia.com>
276 * debian/libhildon1-dev.install
277 * debian/libhildon1-doc.install:
278 Move all gtk-doc files to a separate libhildon1-doc package.
280 2008-10-23 Daniel Borgmann <danielb@openismus.com>
282 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
284 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
286 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
288 * debian/rules: Fixed a error in order to avoid unnecessary calls
289 to autogen.sh on package building
291 2008-10-22 Alberto Garcia <agarcia@igalia.com>
293 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
295 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
297 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
300 2008-10-21 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-picker-button.c
303 (hildon_picker_button_finalize):
304 Free priv->done_button_text
306 * src/hildon-time-button.c
307 (hildon_time_button_set_time)
308 * src/hildon-picker-button.c
309 (hildon_picker_button_clicked)
310 (hildon_picker_button_selector_selection_changed)
311 (hildon_picker_button_set_selector)
312 * src/hildon-date-button.c
313 (hildon_date_button_set_date):
314 Free strings returned by hildon_touch_selector_get_current_text()
316 * src/hildon-button.c (hildon_button_construct_child):
317 Fix leaks in priv->image and priv->label_box
319 Fixes: NB#90535 (Memory leak in picker button)
321 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
323 * src/hildon-button.c: (hildon_button_get_property): Do not access
324 private elements directly, use getters instead.
326 2008-10-20 Alberto Garcia <agarcia@igalia.com>
328 * src/hildon-app-menu-private.h
329 * src/hildon-app-menu.c
330 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
331 Store the menu's parent window.
333 * src/hildon-stackable-window.c
334 (hildon_stackable_window_toggle_menu)
335 (hildon_stackable_window_finalize):
336 Set the menu's parent window when the menu is shown, unset it when
339 * src/hildon-app-menu.c
340 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
341 (hildon_app_menu_class_init):
342 Send unhandled keyboard accelerators to the parent window.
344 2008-10-20 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-stackable-window.c
347 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
349 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
351 * configure.ac: post release version bump
353 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
356 * configure.ac: Bump version
357 * debian/changelog: Updates
358 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
361 2008-10-20 Alberto Garcia <agarcia@igalia.com>
363 Patch contributed by Daniel Borgmann (danielb@openismus.com)
366 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
367 GtkMenu with Hildon style.
369 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
371 * src/hildon-picker-button.c:
372 (hildon_picker_button_set_done_button_text): Set the dialog's
373 done button text here as well.
375 Fixes: NB#90232 (Picker button does not set the label on done button
378 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
380 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
383 2008-10-16 Alberto Garcia <agarcia@igalia.com>
385 * src/hildon-app-menu.c (hildon_app_menu_insert)
386 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
387 the HildonAppMenu to be activatable using keyboard accelerators
388 when the menu is not being shown.
390 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
392 2008-10-16 Alberto Garcia <agarcia@igalia.com>
394 * src/hildon-stackable-window.c
395 (hildon_stackable_window_show):
396 Don't hide old windows automatically when new windows are shown:
397 this is now a task for the window manager.
398 (hildon_stackable_window_class_init)
399 (hildon_stackable_window_hide):
400 Remove windows from the stack everytime they're hidden.
401 (hildon_stackable_window_realize):
402 Don't change the _NET_WM_WINDOW_TYPE property. Use
403 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
404 it as a stackable window.
406 * src/hildon-program.c
407 (hildon_program_pop_window_stack):
408 Just hide the window to remove it from the stack.
409 (hildon_program_go_to_root_window):
410 Don't call gtk_widget_show(), this is now a task for the window
413 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
415 2008-10-15 Alberto Garcia <agarcia@igalia.com>
417 * src/hildon-button.c
418 (hildon_button_construct_child):
419 Don't pack anything in the button until text or image are
420 set. This allows adding a custom child after creating the button
421 with hildon_button_new().
422 (hildon_button_finalize, hildon_button_class_init)
423 (hildon_button_init, hildon_button_set_arrangement): Destroy the
424 alignment and the label box even when they're not packed in the
427 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
429 * src/hildon-touch-selector.h:
430 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
431 currently the type definition was using GTK_TYPE_VBOX
432 * src/hildon-touch-selector.c:
433 Added some implementation notes in order to clarify that any other widget
434 added without the column related API will not be included on the
435 selection logic, and how the widget is freed, as some people ask about
437 (hildon_touch_selector_remove): Reimplemented in order to free properly
438 the column related data when you remove the private hbox.
439 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
440 to get a proper HildonTouchSelectorColumn documentation
442 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
444 * src/hildon-touch-selector-entry.c:
445 (hildon_touch_selector_entry_print_func): Return NULL if there is no
446 text in the GtkEntry and there is no item selected. Fixes a
449 2008-10-13 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-app-menu-private.h
452 * src/hildon-app-menu.[ch]
453 * src/hildon-button.[ch]
454 * src/hildon-check-button.[ch]
455 * src/hildon-entry.[ch]
456 * src/hildon-pannable-area.[ch]
457 * src/hildon-text-view.[ch]:
458 Added private field to the object's structure.
460 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: post-release version bump
464 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
468 * configure.ac: pre-release version bump
470 * debian/changelog: updates.
472 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
474 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
475 Disconnect the handler for HildonTouchSelector::changed.
477 (hildon_picker_button_selector_selection_changed): Update the button
478 value if the selection change was not triggered by the
481 (hildon_picker_button_set_selector): connect to
482 HildonTouchSelector::changed.
484 Fixes: NB#89650 (Picker button is not updated, when selection in
485 selector has changed)
487 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
489 * src/hildon-picker-dialog.c
490 (hildon_picker_dialog_realize): Removed as not required
491 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
492 * src/hildon-picker-button.c
493 (_current_selector_empty): New function, checks if the selector is empty
494 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
495 if the current selector is empty, in order to avoid to show the dialog
496 close the dialog in this case (and shows a g_warning).
498 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
500 2008-10-09 Alejandro G. Castro <alex@igalia.com>
502 * src/hildon-pannable-area.c,
503 (hildon_pannable_area_scroll): Added clause to stop movement when
504 the child of pannable is smaller than one page.
505 (hildon_pannable_area_scroll_to): Added conditions to avoid
506 starting the scrolling movement if the child is smaller than one
507 page, the complete child is in the screen, we do not have to move.
509 Fixes: NB#89632 (Picker button selection doesn't change on first click)
511 2008-10-09 Alberto Garcia <agarcia@igalia.com>
513 * src/hildon-app-menu.c: Removed the 'columns' property, as now
514 this is managed automatically by the widget when the size of the
517 2008-10-09 Alberto Garcia <agarcia@igalia.com>
519 * src/hildon-picker-button.c
520 (hildon_picker_button_set_done_button_text): Make a copy of the
521 text, and free the previous value.
523 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
525 * src/hildon-touch-selector-entry.c:
526 (hildon_touch_selector_entry_print_func): Return the selected row's
527 text if the entry is empty.
529 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
532 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
534 * src/hildon-touch-selector-entry.c: Minor docs fixes.
536 2008-10-09 Alberto Garcia <agarcia@igalia.com>
539 * src/hildon-check-button.h
540 * src/hildon-check-button.c
541 * examples/hildon-check-button-example.c:
542 HildonCheckButton is now a new widget. 'toggled' signal added.
544 2008-10-08 Alberto Garcia <agarcia@igalia.com>
546 * src/hildon-program-private.h
547 * src/hildon-program.c (hildon_program_init)
548 (hildon_program_finalize): Removed unused variables group_leader
549 and name from HildonProgramPrivate.
551 2008-10-08 Alberto Garcia <agarcia@igalia.com>
553 * src/hildon-check-button.c (hildon_check_button_set_active)
554 (hildon_check_button_get_active, hildon_check_button_new): Use
555 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
557 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
559 * src/hildon-touch-selector.h
560 (hildon_touch_selector_set_column_attributes): added deprecation
561 guard HILDON_DISABLE_DEPRECATED
562 * src/hildon-time-selector.c
563 (hildon_time_selector_set_time)
564 (hildon_time_selector_get_time): Fixed a typo on documentation
565 * src/hildon-touch-selector.c: update HildonTouchSelector and
566 HildonTouchSelectorColumn documentation
567 * src/hildon-touch-selector-entry.c: update "text-column" property
569 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
570 to be added to the general documentation.
572 2008-10-08 Alejandro G. Castro <alex@igalia.com>
574 * examples/hildon-pannable-area-example-4.c,
576 * examples/hildon-pannable-area-example.c,
577 (main): Modified the code in order to use the container add, with
578 viewport treeviews could have problems if they are really big.
580 2008-10-06 Alejandro G. Castro <alex@igalia.com>
582 * src/hildon-weekday-picker.c,
583 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
584 the agreement regarding deprecation in the library.
586 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
588 * examples/hildon-picker-button-multicolumn-example.c:
589 (main): Use custom "done" button text.
591 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
592 (hildon_picker_button_set_property),
593 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
594 (hildon_picker_button_init),
595 (+hildon_picker_button_get_done_button_text),
596 (+hildon_picker_button_set_done_button_text): New methods to customize
597 the "done" button label in the launched HildonPickerDialog. Also,
600 * src/hildon-picker-button.h: add the public API.
602 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
604 * src/hildon-date-selector.h:
605 * src/hildon-picker-dialog.h:
606 * src/hildon-time-selector.h:
607 * src/hildon-touch-selector-column.h:
608 * src/hildon-touch-selector.h:
610 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
611 declarations. Fixes gtk-doc warnings.
613 2008-10-06 Alberto Garcia <agarcia@igalia.com>
615 * src/hildon-picker-dialog.h
616 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
617 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
619 Fixes: NB#89329 (selectors in picker dialog are not visible when a
620 long text is set as label for done button)
622 2008-10-06 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-dialog.c (hildon_dialog_add_button):
625 Set fixed width to all buttons in the HildonDialog.
627 2008-10-06 Alberto Garcia <agarcia@igalia.com>
629 Patch contributed by Daniel Borgmann (danielb@openismus.com)
631 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
632 Set widget name using class name plus "-finger" or "-thumb".
634 2008-10-03 Alberto Garcia <agarcia@igalia.com>
636 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
637 'clicked' when the state of the button is manually changed.
639 2008-10-02 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-app-menu.c (hildon_app_menu_realize)
642 (hildon_app_menu_unrealize, hildon_app_menu_init)
643 (hildon_app_menu_class_init, item_visibility_changed):
644 Change the menu layout when the size of the screen changes.
645 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
646 Show warning only when changing the number of colums using the
649 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
651 * debian/compat: Set to 5
652 * debian/control: Update dependencies.
653 * debian/libhildon1-dbg.install: Remove.
654 * debian/libhildon1-dev.install: Update according to cdbs paths.
655 * debian/libhildon1.install: Update according to cdbs paths.
656 * debian/rules: Switch to cdbs.
658 2008-10-01 Alberto Garcia <agarcia@igalia.com>
660 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
661 'item' variable renamed to 'filter'
663 2008-10-01 Alberto Garcia <agarcia@igalia.com>
665 * src/hildon-app-menu.c (hildon_app_menu_insert)
666 (hildon_app_menu_add_filter, remove_item_from_list)
667 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
668 Don't leak hidden items when the menu is destroyed.
670 2008-10-01 Alberto Garcia <agarcia@igalia.com>
672 * src/hildon-app-menu.c (hildon_app_menu_insert)
673 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
674 (hildon_app_menu_set_columns, item_visibility_changed)
675 (filter_visibility_changed, hildon_app_menu_repack_filters)
676 (hildon_app_menu_repack_items):
677 Repack items and filters separately.
679 Don't repack all items, change only the ones that are needed to
682 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
684 * src/Makefile.am: added hildon-touch-selector-column.h
686 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
688 * src/hildon-touch-selector.c: added the property "text-column" to the
689 class HildonTouchSelectorColumn, and related get/set functions
690 (_default_printf_func): updated to use "text-column" property
691 * src/hildon-touch-selector-entry.c: mark as deprecated the property
692 "text-column" in his documentation, as this is now included on
693 HildonTouchSelectorColumn. The get/set_property can still be used,
694 working as a wrapper to the concrete column "text-column" property
695 (_text_column_modified): callback added in order to handle the signal
696 "notify::text-column" of the concrete HildonTouchSelectorColumn
697 (hildon_touch_selector_entry_get_text_column)
698 (hildon_touch_selector_entry_set_text_column): Added documentation, and
699 modified in order to use the HildonTouchSelectorColumn "text-column"
701 * src/hildon-time-selector.c:
702 * src/hildon-date-selector.c:
703 * examples/hildon-touch-selector-example.c
704 * examples/hildon-touch-selector-multi-cells-example.c
705 * examples/hildon-picker-button-multicolumn-example.c
706 Set the right value to "text-column" property on the creation of a new
707 column using hildon_touch_selector_append_column()
709 Fixes: NB#88644 (Hardcoded first column of the model as text column)
711 2008-09-30 Alberto Garcia <agarcia@igalia.com>
713 * src/hildon-app-menu.c
714 (hildon_app_menu_construct_child, hildon_app_menu_init): When
715 updating the layout of the menu, don't create all widgets again,
716 just repack the items in their new places.
718 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
720 * src/hildon-time-selector.c
721 (hildon_time_selector_get_time)
722 (hildon_time_selector_set_time)
723 Added documentation of these public methods
725 * src/hildon-date-button.h
726 * src/hildon-touch-selector-column.h
727 * src/hildon-time-button.h
728 * src/hildon-picker-dialog.h
729 * src/hildon-time-selector.h
730 * src/hildon-picker-button.h
731 * src/hildon-touch-selector.h
732 * src/hildon-time-picker.h
733 * src/hildon-date-selector.h
734 * src/hildon-touch-selector-entry.h
735 Modified in order to use hildon-widgets code style
737 2008-09-30 Alejandro G. Castro <alex@igalia.com>
739 Added deprecated support to the compilation process using
740 HILDON_DISABLE_DEPRECATED
742 * configure.ac: Added the --disable-deprecated to the configure
745 * src/hildon-weekday-picker.c:
746 * src/hildon-weekday-picker.h: Deprecated widget, example of how
747 to use the deprecated support. We will update the other deprecated
748 widgets status in a new patch.
750 2008-09-30 Alejandro G. Castro <alex@igalia.com>
752 * configure.ac: Fixed typo with fatal warnings support, the
753 variable name was not correct
755 2008-09-29 Alberto Garcia <agarcia@igalia.com>
757 * src/hildon-app-menu.c
758 * src/hildon-program.c: Update documentation.
760 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
762 * configure.ac: Post-release version bump.
764 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: Pre-release version bump.
770 * debian/changelog: Updates.
772 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
774 * NEWS: Update news for previous releases.
776 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
778 * examples/hildon-touch-selector-multi-cells-example.c:
779 (create_selector): Update the example to use
780 hildon_touch_selector_append_column() with a NULL renderer and set
782 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
783 passed a NULL renderer. This is documented behavior now.
785 Allow passing a NULL renderer to hildon_touch_selector_append_column().
786 This must be used if the developer wants full control on the layout of
787 the renderers to be added to the column.
789 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
791 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
793 * src/hildon-touch-selector.c: Documentation fixes.
795 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
797 * src/hildon-wizard-dialog-private.h: Remove image and box.
798 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
799 (hildon_wizard_dialog_set_property), (response): Completely remove
800 image/icon support, and the containers required for the layout.
802 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
804 2008-09-25 Alberto Garcia <agarcia@igalia.com>
806 * src/hildon-app-menu.c: Updated documentation.
808 * src/hildon-stackable-window.c
809 (hildon_stackable_window_set_main_menu): Unref the old menu after
812 2008-09-25 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-stackable-window.c
815 (hildon_stackable_window_set_main_menu): Unref the previous menu
816 instead of destroying it.
818 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
819 floating reference and set has_user_ref_count to FALSE to make
820 HildonAppMenu act like a normal ref-counted widget and not a
823 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
826 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
828 * src/hildon-touch-selector-column.h: new file
829 * src/hildon-touch-selector.h
830 * src/hildon-touch-selector.c
831 Implemented GtkCellLayout interface, in order to allow to configure
832 the cell layout on each individual selector column
833 (hildon_touch_selector_set_column_attributes): marked as deprecated
834 * examples/hildon-touch-selector-multi-cells-example.c
835 Example of how to use the GtkCellLayout interface on the selector
837 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
839 2008-09-24 Alberto Garcia <agarcia@igalia.com>
841 * src/hildon-app-menu.h
842 * src/hildon-app-menu.c
843 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
844 (hildon_app_menu_append, hildon_app_menu_prepend):
845 New methods to prepend, insert and move items in the menu.
847 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-wizard-dialog.c:
851 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
853 (create_title): Update logical IDs and related code.
854 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
856 * src/hildon-wizard-dialog.h: Note that
857 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
858 point, as it is not used anymore.
860 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
862 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
865 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
866 shown. Do not display an icon in confirmation notes nor information
868 (hildon_note_set_button_text): Update logical ID for cancel button.
870 Fixes: NB#88850 (Update HildonNote button strings + signals)
872 2008-09-24 Alberto Garcia <agarcia@igalia.com>
874 * src/hildon-stackable-window.c
875 (hildon_stackable_window_set_main_menu): Fix compilation warning.
877 2008-09-24 Alberto Garcia <agarcia@igalia.com>
879 * src/hildon-app-menu-private.h
880 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
881 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
882 (hildon_app_menu_init, hildon_app_menu_class_init): Added
883 temporary property 'columns' to change the number of columns.
885 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
887 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
889 * examples/hildon-note-example.c: (on_information_clicked),
890 (on_confirmation_clicked), (on_progress_clicked), (main): Add
891 debugging information.
892 * src/hildon-note-private.h: Remove close_if_pressed_outside,
894 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
895 (hildon_note_rebuild): Remove special handling of tapping outside/inside
896 in order to close: this will be handled by the WM from now on.
898 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
900 2008-09-24 Alberto Garcia <agarcia@igalia.com>
902 * src/hildon-app-menu-private.h
903 * src/hildon-app-menu.c
904 (hildon_app_menu_append, hildon_app_menu_add_filter)
905 (button_visibility_changed, hildon_app_menu_apply_style)
906 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
907 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
908 layout everytime a button (item or filter) is shown or hidden.
910 * src/hildon-stackable-window.c
911 (hildon_stackable_window_set_main_menu): Destroy the old menu when
914 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
916 * src/hildon-touch-selector.c:
917 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
918 that the treeview inside the touch selector is in fremantle hildon mode
919 * examples/hildon-date-button-example.c
920 * examples/hildon-picker-button-multicolumn-example.c
921 * examples/hildon-touch-selector-entry-example.c
922 * examples/hildon-touch-selector-example.c
923 * examples/hildon-time-button-example.c
924 * examples/hildon-picker-button-example.c:
925 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
927 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
929 * examples/hildon-text-view-example.c: (main): Remove the
930 gtkrc bits, now handled by the theme.
932 2008-09-22 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-picker-button.c (hildon_picker_button_set_active):
937 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
939 * po/Makefile.am: Install properly the mo files.
940 * po/en_GB.po: Update translation, to ease testing purposes.
942 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
944 * examples/hildon-picker-button-example.c: (main): Select an item
945 in the selector before setting it to the button.
947 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
949 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
950 Update button's value if the selector has an item active.
952 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
953 'value' with the selector)
955 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
957 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
958 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
959 (hildon_picker_button_class_init): Plug the finalize method.
960 (hildon_picker_button_set_selector): If there's a previously set
961 selector, unref'it before setting a new one.
963 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
966 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
968 * src/hildon-touch-selector-entry.c:
969 (hildon_touch_selector_entry_changed): Check if there is no text
970 selected before setting the entry text.
973 2008-09-15 Alberto Garcia <agarcia@igalia.com>
975 * src/hildon-touch-selector.h
976 * src/hildon-touch-selector.c
977 (hildon_touch_selector_get_active)
978 (hildon_touch_selector_set_active): New methods to set/get the
979 index of the selected item.
981 * src/hildon-picker-button.h
982 * src/hildon-picker-button.c
983 (hildon_picker_button_get_active)
984 (hildon_picker_button_set_active): New methods to set/get the
985 index of the selected item.
987 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
989 * configure.ac: post-release version bump.
991 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
995 * configure.ac: Pre-release version bump.
996 * debian/changelog: Updates.
997 * debian/control: Add myself as maintainer and depend on l10n
1000 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-window.c
1003 (hildon_window_set_main_menu)
1004 * src/hildon-stackable-window.c
1005 (hildon_stackable_window_set_main_menu):
1006 Updated documentation.
1008 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1011 Don't free selector->priv manually.
1014 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1017 (hildon_gtk_window_set_progress_indicator):
1018 * src/hildon-gtk.h: Added the new API
1019 hildon_gtk_window_set_progress_indicator, it changes the state of
1020 the window progress hint.
1022 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-button.c
1025 * src/hildon-stackable-window.c: Minor documentation updates.
1027 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-stackable-window.c: Updated documentation.
1031 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-defines.h: Update margins definitions
1034 to the Fremantle sizes.
1037 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1039 * src/hildon-touch-selector.c,
1040 (_hildon_touch_selector_set_model): Cleaning the code after
1041 review, removed g_print and #if 0 from the code.
1043 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-edit-toolbar.c: Update documentation.
1047 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1049 * src/hildon-check-button.h
1050 * src/hildon-check-button.c
1051 (hildon_check_button_set_label, hildon_check_button_get_label)
1052 * examples/hildon-check-button-example.c
1053 (button_clicked_cb):
1054 Removed deprecated methods.
1056 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1058 * src/hildon-text-view.c:
1059 Add sample code to the documentation.
1061 * src/hildon-entry.h
1062 * src/hildon-text-view.h:
1063 Minor cosmetic changes.
1065 * src/hildon-entry.c:
1066 Add sample code to the documentation.
1067 (hildon_entry_init, hildon_entry_refresh_contents):
1068 Don't allow NULL values in the placeholder.
1070 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1072 * doc/hildon-docs.sgml
1074 * examples/Makefile.am
1075 * examples/hildon-text-view-example.c
1077 * src/hildon-text-view.c
1078 * src/hildon-text-view.h
1080 New HildonTextView widget, with example.
1082 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1084 * po/POTFILES.in: Add missing files with translatable strings.
1085 Partially fixes NB#88287.
1087 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1089 * examples/hildon-pannable-area-example-2.c: (main): No need to
1090 set the cellrenderer height inside hildon touch lists, the theme does
1093 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1095 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1096 they are integrated in the theme.
1098 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1100 * examples/hildon-entry-example.c: Update the example adding
1101 widgets to modify the text and the placeholder of the HildonEntry.
1103 * src/hildon-entry.c: Show the placeholder everytime the widget
1104 is empty and loses the focus.
1106 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1108 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1110 * src/hildon-pannable-area.c,
1111 (hildon_pannable_area_size_request): Fixed bug in height
1112 requisition, avoid increasing size and add border twice.
1114 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1116 * configure.ac: postrelease version bump.
1118 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1122 * configure.ac: Prerelease version bump.
1123 * debian/changelog: update.
1124 * debian/rules: make -dbg package contain useful debugging symbols.
1126 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-dialog.h
1129 * src/hildon-dialog.c
1130 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1131 New methods to add buttons with finger size.
1132 (hildon_dialog_new_with_buttons):
1133 Create buttons with finger size.
1135 * examples/hildon-dialog-example.c (main): Use HildonDialog
1136 methods to add buttons.
1138 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-entry.c: Updated HildonButton documentation.
1142 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1145 button value label with (FALSE, FALSE) to prevent NB#88126 from
1148 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1150 * examples/hildon-pannable-area-example.c,
1151 (main): Removed examples panning a vbox inside a pannable
1152 area. Check bug NB#87965
1154 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1156 Patch contributed by Kris Rietveld (kris@imendio.com)
1158 * src/hildon-pannable-area.c,
1159 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1160 get_size and get_position, this saves an X server roundtrip.
1162 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1164 * doc/hildon-docs.sgml
1166 * examples/Makefile.am
1167 * examples/hildon-entry-example.c
1169 * src/hildon-entry.c
1170 * src/hildon-entry.h
1172 New HildonEntry widget, with example.
1174 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-button.c (hildon_button_construct_child): Pack the
1177 image with expand == fill == FALSE. This is a workaround for a bug
1180 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1182 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1183 labels for the text column, to make it more look more dynamic.
1185 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1187 * src/hildon-time-selector.c
1188 Define gettext auxiliar macro N_
1189 (_create_minutes_model)
1190 (_create_hours_model)
1191 (_create_ampm_model): use of strftime in order to fill the model
1192 * src/hildon-date-selector.c
1193 (hildon_date_selector_finalize):
1194 (_locales_init): remove the logic related to get the name of the months
1195 using nl_langinfo, as it is not required anymore
1197 (_create_year_model)
1198 (_create_month_model)
1199 (_update_day_model): use of strftime in order to fill the model properly
1202 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-button.h
1205 * src/hildon-button.c (hildon_button_get_image): New method to
1208 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1210 * src/hildon-touch-selector.c:
1211 (hildon_touch_selector_remove_column): Remove from the correct parent
1212 and also remove the list element and free it.
1215 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1217 * src/hildon-time-selector.c
1218 (_create_hours_model): change the range on 12h ampm format in order to use
1219 a 12-11 range instead of previous 01-12 range
1220 (hildon_time_selector_set_time): change the way to select the current time
1221 on 12h ampm format, due the change on the range
1222 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1225 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1227 * src/hildon-touch-selector.c
1228 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1229 in order to allow use this function on multiple row selection mode if
1230 the column is different that the first one
1233 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1235 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1236 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1238 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1240 * src/hildon-date-selector.h: clean some comments, now on the .c
1241 * src/hildon-date-selector.c
1242 (hildon_date_selector_select_month): first implementation
1243 (hildon_date_selector_select_day): added documentation, reimplemented
1244 using hildon_date_selector_select_current_date to avoid repeat code
1247 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1249 Reviewed interaction logic based on device experiences, refactored
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_class_init): Updated default vmax speed.
1254 (hildon_pannable_area_calculate_velocity): Added this function, it
1255 avoids duplicate valocity calculation. Adjusted calculation to
1256 avoid problems with zero dist events.
1258 (hildon_pannable_area_motion_notify_cb): Now we use the
1259 calculate_velocity function.
1261 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1263 * src/hildon-date-selector.c
1264 (hildon_date_selector_select_current_date): fix the day range check
1265 as it failed using the last day of the current month
1268 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1270 * src/hildon-touch-selector.c
1271 (hildon_touch_selector_get_num_columns): added a parameter validation
1274 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1276 * examples/Makefile.am
1277 * examples/hildon-edit-toolbar-example.c: Example of the
1278 HildonEditToolbar widget.
1280 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1282 * configure.ac: postrelease version bump.
1284 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1288 * configure.ac: prerelease version bump.
1289 * debian/changelog: update.
1291 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1293 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1294 renderer to display stock icons in the touch list. Also, set the sizes
1295 to the recommended in the style guide.
1297 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1298 * src/hildon-touch-selector.h
1299 (hildon_touch_selector_set_active_iter): renamed, now is
1300 hildon_touch_selector_select_iter
1301 (hildon_touch_selector_get_active_iter): renamed, now is
1302 hildon_touch_selector_get_selected
1303 (hildon_touch_selector_unselect_iter): added
1304 * src/hildon-touch-selector.c
1305 Update after API modification (methods renamed)
1306 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1307 order to avoid problems selecting multiple elements on the column
1308 (hildon_touch_selector_unselect_iter): added the implementation
1309 * src/hildon-time-selector.c
1310 * src/hildon-date-selector.c
1311 * src/hildon-touch-selector-entry.c
1312 Update methods calls after hildon-touch-selector.h API modification (methods
1315 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-stackable-window.c
1318 (hildon_stackable_window_finalize): Call the parent class's finalize.
1320 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1322 * examples/hildon-touch-selector-example.c: (create_selector): Use
1323 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1326 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1328 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1329 set a cell background color, to respect theming.
1331 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1333 * doc/hildon-docs.sgml
1336 * src/hildon-edit-toolbar.c
1337 * src/hildon-edit-toolbar.h
1338 * src/hildon.h: New HildonEditToolbar widget.
1340 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1342 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1345 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1346 * src/hildon-touch-selector.c
1347 (_create_new_column): use g_object_set instead of two g_object_set_property
1349 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1350 * src/hildon-touch-selector.c
1351 (_create_new_column): use of hildon_gtk_tree_view_new to create
1352 the treeview, instead of use directly g_object_new
1353 (_create_new_column): update the property name "vindicator-mode" for the
1354 new one "vscrollbar-policy"
1355 * examples/hildon-date-button-example.c
1356 * examples/hildon-picker-button-multicolumn-example.c
1357 * examples/hildon-touch-selector-entry-example.c
1358 * examples/hildon-touch-selector-example.c
1359 * examples/hildon-time-button-example.c
1360 * examples/hildon-picker-button-example.c
1361 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1362 to all the treeviews inside a pannable area.
1364 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-button.h
1367 * src/hildon-button.c (hildon_button_init)
1368 (hildon_button_set_arrangement, hildon_button_set_alignment)
1369 (hildon_button_set_title_alignment)
1370 (hildon_button_set_value_alignment)
1371 (hildon_button_set_image_alignment)
1372 (hildon_button_construct_child): New methods to set the alignment
1373 of the individual components of the button (title, value,
1374 image). Also, new method to alter the xscale and yscale properties
1375 of the GtkAlignment inside the button, so more complex layouts can
1378 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-button.c (hildon_button_style_set)
1381 (hildon_button_class_init, hildon_button_set_arrangement)
1382 (hildon_button_construct_child): Apply style properties
1383 correctly. Use the 'image-spacing' style property too.
1385 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1388 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1391 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1393 * src/hildon-pannable-area.c,
1394 (hildon_pannable_area_size_request): Fixed problem with
1395 pannable-area size_request.
1397 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1399 Added management for the grab-focus to a child widget, like a
1400 range, we need to fade out the scrollbar when releasing.
1402 * src/hildon-pannable-area.c,
1403 (hildon_pannable_area_init): Connected the grab-focus signal to
1405 (hildon_pannable_area_grab_notify): Added this function in order
1406 to manage the situation when the grab-focus ends. We have to
1407 fade-out the scrollbar.
1409 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1411 * src/hildon-app-menu.c: Minor documentation update.
1413 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-app-menu.c
1416 * examples/hildon-app-menu-example.c (create_menu): Update
1417 examples and documentation to explain how to connect callbacks.
1419 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1421 * examples/hildon-button-example.c
1422 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1423 hildon_stackable_window_new instead of gtk_window_new
1425 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1427 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1428 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1429 (hildon_pannable_area_set_property),
1430 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1431 (hildon_pannable_area_unrealize),
1432 (hildon_pannable_area_size_request),
1433 (hildon_pannable_area_size_allocate),
1434 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1435 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1436 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1437 (hildon_pannable_area_initial_effect),
1438 (hildon_pannable_area_redraw),
1439 (hildon_pannable_area_scroll_indicator_fade),
1440 (hildon_pannable_area_expose_event),
1441 (hildon_pannable_area_get_topmost), (synth_crossing),
1442 (hildon_pannable_area_button_press_cb),
1443 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1444 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1445 (hildon_pannable_area_motion_notify_cb),
1446 (hildon_pannable_area_button_release_cb),
1447 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1448 (hildon_pannable_area_remove),
1449 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1450 chage the code layout to a more GtkWidget like. Review the use of
1453 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1455 * examples/hildon-pannable-area-example-4.c,
1456 (main): Modified the name of the hindicator_mode to
1459 * src/hildon-pannable-area.c,
1460 (hildon_pannable_area_class_init),
1461 (hildon_pannable_area_motion_notify_cb),
1462 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1463 we have reduced the amount of signals and managed reviewed its
1464 rationale. Changed the default decelerate value.
1466 (hildon_pannable_area_add),
1467 (hildon_pannable_area_redraw): Refactored functions.
1469 (hildon_pannable_area_init),
1470 (hildon_pannable_area_get_property),
1471 (hildon_pannable_area_set_property):
1472 (hildon_pannable_draw_vscroll),
1473 (hildon_pannable_draw_hscroll),
1474 (hildon_pannable_area_initial_effect),
1475 (hildon_pannable_area_expose_event),
1476 (hildon_pannable_area_scroll),
1477 (hildon_pannable_area_button_press_cb),
1478 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1479 and vindicator_mode with hscrollbar_policy and
1480 vscrollbar_policy. Replaced hscroll and vscroll with
1481 hscroll_visible and vscroll_visible.
1483 (hildon_pannable_area_refresh): Refactor the function, remove
1484 variables and check the calls to this function, added resize
1485 conditions in case the children change their layout.
1487 (hildon_pannable_area_size_request): Added more detailed
1488 size_request calculation.
1491 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1493 * src/hildon-color-chooser.c
1494 (init_borders): use the correct gtk_border_free instead of g_free, to
1495 avoid a crash when this widget is used (ie: the three color selection
1498 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1500 * src/hildon-check-button.c,
1501 (hildon_check_button_set_active): Fixed problem when setting the
1502 active value, the widget was not redrawn.
1504 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1506 * src/hildon-pannable-area.c,
1507 (hildon_pannable_area_refresh),
1508 (hildon_pannable_area_scroll),
1509 (hildon_pannable_area_motion_notify_cb): Small code style change.
1511 (hildon_pannable_area_class_init): Default initial_hint set to
1512 FALSE, it is not in the specs.
1514 (hildon_pannable_area_initial_effect),
1515 (hildon_pannable_area_expose_event),
1516 (hildon_pannable_area_map),
1517 (hildon_pannable_area_init): Moved the launching point of the
1518 initial effect, it was in map but the sizes where not correct in
1519 that method so we do not know if we have the reproduce it. Now it
1520 is placed in the expose_event method and uses a variable to
1521 reproduce it just once.
1523 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1525 * src/hildon-pannable-area.c,
1526 (hildon_pannable_draw_vscroll),
1527 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1528 position allowed for the scrollbars.
1530 (hildon_pannable_area_size_allocate): Small style change.
1532 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1534 * src/hildon-pannable-area.c,
1535 (hildon_pannable_area_scroll_indicator_fade),
1536 (hildon_pannable_area_button_press_cb),
1537 (hildon_pannable_area_button_release_cb),
1538 (hildon_pannable_area_scroll_cb),
1539 (hildon_pannable_area_expose_event),
1540 (hildon_pannable_area_init): Added the define parameter
1541 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1542 and refactor the fade variable.
1544 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1546 * src/hildon-pannable-area.c,
1547 (hildon_pannable_area_redraw),
1548 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1549 lines, we were reimplemeting the redraw code.
1551 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1553 * src/hildon-pannable-area.c,
1554 (hildon_pannable_area_scroll_cb),
1555 (hildon_pannable_area_realize),
1556 (hildon_pannable_area_class_init): Added scroll_event management
1557 for pannable area, now we can scroll the usual desktop method.
1559 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1560 initialization of the parameters should depend on idle_id.
1562 (hildon_pannable_area_init),
1563 (hildon_pannable_area_map): Small code style modifications
1565 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c
1568 (hildon_pannable_area_button_press_cb),
1569 (hildon_pannable_area_motion_notify_cb),
1570 (hildon_pannable_area_button_release_cb),
1571 (hildon_pannable_area_size_allocate),
1572 (hildon_pannable_area_scroll_to): Improved the timeouts
1573 management, we avoid creating them each time.
1575 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1577 * src/hildon-pannable-area.c:
1578 (hildon_pannable_area_refresh),
1579 (hildon_pannable_area_motion_notify_cb),
1580 (hildon_pannable_area_class_init):
1581 * src/hildon-pannable-area.h:
1582 * src/hildon-touch-selector.c
1583 (_create_new_column):
1584 * examples/hildon-pannable-area-example-4.c:
1585 (horizontal_movement),
1586 (vertical_movement),
1588 Replaced the names of enums in the HildonPannableArea:
1589 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1590 HILDON_MOVEMENT_MODE_*
1591 - HILDON_PANNABLE_AREA_MOV_* ->
1593 - Removed HildonPannableAreaIndicatorMode, now we
1596 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1598 * examples/hildon-pannable-area-touch-grid-example.c
1599 * examples/hildon-pannable-area-touch-list-example.c: Fix
1600 compilation warnings.
1602 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-gtk.c (hildon_gtk_button_new)
1605 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1606 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1607 images overriding the value of the "gtk-button-images" setting.
1609 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-check-button.c (hildon_check_button_new):
1612 Instead of using a custom container, display the label and the
1613 checkbox using the standard GtkButton API.
1615 * examples/hildon-check-button-example.c (main): Don't use
1616 hildon_check_button_set_label() anymore
1618 * src/hildon-check-button.h
1619 * src/hildon-check-button.c
1620 (hildon_check_button_set_label, hildon_check_button_get_label):
1621 Set as deprecated, now we're using gtk_button_{get,set}_label()
1623 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c,
1626 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1627 GtkTreeview first line we detected it after the inclusion of the
1628 GtkWindowImpl in gtk+. We now check if the window is visible, not
1629 just if the pointer is over the window.
1630 (hildon_pannable_axis_scroll),
1631 (hildon_pannable_area_expose_event): Small style changes.
1633 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-button.c: Update documentation.
1637 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1639 * examples/hildon-button-example.c: Add a switch to show images in
1642 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1644 * doc/hildon-docs.sgml: Some docs reorganization.
1646 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1648 * examples/hildon-pannable-area-touch-list-example.c
1650 * examples/hildon-pannable-area-touch-grid-example.c
1651 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1652 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1653 Fix memory leak when setting the tree model.
1655 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1659 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1661 * doc/hildon.types: Remove duplicated hildon_window_get_type
1662 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1663 documentation comment.
1665 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1667 * doc/Makefile.am: Complete list of private headers.
1669 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1671 * doc/hildon-docs.sgml
1672 * src/hildon-app-menu.c
1673 * src/hildon-bread-crumb.c
1674 * src/hildon-button.c
1676 * src/hildon-program.c
1677 * src/hildon-stackable-window.c
1678 * src/hildon-window.c: Lots of documentation updates.
1680 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1682 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1684 * configure.ac: Require Gtk+ 2.12.9 at least
1686 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1688 * src/hildon-pannable-area.c
1689 (hildon_pannable_area_scroll_indicator_fade),
1690 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1691 to protect the return of this timeout callbacks, avoiding deadlocks.
1693 2008-08-12 Christian Dywan <christian@imendio.com>
1696 * src/hildon-*.h: Ensure a consistent include order,
1697 include <gtk/gtk.h> instead of particular files and
1698 only include the topmost header in the gtk stack. See NB #39857
1700 2008-08-12 Christian Dywan <christian@imendio.com>
1702 * src/hildon-picker-dialog.c
1703 * src/hildon-touch-selector.c: Fix warnings about unused and
1704 uninitialized variables.
1706 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1708 * examples/Makefile.am
1709 * examples/hildon-check-button-example.c: Example of the hildon
1712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1714 * src/hildon-window.h
1715 * src/hildon-window.c (hildon_window_class_init)
1716 (hildon_window_unset_program): Don't make
1717 hildon_window_unset_program a virtual function anymore.
1719 * src/hildon-stackable-window.c: Update documentation
1721 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-docs.sgml
1725 * doc/visual_index.xml
1726 * src/hildon-defines.c
1728 * src/hildon-helper.c
1729 * src/hildon-range-editor.c: Lots of documentation fixes.
1731 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1733 * examples/hildon-picker-button-multicolumn-example.c
1734 (create_touch_selector): Fix compilation warning.
1736 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1739 (hildon_pannable_area_button_release_cb)
1740 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1742 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1747 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-bread-crumb-trail.h
1750 * src/hildon-date-editor.c
1751 * src/hildon-date-selector.c
1752 * src/hildon-pannable-area.c
1753 * src/hildon-picker-dialog.c
1754 * src/hildon-time-selector.c
1755 * src/hildon-touch-selector-entry.c
1756 * src/hildon-touch-selector.c
1757 * src/hildon-touch-selector.h: Misc documentation fixes
1759 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1761 * examples/hildon-date-editor-example.c (main): Updated date
1764 * examples/hildon-note-example.c (on_confirmation_clicked):
1765 Updated confirmation note example.
1767 * src/hildon-date-editor.c
1768 * src/hildon-note.c: Updated sample programs in documentation.
1771 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-date-button.h:
1774 * src/hildon-picker-button.h:
1775 * src/hildon-time-button.c:
1776 * src/hildon-time-button.h:
1778 Some declarations changes to allow gtk-doc to document the widgets
1781 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-date-button.c: Document the widget.
1784 * src/hildon-time-button.c: Document the widget.
1786 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-picker-button.c: Document the widget.
1789 * src/hildon-touch-selector-entry.c: Document the widget.
1791 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1793 * doc/hildon-docs.sgml
1796 * src/hildon-check-button.h
1797 * src/hildon-check-button.c: New functions to create the Hildon
1801 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1803 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-button.h
1806 * src/hildon-button.c
1807 (hildon_button_add_title_size_group)
1808 (hildon_button_add_value_size_group)
1809 (hildon_button_add_image_size_group)
1810 (hildon_button_add_size_groups): New functions to set size groups
1811 for the button labels and image.
1812 (hildon_button_new_full): Removed
1814 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1816 * src/hildon-time-selector.c
1817 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1818 in order to avoid a crash if gconf is not available
1820 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1822 * src/hildon-button.c (hildon_button_set_arrangement)
1823 (hildon_button_construct_child): Don't construct the button child
1824 before setting the arrangement.
1826 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1828 * src/hildon-program-private.h
1829 * src/hildon-program.c
1830 * src/hildon-program.h
1831 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1832 (hildon_program_peek_window_stack)
1833 (hildon_program_pop_window_stack)
1834 (hildon_program_go_to_root_window): HildonProgram now has a
1835 separate list for stackable windows. Functions are provided to
1836 manage that list with a stack-like API.
1838 * src/hildon-stackable-window.c: Stackable window management is
1839 now much simpler with the new HildonProgram API. Windows no
1840 longer need to be manually added to the program, they're
1841 automatically pushed to the top of the stack when shown.
1843 * examples/hildon-stackable-window-example.c: Updated example to
1844 reflect the API changes.
1846 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-touch-selector.c: Comment out unimplemented
1849 hildon_touch_selector_insert_column() to avoid a compile warning.
1851 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1854 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1855 (hildon_touch_selector_set_column_selection_mode),
1856 (_hildon_touch_selector_set_model),
1857 (hildon_touch_selector_set_model):
1859 Complete review of HildonTouchSelector documentation.
1861 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1863 * doc/hildon-docs.sgml
1867 * src/hildon-gtk.c: Convenience functions for standard Gtk
1868 widgets, used to easily perform frequent operations.
1870 * src/hildon-button-helpers.h
1871 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1873 * src/hildon-helper.h
1874 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1875 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1877 * src/hildon-button.h
1878 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1880 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1882 * src/hildon-button.c (hildon_button_init)
1883 (hildon_button_set_arrangement, hildon_button_construct_child):
1884 Pack the image and the labels inside the same GtkAlignment so
1885 gtk_button_set_alignment() can be used
1887 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-button.h
1890 * src/hildon-button.c
1891 (hildon_button_init, hildon_button_set_image)
1892 (hildon_button_set_image_position)
1893 (hildon_button_construct_child): New functions to add an image to
1896 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-date-button.c
1899 * src/hildon-picker-button.c
1900 * src/hildon-time-button.c
1901 * src/hildon-button.c:
1902 (hildon_button_class_init): "size-flags" renamed to "size"
1903 (hildon_button_set_title): Hide the title label if set to NULL.
1905 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1907 HildonButtonFlags split into HildonButtonArrangement (to set the
1908 button layout) and HildonSizeType (which can be used for any
1911 * src/hildon-button.h
1912 * src/hildon-button.c
1913 (hildon_button_class_init)
1914 (hildon_button_set_arrangement)
1915 (hildon_button_set_property): New "size-flags"
1916 property. "arrangement-flags" renamed to "arrangement".
1917 (hildon_button_new, hildon_button_new_with_text)
1918 (hildon_button_new_full): Constructors updated to reflect type changes.
1920 * src/hildon-helper.h
1921 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1922 to set the size of a widget.
1926 * src/hildon-button-helpers.c
1927 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1929 * src/hildon-date-button.c
1930 * src/hildon-date-button.h
1931 * src/hildon-picker-button.c
1932 * src/hildon-picker-button.h
1933 * src/hildon-time-button.c
1934 * src/hildon-time-button.h: Updated widgets to reflect
1935 HildonButton API changes.
1937 * examples/hildon-button-example.c
1938 * examples/hildon-date-button-example.c
1939 * examples/hildon-picker-button-example.c
1940 * examples/hildon-picker-button-multicolumn-example.c
1941 * examples/hildon-time-button-example.c
1942 * examples/hildon-touch-selector-entry-example.c
1943 * examples/hildon-touch-selector-example.c: Updated examples to
1944 reflect HildonButton API changes.
1946 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1948 * doc/hildon-docs.sgml:
1950 * examples/Makefile.am:
1951 * examples/hildon-touch-selector-entry-example.c:
1953 * src/hildon-touch-selector-entry.c:
1954 * src/hildon-touch-selector-entry.h:
1957 Moved HildonTouchSelectorEntry from sandbox. Added its
1958 documentation and examples.
1960 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-touch-selector.h:
1963 * examples/hildon-picker-button-multicolumn-example.c:
1964 (hildon_touch_selector_append_text_column): Add a gboolean
1965 parameter to determine if text must be centered in the column.
1967 * src/hildon-date-selector.c: (hildon_date_selector_init):
1968 * src/hildon-time-selector.c: (hildon_time_selector_init):
1969 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1970 (create_touch_selector): Update widgets and example to reflect
1973 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-touch-selector.c:
1976 (hildon_touch_selector_set_active_iter): Set also the cursor in
1979 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1981 * doc/hildon-docs.sgml
1984 * src/hildon-toggle-button.c
1985 * src/hildon-toggle-button.h
1986 * src/hildon.h: Removed HildonToggleButton widget, a derived
1987 class is not necessary for this.
1989 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1991 * src/hildon-pannable-area.c,
1992 (hildon_pannable_area_realize),
1993 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1996 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1998 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1999 "done" button the default widget for the dialog.
2001 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-touch-selector.c:
2004 (hildon_touch_selector_class_init),
2005 (hildon_touch_selector_get_property),
2006 (_hildon_touch_selector_set_model),
2007 (_hildon_touch_selector_has_multiple_selection),
2008 (hildon_touch_selector_has_multiple_selection):
2009 Add a "has-multiple-selection" property with a virtual
2010 has_multiple_selection() method to allow derived classes to
2011 override the default value for it. See the method and property
2012 documentation for details.
2014 * src/hildon-touch-selector.h: Add the new API.
2016 * src/hildon-picker-dialog.c: (requires_done_button): Call
2017 hildon_touch_selector_has_multiple_selection() instead of
2018 determining the need for a button itself.
2020 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2023 (_hildon_touch_selector_set_model),
2024 (hildon_touch_selector_set_model): Move working code to
2025 _hildon_touch_selector_set_mode(). Call the class method instead.
2027 * src/hildon-touch-selector.h: Add (*set_model) to
2028 HildonTouchSelectorClass.
2030 Make hildon_touch_selector_set_model() a virtual method, so that
2031 derived classes can extend it and do fancy stuff with the model.
2033 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2035 * configure.ac: Set back the tarname in AC_INIT to hildon.
2037 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2041 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2042 instead of libesd (NB#86876). Volume handling is still an open issue.
2044 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2047 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2050 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2051 derived class to ease placement of an entry widget in
2052 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2053 end, where the selector columns are packed now.
2055 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-picker-button.c: Removed the simple _text() API.
2058 * src/hildon-picker-button.h: Likewise.
2060 * src/hildon-touch-selector.h:
2061 * src/hildon-touch-selector.c:
2062 (hildon_touch_selector_new_text),
2063 (hildon_touch_selector_append_text),
2064 (hildon_touch_selector_prepend_text),
2065 (hildon_touch_selector_insert_text):
2067 Moved the simple _text() API from HildonPickerButton to
2068 HildonTouchPicker, to provide better escalability and not to tie
2069 that API to HildonPickerButton.
2071 * examples/hildon-picker-button-example.c: (main): Example updated.
2073 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-button.c: Updated documentation.
2077 * examples/hildon-button-example.c: Add the posibility to create
2078 the buttons using horizontal layout for title and value.
2080 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-app-menu-private.h
2083 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2084 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2085 GtkSizeGroup for the filters, use the 'homogeneous' property of
2088 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2090 * examples/hildon-button-example.c: Updated example.
2092 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2094 * doc/hildon-docs.sgml:
2097 Update documentation.
2099 * examples/Makefile.am: Update renamed examples.
2101 * examples/hildon-picker-button-multicolumn-example.c:
2102 (create_touch_selector), (main): Update after the rename.
2104 * examples/hildon-touch-picker-example.c: Removed.
2105 * examples/hildon-touch-selector-example.c: (value_changed),
2106 (create_selector), (get_visible_content), (main): Renamed from
2107 hildon-touch-picker-example.c
2109 * src/Makefile.am: Updated renamed files.
2111 * src/hildon-date-button.c: (hildon_date_button_init),
2112 (hildon_date_button_get_date), (hildon_date_button_set_date):
2113 * src/hildon-date-selector.c: (hildon_date_selector_init),
2114 (_custom_print_func), (_update_day_model),
2115 (_manage_selector_change_cb),
2116 (hildon_date_selector_select_current_date),
2117 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2118 * src/hildon-date-selector.h:
2119 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2120 (hildon_picker_button_set_property),
2121 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2122 (hildon_picker_button_init), (hildon_picker_button_new_text),
2123 (hildon_picker_button_append_text),
2124 (hildon_picker_button_prepend_text),
2125 (hildon_picker_button_insert_text),
2126 (hildon_picker_button_set_selector),
2127 (hildon_picker_button_get_selector):
2128 * src/hildon-picker-button.h:
2129 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2130 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2131 (_update_title_on_selector_changed_cb), (requires_done_button),
2132 (_hildon_picker_dialog_set_selector),
2133 (hildon_picker_dialog_set_selector),
2134 (hildon_picker_dialog_get_selector):
2135 * src/hildon-picker-dialog.h:
2136 * src/hildon-time-button.c: (hildon_time_button_init),
2137 (hildon_time_button_get_time), (hildon_time_button_set_time):
2138 * src/hildon-time-selector.c: (hildon_time_selector_init),
2139 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2140 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2141 * src/hildon-time-selector.h:
2144 Massive code updates after the rename.
2146 * src/hildon-touch-picker.c: Removed.
2147 * src/hildon-touch-picker.h: Removed.
2149 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2150 (hildon_touch_selector_init), (hildon_touch_selector_map),
2151 (hildon_touch_selector_remove), (_default_print_func),
2152 (_selection_changed_cb), (_create_new_column),
2153 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2154 (hildon_touch_selector_append_text_column),
2155 (hildon_touch_selector_remove_column),
2156 (hildon_touch_selector_set_column_attributes),
2157 (hildon_touch_selector_insert_column),
2158 (hildon_touch_selector_get_num_columns),
2159 (hildon_touch_selector_get_column_selection_mode),
2160 (hildon_touch_selector_set_column_selection_mode),
2161 (hildon_touch_selector_set_print_func),
2162 (hildon_touch_selector_get_print_func),
2163 (hildon_touch_selector_get_active_iter),
2164 (hildon_touch_selector_set_active_iter),
2165 (hildon_touch_selector_get_selected_rows),
2166 (hildon_touch_selector_get_model),
2167 (hildon_touch_selector_set_model),
2168 (hildon_touch_selector_get_current_text),
2169 (_hildon_touch_selector_center_on_selected_items):
2170 * src/hildon-touch-selector.h: Renamed from
2171 hildon-touch-picker.[ch]
2173 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2174 references, code examples, and related documentation.
2176 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2178 * doc/hildon-docs.sgml
2181 * src/hildon-toggle-button.c
2182 * src/hildon-toggle-button.h
2183 * src/hildon.h: New HildonToggleButton widget.
2185 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-button.c: Add API documentation.
2188 (hildon_button_set_size_groups): Check input parameters
2190 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2192 * src/hildon-pannable-area.c
2193 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2194 effect after reaching the movement thredshold. This way we start
2195 using the distance after passing the thredshold.
2197 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-button.c: (hildon_button_set_property): Use the
2200 appropriate g_value_get_flags() method.
2202 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2204 * doc/hildon-docs.sgml:
2207 Add the touch pickers, picker dialogs, and picker button widgets
2208 to the documentation.
2210 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2212 * src/hildon-button.c: (hildon_button_set_property),
2213 (hildon_button_class_init): Make "arrangement-flags" a proper
2214 G_TYPE_FLAGS derived property.
2216 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2218 * examples/Makefile.am: Add below examples.
2219 * examples/hildon-date-button-example.c:
2220 * examples/hildon-picker-button-example.c:
2221 * examples/hildon-picker-button-multicolumn-example.c:
2222 * examples/hildon-time-button-example.c:
2223 * examples/hildon-touch-picker-example.c:
2225 Add examples for the recently added touch pickers,
2226 picker dialogs, and picker button widgets.
2228 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-button.c: Add some API documentation
2232 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-button.h
2235 * src/hildon-button.c
2237 (hildon_button_new_with_text): New constructor to create a button
2238 with no text at all.
2239 (hildon_button_init, hildon_button_set_arrangement)
2240 (hildon_button_set_title, hildon_button_set_value)
2241 (hildon_button_set_text)
2242 (hildon_button_construct_child): Hide the value when it's not used
2243 so the rest of the text is properly aligned.
2244 Allow creating buttons with arbitrary widgets inside (not just
2245 title/value labels).
2247 * examples/hildon-button-example.c (vertical_buttons_window)
2248 (horizontal_buttons_window): Update example to use new API.
2250 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/Makefile.am: Added HildonTimeButton.
2253 * src/hildon-time-button.c: Added missing LGPL header.
2254 * src/hildon-time-button.h: Added missing LGPL header.
2255 * src/hildon.h: Add hildon-time-button.h
2257 Copied HildonTimeButton from sandbox to trunk. Future work on this
2258 widget must take place in trunk.
2260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/Makefile.am: Added HildonDateButton.
2263 * src/hildon-date-button.c: Update includes.
2264 * src/hildon.h: Add hildon-date-button.h
2266 Copied HildonDateButton from sandbox to trunk. Future work on this
2267 widget must take place in trunk.
2269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/Makefile.am: Added HildonPickerButton.
2272 * src/hildon-picker-button.h: Update includes.
2273 * src/hildon.h: Add hildon-picker-button.h
2275 Copied HildonPickerButton from sandbox to trunk. Future work on
2276 this widget must take place in trunk.
2278 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/Makefile.am: Added HildonPickerDialog.
2281 * src/hildon-picker-dialog.c: Update includes.
2282 * src/hildon.h: Add hildon-picker-dialog.h
2284 Copied HildonPickerDialog from sandbox to trunk. Future work
2285 on this widget must take place in trunk.
2287 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/Makefile.am: Added HildonTimeSelector.
2290 * src/hildon.h: Add hildon-time-selector.h
2292 Copied HildonTimeSelector widget from sandbox to trunk. Future
2293 work on this widget must happen in trunk.
2295 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/Makefile.am: Added HildonDateSelector.
2298 * src/hildon.h: Add hildon-date-selector.h
2300 Copied HildonDateSelector widget from sandbox to trunk. Future
2301 work on this widget must happen in trunk.
2303 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/Makefile.am: Added HildonTouchPicker.
2306 * src/hildon-touch-picker.c: Update includes.
2307 * src/hildon.h: Add hildon-touch-picker.h
2309 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2310 on this widget must happen in trunk.
2312 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-pannable-area.c:
2315 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2317 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2319 * examples/hildon-app-menu-example.c (main): Let the window
2322 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2324 * src/hildon-pannable-area.c
2325 (hildon_pannable_area_class_init): Set the min value of the
2326 overshoot properties to zero, which points out that not
2327 overshooting allowed.
2329 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2331 Modified the procedure to get the widget at a point inside the
2332 pannable area when using the movement type signals. Now the user
2333 has to call a function to get the child, that way we just
2334 calculate the child in case the user really want to use it and not
2337 * src/hildon-marshalers.list: Modified the marshallers, now we do
2338 not have the widget as a parameter.
2340 * src/hildon-pannable-area.c
2341 (hildon_pannable_area_motion_notify_cb),
2342 (hildon_pannable_area_class_init),
2343 (hildon_pannable_get_child_widget_at): Removed the widget
2344 parameter from the signal callback. We have also refactored the
2345 emission of the signals.
2347 * src/hildon-pannable-area.h: Added a new method to the API to
2348 calculate a widget at a point inside the pannable area,
2349 hildon_pannable_get_child_widget_at.
2351 * examples/hildon-pannable-area-example-4.c
2352 (horizontal_movement): Modified the example to use the new API,
2353 added condition to control which widget is under the event. This
2354 way we can avoid scrolling laterally over other widgets.
2356 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-pannable-area.c
2359 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2360 modes, we stop getting the pointer events due to returning the
2361 callback without properly calling the get pointer again. Fixed
2362 also an error using the hscroll and vscroll.
2364 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-app-menu-private.h
2367 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2368 (hildon_app_menu_button_release, hildon_app_menu_init)
2369 (hildon_app_menu_class_init): Don't hide the menu on button
2370 release if the user didn't press outside first.
2372 * src/hildon-window.h
2373 * src/hildon-window.c (hildon_window_toggle_menu)
2374 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2375 hildon_window_toggle_menu a virtual function for the stackable
2376 window to override it.
2378 * src/hildon-stackable-window.h
2379 * src/hildon-stackable-window-private.h
2380 * src/hildon-stackable-window.c
2381 (hildon_stackable_window_realize)
2382 (hildon_stackable_window_finalize)
2383 (hildon_stackable_window_class_init)
2384 (hildon_stackable_window_init)
2385 (hildon_stackable_window_set_main_menu): New function to set the
2386 app menu of a HildonStackableWindow.
2388 * examples/hildon-app-menu-example.c: Remove the button to show
2389 the app menu, now it'll be shown when clicking on the title bar
2392 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2395 set the widget name if the arrangement flags do not specify
2398 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-button.c: (hildon_button_set_property),
2401 (hildon_button_class_init), (hildon_button_new_full),
2402 (hildon_button_set_arrangement): Added "arrangement-flags"
2405 Make the HildonButtonFlags a construction-only property, to allow
2406 subclasses to set them properly.
2408 2008-07-21 Tim Janik <timj@imendio.com>
2410 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2411 insertion position after backspace, so additional digits are appended,
2414 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2416 * src/hildon-pannable-area.c,
2417 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2418 TODO list, it was complete and removed the g_debug and g_print
2421 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2423 Added the movement modes to the hildon-pannable-area, with this
2424 modes the developers can control in which directions the widget
2425 can scroll. They can also connect to signals in order to do
2426 something when that happens, allowing applications scroll. There
2427 is an example uploaded showing how to use it.
2429 * examples/Makefile.am:
2430 * examples/hildon-pannable-area-example-4.c: Added this example of
2431 an application using the modes.
2433 * src/hildon-marshalers.list: Added a new marshaller for the new
2436 * src/hildon-pannable-area.h: Added new enumerations and flags in
2437 order to control the movement modes and the new signals to warn
2438 about the movements in the area.
2440 * src/hildon-pannable-area.c:
2441 (hildon_pannable_axis_scroll),
2442 (hildon_pannable_area_scroll),
2443 (hildon_pannable_area_motion_notify_cb),
2444 (hildon_pannable_area_get_property),
2445 (hildon_pannable_area_set_property),
2446 (hildon_pannable_area_map),
2447 (hildon_pannable_area_class_init),
2448 (hildon_pannable_area_init),
2449 (hildon_pannable_area_jump_to): Added the modes to control the
2450 movement in the widget. We have added properties to control it,
2451 signals to warn about the movements and refactored some code.
2453 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2455 Changes required in order to allow vfast_factor set to zero to
2458 * src/hildon-pannable-area.c:
2459 (hildon_pannable_area_button_press_cb): Changed the condition, it
2460 is required for not allowing click when vfast_factor is zero.
2461 (hildon_pannable_area_timeout): Initialized velocity variables
2462 when we stop moving, it was less than 1 but not zero and we need
2463 to check zero in some situations.
2464 (hildon_pannable_area_class_init): Changed the default value of
2465 the speed factor, now the button_press is just sent in case the
2466 speed is 2 per cent of the max speed.
2467 (hildon_pannable_area_init): Initialization with 0.
2469 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_get_topmost): replaced
2473 gdk_window_get_children with gdk_window_peek_children, this way we
2474 do not have to free the list because it is not a copy.
2476 (hildon_pannable_axis_scroll),
2477 (hildon_pannable_area_scroll),
2478 (hildon_pannable_area_timeout),
2479 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2480 two parameters that were only used inside the
2481 hildon_pannable_area_scroll function.
2483 * examples/hildon-pannable-area-example.c,
2484 (get_sawtooth_label): Fixed small memory leak.
2486 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2488 More checks for the case where the overshoot is bigger than the
2491 * src/hildon-pannable-area.c:
2492 (hildon_pannable_draw_vscroll),
2493 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2494 to draw the slider of the scrollbar under the other scrollbar.
2495 (hildon_pannable_area_expose_event): added new checks to control
2496 the drawing of the overshooting area rectangle, in case it is too
2497 big for the area of the widget.
2498 (hildon_pannable_area_size_allocate): add more checks to avoid
2499 setting a position to the child widget outside the area.
2501 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2503 * src/hildon-pannable-area.c
2504 (hildon_pannable_area_size_allocate): Added conditions to control
2505 when overshooting is bigger than the allocated space for the
2506 children, this avoids negative allocations.
2508 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2510 * doc/hildon-docs.sgml
2512 * examples/Makefile.am
2513 * examples/hildon-button-example.c
2515 * src/hildon-button.c
2516 * src/hildon-button.h
2517 * src/hildon.h: Initial version of the new HildonButton widget,
2520 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2522 * src/hildon-pannable-area.c:
2523 (hildon_pannable_area_button_press_cb),
2524 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2525 (hildon_pannable_area_motion_notify_cb),
2526 (hildon_pannable_area_button_release_cb),
2527 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2528 (hildon_pannable_area_jump_to_child):
2530 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2532 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2534 * examples/Makefile.am
2535 * examples/hildon-pannable-area-touch-grid-example.c
2536 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2537 the Hildon Touch List and Hildon Touch Grid using the
2538 HildonPannableArea widget.
2540 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2542 * src/hildon-pannable-area.c,
2543 (hildon_pannable_area_button_press_cb),
2544 (hildon_pannable_area_refresh),
2545 (hildon_pannable_area_scroll),
2546 (hildon_pannable_area_motion_notify_cb),
2547 (hildon_pannable_area_button_release_cb),
2548 (hildon_pannable_area_expose_event),
2549 (hildon_pannable_area_add),
2550 (hildon_pannable_area_remove),
2551 (hildon_pannable_area_realize),
2552 (hildon_pannable_area_size_allocate),
2553 (hildon_pannable_area_class_init),
2554 (hildon_pannable_area_init),
2555 (hildon_pannable_area_scroll_to_child),
2556 (hildon_pannable_area_jump_to_child): Fixed the problem of
2557 removing the child from the GtkBin, we have rearranged the widget
2558 hierarchy, now there is no GtkAlignment which was not doing
2559 anything interesting but breaking some of the assumptions of
2560 GtkContainer. Now developers if they want to add a GtkAlignment
2561 they could, but it is not inside the area.
2563 We had to review the whole allocation/expose process, now it is
2564 improved and we save at least three signals which would be saving
2565 some time when rendering the widget. The allocation of the
2566 scrollbars is now made in the allocate method as usual.
2568 We have also added some conditions in order to control when there
2569 is no child of the pannable area. Maybe we will need more work
2572 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_dispose): Released the fade-out timeout when
2576 disposing the widget.
2578 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2580 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2581 zero, we are going to use that property in order to deactivate the
2583 (hildon_pannable_axis_scroll),
2584 (hildon_pannable_area_size_allocate): Added conditions to control
2585 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2586 call, now it is called in all situations and we can remove calls
2587 in the allocate method.
2588 (hildon_pannable_area_map): Control the situation when
2589 overshoot_max is zero, we do not need the timeout.
2590 (hildon_pannable_area_class_init): Added documentation in order to
2591 point out that setting zero to overshoot_max means deactivate
2594 NOTE: removed trailing whitespaces from my previous comments of
2597 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2599 * src/hildon-pannable-area.c
2600 (hildon_pannable_area_get_property),
2601 (hildon_pannable_area_set_property),
2602 (hildon_pannable_area_map),
2603 (hildon_pannable_area_class_init),
2604 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2605 to cause the widget give a hint about its panning abilities upon
2608 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-pannable-area.c: Several documentation improvements.
2612 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-program.c
2615 * src/hildon-stackable-window.c: Update documentation.
2617 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-stackable-window.c (get_previous_window_if_last):
2620 Renamed get_last_window()
2621 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2622 (hildon_stackable_window_unset_program):
2624 (get_previous_window_if_last):
2625 Detect if the window hasn't been added to a HildonProgram.
2627 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2629 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-pannable-area.c
2632 (hildon_pannable_area_button_press_cb),
2633 (hildon_pannable_axis_scroll),
2634 (hildon_pannable_area_scroll),
2635 (hildon_pannable_area_timeout),
2636 (hildon_pannable_calculate_vel_factor),
2637 (hildon_pannable_area_get_property),
2638 (hildon_pannable_area_set_property),
2639 (hildon_pannable_area_class_init),
2640 (hildon_pannable_area_init),
2641 (hildon_pannable_area_scroll_to),
2642 (hildon_pannable_area_jump_to),
2643 (hildon_pannable_area_scroll_to_child),
2644 (hildon_pannable_area_jump_to_child):
2645 * src/hildon-pannable-area.h: Added the new API functions:
2646 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2647 hildon_pannable_area_scroll_to_child,
2648 hildon_pannable_area_jump_to_child
2651 * examples/Makefile.am
2652 * examples/hildon-pannable-area-example-2.c
2653 * examples/hildon-pannable-area-example-3.c: Added these two new
2654 examples in order to test and show how the new APIs work.
2656 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2658 * examples/hildon-stackable-window-example.c (new_window):
2659 * src/Makefile.am (noinst_HEADERS):
2660 * src/hildon-program.c (hildon_program_go_to_root_window):
2661 * src/hildon-program.h:
2662 * src/hildon-stackable-window-private.h:
2663 * src/hildon-stackable-window.c:
2664 * src/hildon-stackable-window.h:
2665 Create hildon-stackable-window-private.h
2666 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2668 * examples/hildon-app-menu-example.c (create_menu):
2669 * examples/hildon-hvolumebar-insensitive-example.c (main):
2670 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2671 * examples/hildon-toolbar-seekbar-example.c (main):
2672 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2673 * src/hildon-banner.c (hildon_banner_set_property):
2674 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2675 Fix compilation warnings
2677 * src/hildon-window.c:
2680 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-stackable-window.c
2683 (hildon_stackable_window_unset_program):
2684 Calculate correctly whether to show the previous window if the
2685 last one is removed from the stack.
2686 (hildon_stackable_window_go_to_root_window):
2687 Send delete events starting from the topmost window.
2688 Stop if one of the windows is not destroyed.
2690 (hildon_stackable_window_delete_event)
2691 (hildon_stackable_window_class_init):
2692 Ignore the delete event if the window is not the topmost one.
2694 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2696 * src/hildon-pannable-area.c
2697 (hildon_pannable_area_expose_event): Fixed a problem when
2698 selecting the background color of the scrollbars.
2700 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2702 * examples/hildon-stackable-window-example.c
2703 * src/hildon-stackable-window.c
2704 * src/hildon-stackable-window.h
2705 hildon_stackable_window_go_home() renamed to
2706 hildon_stackable_window_go_to_root_window()
2707 Send delete events to windows rather than closing them with
2708 gtk_widget_destroy()
2710 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-pannable-area.c
2713 (hildon_pannable_area_button_release_cb): Fix overshooting in
2716 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-pannable-area.c
2719 (hildon_pannable_area_init): Initially show the scroll indicators.
2720 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2722 Add initial effect showing the widget is pannable.
2724 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-pannable-area.c
2727 (hildon_pannable_area_class_init)
2728 (hildon_pannable_area_set_property)
2729 (hildon_pannable_area_get_property)
2730 (hildon_pannable_area_button_press_cb):
2731 New 'velocity_fast_factor' property to decide which velocity is
2734 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-pannable-area.c
2737 (hildon_pannable_draw_hscroll)
2738 (hildon_pannable_draw_vscroll):
2739 Use float variables to calculate the size of the scrollbars to
2740 avoid error propagation and resizing during scrolling.
2742 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-pannable-area.c
2745 (hildon_pannable_draw_vscroll)
2746 (hildon_pannable_draw_hscroll):
2747 Define a minimum size for the scroll bars
2749 * src/hildon-stackable-window.c
2750 (hildon_stackable_window_go_home): Fix compilation warning
2751 (get_last_window): Minor optimizations
2752 (hildon_stackable_window_class_init): Fix initialization of
2755 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-stackable-window.c: Fixed typos in doc
2759 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/hildon-pannable-area.c
2762 (hildon_pannable_area_scroll):
2763 Calculate here whether we need to scroll instead of using the booleans
2764 that tell us whether to /draw/ the scrolling bars.
2766 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-app-menu.h
2770 * src/hildon-app-menu.c
2771 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2772 multiple filter groups related code and API. Now we support only
2774 * examples/hildon-app-menu-example.c:
2776 Update to reflect API changes.
2778 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-stackable-window.c
2781 (hildon_stackable_window_class_init):
2782 Add hildon_stackable_window_realize.
2783 (hildon_stackable_window_realize):
2784 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2785 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2786 to apply theming and behavior specific to HildonStackableWindow
2789 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-note.c (hildon_note_button_release):
2792 Close information notes also when tapping on them
2794 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2796 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2797 ELASTICITY, refactor and review, fix some issues with drawing
2800 * src/hildon-pannable-area.c:
2801 (hildon_pannable_area_button_press_cb): removed the conditions to
2802 avoid clicks when overshooting. It is not required
2804 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2805 define. Refatored and reviewed the code, now we do not need to
2806 manage velocity in motion_notify.
2808 (hildon_pannable_area_motion_notify_cb): We have moved the code
2809 that controls the area_scroll to the axis_scroll function and get
2810 rid of duplicated code.
2812 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2814 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2816 (hildon_pannable_draw_vscroll),
2817 (hildon_pannable_draw_hscroll): Fixed the problems with the
2818 scrollbar drawing, now we do not use two surfaces, it is easier
2819 and saves resources.
2821 (hildon_pannable_area_get_property): Style modification.
2823 (hildon_pannable_area_class_init): Changed some default values.
2825 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-stackable-window.c: Fix some typos in the
2830 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-dialog.c:
2833 Change indentation style
2836 (hildon_note_button_release):
2837 Use root coordinates to check if the release event happened
2840 * src/hildon-app-menu.c
2841 (hildon_app_menu_button_release):
2842 Remove unnecessary check
2844 * examples/hildon-app-menu-example.c
2846 Add cast to fix warning
2848 * src/hildon-app-menu.c
2849 (hildon_app_menu_class_init):
2850 New inner-border style property.
2851 Set all default spacings to 16
2852 (hildon_app_menu_init):
2853 Use vertical-spacing to set the space between filter buttons and
2854 regular menu buttons.
2855 Set the default container border using the inner-border value.
2857 * examples/hildon-app-menu-example.c
2859 Don't set the menu border explicitly, now we have the inner-border
2860 style property for that.
2862 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-app-menu.c (hildon_app_menu_init):
2865 Make the window modal
2867 * src/hildon-note.c (hildon_note_map)
2868 * src/hildon-app-menu.c (hildon_app_menu_map):
2869 Destroy the grab window if we're unable to grab the pointer
2871 * src/hildon-app-menu-private.h
2872 * src/hildon-app-menu.c
2873 (hildon_app_menu_init, hildon_app_menu_finalize)
2874 (hildon_app_menu_map, hildon_app_menu_unmap)
2875 (hildon_app_menu_button_release)
2876 (grab_transfer_window_get):
2877 Bring back the grab window
2878 (hildon_app_menu_realize):
2879 Decorate the window, set WM hint for Matchbox
2881 * src/hildon-note.c (hildon_note_realize):
2882 * src/hildon-banner.c (hildon_banner_realize):
2883 Add WM hints for Matchbox
2885 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-app-menu-private.h
2888 * src/hildon-app-menu.c
2889 (hildon_app_menu_init, hildon_app_menu_finalize)
2890 (hildon_app_menu_map, hildon_app_menu_unmap)
2891 (hildon_app_menu_button_release):
2892 Remove the grab window, it's not needed anymore
2894 * src/hildon-program.c
2895 Fixed typo in documentation
2897 * src/hildon-app-menu.h
2898 * src/hildon-app-menu.c
2899 * examples/hildon-app-menu-example.c
2900 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2902 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2905 Added new transfer_window and close_if_pressed_outside private
2907 (hildon_note_rebuild):
2908 Don't add a cancel button to the information note. It will be
2909 closed when tapping outside
2910 Remove the comment about the OK button in the documentation
2911 (hildon_note_realize):
2912 Set the notification type hint
2913 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2914 Grab/ungrab pointer and keyboard if the note has to be closed when
2916 (hildon_note_button_release):
2917 Close the note when tapping outside (if applicable)
2919 * src/hildon-app-menu.c
2920 Grab/ungrab pointer and keyboard on map/unmap
2921 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2922 Close the menu on button release, not button press
2924 * src/hildon-banner.c
2925 (hildon_banner_set_property)
2926 (hildon_banner_check_position):
2927 Make the banner use the full width of the screen
2928 (hildon_banner_show_information)
2929 (hildon_banner_show_information_with_markup):
2930 Don't display an icon by default
2932 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2934 Added fading scrollbars and adapted all the overshooting code to
2935 horizontal scrolling. We have also fixed bugs with overshooting
2936 and current fading implementation.
2938 * src/hildon-pannable-area.c
2939 (hildon_pannable_area_scroll_indicator_fade): Time out function
2940 used to change the transparency of the scrollbars.
2942 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2943 control and fixed a problem with fading, we now remove the fade
2944 timeout before adding a new one.
2946 (hildon_pannable_axis_scroll):
2947 (hildon_pannable_area_scroll):
2948 (hildon_pannable_area_timeout): Added this functions so we can use
2949 the scroll code both for vertical and horizontal.
2951 (hildon_pannable_area_motion_notify_cb):
2952 (hildon_pannable_area_button_release_cb): Added the horizontal
2953 scrolling control, fixed a problem with the overshooting timeout.
2955 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2956 painting of the scrolls.
2958 (hildon_pannable_draw_vscroll):
2959 (hildon_pannable_draw_hscroll):
2960 (hildon_pannable_area_expose_event):
2961 Draw both scrollbars and rectangles in the overshooting area.
2963 (hildon_pannable_area_get_property):
2964 (hildon_pannable_area_set_property):
2965 Modified the overshoot property to overshoot_max
2967 (hildon_pannable_area_map):
2968 Replaced the comments symbols.
2970 (hildon_pannable_area_size_allocate):
2971 (hildon_pannable_area_class_init):
2972 (hildon_pannable_area_init): Added horizontal scroll, fading
2973 effect properties, fixed a problem when overshooting in the bottom
2976 * examples/hildon-pannable-area-example.c:
2977 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2978 looks better in the example.
2980 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-window.c
2983 * src/hildon-window.h
2984 (hildon_window_class_init)
2985 (hildon_window_unset_program)
2986 (hildon_window_unset_program_real):
2987 Make unset_program a virtual function
2989 * src/hildon-stackable-window.c
2990 * src/hildon-stackable-window.h
2991 Added hildon_stackable_window_go_home()
2993 * examples/Makefile.am
2994 * examples/hildon-stackable-window-example.c
2995 HildonStackableWindow example
2997 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2999 * hildon-pannable-area.c: Added the overshoot property and removed
3000 the OVERSHOOT define. Fixed an indent style error.
3001 (hildon_pannable_area_motion_notify_cb):
3002 (hildon_pannable_area_get_property):
3003 (hildon_pannable_area_set_property): Add overshoot property.
3005 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3008 (hildon_pannable_area_class_init): Installed the new property.
3010 * hildon-pannable-area-example.c: Added a sawtooth function, this
3011 way it is easier to check the movement in the pannable.
3012 (get_sawtooth_label): Added this function.
3013 (main): Now we get the labels from the new get_sawtooth_label
3016 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-app-menu.h
3019 * src/hildon-app-menu.c
3020 Renamed API variables for consistency
3022 (hildon_app_menu_popup): Use also the default window size to
3023 decide where to place the menu
3025 (hildon_app_menu_init, hildon_app_menu_class_init): New
3026 external-border style property
3028 2008-05-26 Michael Natterer <mitch@imendio.com>
3030 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3031 widget_class->tap_and_hold_setup signal slot doesn't exist any
3032 longer, stop overriding it.
3034 (hildon_time_editor_init): g_signal_connect() to the
3035 tap-and-hold-setup signal instead.
3037 (hildon_time_editor_entry_keypress): add cast to fix warning.
3039 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3041 * doc/hildon-docs.sgml
3043 * examples/Makefile.am
3044 * examples/hildon-app-menu-example.c
3046 * src/hildon-app-menu-private.h
3047 * src/hildon-app-menu.c
3048 * src/hildon-app-menu.h
3050 New HildonAppMenu widget
3052 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3054 Rearranged the inheritance of the pannable area, now it inherits
3055 from GtkBin. This will allow us to control the event_window and
3056 the allocation process of the widget, required for some effects.
3058 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3059 GtkBin structures. * src/hildon-pannable-area.c: Added the
3060 event_window variable.
3061 (hildon_pannable_area_button_press_cb):
3062 (hildon_pannable_area_button_release_cb):
3063 (hildon_pannable_area_motion_notify_cb):
3064 Changed the signature of the method, now we override the event
3065 callback instead of connecting to the signal.
3067 (hildon_pannable_area_realize):
3068 (hildon_pannable_area_unrealize):
3069 (hildon_pannable_area_map):
3070 (hildon_pannable_area_unmap):
3071 (hildon_pannable_area_size_allocate):
3072 Added functions to control the widget construction. We add a
3073 INPUT_ONLY window and we put it over the widgets inside the
3074 container, this event_window handles the events.
3076 (hildon_pannable_area_class_init):
3077 Replaced the signal connections with overrides of the event
3080 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3082 Bouncing effect added when touching the borders, you can change
3083 the elasticity of the border changing the ELASTICITY define.
3085 * src/hildon-pannable-area.c: Added ELASTICITY define.
3086 (hildon_pannable_area_timeout): Added inverse velocity when
3087 touching the border of the child widget, that causes a bounce.
3089 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3091 Improved performance, we now do not go to the X server in order to
3092 get the list of window children. Apparently the effect is the
3093 same, we have to be careful and check if this breaks something in
3096 * src/hildon-pannable-area.c:
3097 (get_ordered_children): Removed this function.
3098 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3099 the children windows function with gdk_window_get_children.
3101 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3103 * src/hildon-pannable-area.c:
3104 (hildon_pannable_area_dispose): Fixed a crash when closing the
3105 window and kinetics is activated.
3107 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-pannable-area.h
3110 * src/hildon-pannable-area.c
3111 Changed indentation style to meet the one used in Hildon
3113 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3115 Reviewed the interaction of the AUTO mode, now we use the time
3116 attribute of the events and calculate the velocity in the motion,
3117 doing a gimp like calculation. The velocity is calculated in each
3118 motion event using the last velocity and the current one, the
3119 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3121 * src/hildon-pannable-area.c: Replaced the time based algorithm
3123 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3124 timeout for the AUTO mode when we are still moving the cursor. We
3125 added also the velocity calculation in this function.
3126 (hildon_pannable_area_button_release_cb): launch the timeout in
3127 case we are in AUTO mode. There are still some constants here that
3128 come from the old implementation that should be reviewed and
3131 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3133 * doc/hildon-docs.sgml
3136 * src/hildon-stackable-window.c
3137 * src/hildon-stackable-window.h
3139 New HildonStackableWindow widget
3141 * examples/hildon-dialog-example.c
3142 * examples/hildon-pannable-area-example.c
3145 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-dialog.c
3148 (hildon_dialog_new_with_buttons): New constructor.
3150 * examples/hildon-dialog-example.c
3151 (main): Update the example to use the new
3152 hildon_dialog_new_with_buttons().
3154 * examples/hildon-pannable-area-example.c
3155 (main): Update example.
3157 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3159 * doc/hildon-docs.sgml
3161 Added HildonPannableArea to the documentation.
3163 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3165 * doc/visual_index.xml
3166 Fix reference to HildonLoginDialog in documentation
3168 * doc/hildon-docs.sgml
3170 * examples/Makefile.am
3171 * examples/hildon-dialog-example.c
3173 * src/hildon-dialog.c
3174 * src/hildon-dialog.h
3176 New HildonDialog widget.
3178 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-pannable-area.c
3181 Merge latest changes (r4318, r4342) from libmokoui trunk
3183 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3185 * examples/Makefile.am
3186 * examples/hildon-pannable-area-example.c
3188 * src/hildon-pannable-area.c
3189 * src/hildon-pannable-area.h
3191 New HildonPannableArea widget.
3193 2008-04-15 18:05:19 <timj@imendio.com>
3195 * src/hildon-banner.c: revert the recent change, that introduced
3196 gtk_window_present() calls. this reopens:
3197 Bug 78481 - [freetest] information banners are hidden under browser menu
3198 But resolves another variant of:
3199 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3201 2008-04-15 13:21:13 <timj@imendio.com>
3203 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3204 recreated its layout, spotted by Kris. this fixes all remaining
3205 artefacts and stability issues with the banner code. in particular:
3206 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3208 2008-04-14 16:52:59 <timj@imendio.com>
3210 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3211 operating on unrealized widgets, fixes:
3212 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3214 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3216 2008-04-09 Kristian Rietveld <kris@imendio.com>
3218 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3219 makes banner disappear.
3220 Fixes: NB#79182: info banner flickering with certain message lengts.
3222 * src/hildon-banner.c (hildon_banner_constructor),
3223 (hildon_banner_init), (hildon_banner_set_text),
3224 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3225 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3226 FALSE, reset size requests of label and banner,
3227 (force_to_wrap_truncated): when the text is too wide, always enforce
3228 the maximum possible width instead of recalculating it from the
3229 layout; enforce the maximum banner height of 3 lines,
3230 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3231 nicer wrapping and no truncated chars if space gets tight.
3233 * src/hildon-banner-private.h: add has_been_wrapped and
3234 has_been_truncated fields.
3236 2008-04-07 Sven Herzberg <sven@imendio.com>
3238 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3239 local values in hildon_date_editor_size_allocate
3241 * src/hildon-date-editor.c: moved the real allocation code into the
3244 2008-04-07 Sven Herzberg <sven@imendio.com>
3246 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3247 local values in hildon_date_editor_size_allocate
3249 * src/hildon-date-editor.c: merged the two if() branches together
3251 2008-04-07 Sven Herzberg <sven@imendio.com>
3253 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3254 local values in hildon_date_editor_size_allocate
3256 * src/hildon-date-editor.c: changed the arguments of the if()
3259 2008-04-07 Sven Herzberg <sven@imendio.com>
3261 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3262 local values in hildon_date_editor_size_allocate
3264 * src/hildon-date-editor.c: split the calculation of the allocation
3265 from the real allocation
3267 2008-03-27 Michael Natterer <mitch@imendio.com>
3269 Fixes: NB#81696: The passcode is not overwritten even after
3272 * src/hildon-code-dialog.c
3273 (hildon_code_dialog_button_clicked)
3274 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3275 because that doesn't overwrite selected text. Instead, emit the
3276 "commit" signal on the entry's im_context so the entry's normal
3277 insert logic is triggered. Set the cursor to the end of the entry
3278 after each insert operation so that we *only* insert in the middle
3279 of the text if something was selected.
3281 2008-03-27 Michael Natterer <mitch@imendio.com>
3283 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3284 selector cannot be opened
3286 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3287 when the popup color selector is created. Please connect to this
3288 signal in order to set the dialog's help ID.
3290 2008-03-25 Sven Herzberg <sven@imendio.com>
3292 Fixes: MB#1212: Hide info banners (infoprints) on click
3294 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3295 extracted the close event simulation into an extra function
3296 (hildon_banner_button_press_event): simulate a close event and destroy
3297 the widget if the event wasn't handled
3298 (hildon_banner_class_init): added the button_press_event handler
3299 (hildon_banner_init): added button-press events to the widget
3301 2008-03-25 Sven Herzberg <sven@imendio.com>
3303 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3304 Patch from: Mohammad Anwari <mdamt@maemo.org>
3306 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3307 instead of the right in RTL mode
3308 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3309 breadcrumb button list in RTL mode
3310 * src/hildon-caption.c: mirror the appearance of the caption widget in
3312 * src/hildon-date-editor.c: mirror appearance of the date editor in
3314 * src/hildon-time-editor.c: mirror appearance of the time editor in
3316 * src/hildon-window.c: fix the position of the popup in RTL mode
3318 2008-03-25 Sven Herzberg <sven@imendio.com>
3320 Amendment to the fix of NB#22072. Fix compilation.
3322 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3324 2008-03-19 Sven Herzberg <sven@imendio.com>
3326 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3329 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3330 timeout id properly when the timeout will disappear this leaves no
3331 artifacts around in the destroy(); there will only be the timeout
3332 created by hildon_banner_ensure_timeout() and adding a new timeout
3333 will also work if the timeout gets removed because the timeout_handler
3336 2008-03-19 Michael Natterer <mitch@imendio.com>
3338 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3340 * src/hildon-volumebar.c
3341 * src/hildon-vvolumebar.c
3342 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3343 the widget becomes focussable at all.
3345 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3346 set the focus to wither the mute button or the volumebar.
3348 Remove own "can-focus" property and instead listen to
3349 notify::can-focus in order to update the widget's state.
3351 Implement GtkWidget::focus() and make sure we can also *leave* the
3352 widget, not only enter it, depending on volumebar orientation and
3353 requested focus direction.
3355 Clean up set_mute() to cooperate nicely with all the above.
3357 2008-03-04 Michael Natterer <mitch@imendio.com>
3359 Fixes: NB#78481: information banners are hidden under browser menu
3361 * src/hildon-banner.c: call gtk_window_present() on the banners so
3362 they are risen if they are already visible.
3364 2008-03-03 Sven Herzberg <sven@imendio.com>
3366 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3368 * examples/hildon-window-menu-example.c: (main): extended the window
3369 menu example to serve as a testcase for automatically added
3370 accelerator groups, too
3371 * src/hildon-window.c: (hildon_window_add_accel_group),
3372 (hildon_window_set_menu): added patch by Tommi Komulainen
3374 2008-03-03 Sven Herzberg <sven@imendio.com>
3376 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3378 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3379 knowledge about the border allocators used within GTK+
3381 2008-02-26 Sven Herzberg <sven@imendio.com>
3383 Fixes: MB#2981: Build with asserts broken
3385 * src/hildon-date-editor.c,
3386 * src/hildon-number-editor.c,
3387 * src/hildon-time-editor.c,
3388 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3389 the proper GType instance check
3391 2008-02-25 Sven Herzberg <sven@imendio.com>
3393 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3395 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3396 * examples/hildon-window-menu-example.c: (main): explicitly show
3398 * src/hildon-window.c:
3399 (hildon_window_set_main_menu): moved most of the code from set_menu()
3400 to this place; skipped the call to gtk_widget_show_all(); also didn't
3401 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3402 (hildon_window_set_menu): removed most of the code, just keep the
3403 questionable gtk_widget_show_all()
3404 * src/hildon-window.h: added the new function and deprecate the old
3407 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3413 * debian/changelog: Updating.
3415 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3418 * pkgconfig/Makefile.am:
3419 * pkgconfig/hildon.pc.in:
3422 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3423 use newly created API_MAJOR_VERSION.
3425 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3431 * debian/changelog: Updating.
3433 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3435 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3437 Add outer_border style property, we use it but don't define it (!).
3441 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3443 * examples/hildon-bread-crumb-trail-example.c (main):
3447 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3449 Fix logic for the bread crumb trail node removal.
3453 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3459 * debian/changelog: Updating.
3461 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3463 Patch by Alejandro to get/set passwords dialogs accesibility.
3465 * hildon-1/src/hildon-get-password-dialog.c:
3466 * hildon-1/src/hildon-set-password-dialog.c:
3467 Set atk_set_name to the passwd entries in order to allow
3468 accessibility by name on this entries.
3470 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3475 * debian/control: Updating gtk dep.
3477 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3479 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3480 USE_MAEMO_GTK is enabled.
3482 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3484 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3485 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3487 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3493 * debian/changelog: Updating.
3495 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3497 * examples/Makefile.am:
3498 * examples/hildon-logical-color-example.c:
3499 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3500 applied + adding a test case. Fixes: NB#71660.
3502 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3504 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3505 to be visible, fixes warning on map for windows without toolbars.
3507 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3509 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3510 2.11.0, add a check for that besides the MAEMO_GTK check.
3512 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3518 * debian/changelog: Updating.
3520 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3522 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3523 visibility. Fixes: NB#70842 and MB#615.
3525 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3527 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3528 set the separator as no-show-all so it doesn't unintentionally appear when
3529 someone does a show_all.
3531 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3533 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3534 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3535 toplevel item. Fixes: NB#62031
3537 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3539 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3540 fix the name of the function in the docs.
3542 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3548 * debian/changelog: Updating.
3550 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3552 * examples/hildon-banner-long-example.c: Adding a test-case for long
3555 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3557 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3559 * src/hildon-color-chooser-dialog.c:
3560 * src/hildon-color-chooser.c:
3561 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3562 memory leaks in font selector and color selector. Fixes: NB#70499 and
3565 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3567 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3569 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3571 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3572 little bit bigger. Fixes: #NB63694.
3574 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3580 * debian/changelog: Updating.
3582 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3585 * doc/hildon-docs.sgml:
3586 * doc/images/bread-crumb-trail.png:
3587 * doc/images/calendar-popup.png:
3588 * doc/images/caption.png:
3589 * doc/images/code-dialog.png:
3590 * doc/images/color-button.png:
3591 * doc/images/color-chooser-dialog.png:
3592 * doc/images/color-chooser.png:
3593 * doc/images/controlbar.png:
3594 * doc/images/date-editor.png:
3595 * doc/images/font-selection-dialog.png:
3596 * doc/images/get-password-dialog.png:
3597 * doc/images/hvolumebar.png:
3598 * doc/images/login-dialog.png:
3599 * doc/images/note.png:
3600 * doc/images/number-editor.png:
3601 * doc/images/range-editor.png:
3602 * doc/images/seekbar.png:
3603 * doc/images/set-password-dialog.png:
3604 * doc/images/sort-dialog.png:
3605 * doc/images/time-editor.png:
3606 * doc/images/time-picker.png:
3607 * doc/images/vvolumebar.png:
3608 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3609 Adding the bread-crumb-trial and helpers to the documentation.
3611 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3613 * examples/hildon-find-toolbar-example.c:
3614 * src/hildon-find-toolbar.c:
3615 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3616 actually continue firing the other handlers if connected. Adding a new
3618 hildon_find_toolbar_get_last_index that gets the index of the most
3619 recently added (last) item. Fixes: NB#52301.
3621 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3623 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3624 behaviour. Fixes: NB#68610.
3626 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3628 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3631 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3633 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3634 when realizing the banner. Should make the infonbanner effect a bit more
3637 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3639 * src/hildon-volumebar.c:
3640 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3641 hildon_volumebar_set_range_insensitive_message and
3642 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3644 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3646 * src/hildon-window.c: Fixing the border freeing on destroy.
3648 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3650 * src/hildon-code-dialog-private.h:
3651 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3652 kw keyboard support in HildonCodeDialog.
3654 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3660 * debian/changelog: Updating.
3662 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3664 * src/hildon-date-editor.c:
3665 * src/hildon-number-editor.c:
3666 * src/hildon-private.c:
3667 * src/hildon-private.h:
3668 * src/hildon-time-editor.c:
3669 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3670 handling in subclassed composite widgets. Fixes: NB#66628.
3672 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3674 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3675 from destroy_ callback as it introduces problems in async dbus signal
3676 handlers. Fixes NB#66673.
3678 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3680 * examples/hildon-hvolumebar-example.c:
3681 * src/hildon-volumebar.c: Improving the focus handling in the
3682 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3683 set_property accessor so that "mute" property can be actually set. I'm
3684 scared that nobody noticed it's totally broken.
3686 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3688 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3691 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3693 * src/hildon-calendar.c:
3694 * src/hildon-number-editor.c:
3695 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3696 matches the spec of 6 chars per second. Fixes: NB#60489.
3698 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3700 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3701 gtk_style_lookup_color sometime returns FALSE even though color was
3702 found and values were filled properly. Weird. Removing the warning for the
3705 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3707 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3708 expand vertically. Adding some extra space to the find toolbar buttons to
3709 make them thumbable. Fixes NB#66060.
3711 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3713 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3714 popup with "Ok" and "Cancel". Fixes NB#59299.
3716 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3718 * src/hildon-calendar.c: Process all window updates before executing next
3719 timeout. Fixes: NB#54146.
3721 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3727 * debian/changelog: Updating.
3729 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3731 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3732 the client event and ignore it, since we use the delete event to close
3735 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3737 * src/hildon-helper.c: Remove the bogus warning about color not being
3738 found. Fixes NB#58352.
3740 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3742 * examples/Makefile.am:
3743 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3744 HildonSeekbar widget inside a toolbar.
3746 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3748 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3749 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3750 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3751 don't want to be closed by non-temporary windows on map.
3753 Also use G_DEFINE_TYPE instead of manually typed code.
3755 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3762 * debian/rules: Updating.
3764 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3766 * examples/Makefile.am:
3767 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3768 bug NB#61128. Strangely it works.
3770 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3772 * src/hildon-date-editor.c: When the date editor entry has been changed
3773 but the numbers of characters < max, turn off the skip validation flag.
3774 Prevents a situation when we enter first a valid year and later re-write
3775 it with an invalid one. Fixes NB#60154.
3777 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3779 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3780 code dialog. Fixes NB#64355.
3782 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3784 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3785 switching the page. Fixes NB#49374.
3787 * examples/Makefile.am:
3788 * examples/hildon-wizard-dialog-example.c: Adding an example for
3789 HildonWizardDialog that shows how to handle manual sensitivity setting on
3792 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3796 * src/hildon-version.h.in:
3797 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3799 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3801 * src/hildon-volumebar.c: Updating the docs.
3803 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3809 * debian/changelog: Updating.
3811 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * src/hildon-find-toolbar.c:
3814 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3815 selected item: hildon_find_toolbar_set_active,
3816 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3817 hildon_find_toolbar_get_active_iter . They correspond to respective
3818 GtkComboBox functions.
3820 * examples/Makefile.am:
3821 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3824 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3826 * examples/Makefile.am:
3827 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3830 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3831 when font size > 32 and we pack a focusable widget inside. Actually using
3832 the default response would work too, but since we don't show default
3833 response state in any way (no theming) it would not be visible to the
3834 user. Fixes NB#63430.
3836 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * src/hildon-date-editor.c: Adding the missing variable setter in the
3839 set_property handler. Fixes NB#54182.
3841 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3843 * src/hildon-window.h: Changing the long key press time from 1500ms to
3844 800ms as requested in NB#63700. I have a bad feeling about this, let's
3845 see... Fixes NB#63700.
3847 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3849 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3850 hildon_time_picker_map, hildon_time_picker_realize,
3851 hildon_time_picker_style_set): Split the contents of map to more
3852 appropriate functions; set window decorations on realize and update
3853 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3855 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3860 * debian/changelog: Updating.
3862 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3864 * src/Makefile.am: fixed installation of the header files
3866 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3872 * debian/changelog: Updating.
3874 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3876 * configure.ac: Removing some remaining of --enable-xan.
3878 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3880 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3881 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3883 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3884 2.10.12-osso6 because the move-focus signal needs to be available in
3887 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3889 * examples/Makefile.am:
3890 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3891 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3892 fine. Prolly NB#61128 is fixed now.
3894 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3896 * src/hildon-volumebar.c:
3897 * src/hildon-volumebar.h: Adding the
3898 hildon_volumebar_set_range_insensitive_message and
3899 hildon_volumebar_set_range_insensitive_messagef functions to set
3900 insensitive message on the slider of the volumebar. Fixes NB#61129.
3902 * examples/Makefile.am:
3903 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3904 test the new insensitive messsage functionality on HildonVolumebar.
3906 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3908 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3911 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3913 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3914 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3915 button on after clearing the trail.
3917 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3919 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3921 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3923 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3924 by splitting the installed headers in generated and non-generated groups. Use
3925 only the non-generated headers to create the hildon-enum-types.h file.
3927 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3929 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3931 * src/hildon-window.c: Hide the window before performing the destroy.
3932 Should make the app closing a little tiny bit more snappy.
3934 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3936 * src/hildon-seekbar.c: add gtkrange.h header
3937 * src/hildon-caption.c: remove unused variable
3939 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3941 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3944 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * debian/changelog: Updating.
3952 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3954 * src/hildon-window.c (hildon_window_window_state_event,
3955 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3956 escape timeout on focus-out-event rather than notify::is-topmost; the
3957 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3959 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3961 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3962 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3964 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3966 * src/hildon-window: actually, you need to use the macro always, there's
3967 no private pointer in the instance structure. We should have cleaned this up
3968 when we had the chance...
3970 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3972 * src/hildon-window.c: do not get the private date from HildonWindow before
3973 it passes the g_return_if_fail check. Once it's passed the test, there's no
3974 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3975 if you are only going to access the data once. Whitespace cleanups.
3977 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3979 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3980 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3982 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3988 * debian/changelog: Updating.
3990 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3992 * src/hildon-window.c: When destroying the window, remove (if exists) the
3993 escape timeout handler. Fixes #NB59276.
3995 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3997 * src/hildon-banner.c: When realizing the widget, set the window
3998 transiency. Setting the transiency in the gobject constructor is not
3999 good, as the widget is not realized at that point. Fixes: #NB56624.
4001 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4003 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4004 Add padding for future expansions.
4006 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4008 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4009 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4010 will fake an activation on the previous to the last item of the trail, so
4011 the effect can be overrided by the developer as usual.
4012 Also change the callback for the back button to do the same thing, so its
4013 effect can be overrided too. Fixes: NB#58982
4015 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4017 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4018 HildonCaption. Fixes NB#52379.
4020 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4022 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4023 the internal state of the trail after the user has had the chance of executing
4024 his handler for the signal. Specifically, it may happen that the activated button
4025 is removed and the user still lets the default handler run. This would segfault
4028 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4030 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4031 scrollbar to the preview dialog. Fixes NB#54147.
4033 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4035 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4036 max/min year properties can be altered, so the client can modify it
4037 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4039 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4041 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4042 hildonlike by default. Fixing a problem with disappearing arrows when
4043 scrolling through months and years. Fixes NB#54127.
4045 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * examples/hildon-date-editor-example.c: Adding error callback to the date
4050 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * configure.ac: Updating.
4058 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4060 * configure.ac: Adding a special '--enable-xan' configure option that
4061 turns off the -Werror compilation setting. Usefull for development.
4063 * src/hildon-calendar.c:
4064 * src/hildon-number-editor.c:
4065 * src/hildon-time-picker.c: Adding the 5* multiplier to
4068 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4070 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4071 instead of g_object_ref + gtk_object_sink.
4073 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4079 * debian/changelog: Updating.
4081 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4083 * src/hildon-color-chooser-dialog.c:
4084 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4085 straight from Tommi labs.
4087 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4089 * examples/hildon-finger-example.c: Correcting the header file path.
4091 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4092 the changed signal. Fixes a small memory leak.
4094 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * src/hildon-banner.c: Importing several usefull fixes from the
4099 ubuntu-mobile branch.
4101 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4103 * examples/Makefile.am:
4104 * examples/hildon-finger-example.c: Adding a finger-checking code
4107 * src/hildon-font-selection-dialog.c: Do not allocate the color
4108 structure using the g_new. Fixes NB#54061.
4110 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * src/hildon-helper.c: Correcting tabs in file.
4114 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4116 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4117 control the visibility of the children.
4119 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4121 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4127 * debian/changelog: Updating.
4129 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4131 * src/hildon-bread-crumb-trail.c:
4132 (hildon_bread_crumb_trail_size_allocate):
4134 Make the back button always a square.
4136 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4138 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4139 from the .c file as it's a private file.
4141 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4144 uses slightly bigger height.
4146 * src/hildon-font-selection-dialog.c: Adding some checks before
4147 freeing memory in the font selection dialog.
4149 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4151 * src/hildon-font-selection-dialog.c: Adding a small check when
4154 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4155 buttons sensitivity on page switching.
4157 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4159 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4160 internal details of adding a bread crumb to the trail.
4162 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4168 * debian/changelog: Updating.
4170 * src/hildon-bread-crumb-trail.h:
4171 * src/hildon-bread-crumb.h: Changing the API guard to
4172 HILDON_ENABLE_UNSTABLE_API.
4174 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4182 * src/hildon-helper.h: Updating.
4184 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4192 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-helper.h: Small fix to make the package actually compile.
4198 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4200 * src/hildon-bread-crumb-trail.h:
4201 * src/hildon-bread-crumb.h:
4203 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4204 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4206 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4208 * examples/hildon-bread-crumb-trail-example.c:
4210 * src/hildon-bread-crumb-trail.c:
4211 * src/hildon-bread-crumb-trail.h:
4212 * src/hildon-bread-crumb.c:
4213 * src/hildon-bread-crumb.h:
4214 * src/hildon-marshalers.list:
4215 * src/hildon-bread-crumb-widget.c:
4216 * src/hildon-bread-crumb-widget.h:
4218 Slight change in the widget design. The bread crumb trail API is
4219 unchanged, but HildonBreadCrumb is now an interface. A *private*
4220 implementation, hildon-bread-crumb-widget, is provided and used
4221 internally by the trail for the push_text/push_icon functions.
4223 The generic push API is still available, so anyone can implement
4224 and use its own bread crumb widget.
4226 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * debian/rules: Fixing the shlibs.
4230 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4232 * src/hildon-banner.c: Fixing a problem with timed banners having
4233 their parrent destroyed before they are.
4235 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4237 * src/hildon-bread-crumb.c:
4238 * src/hildon-bread-crumb.h:
4240 Make the get_natural_size function a vfunc.
4242 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4244 * src/hildon-bread-crumb.c:
4245 * src/hildon-bread-crumb-trail.c:
4249 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4256 * debian/changelog: Updating for release.
4258 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4260 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4261 don't leak the pango layout.
4263 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4266 * examples/hildon-bread-crumb-trail-example.c:
4270 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4272 * debian/changelog: Removing the bug-fixed entries that were actually
4273 resolved as WONTFIX.
4275 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4278 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4280 * src/hildon-bread-crumb-trail.c:
4281 * src/hildon-bread-crumb-trail.h:
4282 * src/hildon-bread-crumb.c:
4283 * src/hildon-bread-crumb.h:
4287 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4289 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4290 until it's passed the type check.
4292 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4294 * examples/hildon-bread-crumb-trail-example.c
4298 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4300 * examples/Makefile.am
4301 * examples/hildon-bread-crumb-trail-example.c
4303 * src/hildon-bread-crumb-trail.c
4304 * src/hildon-bread-crumb-trail.h
4305 * src/hildon-bread-crumb.c
4306 * src/hildon-bread-crumb.h
4308 New HildonBreadCrumbTrail widget.
4310 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4312 * src/hildon-range-editor.c (hildon_range_editor_init),
4313 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4314 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4315 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4316 hildon_time_editor_class_init, hildon_time_editor_init),
4317 src/hildon-get-password-dialog.c (invalid_input,
4318 hildon_get_password_set_property, hildon_get_password_get_property,
4319 create_contents, hildon_get_password_dialog_set_max_characters),
4320 src/hildon-set-password-dialog.c (create_contents),
4321 src/hildon-date-editor.c (hildon_date_editor_init),
4322 src/hildon-login-dialog.c (hildon_login_dialog_init),
4323 src/hildon-number-editor.c (hildon_number_editor_init),
4324 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4325 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4326 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4327 configure option and adding the respective checks in the code.
4328 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4329 hildon_calendar_drag_data_received): fixed some build warnings.
4331 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4333 * debian/changelog: A 1.0.0 release notes.