1 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5 * src/hildon-color-chooser-dialog.c:
6 (hildon_color_chooser_dialog_init):
7 * src/hildon-font-selection-dialog.c:
8 (hildon_font_selection_dialog_init):
9 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
11 Remove all cancel/close-like dialogs, as these are not going to be
14 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
16 * src/hildon-note.c: (hildon_note_rebuild),
17 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
20 Fixes: NB#90661 (Delete dialog is displayed without NO button)
22 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
24 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
25 sure all buttons are shown, even the Cancel/Close-like ones.
27 Fixes: NB#90861 (Custom Confirmation dialogs should be
28 protected from cancel button removal)
30 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
32 * debian/control: Change libhildon1-examples dependency from libhildon1
34 * debian/libhildon1-examples.install
36 * Makefile.am: Modified the final install directory for the examples on
37 package libhildon1-examples
38 * Makefile.static: Update clean target in order to remove all the binary
41 Changes suggested by Claudio after review new libhildon1-examples package
43 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
45 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
46 * src/hildon-touch-selector.c: Ditto.
48 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
50 * debian/control: Added new package libhildon1-examples, in order to pack
51 the current hildon examples as documentation
52 * debian/rules: Not to compress .c files, modify some includes on the
53 examples (as normally are compiled locally, but when installed it will
54 require to include the installed libhildon1 library), and rename
56 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
57 install all the example files on the new example package
58 * examples/Makefile.static: Added static makefile that can be used to
59 compile the examples, once installed the new example package
60 * examples: Most of the examples were modified in order to grant that
61 all use only '#include "hildon.h"', in order to be easy to prepare
62 it on the example package
64 2008-10-23 Alberto Garcia <agarcia@igalia.com>
67 * debian/libhildon1-dev.install
68 * debian/libhildon1-doc.install:
69 Move all gtk-doc files to a separate libhildon1-doc package.
71 2008-10-23 Daniel Borgmann <danielb@openismus.com>
73 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
75 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
77 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
79 * debian/rules: Fixed a error in order to avoid unnecessary calls
80 to autogen.sh on package building
82 2008-10-22 Alberto Garcia <agarcia@igalia.com>
84 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
86 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
88 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
91 2008-10-21 Alberto Garcia <agarcia@igalia.com>
93 * src/hildon-picker-button.c
94 (hildon_picker_button_finalize):
95 Free priv->done_button_text
97 * src/hildon-time-button.c
98 (hildon_time_button_set_time)
99 * src/hildon-picker-button.c
100 (hildon_picker_button_clicked)
101 (hildon_picker_button_selector_selection_changed)
102 (hildon_picker_button_set_selector)
103 * src/hildon-date-button.c
104 (hildon_date_button_set_date):
105 Free strings returned by hildon_touch_selector_get_current_text()
107 * src/hildon-button.c (hildon_button_construct_child):
108 Fix leaks in priv->image and priv->label_box
110 Fixes: NB#90535 (Memory leak in picker button)
112 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-button.c: (hildon_button_get_property): Do not access
115 private elements directly, use getters instead.
117 2008-10-20 Alberto Garcia <agarcia@igalia.com>
119 * src/hildon-app-menu-private.h
120 * src/hildon-app-menu.c
121 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
122 Store the menu's parent window.
124 * src/hildon-stackable-window.c
125 (hildon_stackable_window_toggle_menu)
126 (hildon_stackable_window_finalize):
127 Set the menu's parent window when the menu is shown, unset it when
130 * src/hildon-app-menu.c
131 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
132 (hildon_app_menu_class_init):
133 Send unhandled keyboard accelerators to the parent window.
135 2008-10-20 Alberto Garcia <agarcia@igalia.com>
137 * src/hildon-stackable-window.c
138 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
140 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
142 * configure.ac: post release version bump
144 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
147 * configure.ac: Bump version
148 * debian/changelog: Updates
149 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
152 2008-10-20 Alberto Garcia <agarcia@igalia.com>
154 Patch contributed by Daniel Borgmann (danielb@openismus.com)
157 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
158 GtkMenu with Hildon style.
160 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
162 * src/hildon-picker-button.c:
163 (hildon_picker_button_set_done_button_text): Set the dialog's
164 done button text here as well.
166 Fixes: NB#90232 (Picker button does not set the label on done button
169 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
171 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
174 2008-10-16 Alberto Garcia <agarcia@igalia.com>
176 * src/hildon-app-menu.c (hildon_app_menu_insert)
177 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
178 the HildonAppMenu to be activatable using keyboard accelerators
179 when the menu is not being shown.
181 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
183 2008-10-16 Alberto Garcia <agarcia@igalia.com>
185 * src/hildon-stackable-window.c
186 (hildon_stackable_window_show):
187 Don't hide old windows automatically when new windows are shown:
188 this is now a task for the window manager.
189 (hildon_stackable_window_class_init)
190 (hildon_stackable_window_hide):
191 Remove windows from the stack everytime they're hidden.
192 (hildon_stackable_window_realize):
193 Don't change the _NET_WM_WINDOW_TYPE property. Use
194 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
195 it as a stackable window.
197 * src/hildon-program.c
198 (hildon_program_pop_window_stack):
199 Just hide the window to remove it from the stack.
200 (hildon_program_go_to_root_window):
201 Don't call gtk_widget_show(), this is now a task for the window
204 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
206 2008-10-15 Alberto Garcia <agarcia@igalia.com>
208 * src/hildon-button.c
209 (hildon_button_construct_child):
210 Don't pack anything in the button until text or image are
211 set. This allows adding a custom child after creating the button
212 with hildon_button_new().
213 (hildon_button_finalize, hildon_button_class_init)
214 (hildon_button_init, hildon_button_set_arrangement): Destroy the
215 alignment and the label box even when they're not packed in the
218 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
220 * src/hildon-touch-selector.h:
221 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
222 currently the type definition was using GTK_TYPE_VBOX
223 * src/hildon-touch-selector.c:
224 Added some implementation notes in order to clarify that any other widget
225 added without the column related API will not be included on the
226 selection logic, and how the widget is freed, as some people ask about
228 (hildon_touch_selector_remove): Reimplemented in order to free properly
229 the column related data when you remove the private hbox.
230 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
231 to get a proper HildonTouchSelectorColumn documentation
233 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-touch-selector-entry.c:
236 (hildon_touch_selector_entry_print_func): Return NULL if there is no
237 text in the GtkEntry and there is no item selected. Fixes a
240 2008-10-13 Alberto Garcia <agarcia@igalia.com>
242 * src/hildon-app-menu-private.h
243 * src/hildon-app-menu.[ch]
244 * src/hildon-button.[ch]
245 * src/hildon-check-button.[ch]
246 * src/hildon-entry.[ch]
247 * src/hildon-pannable-area.[ch]
248 * src/hildon-text-view.[ch]:
249 Added private field to the object's structure.
251 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
253 * configure.ac: post-release version bump
255 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
259 * configure.ac: pre-release version bump
261 * debian/changelog: updates.
263 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
265 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
266 Disconnect the handler for HildonTouchSelector::changed.
268 (hildon_picker_button_selector_selection_changed): Update the button
269 value if the selection change was not triggered by the
272 (hildon_picker_button_set_selector): connect to
273 HildonTouchSelector::changed.
275 Fixes: NB#89650 (Picker button is not updated, when selection in
276 selector has changed)
278 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
280 * src/hildon-picker-dialog.c
281 (hildon_picker_dialog_realize): Removed as not required
282 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
283 * src/hildon-picker-button.c
284 (_current_selector_empty): New function, checks if the selector is empty
285 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
286 if the current selector is empty, in order to avoid to show the dialog
287 close the dialog in this case (and shows a g_warning).
289 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
291 2008-10-09 Alejandro G. Castro <alex@igalia.com>
293 * src/hildon-pannable-area.c,
294 (hildon_pannable_area_scroll): Added clause to stop movement when
295 the child of pannable is smaller than one page.
296 (hildon_pannable_area_scroll_to): Added conditions to avoid
297 starting the scrolling movement if the child is smaller than one
298 page, the complete child is in the screen, we do not have to move.
300 Fixes: NB#89632 (Picker button selection doesn't change on first click)
302 2008-10-09 Alberto Garcia <agarcia@igalia.com>
304 * src/hildon-app-menu.c: Removed the 'columns' property, as now
305 this is managed automatically by the widget when the size of the
308 2008-10-09 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-picker-button.c
311 (hildon_picker_button_set_done_button_text): Make a copy of the
312 text, and free the previous value.
314 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
316 * src/hildon-touch-selector-entry.c:
317 (hildon_touch_selector_entry_print_func): Return the selected row's
318 text if the entry is empty.
320 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
323 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
325 * src/hildon-touch-selector-entry.c: Minor docs fixes.
327 2008-10-09 Alberto Garcia <agarcia@igalia.com>
330 * src/hildon-check-button.h
331 * src/hildon-check-button.c
332 * examples/hildon-check-button-example.c:
333 HildonCheckButton is now a new widget. 'toggled' signal added.
335 2008-10-08 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-program-private.h
338 * src/hildon-program.c (hildon_program_init)
339 (hildon_program_finalize): Removed unused variables group_leader
340 and name from HildonProgramPrivate.
342 2008-10-08 Alberto Garcia <agarcia@igalia.com>
344 * src/hildon-check-button.c (hildon_check_button_set_active)
345 (hildon_check_button_get_active, hildon_check_button_new): Use
346 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
348 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
350 * src/hildon-touch-selector.h
351 (hildon_touch_selector_set_column_attributes): added deprecation
352 guard HILDON_DISABLE_DEPRECATED
353 * src/hildon-time-selector.c
354 (hildon_time_selector_set_time)
355 (hildon_time_selector_get_time): Fixed a typo on documentation
356 * src/hildon-touch-selector.c: update HildonTouchSelector and
357 HildonTouchSelectorColumn documentation
358 * src/hildon-touch-selector-entry.c: update "text-column" property
360 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
361 to be added to the general documentation.
363 2008-10-08 Alejandro G. Castro <alex@igalia.com>
365 * examples/hildon-pannable-area-example-4.c,
367 * examples/hildon-pannable-area-example.c,
368 (main): Modified the code in order to use the container add, with
369 viewport treeviews could have problems if they are really big.
371 2008-10-06 Alejandro G. Castro <alex@igalia.com>
373 * src/hildon-weekday-picker.c,
374 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
375 the agreement regarding deprecation in the library.
377 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
379 * examples/hildon-picker-button-multicolumn-example.c:
380 (main): Use custom "done" button text.
382 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
383 (hildon_picker_button_set_property),
384 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
385 (hildon_picker_button_init),
386 (+hildon_picker_button_get_done_button_text),
387 (+hildon_picker_button_set_done_button_text): New methods to customize
388 the "done" button label in the launched HildonPickerDialog. Also,
391 * src/hildon-picker-button.h: add the public API.
393 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
395 * src/hildon-date-selector.h:
396 * src/hildon-picker-dialog.h:
397 * src/hildon-time-selector.h:
398 * src/hildon-touch-selector-column.h:
399 * src/hildon-touch-selector.h:
401 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
402 declarations. Fixes gtk-doc warnings.
404 2008-10-06 Alberto Garcia <agarcia@igalia.com>
406 * src/hildon-picker-dialog.h
407 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
408 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
410 Fixes: NB#89329 (selectors in picker dialog are not visible when a
411 long text is set as label for done button)
413 2008-10-06 Alberto Garcia <agarcia@igalia.com>
415 * src/hildon-dialog.c (hildon_dialog_add_button):
416 Set fixed width to all buttons in the HildonDialog.
418 2008-10-06 Alberto Garcia <agarcia@igalia.com>
420 Patch contributed by Daniel Borgmann (danielb@openismus.com)
422 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
423 Set widget name using class name plus "-finger" or "-thumb".
425 2008-10-03 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
428 'clicked' when the state of the button is manually changed.
430 2008-10-02 Alberto Garcia <agarcia@igalia.com>
432 * src/hildon-app-menu.c (hildon_app_menu_realize)
433 (hildon_app_menu_unrealize, hildon_app_menu_init)
434 (hildon_app_menu_class_init, item_visibility_changed):
435 Change the menu layout when the size of the screen changes.
436 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
437 Show warning only when changing the number of colums using the
440 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
442 * debian/compat: Set to 5
443 * debian/control: Update dependencies.
444 * debian/libhildon1-dbg.install: Remove.
445 * debian/libhildon1-dev.install: Update according to cdbs paths.
446 * debian/libhildon1.install: Update according to cdbs paths.
447 * debian/rules: Switch to cdbs.
449 2008-10-01 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
452 'item' variable renamed to 'filter'
454 2008-10-01 Alberto Garcia <agarcia@igalia.com>
456 * src/hildon-app-menu.c (hildon_app_menu_insert)
457 (hildon_app_menu_add_filter, remove_item_from_list)
458 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
459 Don't leak hidden items when the menu is destroyed.
461 2008-10-01 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-app-menu.c (hildon_app_menu_insert)
464 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
465 (hildon_app_menu_set_columns, item_visibility_changed)
466 (filter_visibility_changed, hildon_app_menu_repack_filters)
467 (hildon_app_menu_repack_items):
468 Repack items and filters separately.
470 Don't repack all items, change only the ones that are needed to
473 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
475 * src/Makefile.am: added hildon-touch-selector-column.h
477 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
479 * src/hildon-touch-selector.c: added the property "text-column" to the
480 class HildonTouchSelectorColumn, and related get/set functions
481 (_default_printf_func): updated to use "text-column" property
482 * src/hildon-touch-selector-entry.c: mark as deprecated the property
483 "text-column" in his documentation, as this is now included on
484 HildonTouchSelectorColumn. The get/set_property can still be used,
485 working as a wrapper to the concrete column "text-column" property
486 (_text_column_modified): callback added in order to handle the signal
487 "notify::text-column" of the concrete HildonTouchSelectorColumn
488 (hildon_touch_selector_entry_get_text_column)
489 (hildon_touch_selector_entry_set_text_column): Added documentation, and
490 modified in order to use the HildonTouchSelectorColumn "text-column"
492 * src/hildon-time-selector.c:
493 * src/hildon-date-selector.c:
494 * examples/hildon-touch-selector-example.c
495 * examples/hildon-touch-selector-multi-cells-example.c
496 * examples/hildon-picker-button-multicolumn-example.c
497 Set the right value to "text-column" property on the creation of a new
498 column using hildon_touch_selector_append_column()
500 Fixes: NB#88644 (Hardcoded first column of the model as text column)
502 2008-09-30 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-app-menu.c
505 (hildon_app_menu_construct_child, hildon_app_menu_init): When
506 updating the layout of the menu, don't create all widgets again,
507 just repack the items in their new places.
509 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
511 * src/hildon-time-selector.c
512 (hildon_time_selector_get_time)
513 (hildon_time_selector_set_time)
514 Added documentation of these public methods
516 * src/hildon-date-button.h
517 * src/hildon-touch-selector-column.h
518 * src/hildon-time-button.h
519 * src/hildon-picker-dialog.h
520 * src/hildon-time-selector.h
521 * src/hildon-picker-button.h
522 * src/hildon-touch-selector.h
523 * src/hildon-time-picker.h
524 * src/hildon-date-selector.h
525 * src/hildon-touch-selector-entry.h
526 Modified in order to use hildon-widgets code style
528 2008-09-30 Alejandro G. Castro <alex@igalia.com>
530 Added deprecated support to the compilation process using
531 HILDON_DISABLE_DEPRECATED
533 * configure.ac: Added the --disable-deprecated to the configure
536 * src/hildon-weekday-picker.c:
537 * src/hildon-weekday-picker.h: Deprecated widget, example of how
538 to use the deprecated support. We will update the other deprecated
539 widgets status in a new patch.
541 2008-09-30 Alejandro G. Castro <alex@igalia.com>
543 * configure.ac: Fixed typo with fatal warnings support, the
544 variable name was not correct
546 2008-09-29 Alberto Garcia <agarcia@igalia.com>
548 * src/hildon-app-menu.c
549 * src/hildon-program.c: Update documentation.
551 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
553 * configure.ac: Post-release version bump.
555 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
560 * configure.ac: Pre-release version bump.
561 * debian/changelog: Updates.
563 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
565 * NEWS: Update news for previous releases.
567 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
569 * examples/hildon-touch-selector-multi-cells-example.c:
570 (create_selector): Update the example to use
571 hildon_touch_selector_append_column() with a NULL renderer and set
573 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
574 passed a NULL renderer. This is documented behavior now.
576 Allow passing a NULL renderer to hildon_touch_selector_append_column().
577 This must be used if the developer wants full control on the layout of
578 the renderers to be added to the column.
580 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
582 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-touch-selector.c: Documentation fixes.
586 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
588 * src/hildon-wizard-dialog-private.h: Remove image and box.
589 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
590 (hildon_wizard_dialog_set_property), (response): Completely remove
591 image/icon support, and the containers required for the layout.
593 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
595 2008-09-25 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-app-menu.c: Updated documentation.
599 * src/hildon-stackable-window.c
600 (hildon_stackable_window_set_main_menu): Unref the old menu after
603 2008-09-25 Alberto Garcia <agarcia@igalia.com>
605 * src/hildon-stackable-window.c
606 (hildon_stackable_window_set_main_menu): Unref the previous menu
607 instead of destroying it.
609 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
610 floating reference and set has_user_ref_count to FALSE to make
611 HildonAppMenu act like a normal ref-counted widget and not a
614 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
617 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
619 * src/hildon-touch-selector-column.h: new file
620 * src/hildon-touch-selector.h
621 * src/hildon-touch-selector.c
622 Implemented GtkCellLayout interface, in order to allow to configure
623 the cell layout on each individual selector column
624 (hildon_touch_selector_set_column_attributes): marked as deprecated
625 * examples/hildon-touch-selector-multi-cells-example.c
626 Example of how to use the GtkCellLayout interface on the selector
628 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
630 2008-09-24 Alberto Garcia <agarcia@igalia.com>
632 * src/hildon-app-menu.h
633 * src/hildon-app-menu.c
634 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
635 (hildon_app_menu_append, hildon_app_menu_prepend):
636 New methods to prepend, insert and move items in the menu.
638 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
640 * src/hildon-wizard-dialog.c:
642 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
644 (create_title): Update logical IDs and related code.
645 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
647 * src/hildon-wizard-dialog.h: Note that
648 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
649 point, as it is not used anymore.
651 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
653 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
656 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
657 shown. Do not display an icon in confirmation notes nor information
659 (hildon_note_set_button_text): Update logical ID for cancel button.
661 Fixes: NB#88850 (Update HildonNote button strings + signals)
663 2008-09-24 Alberto Garcia <agarcia@igalia.com>
665 * src/hildon-stackable-window.c
666 (hildon_stackable_window_set_main_menu): Fix compilation warning.
668 2008-09-24 Alberto Garcia <agarcia@igalia.com>
670 * src/hildon-app-menu-private.h
671 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
672 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
673 (hildon_app_menu_init, hildon_app_menu_class_init): Added
674 temporary property 'columns' to change the number of columns.
676 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
678 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
680 * examples/hildon-note-example.c: (on_information_clicked),
681 (on_confirmation_clicked), (on_progress_clicked), (main): Add
682 debugging information.
683 * src/hildon-note-private.h: Remove close_if_pressed_outside,
685 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
686 (hildon_note_rebuild): Remove special handling of tapping outside/inside
687 in order to close: this will be handled by the WM from now on.
689 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
691 2008-09-24 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-app-menu-private.h
694 * src/hildon-app-menu.c
695 (hildon_app_menu_append, hildon_app_menu_add_filter)
696 (button_visibility_changed, hildon_app_menu_apply_style)
697 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
698 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
699 layout everytime a button (item or filter) is shown or hidden.
701 * src/hildon-stackable-window.c
702 (hildon_stackable_window_set_main_menu): Destroy the old menu when
705 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
707 * src/hildon-touch-selector.c:
708 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
709 that the treeview inside the touch selector is in fremantle hildon mode
710 * examples/hildon-date-button-example.c
711 * examples/hildon-picker-button-multicolumn-example.c
712 * examples/hildon-touch-selector-entry-example.c
713 * examples/hildon-touch-selector-example.c
714 * examples/hildon-time-button-example.c
715 * examples/hildon-picker-button-example.c:
716 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
718 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
720 * examples/hildon-text-view-example.c: (main): Remove the
721 gtkrc bits, now handled by the theme.
723 2008-09-22 Alberto Garcia <agarcia@igalia.com>
725 * src/hildon-picker-button.c (hildon_picker_button_set_active):
728 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
730 * po/Makefile.am: Install properly the mo files.
731 * po/en_GB.po: Update translation, to ease testing purposes.
733 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
735 * examples/hildon-picker-button-example.c: (main): Select an item
736 in the selector before setting it to the button.
738 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
741 Update button's value if the selector has an item active.
743 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
744 'value' with the selector)
746 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
749 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
750 (hildon_picker_button_class_init): Plug the finalize method.
751 (hildon_picker_button_set_selector): If there's a previously set
752 selector, unref'it before setting a new one.
754 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
757 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
759 * src/hildon-touch-selector-entry.c:
760 (hildon_touch_selector_entry_changed): Check if there is no text
761 selected before setting the entry text.
764 2008-09-15 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-touch-selector.h
767 * src/hildon-touch-selector.c
768 (hildon_touch_selector_get_active)
769 (hildon_touch_selector_set_active): New methods to set/get the
770 index of the selected item.
772 * src/hildon-picker-button.h
773 * src/hildon-picker-button.c
774 (hildon_picker_button_get_active)
775 (hildon_picker_button_set_active): New methods to set/get the
776 index of the selected item.
778 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
780 * configure.ac: post-release version bump.
782 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
786 * configure.ac: Pre-release version bump.
787 * debian/changelog: Updates.
788 * debian/control: Add myself as maintainer and depend on l10n
791 2008-09-15 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-window.c
794 (hildon_window_set_main_menu)
795 * src/hildon-stackable-window.c
796 (hildon_stackable_window_set_main_menu):
797 Updated documentation.
799 2008-09-15 Alberto Garcia <agarcia@igalia.com>
801 * src/hildon-date-selector.c (hildon_date_selector_finalize):
802 Don't free selector->priv manually.
805 2008-09-12 Alejandro G. Castro <alex@igalia.com>
808 (hildon_gtk_window_set_progress_indicator):
809 * src/hildon-gtk.h: Added the new API
810 hildon_gtk_window_set_progress_indicator, it changes the state of
811 the window progress hint.
813 2008-09-12 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-button.c
816 * src/hildon-stackable-window.c: Minor documentation updates.
818 2008-09-12 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-stackable-window.c: Updated documentation.
822 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
824 * src/hildon-defines.h: Update margins definitions
825 to the Fremantle sizes.
828 2008-09-12 Alejandro G. Castro <alex@igalia.com>
830 * src/hildon-touch-selector.c,
831 (_hildon_touch_selector_set_model): Cleaning the code after
832 review, removed g_print and #if 0 from the code.
834 2008-09-11 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-edit-toolbar.c: Update documentation.
838 2008-09-11 Alberto Garcia <agarcia@igalia.com>
840 * src/hildon-check-button.h
841 * src/hildon-check-button.c
842 (hildon_check_button_set_label, hildon_check_button_get_label)
843 * examples/hildon-check-button-example.c
845 Removed deprecated methods.
847 2008-09-11 Alberto Garcia <agarcia@igalia.com>
849 * src/hildon-text-view.c:
850 Add sample code to the documentation.
853 * src/hildon-text-view.h:
854 Minor cosmetic changes.
856 * src/hildon-entry.c:
857 Add sample code to the documentation.
858 (hildon_entry_init, hildon_entry_refresh_contents):
859 Don't allow NULL values in the placeholder.
861 2008-09-10 Alberto Garcia <agarcia@igalia.com>
863 * doc/hildon-docs.sgml
865 * examples/Makefile.am
866 * examples/hildon-text-view-example.c
868 * src/hildon-text-view.c
869 * src/hildon-text-view.h
871 New HildonTextView widget, with example.
873 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
875 * po/POTFILES.in: Add missing files with translatable strings.
876 Partially fixes NB#88287.
878 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
880 * examples/hildon-pannable-area-example-2.c: (main): No need to
881 set the cellrenderer height inside hildon touch lists, the theme does
884 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
886 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
887 they are integrated in the theme.
889 2008-09-09 Alberto Garcia <agarcia@igalia.com>
891 * examples/hildon-entry-example.c: Update the example adding
892 widgets to modify the text and the placeholder of the HildonEntry.
894 * src/hildon-entry.c: Show the placeholder everytime the widget
895 is empty and loses the focus.
897 2008-09-09 Alejandro G. Castro <alex@igalia.com>
899 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
901 * src/hildon-pannable-area.c,
902 (hildon_pannable_area_size_request): Fixed bug in height
903 requisition, avoid increasing size and add border twice.
905 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: postrelease version bump.
909 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
913 * configure.ac: Prerelease version bump.
914 * debian/changelog: update.
915 * debian/rules: make -dbg package contain useful debugging symbols.
917 2008-09-08 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-dialog.h
920 * src/hildon-dialog.c
921 (hildon_dialog_add_button, hildon_dialog_add_buttons):
922 New methods to add buttons with finger size.
923 (hildon_dialog_new_with_buttons):
924 Create buttons with finger size.
926 * examples/hildon-dialog-example.c (main): Use HildonDialog
927 methods to add buttons.
929 2008-09-08 Alberto Garcia <agarcia@igalia.com>
931 * src/hildon-entry.c: Updated HildonButton documentation.
933 2008-09-08 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
936 button value label with (FALSE, FALSE) to prevent NB#88126 from
939 2008-09-08 Alejandro G. Castro <alex@igalia.com>
941 * examples/hildon-pannable-area-example.c,
942 (main): Removed examples panning a vbox inside a pannable
943 area. Check bug NB#87965
945 2008-09-08 Alejandro G. Castro <alex@igalia.com>
947 Patch contributed by Kris Rietveld (kris@imendio.com)
949 * src/hildon-pannable-area.c,
950 (hildon_pannable_area_get_topmost): replaced the get_geometry with
951 get_size and get_position, this saves an X server roundtrip.
953 2008-09-05 Alberto Garcia <agarcia@igalia.com>
955 * doc/hildon-docs.sgml
957 * examples/Makefile.am
958 * examples/hildon-entry-example.c
963 New HildonEntry widget, with example.
965 2008-09-05 Alberto Garcia <agarcia@igalia.com>
967 * src/hildon-button.c (hildon_button_construct_child): Pack the
968 image with expand == fill == FALSE. This is a workaround for a bug
971 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
973 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
974 labels for the text column, to make it more look more dynamic.
976 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
978 * src/hildon-time-selector.c
979 Define gettext auxiliar macro N_
980 (_create_minutes_model)
981 (_create_hours_model)
982 (_create_ampm_model): use of strftime in order to fill the model
983 * src/hildon-date-selector.c
984 (hildon_date_selector_finalize):
985 (_locales_init): remove the logic related to get the name of the months
986 using nl_langinfo, as it is not required anymore
989 (_create_month_model)
990 (_update_day_model): use of strftime in order to fill the model properly
993 2008-09-04 Alberto Garcia <agarcia@igalia.com>
995 * src/hildon-button.h
996 * src/hildon-button.c (hildon_button_get_image): New method to
999 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1001 * src/hildon-touch-selector.c:
1002 (hildon_touch_selector_remove_column): Remove from the correct parent
1003 and also remove the list element and free it.
1006 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1008 * src/hildon-time-selector.c
1009 (_create_hours_model): change the range on 12h ampm format in order to use
1010 a 12-11 range instead of previous 01-12 range
1011 (hildon_time_selector_set_time): change the way to select the current time
1012 on 12h ampm format, due the change on the range
1013 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1016 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1018 * src/hildon-touch-selector.c
1019 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1020 in order to allow use this function on multiple row selection mode if
1021 the column is different that the first one
1024 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1027 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1029 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1031 * src/hildon-date-selector.h: clean some comments, now on the .c
1032 * src/hildon-date-selector.c
1033 (hildon_date_selector_select_month): first implementation
1034 (hildon_date_selector_select_day): added documentation, reimplemented
1035 using hildon_date_selector_select_current_date to avoid repeat code
1038 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1040 Reviewed interaction logic based on device experiences, refactored
1043 * src/hildon-pannable-area.c,
1044 (hildon_pannable_area_class_init): Updated default vmax speed.
1045 (hildon_pannable_area_calculate_velocity): Added this function, it
1046 avoids duplicate valocity calculation. Adjusted calculation to
1047 avoid problems with zero dist events.
1049 (hildon_pannable_area_motion_notify_cb): Now we use the
1050 calculate_velocity function.
1052 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1054 * src/hildon-date-selector.c
1055 (hildon_date_selector_select_current_date): fix the day range check
1056 as it failed using the last day of the current month
1059 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-touch-selector.c
1062 (hildon_touch_selector_get_num_columns): added a parameter validation
1065 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1067 * examples/Makefile.am
1068 * examples/hildon-edit-toolbar-example.c: Example of the
1069 HildonEditToolbar widget.
1071 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1073 * configure.ac: postrelease version bump.
1075 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1079 * configure.ac: prerelease version bump.
1080 * debian/changelog: update.
1082 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1084 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1085 renderer to display stock icons in the touch list. Also, set the sizes
1086 to the recommended in the style guide.
1088 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1089 * src/hildon-touch-selector.h
1090 (hildon_touch_selector_set_active_iter): renamed, now is
1091 hildon_touch_selector_select_iter
1092 (hildon_touch_selector_get_active_iter): renamed, now is
1093 hildon_touch_selector_get_selected
1094 (hildon_touch_selector_unselect_iter): added
1095 * src/hildon-touch-selector.c
1096 Update after API modification (methods renamed)
1097 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1098 order to avoid problems selecting multiple elements on the column
1099 (hildon_touch_selector_unselect_iter): added the implementation
1100 * src/hildon-time-selector.c
1101 * src/hildon-date-selector.c
1102 * src/hildon-touch-selector-entry.c
1103 Update methods calls after hildon-touch-selector.h API modification (methods
1106 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-stackable-window.c
1109 (hildon_stackable_window_finalize): Call the parent class's finalize.
1111 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1113 * examples/hildon-touch-selector-example.c: (create_selector): Use
1114 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1117 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1119 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1120 set a cell background color, to respect theming.
1122 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1124 * doc/hildon-docs.sgml
1127 * src/hildon-edit-toolbar.c
1128 * src/hildon-edit-toolbar.h
1129 * src/hildon.h: New HildonEditToolbar widget.
1131 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1133 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1136 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1137 * src/hildon-touch-selector.c
1138 (_create_new_column): use g_object_set instead of two g_object_set_property
1140 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1141 * src/hildon-touch-selector.c
1142 (_create_new_column): use of hildon_gtk_tree_view_new to create
1143 the treeview, instead of use directly g_object_new
1144 (_create_new_column): update the property name "vindicator-mode" for the
1145 new one "vscrollbar-policy"
1146 * examples/hildon-date-button-example.c
1147 * examples/hildon-picker-button-multicolumn-example.c
1148 * examples/hildon-touch-selector-entry-example.c
1149 * examples/hildon-touch-selector-example.c
1150 * examples/hildon-time-button-example.c
1151 * examples/hildon-picker-button-example.c
1152 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1153 to all the treeviews inside a pannable area.
1155 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-button.h
1158 * src/hildon-button.c (hildon_button_init)
1159 (hildon_button_set_arrangement, hildon_button_set_alignment)
1160 (hildon_button_set_title_alignment)
1161 (hildon_button_set_value_alignment)
1162 (hildon_button_set_image_alignment)
1163 (hildon_button_construct_child): New methods to set the alignment
1164 of the individual components of the button (title, value,
1165 image). Also, new method to alter the xscale and yscale properties
1166 of the GtkAlignment inside the button, so more complex layouts can
1169 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-button.c (hildon_button_style_set)
1172 (hildon_button_class_init, hildon_button_set_arrangement)
1173 (hildon_button_construct_child): Apply style properties
1174 correctly. Use the 'image-spacing' style property too.
1176 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1179 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1182 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1184 * src/hildon-pannable-area.c,
1185 (hildon_pannable_area_size_request): Fixed problem with
1186 pannable-area size_request.
1188 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1190 Added management for the grab-focus to a child widget, like a
1191 range, we need to fade out the scrollbar when releasing.
1193 * src/hildon-pannable-area.c,
1194 (hildon_pannable_area_init): Connected the grab-focus signal to
1196 (hildon_pannable_area_grab_notify): Added this function in order
1197 to manage the situation when the grab-focus ends. We have to
1198 fade-out the scrollbar.
1200 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-app-menu.c: Minor documentation update.
1204 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1206 * src/hildon-app-menu.c
1207 * examples/hildon-app-menu-example.c (create_menu): Update
1208 examples and documentation to explain how to connect callbacks.
1210 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1212 * examples/hildon-button-example.c
1213 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1214 hildon_stackable_window_new instead of gtk_window_new
1216 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1218 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1219 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1220 (hildon_pannable_area_set_property),
1221 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1222 (hildon_pannable_area_unrealize),
1223 (hildon_pannable_area_size_request),
1224 (hildon_pannable_area_size_allocate),
1225 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1226 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1227 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1228 (hildon_pannable_area_initial_effect),
1229 (hildon_pannable_area_redraw),
1230 (hildon_pannable_area_scroll_indicator_fade),
1231 (hildon_pannable_area_expose_event),
1232 (hildon_pannable_area_get_topmost), (synth_crossing),
1233 (hildon_pannable_area_button_press_cb),
1234 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1235 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1236 (hildon_pannable_area_motion_notify_cb),
1237 (hildon_pannable_area_button_release_cb),
1238 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1239 (hildon_pannable_area_remove),
1240 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1241 chage the code layout to a more GtkWidget like. Review the use of
1244 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1246 * examples/hildon-pannable-area-example-4.c,
1247 (main): Modified the name of the hindicator_mode to
1250 * src/hildon-pannable-area.c,
1251 (hildon_pannable_area_class_init),
1252 (hildon_pannable_area_motion_notify_cb),
1253 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1254 we have reduced the amount of signals and managed reviewed its
1255 rationale. Changed the default decelerate value.
1257 (hildon_pannable_area_add),
1258 (hildon_pannable_area_redraw): Refactored functions.
1260 (hildon_pannable_area_init),
1261 (hildon_pannable_area_get_property),
1262 (hildon_pannable_area_set_property):
1263 (hildon_pannable_draw_vscroll),
1264 (hildon_pannable_draw_hscroll),
1265 (hildon_pannable_area_initial_effect),
1266 (hildon_pannable_area_expose_event),
1267 (hildon_pannable_area_scroll),
1268 (hildon_pannable_area_button_press_cb),
1269 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1270 and vindicator_mode with hscrollbar_policy and
1271 vscrollbar_policy. Replaced hscroll and vscroll with
1272 hscroll_visible and vscroll_visible.
1274 (hildon_pannable_area_refresh): Refactor the function, remove
1275 variables and check the calls to this function, added resize
1276 conditions in case the children change their layout.
1278 (hildon_pannable_area_size_request): Added more detailed
1279 size_request calculation.
1282 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * src/hildon-color-chooser.c
1285 (init_borders): use the correct gtk_border_free instead of g_free, to
1286 avoid a crash when this widget is used (ie: the three color selection
1289 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1291 * src/hildon-check-button.c,
1292 (hildon_check_button_set_active): Fixed problem when setting the
1293 active value, the widget was not redrawn.
1295 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1297 * src/hildon-pannable-area.c,
1298 (hildon_pannable_area_refresh),
1299 (hildon_pannable_area_scroll),
1300 (hildon_pannable_area_motion_notify_cb): Small code style change.
1302 (hildon_pannable_area_class_init): Default initial_hint set to
1303 FALSE, it is not in the specs.
1305 (hildon_pannable_area_initial_effect),
1306 (hildon_pannable_area_expose_event),
1307 (hildon_pannable_area_map),
1308 (hildon_pannable_area_init): Moved the launching point of the
1309 initial effect, it was in map but the sizes where not correct in
1310 that method so we do not know if we have the reproduce it. Now it
1311 is placed in the expose_event method and uses a variable to
1312 reproduce it just once.
1314 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1316 * src/hildon-pannable-area.c,
1317 (hildon_pannable_draw_vscroll),
1318 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1319 position allowed for the scrollbars.
1321 (hildon_pannable_area_size_allocate): Small style change.
1323 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1325 * src/hildon-pannable-area.c,
1326 (hildon_pannable_area_scroll_indicator_fade),
1327 (hildon_pannable_area_button_press_cb),
1328 (hildon_pannable_area_button_release_cb),
1329 (hildon_pannable_area_scroll_cb),
1330 (hildon_pannable_area_expose_event),
1331 (hildon_pannable_area_init): Added the define parameter
1332 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1333 and refactor the fade variable.
1335 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1337 * src/hildon-pannable-area.c,
1338 (hildon_pannable_area_redraw),
1339 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1340 lines, we were reimplemeting the redraw code.
1342 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1344 * src/hildon-pannable-area.c,
1345 (hildon_pannable_area_scroll_cb),
1346 (hildon_pannable_area_realize),
1347 (hildon_pannable_area_class_init): Added scroll_event management
1348 for pannable area, now we can scroll the usual desktop method.
1350 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1351 initialization of the parameters should depend on idle_id.
1353 (hildon_pannable_area_init),
1354 (hildon_pannable_area_map): Small code style modifications
1356 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1358 * src/hildon-pannable-area.c
1359 (hildon_pannable_area_button_press_cb),
1360 (hildon_pannable_area_motion_notify_cb),
1361 (hildon_pannable_area_button_release_cb),
1362 (hildon_pannable_area_size_allocate),
1363 (hildon_pannable_area_scroll_to): Improved the timeouts
1364 management, we avoid creating them each time.
1366 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1368 * src/hildon-pannable-area.c:
1369 (hildon_pannable_area_refresh),
1370 (hildon_pannable_area_motion_notify_cb),
1371 (hildon_pannable_area_class_init):
1372 * src/hildon-pannable-area.h:
1373 * src/hildon-touch-selector.c
1374 (_create_new_column):
1375 * examples/hildon-pannable-area-example-4.c:
1376 (horizontal_movement),
1377 (vertical_movement),
1379 Replaced the names of enums in the HildonPannableArea:
1380 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1381 HILDON_MOVEMENT_MODE_*
1382 - HILDON_PANNABLE_AREA_MOV_* ->
1384 - Removed HildonPannableAreaIndicatorMode, now we
1387 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1389 * examples/hildon-pannable-area-touch-grid-example.c
1390 * examples/hildon-pannable-area-touch-list-example.c: Fix
1391 compilation warnings.
1393 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-gtk.c (hildon_gtk_button_new)
1396 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1397 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1398 images overriding the value of the "gtk-button-images" setting.
1400 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-check-button.c (hildon_check_button_new):
1403 Instead of using a custom container, display the label and the
1404 checkbox using the standard GtkButton API.
1406 * examples/hildon-check-button-example.c (main): Don't use
1407 hildon_check_button_set_label() anymore
1409 * src/hildon-check-button.h
1410 * src/hildon-check-button.c
1411 (hildon_check_button_set_label, hildon_check_button_get_label):
1412 Set as deprecated, now we're using gtk_button_{get,set}_label()
1414 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1418 GtkTreeview first line we detected it after the inclusion of the
1419 GtkWindowImpl in gtk+. We now check if the window is visible, not
1420 just if the pointer is over the window.
1421 (hildon_pannable_axis_scroll),
1422 (hildon_pannable_area_expose_event): Small style changes.
1424 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1426 * src/hildon-button.c: Update documentation.
1428 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1430 * examples/hildon-button-example.c: Add a switch to show images in
1433 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1435 * doc/hildon-docs.sgml: Some docs reorganization.
1437 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1439 * examples/hildon-pannable-area-touch-list-example.c
1441 * examples/hildon-pannable-area-touch-grid-example.c
1442 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1443 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1444 Fix memory leak when setting the tree model.
1446 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1450 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1452 * doc/hildon.types: Remove duplicated hildon_window_get_type
1453 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1454 documentation comment.
1456 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1458 * doc/Makefile.am: Complete list of private headers.
1460 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1462 * doc/hildon-docs.sgml
1463 * src/hildon-app-menu.c
1464 * src/hildon-bread-crumb.c
1465 * src/hildon-button.c
1467 * src/hildon-program.c
1468 * src/hildon-stackable-window.c
1469 * src/hildon-window.c: Lots of documentation updates.
1471 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1473 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1475 * configure.ac: Require Gtk+ 2.12.9 at least
1477 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1479 * src/hildon-pannable-area.c
1480 (hildon_pannable_area_scroll_indicator_fade),
1481 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1482 to protect the return of this timeout callbacks, avoiding deadlocks.
1484 2008-08-12 Christian Dywan <christian@imendio.com>
1487 * src/hildon-*.h: Ensure a consistent include order,
1488 include <gtk/gtk.h> instead of particular files and
1489 only include the topmost header in the gtk stack. See NB #39857
1491 2008-08-12 Christian Dywan <christian@imendio.com>
1493 * src/hildon-picker-dialog.c
1494 * src/hildon-touch-selector.c: Fix warnings about unused and
1495 uninitialized variables.
1497 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1499 * examples/Makefile.am
1500 * examples/hildon-check-button-example.c: Example of the hildon
1503 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-window.h
1506 * src/hildon-window.c (hildon_window_class_init)
1507 (hildon_window_unset_program): Don't make
1508 hildon_window_unset_program a virtual function anymore.
1510 * src/hildon-stackable-window.c: Update documentation
1512 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1515 * doc/hildon-docs.sgml
1516 * doc/visual_index.xml
1517 * src/hildon-defines.c
1519 * src/hildon-helper.c
1520 * src/hildon-range-editor.c: Lots of documentation fixes.
1522 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1524 * examples/hildon-picker-button-multicolumn-example.c
1525 (create_touch_selector): Fix compilation warning.
1527 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1530 (hildon_pannable_area_button_release_cb)
1531 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1538 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-bread-crumb-trail.h
1541 * src/hildon-date-editor.c
1542 * src/hildon-date-selector.c
1543 * src/hildon-pannable-area.c
1544 * src/hildon-picker-dialog.c
1545 * src/hildon-time-selector.c
1546 * src/hildon-touch-selector-entry.c
1547 * src/hildon-touch-selector.c
1548 * src/hildon-touch-selector.h: Misc documentation fixes
1550 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1552 * examples/hildon-date-editor-example.c (main): Updated date
1555 * examples/hildon-note-example.c (on_confirmation_clicked):
1556 Updated confirmation note example.
1558 * src/hildon-date-editor.c
1559 * src/hildon-note.c: Updated sample programs in documentation.
1562 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-date-button.h:
1565 * src/hildon-picker-button.h:
1566 * src/hildon-time-button.c:
1567 * src/hildon-time-button.h:
1569 Some declarations changes to allow gtk-doc to document the widgets
1572 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-date-button.c: Document the widget.
1575 * src/hildon-time-button.c: Document the widget.
1577 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-picker-button.c: Document the widget.
1580 * src/hildon-touch-selector-entry.c: Document the widget.
1582 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1584 * doc/hildon-docs.sgml
1587 * src/hildon-check-button.h
1588 * src/hildon-check-button.c: New functions to create the Hildon
1592 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1594 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-button.h
1597 * src/hildon-button.c
1598 (hildon_button_add_title_size_group)
1599 (hildon_button_add_value_size_group)
1600 (hildon_button_add_image_size_group)
1601 (hildon_button_add_size_groups): New functions to set size groups
1602 for the button labels and image.
1603 (hildon_button_new_full): Removed
1605 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1607 * src/hildon-time-selector.c
1608 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1609 in order to avoid a crash if gconf is not available
1611 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-button.c (hildon_button_set_arrangement)
1614 (hildon_button_construct_child): Don't construct the button child
1615 before setting the arrangement.
1617 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1619 * src/hildon-program-private.h
1620 * src/hildon-program.c
1621 * src/hildon-program.h
1622 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1623 (hildon_program_peek_window_stack)
1624 (hildon_program_pop_window_stack)
1625 (hildon_program_go_to_root_window): HildonProgram now has a
1626 separate list for stackable windows. Functions are provided to
1627 manage that list with a stack-like API.
1629 * src/hildon-stackable-window.c: Stackable window management is
1630 now much simpler with the new HildonProgram API. Windows no
1631 longer need to be manually added to the program, they're
1632 automatically pushed to the top of the stack when shown.
1634 * examples/hildon-stackable-window-example.c: Updated example to
1635 reflect the API changes.
1637 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1639 * src/hildon-touch-selector.c: Comment out unimplemented
1640 hildon_touch_selector_insert_column() to avoid a compile warning.
1642 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1645 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1646 (hildon_touch_selector_set_column_selection_mode),
1647 (_hildon_touch_selector_set_model),
1648 (hildon_touch_selector_set_model):
1650 Complete review of HildonTouchSelector documentation.
1652 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1654 * doc/hildon-docs.sgml
1658 * src/hildon-gtk.c: Convenience functions for standard Gtk
1659 widgets, used to easily perform frequent operations.
1661 * src/hildon-button-helpers.h
1662 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1664 * src/hildon-helper.h
1665 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1666 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1668 * src/hildon-button.h
1669 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1671 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1673 * src/hildon-button.c (hildon_button_init)
1674 (hildon_button_set_arrangement, hildon_button_construct_child):
1675 Pack the image and the labels inside the same GtkAlignment so
1676 gtk_button_set_alignment() can be used
1678 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-button.h
1681 * src/hildon-button.c
1682 (hildon_button_init, hildon_button_set_image)
1683 (hildon_button_set_image_position)
1684 (hildon_button_construct_child): New functions to add an image to
1687 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-date-button.c
1690 * src/hildon-picker-button.c
1691 * src/hildon-time-button.c
1692 * src/hildon-button.c:
1693 (hildon_button_class_init): "size-flags" renamed to "size"
1694 (hildon_button_set_title): Hide the title label if set to NULL.
1696 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1698 HildonButtonFlags split into HildonButtonArrangement (to set the
1699 button layout) and HildonSizeType (which can be used for any
1702 * src/hildon-button.h
1703 * src/hildon-button.c
1704 (hildon_button_class_init)
1705 (hildon_button_set_arrangement)
1706 (hildon_button_set_property): New "size-flags"
1707 property. "arrangement-flags" renamed to "arrangement".
1708 (hildon_button_new, hildon_button_new_with_text)
1709 (hildon_button_new_full): Constructors updated to reflect type changes.
1711 * src/hildon-helper.h
1712 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1713 to set the size of a widget.
1717 * src/hildon-button-helpers.c
1718 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1720 * src/hildon-date-button.c
1721 * src/hildon-date-button.h
1722 * src/hildon-picker-button.c
1723 * src/hildon-picker-button.h
1724 * src/hildon-time-button.c
1725 * src/hildon-time-button.h: Updated widgets to reflect
1726 HildonButton API changes.
1728 * examples/hildon-button-example.c
1729 * examples/hildon-date-button-example.c
1730 * examples/hildon-picker-button-example.c
1731 * examples/hildon-picker-button-multicolumn-example.c
1732 * examples/hildon-time-button-example.c
1733 * examples/hildon-touch-selector-entry-example.c
1734 * examples/hildon-touch-selector-example.c: Updated examples to
1735 reflect HildonButton API changes.
1737 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1739 * doc/hildon-docs.sgml:
1741 * examples/Makefile.am:
1742 * examples/hildon-touch-selector-entry-example.c:
1744 * src/hildon-touch-selector-entry.c:
1745 * src/hildon-touch-selector-entry.h:
1748 Moved HildonTouchSelectorEntry from sandbox. Added its
1749 documentation and examples.
1751 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-touch-selector.h:
1754 * examples/hildon-picker-button-multicolumn-example.c:
1755 (hildon_touch_selector_append_text_column): Add a gboolean
1756 parameter to determine if text must be centered in the column.
1758 * src/hildon-date-selector.c: (hildon_date_selector_init):
1759 * src/hildon-time-selector.c: (hildon_time_selector_init):
1760 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1761 (create_touch_selector): Update widgets and example to reflect
1764 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-touch-selector.c:
1767 (hildon_touch_selector_set_active_iter): Set also the cursor in
1770 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1772 * doc/hildon-docs.sgml
1775 * src/hildon-toggle-button.c
1776 * src/hildon-toggle-button.h
1777 * src/hildon.h: Removed HildonToggleButton widget, a derived
1778 class is not necessary for this.
1780 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1782 * src/hildon-pannable-area.c,
1783 (hildon_pannable_area_realize),
1784 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1787 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1789 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1790 "done" button the default widget for the dialog.
1792 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1794 * src/hildon-touch-selector.c:
1795 (hildon_touch_selector_class_init),
1796 (hildon_touch_selector_get_property),
1797 (_hildon_touch_selector_set_model),
1798 (_hildon_touch_selector_has_multiple_selection),
1799 (hildon_touch_selector_has_multiple_selection):
1800 Add a "has-multiple-selection" property with a virtual
1801 has_multiple_selection() method to allow derived classes to
1802 override the default value for it. See the method and property
1803 documentation for details.
1805 * src/hildon-touch-selector.h: Add the new API.
1807 * src/hildon-picker-dialog.c: (requires_done_button): Call
1808 hildon_touch_selector_has_multiple_selection() instead of
1809 determining the need for a button itself.
1811 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1814 (_hildon_touch_selector_set_model),
1815 (hildon_touch_selector_set_model): Move working code to
1816 _hildon_touch_selector_set_mode(). Call the class method instead.
1818 * src/hildon-touch-selector.h: Add (*set_model) to
1819 HildonTouchSelectorClass.
1821 Make hildon_touch_selector_set_model() a virtual method, so that
1822 derived classes can extend it and do fancy stuff with the model.
1824 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: Set back the tarname in AC_INIT to hildon.
1828 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1832 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1833 instead of libesd (NB#86876). Volume handling is still an open issue.
1835 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1838 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1840 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1841 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1842 derived class to ease placement of an entry widget in
1843 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1844 end, where the selector columns are packed now.
1846 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-picker-button.c: Removed the simple _text() API.
1849 * src/hildon-picker-button.h: Likewise.
1851 * src/hildon-touch-selector.h:
1852 * src/hildon-touch-selector.c:
1853 (hildon_touch_selector_new_text),
1854 (hildon_touch_selector_append_text),
1855 (hildon_touch_selector_prepend_text),
1856 (hildon_touch_selector_insert_text):
1858 Moved the simple _text() API from HildonPickerButton to
1859 HildonTouchPicker, to provide better escalability and not to tie
1860 that API to HildonPickerButton.
1862 * examples/hildon-picker-button-example.c: (main): Example updated.
1864 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-button.c: Updated documentation.
1868 * examples/hildon-button-example.c: Add the posibility to create
1869 the buttons using horizontal layout for title and value.
1871 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-app-menu-private.h
1874 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1875 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1876 GtkSizeGroup for the filters, use the 'homogeneous' property of
1879 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1881 * examples/hildon-button-example.c: Updated example.
1883 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1885 * doc/hildon-docs.sgml:
1888 Update documentation.
1890 * examples/Makefile.am: Update renamed examples.
1892 * examples/hildon-picker-button-multicolumn-example.c:
1893 (create_touch_selector), (main): Update after the rename.
1895 * examples/hildon-touch-picker-example.c: Removed.
1896 * examples/hildon-touch-selector-example.c: (value_changed),
1897 (create_selector), (get_visible_content), (main): Renamed from
1898 hildon-touch-picker-example.c
1900 * src/Makefile.am: Updated renamed files.
1902 * src/hildon-date-button.c: (hildon_date_button_init),
1903 (hildon_date_button_get_date), (hildon_date_button_set_date):
1904 * src/hildon-date-selector.c: (hildon_date_selector_init),
1905 (_custom_print_func), (_update_day_model),
1906 (_manage_selector_change_cb),
1907 (hildon_date_selector_select_current_date),
1908 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1909 * src/hildon-date-selector.h:
1910 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1911 (hildon_picker_button_set_property),
1912 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1913 (hildon_picker_button_init), (hildon_picker_button_new_text),
1914 (hildon_picker_button_append_text),
1915 (hildon_picker_button_prepend_text),
1916 (hildon_picker_button_insert_text),
1917 (hildon_picker_button_set_selector),
1918 (hildon_picker_button_get_selector):
1919 * src/hildon-picker-button.h:
1920 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1921 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1922 (_update_title_on_selector_changed_cb), (requires_done_button),
1923 (_hildon_picker_dialog_set_selector),
1924 (hildon_picker_dialog_set_selector),
1925 (hildon_picker_dialog_get_selector):
1926 * src/hildon-picker-dialog.h:
1927 * src/hildon-time-button.c: (hildon_time_button_init),
1928 (hildon_time_button_get_time), (hildon_time_button_set_time):
1929 * src/hildon-time-selector.c: (hildon_time_selector_init),
1930 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1931 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1932 * src/hildon-time-selector.h:
1935 Massive code updates after the rename.
1937 * src/hildon-touch-picker.c: Removed.
1938 * src/hildon-touch-picker.h: Removed.
1940 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1941 (hildon_touch_selector_init), (hildon_touch_selector_map),
1942 (hildon_touch_selector_remove), (_default_print_func),
1943 (_selection_changed_cb), (_create_new_column),
1944 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1945 (hildon_touch_selector_append_text_column),
1946 (hildon_touch_selector_remove_column),
1947 (hildon_touch_selector_set_column_attributes),
1948 (hildon_touch_selector_insert_column),
1949 (hildon_touch_selector_get_num_columns),
1950 (hildon_touch_selector_get_column_selection_mode),
1951 (hildon_touch_selector_set_column_selection_mode),
1952 (hildon_touch_selector_set_print_func),
1953 (hildon_touch_selector_get_print_func),
1954 (hildon_touch_selector_get_active_iter),
1955 (hildon_touch_selector_set_active_iter),
1956 (hildon_touch_selector_get_selected_rows),
1957 (hildon_touch_selector_get_model),
1958 (hildon_touch_selector_set_model),
1959 (hildon_touch_selector_get_current_text),
1960 (_hildon_touch_selector_center_on_selected_items):
1961 * src/hildon-touch-selector.h: Renamed from
1962 hildon-touch-picker.[ch]
1964 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1965 references, code examples, and related documentation.
1967 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1969 * doc/hildon-docs.sgml
1972 * src/hildon-toggle-button.c
1973 * src/hildon-toggle-button.h
1974 * src/hildon.h: New HildonToggleButton widget.
1976 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-button.c: Add API documentation.
1979 (hildon_button_set_size_groups): Check input parameters
1981 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c
1984 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1985 effect after reaching the movement thredshold. This way we start
1986 using the distance after passing the thredshold.
1988 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1990 * src/hildon-button.c: (hildon_button_set_property): Use the
1991 appropriate g_value_get_flags() method.
1993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1995 * doc/hildon-docs.sgml:
1998 Add the touch pickers, picker dialogs, and picker button widgets
1999 to the documentation.
2001 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-button.c: (hildon_button_set_property),
2004 (hildon_button_class_init): Make "arrangement-flags" a proper
2005 G_TYPE_FLAGS derived property.
2007 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2009 * examples/Makefile.am: Add below examples.
2010 * examples/hildon-date-button-example.c:
2011 * examples/hildon-picker-button-example.c:
2012 * examples/hildon-picker-button-multicolumn-example.c:
2013 * examples/hildon-time-button-example.c:
2014 * examples/hildon-touch-picker-example.c:
2016 Add examples for the recently added touch pickers,
2017 picker dialogs, and picker button widgets.
2019 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2021 * src/hildon-button.c: Add some API documentation
2023 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-button.h
2026 * src/hildon-button.c
2028 (hildon_button_new_with_text): New constructor to create a button
2029 with no text at all.
2030 (hildon_button_init, hildon_button_set_arrangement)
2031 (hildon_button_set_title, hildon_button_set_value)
2032 (hildon_button_set_text)
2033 (hildon_button_construct_child): Hide the value when it's not used
2034 so the rest of the text is properly aligned.
2035 Allow creating buttons with arbitrary widgets inside (not just
2036 title/value labels).
2038 * examples/hildon-button-example.c (vertical_buttons_window)
2039 (horizontal_buttons_window): Update example to use new API.
2041 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/Makefile.am: Added HildonTimeButton.
2044 * src/hildon-time-button.c: Added missing LGPL header.
2045 * src/hildon-time-button.h: Added missing LGPL header.
2046 * src/hildon.h: Add hildon-time-button.h
2048 Copied HildonTimeButton from sandbox to trunk. Future work on this
2049 widget must take place in trunk.
2051 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/Makefile.am: Added HildonDateButton.
2054 * src/hildon-date-button.c: Update includes.
2055 * src/hildon.h: Add hildon-date-button.h
2057 Copied HildonDateButton from sandbox to trunk. Future work on this
2058 widget must take place in trunk.
2060 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/Makefile.am: Added HildonPickerButton.
2063 * src/hildon-picker-button.h: Update includes.
2064 * src/hildon.h: Add hildon-picker-button.h
2066 Copied HildonPickerButton from sandbox to trunk. Future work on
2067 this widget must take place in trunk.
2069 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2071 * src/Makefile.am: Added HildonPickerDialog.
2072 * src/hildon-picker-dialog.c: Update includes.
2073 * src/hildon.h: Add hildon-picker-dialog.h
2075 Copied HildonPickerDialog from sandbox to trunk. Future work
2076 on this widget must take place in trunk.
2078 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/Makefile.am: Added HildonTimeSelector.
2081 * src/hildon.h: Add hildon-time-selector.h
2083 Copied HildonTimeSelector widget from sandbox to trunk. Future
2084 work on this widget must happen in trunk.
2086 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/Makefile.am: Added HildonDateSelector.
2089 * src/hildon.h: Add hildon-date-selector.h
2091 Copied HildonDateSelector widget from sandbox to trunk. Future
2092 work on this widget must happen in trunk.
2094 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/Makefile.am: Added HildonTouchPicker.
2097 * src/hildon-touch-picker.c: Update includes.
2098 * src/hildon.h: Add hildon-touch-picker.h
2100 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2101 on this widget must happen in trunk.
2103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2105 * src/hildon-pannable-area.c:
2106 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2108 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2110 * examples/hildon-app-menu-example.c (main): Let the window
2113 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2115 * src/hildon-pannable-area.c
2116 (hildon_pannable_area_class_init): Set the min value of the
2117 overshoot properties to zero, which points out that not
2118 overshooting allowed.
2120 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2122 Modified the procedure to get the widget at a point inside the
2123 pannable area when using the movement type signals. Now the user
2124 has to call a function to get the child, that way we just
2125 calculate the child in case the user really want to use it and not
2128 * src/hildon-marshalers.list: Modified the marshallers, now we do
2129 not have the widget as a parameter.
2131 * src/hildon-pannable-area.c
2132 (hildon_pannable_area_motion_notify_cb),
2133 (hildon_pannable_area_class_init),
2134 (hildon_pannable_get_child_widget_at): Removed the widget
2135 parameter from the signal callback. We have also refactored the
2136 emission of the signals.
2138 * src/hildon-pannable-area.h: Added a new method to the API to
2139 calculate a widget at a point inside the pannable area,
2140 hildon_pannable_get_child_widget_at.
2142 * examples/hildon-pannable-area-example-4.c
2143 (horizontal_movement): Modified the example to use the new API,
2144 added condition to control which widget is under the event. This
2145 way we can avoid scrolling laterally over other widgets.
2147 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2149 * src/hildon-pannable-area.c
2150 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2151 modes, we stop getting the pointer events due to returning the
2152 callback without properly calling the get pointer again. Fixed
2153 also an error using the hscroll and vscroll.
2155 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-app-menu-private.h
2158 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2159 (hildon_app_menu_button_release, hildon_app_menu_init)
2160 (hildon_app_menu_class_init): Don't hide the menu on button
2161 release if the user didn't press outside first.
2163 * src/hildon-window.h
2164 * src/hildon-window.c (hildon_window_toggle_menu)
2165 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2166 hildon_window_toggle_menu a virtual function for the stackable
2167 window to override it.
2169 * src/hildon-stackable-window.h
2170 * src/hildon-stackable-window-private.h
2171 * src/hildon-stackable-window.c
2172 (hildon_stackable_window_realize)
2173 (hildon_stackable_window_finalize)
2174 (hildon_stackable_window_class_init)
2175 (hildon_stackable_window_init)
2176 (hildon_stackable_window_set_main_menu): New function to set the
2177 app menu of a HildonStackableWindow.
2179 * examples/hildon-app-menu-example.c: Remove the button to show
2180 the app menu, now it'll be shown when clicking on the title bar
2183 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2185 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2186 set the widget name if the arrangement flags do not specify
2189 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-button.c: (hildon_button_set_property),
2192 (hildon_button_class_init), (hildon_button_new_full),
2193 (hildon_button_set_arrangement): Added "arrangement-flags"
2196 Make the HildonButtonFlags a construction-only property, to allow
2197 subclasses to set them properly.
2199 2008-07-21 Tim Janik <timj@imendio.com>
2201 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2202 insertion position after backspace, so additional digits are appended,
2205 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2207 * src/hildon-pannable-area.c,
2208 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2209 TODO list, it was complete and removed the g_debug and g_print
2212 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2214 Added the movement modes to the hildon-pannable-area, with this
2215 modes the developers can control in which directions the widget
2216 can scroll. They can also connect to signals in order to do
2217 something when that happens, allowing applications scroll. There
2218 is an example uploaded showing how to use it.
2220 * examples/Makefile.am:
2221 * examples/hildon-pannable-area-example-4.c: Added this example of
2222 an application using the modes.
2224 * src/hildon-marshalers.list: Added a new marshaller for the new
2227 * src/hildon-pannable-area.h: Added new enumerations and flags in
2228 order to control the movement modes and the new signals to warn
2229 about the movements in the area.
2231 * src/hildon-pannable-area.c:
2232 (hildon_pannable_axis_scroll),
2233 (hildon_pannable_area_scroll),
2234 (hildon_pannable_area_motion_notify_cb),
2235 (hildon_pannable_area_get_property),
2236 (hildon_pannable_area_set_property),
2237 (hildon_pannable_area_map),
2238 (hildon_pannable_area_class_init),
2239 (hildon_pannable_area_init),
2240 (hildon_pannable_area_jump_to): Added the modes to control the
2241 movement in the widget. We have added properties to control it,
2242 signals to warn about the movements and refactored some code.
2244 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2246 Changes required in order to allow vfast_factor set to zero to
2249 * src/hildon-pannable-area.c:
2250 (hildon_pannable_area_button_press_cb): Changed the condition, it
2251 is required for not allowing click when vfast_factor is zero.
2252 (hildon_pannable_area_timeout): Initialized velocity variables
2253 when we stop moving, it was less than 1 but not zero and we need
2254 to check zero in some situations.
2255 (hildon_pannable_area_class_init): Changed the default value of
2256 the speed factor, now the button_press is just sent in case the
2257 speed is 2 per cent of the max speed.
2258 (hildon_pannable_area_init): Initialization with 0.
2260 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2262 * src/hildon-pannable-area.c,
2263 (hildon_pannable_area_get_topmost): replaced
2264 gdk_window_get_children with gdk_window_peek_children, this way we
2265 do not have to free the list because it is not a copy.
2267 (hildon_pannable_axis_scroll),
2268 (hildon_pannable_area_scroll),
2269 (hildon_pannable_area_timeout),
2270 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2271 two parameters that were only used inside the
2272 hildon_pannable_area_scroll function.
2274 * examples/hildon-pannable-area-example.c,
2275 (get_sawtooth_label): Fixed small memory leak.
2277 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2279 More checks for the case where the overshoot is bigger than the
2282 * src/hildon-pannable-area.c:
2283 (hildon_pannable_draw_vscroll),
2284 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2285 to draw the slider of the scrollbar under the other scrollbar.
2286 (hildon_pannable_area_expose_event): added new checks to control
2287 the drawing of the overshooting area rectangle, in case it is too
2288 big for the area of the widget.
2289 (hildon_pannable_area_size_allocate): add more checks to avoid
2290 setting a position to the child widget outside the area.
2292 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2294 * src/hildon-pannable-area.c
2295 (hildon_pannable_area_size_allocate): Added conditions to control
2296 when overshooting is bigger than the allocated space for the
2297 children, this avoids negative allocations.
2299 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2301 * doc/hildon-docs.sgml
2303 * examples/Makefile.am
2304 * examples/hildon-button-example.c
2306 * src/hildon-button.c
2307 * src/hildon-button.h
2308 * src/hildon.h: Initial version of the new HildonButton widget,
2311 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-pannable-area.c:
2314 (hildon_pannable_area_button_press_cb),
2315 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2316 (hildon_pannable_area_motion_notify_cb),
2317 (hildon_pannable_area_button_release_cb),
2318 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2319 (hildon_pannable_area_jump_to_child):
2321 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2323 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2325 * examples/Makefile.am
2326 * examples/hildon-pannable-area-touch-grid-example.c
2327 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2328 the Hildon Touch List and Hildon Touch Grid using the
2329 HildonPannableArea widget.
2331 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2333 * src/hildon-pannable-area.c,
2334 (hildon_pannable_area_button_press_cb),
2335 (hildon_pannable_area_refresh),
2336 (hildon_pannable_area_scroll),
2337 (hildon_pannable_area_motion_notify_cb),
2338 (hildon_pannable_area_button_release_cb),
2339 (hildon_pannable_area_expose_event),
2340 (hildon_pannable_area_add),
2341 (hildon_pannable_area_remove),
2342 (hildon_pannable_area_realize),
2343 (hildon_pannable_area_size_allocate),
2344 (hildon_pannable_area_class_init),
2345 (hildon_pannable_area_init),
2346 (hildon_pannable_area_scroll_to_child),
2347 (hildon_pannable_area_jump_to_child): Fixed the problem of
2348 removing the child from the GtkBin, we have rearranged the widget
2349 hierarchy, now there is no GtkAlignment which was not doing
2350 anything interesting but breaking some of the assumptions of
2351 GtkContainer. Now developers if they want to add a GtkAlignment
2352 they could, but it is not inside the area.
2354 We had to review the whole allocation/expose process, now it is
2355 improved and we save at least three signals which would be saving
2356 some time when rendering the widget. The allocation of the
2357 scrollbars is now made in the allocate method as usual.
2359 We have also added some conditions in order to control when there
2360 is no child of the pannable area. Maybe we will need more work
2363 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2365 * src/hildon-pannable-area.c,
2366 (hildon_pannable_area_dispose): Released the fade-out timeout when
2367 disposing the widget.
2369 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2372 zero, we are going to use that property in order to deactivate the
2374 (hildon_pannable_axis_scroll),
2375 (hildon_pannable_area_size_allocate): Added conditions to control
2376 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2377 call, now it is called in all situations and we can remove calls
2378 in the allocate method.
2379 (hildon_pannable_area_map): Control the situation when
2380 overshoot_max is zero, we do not need the timeout.
2381 (hildon_pannable_area_class_init): Added documentation in order to
2382 point out that setting zero to overshoot_max means deactivate
2385 NOTE: removed trailing whitespaces from my previous comments of
2388 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-pannable-area.c
2391 (hildon_pannable_area_get_property),
2392 (hildon_pannable_area_set_property),
2393 (hildon_pannable_area_map),
2394 (hildon_pannable_area_class_init),
2395 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2396 to cause the widget give a hint about its panning abilities upon
2399 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-pannable-area.c: Several documentation improvements.
2403 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-program.c
2406 * src/hildon-stackable-window.c: Update documentation.
2408 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2410 * src/hildon-stackable-window.c (get_previous_window_if_last):
2411 Renamed get_last_window()
2412 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2413 (hildon_stackable_window_unset_program):
2415 (get_previous_window_if_last):
2416 Detect if the window hasn't been added to a HildonProgram.
2418 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2420 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-pannable-area.c
2423 (hildon_pannable_area_button_press_cb),
2424 (hildon_pannable_axis_scroll),
2425 (hildon_pannable_area_scroll),
2426 (hildon_pannable_area_timeout),
2427 (hildon_pannable_calculate_vel_factor),
2428 (hildon_pannable_area_get_property),
2429 (hildon_pannable_area_set_property),
2430 (hildon_pannable_area_class_init),
2431 (hildon_pannable_area_init),
2432 (hildon_pannable_area_scroll_to),
2433 (hildon_pannable_area_jump_to),
2434 (hildon_pannable_area_scroll_to_child),
2435 (hildon_pannable_area_jump_to_child):
2436 * src/hildon-pannable-area.h: Added the new API functions:
2437 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2438 hildon_pannable_area_scroll_to_child,
2439 hildon_pannable_area_jump_to_child
2442 * examples/Makefile.am
2443 * examples/hildon-pannable-area-example-2.c
2444 * examples/hildon-pannable-area-example-3.c: Added these two new
2445 examples in order to test and show how the new APIs work.
2447 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2449 * examples/hildon-stackable-window-example.c (new_window):
2450 * src/Makefile.am (noinst_HEADERS):
2451 * src/hildon-program.c (hildon_program_go_to_root_window):
2452 * src/hildon-program.h:
2453 * src/hildon-stackable-window-private.h:
2454 * src/hildon-stackable-window.c:
2455 * src/hildon-stackable-window.h:
2456 Create hildon-stackable-window-private.h
2457 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2459 * examples/hildon-app-menu-example.c (create_menu):
2460 * examples/hildon-hvolumebar-insensitive-example.c (main):
2461 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2462 * examples/hildon-toolbar-seekbar-example.c (main):
2463 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2464 * src/hildon-banner.c (hildon_banner_set_property):
2465 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2466 Fix compilation warnings
2468 * src/hildon-window.c:
2471 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-stackable-window.c
2474 (hildon_stackable_window_unset_program):
2475 Calculate correctly whether to show the previous window if the
2476 last one is removed from the stack.
2477 (hildon_stackable_window_go_to_root_window):
2478 Send delete events starting from the topmost window.
2479 Stop if one of the windows is not destroyed.
2481 (hildon_stackable_window_delete_event)
2482 (hildon_stackable_window_class_init):
2483 Ignore the delete event if the window is not the topmost one.
2485 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2487 * src/hildon-pannable-area.c
2488 (hildon_pannable_area_expose_event): Fixed a problem when
2489 selecting the background color of the scrollbars.
2491 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2493 * examples/hildon-stackable-window-example.c
2494 * src/hildon-stackable-window.c
2495 * src/hildon-stackable-window.h
2496 hildon_stackable_window_go_home() renamed to
2497 hildon_stackable_window_go_to_root_window()
2498 Send delete events to windows rather than closing them with
2499 gtk_widget_destroy()
2501 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-pannable-area.c
2504 (hildon_pannable_area_button_release_cb): Fix overshooting in
2507 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-pannable-area.c
2510 (hildon_pannable_area_init): Initially show the scroll indicators.
2511 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2513 Add initial effect showing the widget is pannable.
2515 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-pannable-area.c
2518 (hildon_pannable_area_class_init)
2519 (hildon_pannable_area_set_property)
2520 (hildon_pannable_area_get_property)
2521 (hildon_pannable_area_button_press_cb):
2522 New 'velocity_fast_factor' property to decide which velocity is
2525 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-pannable-area.c
2528 (hildon_pannable_draw_hscroll)
2529 (hildon_pannable_draw_vscroll):
2530 Use float variables to calculate the size of the scrollbars to
2531 avoid error propagation and resizing during scrolling.
2533 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-pannable-area.c
2536 (hildon_pannable_draw_vscroll)
2537 (hildon_pannable_draw_hscroll):
2538 Define a minimum size for the scroll bars
2540 * src/hildon-stackable-window.c
2541 (hildon_stackable_window_go_home): Fix compilation warning
2542 (get_last_window): Minor optimizations
2543 (hildon_stackable_window_class_init): Fix initialization of
2546 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-stackable-window.c: Fixed typos in doc
2550 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-pannable-area.c
2553 (hildon_pannable_area_scroll):
2554 Calculate here whether we need to scroll instead of using the booleans
2555 that tell us whether to /draw/ the scrolling bars.
2557 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-app-menu.h
2561 * src/hildon-app-menu.c
2562 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2563 multiple filter groups related code and API. Now we support only
2565 * examples/hildon-app-menu-example.c:
2567 Update to reflect API changes.
2569 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-stackable-window.c
2572 (hildon_stackable_window_class_init):
2573 Add hildon_stackable_window_realize.
2574 (hildon_stackable_window_realize):
2575 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2576 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2577 to apply theming and behavior specific to HildonStackableWindow
2580 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-note.c (hildon_note_button_release):
2583 Close information notes also when tapping on them
2585 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2587 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2588 ELASTICITY, refactor and review, fix some issues with drawing
2591 * src/hildon-pannable-area.c:
2592 (hildon_pannable_area_button_press_cb): removed the conditions to
2593 avoid clicks when overshooting. It is not required
2595 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2596 define. Refatored and reviewed the code, now we do not need to
2597 manage velocity in motion_notify.
2599 (hildon_pannable_area_motion_notify_cb): We have moved the code
2600 that controls the area_scroll to the axis_scroll function and get
2601 rid of duplicated code.
2603 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2605 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2607 (hildon_pannable_draw_vscroll),
2608 (hildon_pannable_draw_hscroll): Fixed the problems with the
2609 scrollbar drawing, now we do not use two surfaces, it is easier
2610 and saves resources.
2612 (hildon_pannable_area_get_property): Style modification.
2614 (hildon_pannable_area_class_init): Changed some default values.
2616 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-stackable-window.c: Fix some typos in the
2621 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-dialog.c:
2624 Change indentation style
2627 (hildon_note_button_release):
2628 Use root coordinates to check if the release event happened
2631 * src/hildon-app-menu.c
2632 (hildon_app_menu_button_release):
2633 Remove unnecessary check
2635 * examples/hildon-app-menu-example.c
2637 Add cast to fix warning
2639 * src/hildon-app-menu.c
2640 (hildon_app_menu_class_init):
2641 New inner-border style property.
2642 Set all default spacings to 16
2643 (hildon_app_menu_init):
2644 Use vertical-spacing to set the space between filter buttons and
2645 regular menu buttons.
2646 Set the default container border using the inner-border value.
2648 * examples/hildon-app-menu-example.c
2650 Don't set the menu border explicitly, now we have the inner-border
2651 style property for that.
2653 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2655 * src/hildon-app-menu.c (hildon_app_menu_init):
2656 Make the window modal
2658 * src/hildon-note.c (hildon_note_map)
2659 * src/hildon-app-menu.c (hildon_app_menu_map):
2660 Destroy the grab window if we're unable to grab the pointer
2662 * src/hildon-app-menu-private.h
2663 * src/hildon-app-menu.c
2664 (hildon_app_menu_init, hildon_app_menu_finalize)
2665 (hildon_app_menu_map, hildon_app_menu_unmap)
2666 (hildon_app_menu_button_release)
2667 (grab_transfer_window_get):
2668 Bring back the grab window
2669 (hildon_app_menu_realize):
2670 Decorate the window, set WM hint for Matchbox
2672 * src/hildon-note.c (hildon_note_realize):
2673 * src/hildon-banner.c (hildon_banner_realize):
2674 Add WM hints for Matchbox
2676 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-app-menu-private.h
2679 * src/hildon-app-menu.c
2680 (hildon_app_menu_init, hildon_app_menu_finalize)
2681 (hildon_app_menu_map, hildon_app_menu_unmap)
2682 (hildon_app_menu_button_release):
2683 Remove the grab window, it's not needed anymore
2685 * src/hildon-program.c
2686 Fixed typo in documentation
2688 * src/hildon-app-menu.h
2689 * src/hildon-app-menu.c
2690 * examples/hildon-app-menu-example.c
2691 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2693 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2696 Added new transfer_window and close_if_pressed_outside private
2698 (hildon_note_rebuild):
2699 Don't add a cancel button to the information note. It will be
2700 closed when tapping outside
2701 Remove the comment about the OK button in the documentation
2702 (hildon_note_realize):
2703 Set the notification type hint
2704 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2705 Grab/ungrab pointer and keyboard if the note has to be closed when
2707 (hildon_note_button_release):
2708 Close the note when tapping outside (if applicable)
2710 * src/hildon-app-menu.c
2711 Grab/ungrab pointer and keyboard on map/unmap
2712 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2713 Close the menu on button release, not button press
2715 * src/hildon-banner.c
2716 (hildon_banner_set_property)
2717 (hildon_banner_check_position):
2718 Make the banner use the full width of the screen
2719 (hildon_banner_show_information)
2720 (hildon_banner_show_information_with_markup):
2721 Don't display an icon by default
2723 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2725 Added fading scrollbars and adapted all the overshooting code to
2726 horizontal scrolling. We have also fixed bugs with overshooting
2727 and current fading implementation.
2729 * src/hildon-pannable-area.c
2730 (hildon_pannable_area_scroll_indicator_fade): Time out function
2731 used to change the transparency of the scrollbars.
2733 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2734 control and fixed a problem with fading, we now remove the fade
2735 timeout before adding a new one.
2737 (hildon_pannable_axis_scroll):
2738 (hildon_pannable_area_scroll):
2739 (hildon_pannable_area_timeout): Added this functions so we can use
2740 the scroll code both for vertical and horizontal.
2742 (hildon_pannable_area_motion_notify_cb):
2743 (hildon_pannable_area_button_release_cb): Added the horizontal
2744 scrolling control, fixed a problem with the overshooting timeout.
2746 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2747 painting of the scrolls.
2749 (hildon_pannable_draw_vscroll):
2750 (hildon_pannable_draw_hscroll):
2751 (hildon_pannable_area_expose_event):
2752 Draw both scrollbars and rectangles in the overshooting area.
2754 (hildon_pannable_area_get_property):
2755 (hildon_pannable_area_set_property):
2756 Modified the overshoot property to overshoot_max
2758 (hildon_pannable_area_map):
2759 Replaced the comments symbols.
2761 (hildon_pannable_area_size_allocate):
2762 (hildon_pannable_area_class_init):
2763 (hildon_pannable_area_init): Added horizontal scroll, fading
2764 effect properties, fixed a problem when overshooting in the bottom
2767 * examples/hildon-pannable-area-example.c:
2768 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2769 looks better in the example.
2771 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2773 * src/hildon-window.c
2774 * src/hildon-window.h
2775 (hildon_window_class_init)
2776 (hildon_window_unset_program)
2777 (hildon_window_unset_program_real):
2778 Make unset_program a virtual function
2780 * src/hildon-stackable-window.c
2781 * src/hildon-stackable-window.h
2782 Added hildon_stackable_window_go_home()
2784 * examples/Makefile.am
2785 * examples/hildon-stackable-window-example.c
2786 HildonStackableWindow example
2788 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2790 * hildon-pannable-area.c: Added the overshoot property and removed
2791 the OVERSHOOT define. Fixed an indent style error.
2792 (hildon_pannable_area_motion_notify_cb):
2793 (hildon_pannable_area_get_property):
2794 (hildon_pannable_area_set_property): Add overshoot property.
2796 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2799 (hildon_pannable_area_class_init): Installed the new property.
2801 * hildon-pannable-area-example.c: Added a sawtooth function, this
2802 way it is easier to check the movement in the pannable.
2803 (get_sawtooth_label): Added this function.
2804 (main): Now we get the labels from the new get_sawtooth_label
2807 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-app-menu.h
2810 * src/hildon-app-menu.c
2811 Renamed API variables for consistency
2813 (hildon_app_menu_popup): Use also the default window size to
2814 decide where to place the menu
2816 (hildon_app_menu_init, hildon_app_menu_class_init): New
2817 external-border style property
2819 2008-05-26 Michael Natterer <mitch@imendio.com>
2821 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2822 widget_class->tap_and_hold_setup signal slot doesn't exist any
2823 longer, stop overriding it.
2825 (hildon_time_editor_init): g_signal_connect() to the
2826 tap-and-hold-setup signal instead.
2828 (hildon_time_editor_entry_keypress): add cast to fix warning.
2830 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2832 * doc/hildon-docs.sgml
2834 * examples/Makefile.am
2835 * examples/hildon-app-menu-example.c
2837 * src/hildon-app-menu-private.h
2838 * src/hildon-app-menu.c
2839 * src/hildon-app-menu.h
2841 New HildonAppMenu widget
2843 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2845 Rearranged the inheritance of the pannable area, now it inherits
2846 from GtkBin. This will allow us to control the event_window and
2847 the allocation process of the widget, required for some effects.
2849 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2850 GtkBin structures. * src/hildon-pannable-area.c: Added the
2851 event_window variable.
2852 (hildon_pannable_area_button_press_cb):
2853 (hildon_pannable_area_button_release_cb):
2854 (hildon_pannable_area_motion_notify_cb):
2855 Changed the signature of the method, now we override the event
2856 callback instead of connecting to the signal.
2858 (hildon_pannable_area_realize):
2859 (hildon_pannable_area_unrealize):
2860 (hildon_pannable_area_map):
2861 (hildon_pannable_area_unmap):
2862 (hildon_pannable_area_size_allocate):
2863 Added functions to control the widget construction. We add a
2864 INPUT_ONLY window and we put it over the widgets inside the
2865 container, this event_window handles the events.
2867 (hildon_pannable_area_class_init):
2868 Replaced the signal connections with overrides of the event
2871 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2873 Bouncing effect added when touching the borders, you can change
2874 the elasticity of the border changing the ELASTICITY define.
2876 * src/hildon-pannable-area.c: Added ELASTICITY define.
2877 (hildon_pannable_area_timeout): Added inverse velocity when
2878 touching the border of the child widget, that causes a bounce.
2880 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2882 Improved performance, we now do not go to the X server in order to
2883 get the list of window children. Apparently the effect is the
2884 same, we have to be careful and check if this breaks something in
2887 * src/hildon-pannable-area.c:
2888 (get_ordered_children): Removed this function.
2889 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2890 the children windows function with gdk_window_get_children.
2892 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2894 * src/hildon-pannable-area.c:
2895 (hildon_pannable_area_dispose): Fixed a crash when closing the
2896 window and kinetics is activated.
2898 2008-05-19 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-pannable-area.h
2901 * src/hildon-pannable-area.c
2902 Changed indentation style to meet the one used in Hildon
2904 2008-05-19 Alejandro G. Castro <alex@igalia.com>
2906 Reviewed the interaction of the AUTO mode, now we use the time
2907 attribute of the events and calculate the velocity in the motion,
2908 doing a gimp like calculation. The velocity is calculated in each
2909 motion event using the last velocity and the current one, the
2910 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2912 * src/hildon-pannable-area.c: Replaced the time based algorithm
2914 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2915 timeout for the AUTO mode when we are still moving the cursor. We
2916 added also the velocity calculation in this function.
2917 (hildon_pannable_area_button_release_cb): launch the timeout in
2918 case we are in AUTO mode. There are still some constants here that
2919 come from the old implementation that should be reviewed and
2922 2008-05-15 Alberto Garcia <agarcia@igalia.com>
2924 * doc/hildon-docs.sgml
2927 * src/hildon-stackable-window.c
2928 * src/hildon-stackable-window.h
2930 New HildonStackableWindow widget
2932 * examples/hildon-dialog-example.c
2933 * examples/hildon-pannable-area-example.c
2936 2008-05-14 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-dialog.c
2939 (hildon_dialog_new_with_buttons): New constructor.
2941 * examples/hildon-dialog-example.c
2942 (main): Update the example to use the new
2943 hildon_dialog_new_with_buttons().
2945 * examples/hildon-pannable-area-example.c
2946 (main): Update example.
2948 2008-05-13 Alberto Garcia <agarcia@igalia.com>
2950 * doc/hildon-docs.sgml
2952 Added HildonPannableArea to the documentation.
2954 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
2956 * doc/visual_index.xml
2957 Fix reference to HildonLoginDialog in documentation
2959 * doc/hildon-docs.sgml
2961 * examples/Makefile.am
2962 * examples/hildon-dialog-example.c
2964 * src/hildon-dialog.c
2965 * src/hildon-dialog.h
2967 New HildonDialog widget.
2969 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-pannable-area.c
2972 Merge latest changes (r4318, r4342) from libmokoui trunk
2974 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2976 * examples/Makefile.am
2977 * examples/hildon-pannable-area-example.c
2979 * src/hildon-pannable-area.c
2980 * src/hildon-pannable-area.h
2982 New HildonPannableArea widget.
2984 2008-04-15 18:05:19 <timj@imendio.com>
2986 * src/hildon-banner.c: revert the recent change, that introduced
2987 gtk_window_present() calls. this reopens:
2988 Bug 78481 - [freetest] information banners are hidden under browser menu
2989 But resolves another variant of:
2990 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2992 2008-04-15 13:21:13 <timj@imendio.com>
2994 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2995 recreated its layout, spotted by Kris. this fixes all remaining
2996 artefacts and stability issues with the banner code. in particular:
2997 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2999 2008-04-14 16:52:59 <timj@imendio.com>
3001 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3002 operating on unrealized widgets, fixes:
3003 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3005 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3007 2008-04-09 Kristian Rietveld <kris@imendio.com>
3009 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3010 makes banner disappear.
3011 Fixes: NB#79182: info banner flickering with certain message lengts.
3013 * src/hildon-banner.c (hildon_banner_constructor),
3014 (hildon_banner_init), (hildon_banner_set_text),
3015 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3016 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3017 FALSE, reset size requests of label and banner,
3018 (force_to_wrap_truncated): when the text is too wide, always enforce
3019 the maximum possible width instead of recalculating it from the
3020 layout; enforce the maximum banner height of 3 lines,
3021 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3022 nicer wrapping and no truncated chars if space gets tight.
3024 * src/hildon-banner-private.h: add has_been_wrapped and
3025 has_been_truncated fields.
3027 2008-04-07 Sven Herzberg <sven@imendio.com>
3029 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3030 local values in hildon_date_editor_size_allocate
3032 * src/hildon-date-editor.c: moved the real allocation code into the
3035 2008-04-07 Sven Herzberg <sven@imendio.com>
3037 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3038 local values in hildon_date_editor_size_allocate
3040 * src/hildon-date-editor.c: merged the two if() branches together
3042 2008-04-07 Sven Herzberg <sven@imendio.com>
3044 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3045 local values in hildon_date_editor_size_allocate
3047 * src/hildon-date-editor.c: changed the arguments of the if()
3050 2008-04-07 Sven Herzberg <sven@imendio.com>
3052 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3053 local values in hildon_date_editor_size_allocate
3055 * src/hildon-date-editor.c: split the calculation of the allocation
3056 from the real allocation
3058 2008-03-27 Michael Natterer <mitch@imendio.com>
3060 Fixes: NB#81696: The passcode is not overwritten even after
3063 * src/hildon-code-dialog.c
3064 (hildon_code_dialog_button_clicked)
3065 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3066 because that doesn't overwrite selected text. Instead, emit the
3067 "commit" signal on the entry's im_context so the entry's normal
3068 insert logic is triggered. Set the cursor to the end of the entry
3069 after each insert operation so that we *only* insert in the middle
3070 of the text if something was selected.
3072 2008-03-27 Michael Natterer <mitch@imendio.com>
3074 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3075 selector cannot be opened
3077 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3078 when the popup color selector is created. Please connect to this
3079 signal in order to set the dialog's help ID.
3081 2008-03-25 Sven Herzberg <sven@imendio.com>
3083 Fixes: MB#1212: Hide info banners (infoprints) on click
3085 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3086 extracted the close event simulation into an extra function
3087 (hildon_banner_button_press_event): simulate a close event and destroy
3088 the widget if the event wasn't handled
3089 (hildon_banner_class_init): added the button_press_event handler
3090 (hildon_banner_init): added button-press events to the widget
3092 2008-03-25 Sven Herzberg <sven@imendio.com>
3094 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3095 Patch from: Mohammad Anwari <mdamt@maemo.org>
3097 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3098 instead of the right in RTL mode
3099 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3100 breadcrumb button list in RTL mode
3101 * src/hildon-caption.c: mirror the appearance of the caption widget in
3103 * src/hildon-date-editor.c: mirror appearance of the date editor in
3105 * src/hildon-time-editor.c: mirror appearance of the time editor in
3107 * src/hildon-window.c: fix the position of the popup in RTL mode
3109 2008-03-25 Sven Herzberg <sven@imendio.com>
3111 Amendment to the fix of NB#22072. Fix compilation.
3113 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3115 2008-03-19 Sven Herzberg <sven@imendio.com>
3117 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3120 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3121 timeout id properly when the timeout will disappear this leaves no
3122 artifacts around in the destroy(); there will only be the timeout
3123 created by hildon_banner_ensure_timeout() and adding a new timeout
3124 will also work if the timeout gets removed because the timeout_handler
3127 2008-03-19 Michael Natterer <mitch@imendio.com>
3129 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3131 * src/hildon-volumebar.c
3132 * src/hildon-vvolumebar.c
3133 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3134 the widget becomes focussable at all.
3136 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3137 set the focus to wither the mute button or the volumebar.
3139 Remove own "can-focus" property and instead listen to
3140 notify::can-focus in order to update the widget's state.
3142 Implement GtkWidget::focus() and make sure we can also *leave* the
3143 widget, not only enter it, depending on volumebar orientation and
3144 requested focus direction.
3146 Clean up set_mute() to cooperate nicely with all the above.
3148 2008-03-04 Michael Natterer <mitch@imendio.com>
3150 Fixes: NB#78481: information banners are hidden under browser menu
3152 * src/hildon-banner.c: call gtk_window_present() on the banners so
3153 they are risen if they are already visible.
3155 2008-03-03 Sven Herzberg <sven@imendio.com>
3157 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3159 * examples/hildon-window-menu-example.c: (main): extended the window
3160 menu example to serve as a testcase for automatically added
3161 accelerator groups, too
3162 * src/hildon-window.c: (hildon_window_add_accel_group),
3163 (hildon_window_set_menu): added patch by Tommi Komulainen
3165 2008-03-03 Sven Herzberg <sven@imendio.com>
3167 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3169 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3170 knowledge about the border allocators used within GTK+
3172 2008-02-26 Sven Herzberg <sven@imendio.com>
3174 Fixes: MB#2981: Build with asserts broken
3176 * src/hildon-date-editor.c,
3177 * src/hildon-number-editor.c,
3178 * src/hildon-time-editor.c,
3179 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3180 the proper GType instance check
3182 2008-02-25 Sven Herzberg <sven@imendio.com>
3184 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3186 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3187 * examples/hildon-window-menu-example.c: (main): explicitly show
3189 * src/hildon-window.c:
3190 (hildon_window_set_main_menu): moved most of the code from set_menu()
3191 to this place; skipped the call to gtk_widget_show_all(); also didn't
3192 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3193 (hildon_window_set_menu): removed most of the code, just keep the
3194 questionable gtk_widget_show_all()
3195 * src/hildon-window.h: added the new function and deprecate the old
3198 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3204 * debian/changelog: Updating.
3206 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3209 * pkgconfig/Makefile.am:
3210 * pkgconfig/hildon.pc.in:
3213 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3214 use newly created API_MAJOR_VERSION.
3216 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3222 * debian/changelog: Updating.
3224 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3226 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3228 Add outer_border style property, we use it but don't define it (!).
3232 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3234 * examples/hildon-bread-crumb-trail-example.c (main):
3238 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3240 Fix logic for the bread crumb trail node removal.
3244 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3250 * debian/changelog: Updating.
3252 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3254 Patch by Alejandro to get/set passwords dialogs accesibility.
3256 * hildon-1/src/hildon-get-password-dialog.c:
3257 * hildon-1/src/hildon-set-password-dialog.c:
3258 Set atk_set_name to the passwd entries in order to allow
3259 accessibility by name on this entries.
3261 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3266 * debian/control: Updating gtk dep.
3268 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3270 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3271 USE_MAEMO_GTK is enabled.
3273 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3275 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3276 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3278 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3284 * debian/changelog: Updating.
3286 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3288 * examples/Makefile.am:
3289 * examples/hildon-logical-color-example.c:
3290 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3291 applied + adding a test case. Fixes: NB#71660.
3293 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3295 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3296 to be visible, fixes warning on map for windows without toolbars.
3298 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3300 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3301 2.11.0, add a check for that besides the MAEMO_GTK check.
3303 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3309 * debian/changelog: Updating.
3311 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3313 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3314 visibility. Fixes: NB#70842 and MB#615.
3316 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3318 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3319 set the separator as no-show-all so it doesn't unintentionally appear when
3320 someone does a show_all.
3322 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3324 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3325 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3326 toplevel item. Fixes: NB#62031
3328 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3330 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3331 fix the name of the function in the docs.
3333 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3339 * debian/changelog: Updating.
3341 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3343 * examples/hildon-banner-long-example.c: Adding a test-case for long
3346 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3348 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3350 * src/hildon-color-chooser-dialog.c:
3351 * src/hildon-color-chooser.c:
3352 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3353 memory leaks in font selector and color selector. Fixes: NB#70499 and
3356 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3358 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3360 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3362 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3363 little bit bigger. Fixes: #NB63694.
3365 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3371 * debian/changelog: Updating.
3373 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3376 * doc/hildon-docs.sgml:
3377 * doc/images/bread-crumb-trail.png:
3378 * doc/images/calendar-popup.png:
3379 * doc/images/caption.png:
3380 * doc/images/code-dialog.png:
3381 * doc/images/color-button.png:
3382 * doc/images/color-chooser-dialog.png:
3383 * doc/images/color-chooser.png:
3384 * doc/images/controlbar.png:
3385 * doc/images/date-editor.png:
3386 * doc/images/font-selection-dialog.png:
3387 * doc/images/get-password-dialog.png:
3388 * doc/images/hvolumebar.png:
3389 * doc/images/login-dialog.png:
3390 * doc/images/note.png:
3391 * doc/images/number-editor.png:
3392 * doc/images/range-editor.png:
3393 * doc/images/seekbar.png:
3394 * doc/images/set-password-dialog.png:
3395 * doc/images/sort-dialog.png:
3396 * doc/images/time-editor.png:
3397 * doc/images/time-picker.png:
3398 * doc/images/vvolumebar.png:
3399 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3400 Adding the bread-crumb-trial and helpers to the documentation.
3402 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3404 * examples/hildon-find-toolbar-example.c:
3405 * src/hildon-find-toolbar.c:
3406 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3407 actually continue firing the other handlers if connected. Adding a new
3409 hildon_find_toolbar_get_last_index that gets the index of the most
3410 recently added (last) item. Fixes: NB#52301.
3412 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3414 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3415 behaviour. Fixes: NB#68610.
3417 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3419 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3422 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3424 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3425 when realizing the banner. Should make the infonbanner effect a bit more
3428 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3430 * src/hildon-volumebar.c:
3431 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3432 hildon_volumebar_set_range_insensitive_message and
3433 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3435 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3437 * src/hildon-window.c: Fixing the border freeing on destroy.
3439 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3441 * src/hildon-code-dialog-private.h:
3442 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3443 kw keyboard support in HildonCodeDialog.
3445 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3451 * debian/changelog: Updating.
3453 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3455 * src/hildon-date-editor.c:
3456 * src/hildon-number-editor.c:
3457 * src/hildon-private.c:
3458 * src/hildon-private.h:
3459 * src/hildon-time-editor.c:
3460 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3461 handling in subclassed composite widgets. Fixes: NB#66628.
3463 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3465 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3466 from destroy_ callback as it introduces problems in async dbus signal
3467 handlers. Fixes NB#66673.
3469 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3471 * examples/hildon-hvolumebar-example.c:
3472 * src/hildon-volumebar.c: Improving the focus handling in the
3473 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3474 set_property accessor so that "mute" property can be actually set. I'm
3475 scared that nobody noticed it's totally broken.
3477 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3479 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3482 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3484 * src/hildon-calendar.c:
3485 * src/hildon-number-editor.c:
3486 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3487 matches the spec of 6 chars per second. Fixes: NB#60489.
3489 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3491 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3492 gtk_style_lookup_color sometime returns FALSE even though color was
3493 found and values were filled properly. Weird. Removing the warning for the
3496 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3498 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3499 expand vertically. Adding some extra space to the find toolbar buttons to
3500 make them thumbable. Fixes NB#66060.
3502 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3504 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3505 popup with "Ok" and "Cancel". Fixes NB#59299.
3507 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3509 * src/hildon-calendar.c: Process all window updates before executing next
3510 timeout. Fixes: NB#54146.
3512 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3518 * debian/changelog: Updating.
3520 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3522 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3523 the client event and ignore it, since we use the delete event to close
3526 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3528 * src/hildon-helper.c: Remove the bogus warning about color not being
3529 found. Fixes NB#58352.
3531 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3533 * examples/Makefile.am:
3534 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3535 HildonSeekbar widget inside a toolbar.
3537 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3539 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3540 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3541 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3542 don't want to be closed by non-temporary windows on map.
3544 Also use G_DEFINE_TYPE instead of manually typed code.
3546 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3553 * debian/rules: Updating.
3555 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3557 * examples/Makefile.am:
3558 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3559 bug NB#61128. Strangely it works.
3561 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3563 * src/hildon-date-editor.c: When the date editor entry has been changed
3564 but the numbers of characters < max, turn off the skip validation flag.
3565 Prevents a situation when we enter first a valid year and later re-write
3566 it with an invalid one. Fixes NB#60154.
3568 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3570 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3571 code dialog. Fixes NB#64355.
3573 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3575 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3576 switching the page. Fixes NB#49374.
3578 * examples/Makefile.am:
3579 * examples/hildon-wizard-dialog-example.c: Adding an example for
3580 HildonWizardDialog that shows how to handle manual sensitivity setting on
3583 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3587 * src/hildon-version.h.in:
3588 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3590 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3592 * src/hildon-volumebar.c: Updating the docs.
3594 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3600 * debian/changelog: Updating.
3602 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3604 * src/hildon-find-toolbar.c:
3605 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3606 selected item: hildon_find_toolbar_set_active,
3607 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3608 hildon_find_toolbar_get_active_iter . They correspond to respective
3609 GtkComboBox functions.
3611 * examples/Makefile.am:
3612 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3615 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3617 * examples/Makefile.am:
3618 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3621 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3622 when font size > 32 and we pack a focusable widget inside. Actually using
3623 the default response would work too, but since we don't show default
3624 response state in any way (no theming) it would not be visible to the
3625 user. Fixes NB#63430.
3627 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3629 * src/hildon-date-editor.c: Adding the missing variable setter in the
3630 set_property handler. Fixes NB#54182.
3632 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3634 * src/hildon-window.h: Changing the long key press time from 1500ms to
3635 800ms as requested in NB#63700. I have a bad feeling about this, let's
3636 see... Fixes NB#63700.
3638 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3640 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3641 hildon_time_picker_map, hildon_time_picker_realize,
3642 hildon_time_picker_style_set): Split the contents of map to more
3643 appropriate functions; set window decorations on realize and update
3644 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3646 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3651 * debian/changelog: Updating.
3653 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3655 * src/Makefile.am: fixed installation of the header files
3657 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3663 * debian/changelog: Updating.
3665 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3667 * configure.ac: Removing some remaining of --enable-xan.
3669 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3671 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3672 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3674 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3675 2.10.12-osso6 because the move-focus signal needs to be available in
3678 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3680 * examples/Makefile.am:
3681 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3682 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3683 fine. Prolly NB#61128 is fixed now.
3685 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3687 * src/hildon-volumebar.c:
3688 * src/hildon-volumebar.h: Adding the
3689 hildon_volumebar_set_range_insensitive_message and
3690 hildon_volumebar_set_range_insensitive_messagef functions to set
3691 insensitive message on the slider of the volumebar. Fixes NB#61129.
3693 * examples/Makefile.am:
3694 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3695 test the new insensitive messsage functionality on HildonVolumebar.
3697 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3699 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3702 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3704 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3705 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3706 button on after clearing the trail.
3708 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3710 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3712 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3714 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3715 by splitting the installed headers in generated and non-generated groups. Use
3716 only the non-generated headers to create the hildon-enum-types.h file.
3718 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3720 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3722 * src/hildon-window.c: Hide the window before performing the destroy.
3723 Should make the app closing a little tiny bit more snappy.
3725 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3727 * src/hildon-seekbar.c: add gtkrange.h header
3728 * src/hildon-caption.c: remove unused variable
3730 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3732 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3735 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3741 * debian/changelog: Updating.
3743 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3745 * src/hildon-window.c (hildon_window_window_state_event,
3746 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3747 escape timeout on focus-out-event rather than notify::is-topmost; the
3748 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3750 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3752 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3753 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3755 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3757 * src/hildon-window: actually, you need to use the macro always, there's
3758 no private pointer in the instance structure. We should have cleaned this up
3759 when we had the chance...
3761 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3763 * src/hildon-window.c: do not get the private date from HildonWindow before
3764 it passes the g_return_if_fail check. Once it's passed the test, there's no
3765 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3766 if you are only going to access the data once. Whitespace cleanups.
3768 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3770 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3771 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3773 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3779 * debian/changelog: Updating.
3781 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3783 * src/hildon-window.c: When destroying the window, remove (if exists) the
3784 escape timeout handler. Fixes #NB59276.
3786 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3788 * src/hildon-banner.c: When realizing the widget, set the window
3789 transiency. Setting the transiency in the gobject constructor is not
3790 good, as the widget is not realized at that point. Fixes: #NB56624.
3792 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3794 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3795 Add padding for future expansions.
3797 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3799 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3800 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3801 will fake an activation on the previous to the last item of the trail, so
3802 the effect can be overrided by the developer as usual.
3803 Also change the callback for the back button to do the same thing, so its
3804 effect can be overrided too. Fixes: NB#58982
3806 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3808 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3809 HildonCaption. Fixes NB#52379.
3811 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3813 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3814 the internal state of the trail after the user has had the chance of executing
3815 his handler for the signal. Specifically, it may happen that the activated button
3816 is removed and the user still lets the default handler run. This would segfault
3819 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3821 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3822 scrollbar to the preview dialog. Fixes NB#54147.
3824 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3826 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3827 max/min year properties can be altered, so the client can modify it
3828 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3830 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3832 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3833 hildonlike by default. Fixing a problem with disappearing arrows when
3834 scrolling through months and years. Fixes NB#54127.
3836 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * examples/hildon-date-editor-example.c: Adding error callback to the date
3841 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3847 * configure.ac: Updating.
3849 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3851 * configure.ac: Adding a special '--enable-xan' configure option that
3852 turns off the -Werror compilation setting. Usefull for development.
3854 * src/hildon-calendar.c:
3855 * src/hildon-number-editor.c:
3856 * src/hildon-time-picker.c: Adding the 5* multiplier to
3859 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3861 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3862 instead of g_object_ref + gtk_object_sink.
3864 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3870 * debian/changelog: Updating.
3872 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3874 * src/hildon-color-chooser-dialog.c:
3875 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3876 straight from Tommi labs.
3878 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3880 * examples/hildon-finger-example.c: Correcting the header file path.
3882 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3883 the changed signal. Fixes a small memory leak.
3885 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3889 * src/hildon-banner.c: Importing several usefull fixes from the
3890 ubuntu-mobile branch.
3892 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3894 * examples/Makefile.am:
3895 * examples/hildon-finger-example.c: Adding a finger-checking code
3898 * src/hildon-font-selection-dialog.c: Do not allocate the color
3899 structure using the g_new. Fixes NB#54061.
3901 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3903 * src/hildon-helper.c: Correcting tabs in file.
3905 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3907 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3908 control the visibility of the children.
3910 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3912 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * debian/changelog: Updating.
3920 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3922 * src/hildon-bread-crumb-trail.c:
3923 (hildon_bread_crumb_trail_size_allocate):
3925 Make the back button always a square.
3927 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3929 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3930 from the .c file as it's a private file.
3932 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3934 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3935 uses slightly bigger height.
3937 * src/hildon-font-selection-dialog.c: Adding some checks before
3938 freeing memory in the font selection dialog.
3940 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3942 * src/hildon-font-selection-dialog.c: Adding a small check when
3945 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3946 buttons sensitivity on page switching.
3948 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3950 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3951 internal details of adding a bread crumb to the trail.
3953 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3959 * debian/changelog: Updating.
3961 * src/hildon-bread-crumb-trail.h:
3962 * src/hildon-bread-crumb.h: Changing the API guard to
3963 HILDON_ENABLE_UNSTABLE_API.
3965 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3973 * src/hildon-helper.h: Updating.
3975 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3983 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3987 * src/hildon-helper.h: Small fix to make the package actually compile.
3989 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3991 * src/hildon-bread-crumb-trail.h:
3992 * src/hildon-bread-crumb.h:
3994 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3995 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3997 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3999 * examples/hildon-bread-crumb-trail-example.c:
4001 * src/hildon-bread-crumb-trail.c:
4002 * src/hildon-bread-crumb-trail.h:
4003 * src/hildon-bread-crumb.c:
4004 * src/hildon-bread-crumb.h:
4005 * src/hildon-marshalers.list:
4006 * src/hildon-bread-crumb-widget.c:
4007 * src/hildon-bread-crumb-widget.h:
4009 Slight change in the widget design. The bread crumb trail API is
4010 unchanged, but HildonBreadCrumb is now an interface. A *private*
4011 implementation, hildon-bread-crumb-widget, is provided and used
4012 internally by the trail for the push_text/push_icon functions.
4014 The generic push API is still available, so anyone can implement
4015 and use its own bread crumb widget.
4017 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4019 * debian/rules: Fixing the shlibs.
4021 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4023 * src/hildon-banner.c: Fixing a problem with timed banners having
4024 their parrent destroyed before they are.
4026 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4028 * src/hildon-bread-crumb.c:
4029 * src/hildon-bread-crumb.h:
4031 Make the get_natural_size function a vfunc.
4033 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4035 * src/hildon-bread-crumb.c:
4036 * src/hildon-bread-crumb-trail.c:
4040 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * debian/changelog: Updating for release.
4049 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4051 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4052 don't leak the pango layout.
4054 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4057 * examples/hildon-bread-crumb-trail-example.c:
4061 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4063 * debian/changelog: Removing the bug-fixed entries that were actually
4064 resolved as WONTFIX.
4066 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4069 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4071 * src/hildon-bread-crumb-trail.c:
4072 * src/hildon-bread-crumb-trail.h:
4073 * src/hildon-bread-crumb.c:
4074 * src/hildon-bread-crumb.h:
4078 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4080 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4081 until it's passed the type check.
4083 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4085 * examples/hildon-bread-crumb-trail-example.c
4089 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4091 * examples/Makefile.am
4092 * examples/hildon-bread-crumb-trail-example.c
4094 * src/hildon-bread-crumb-trail.c
4095 * src/hildon-bread-crumb-trail.h
4096 * src/hildon-bread-crumb.c
4097 * src/hildon-bread-crumb.h
4099 New HildonBreadCrumbTrail widget.
4101 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4103 * src/hildon-range-editor.c (hildon_range_editor_init),
4104 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4105 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4106 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4107 hildon_time_editor_class_init, hildon_time_editor_init),
4108 src/hildon-get-password-dialog.c (invalid_input,
4109 hildon_get_password_set_property, hildon_get_password_get_property,
4110 create_contents, hildon_get_password_dialog_set_max_characters),
4111 src/hildon-set-password-dialog.c (create_contents),
4112 src/hildon-date-editor.c (hildon_date_editor_init),
4113 src/hildon-login-dialog.c (hildon_login_dialog_init),
4114 src/hildon-number-editor.c (hildon_number_editor_init),
4115 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4116 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4117 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4118 configure option and adding the respective checks in the code.
4119 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4120 hildon_calendar_drag_data_received): fixed some build warnings.
4122 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4124 * debian/changelog: A 1.0.0 release notes.